diff --git a/Carrier-sense-multiple-access-(CSMA).md b/Carrier-sense-multiple-access-(CSMA).md index 4f0c417..01d49eb 100644 --- a/Carrier-sense-multiple-access-(CSMA).md +++ b/Carrier-sense-multiple-access-(CSMA).md @@ -1,3 +1,5 @@ +![alt text](https://raw.githubusercontent.com/sh123/esp32_loraprs/master/images/csma.png) + - Carrier detection is used when sketch is built based on RadioLib library with `USE_RADIOLIB` flag - Also, additional flag `cfg.LoraUseCad/CFG_LORA_USE_CAD`) must be set to `true` - CSMAp is utilized by this project as per KISS specification. TX path is executed only when there is no incoming data returned by `LoRa::parsePacket` and TX path is executed with probability p (CSMA persistence), configured by const `Loraprs::Service::CfgCsmaPersistence` in `loraprs_service.h`. Random value is selected between 0 and 255 and TX is executed only when it is lower than `CfgCsmaProbBoundary`.