Skip to content

Channel Activity Detection (CAD) / CSMA-CA #167

@XinyingKilpi-Chen

Description

@XinyingKilpi-Chen

I need to solve the problem when many Shelly LoRa devices send message the same time, how can I avoid collision to ensure the package successfully delivered.

Is there a 'cad' parameter or someway that can check the channel status and tell me the status, so I can react accordingly.

function sendMessage(msg) {
Shelly.call(
'Lora.SendBytes',
{
id: 100,
data: btoa(msg),
cad: true,
},
function (data, err, errmsg) {
if (err) {
console.log('Error:', err, errmsg);
return;
}
}
);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions