LoRaMac-node icon indicating copy to clipboard operation
LoRaMac-node copied to clipboard

Reference implementation and documentation of a LoRa network node.

Results 76 LoRaMac-node issues
Sort by recently updated
recently updated
newest added

As far as I could see, the buffer is only copied from, never written to. Marking it as `const` allows sending data from a `const` buffer without an additional memcpy...

Change `LoRaMacPrimitives_t`, `LoRaMacCallback_t` to `const*` to reflect read-only internal operations. This also enables the caller to provide constant data without needing explicit casts to (`LoRaMacPrimitives_t*`) or (`LoRaMacCallback_t*`).

Introduced a local `Buffer` variable to replace `macMsg->Buffer`. This change reduces the number of indirect accesses to improve performance and code clarity.

The `fragCounter` is data coming from the packet, but without validation, it can cause an out-of-bounds (OOB) issue in the following code in `FragDecoderProcess`. ``` FragDecoder.FragNbMissingIndex[fragCounter - 1] = 0;...

I was trying to work around this issue https://github.com/Lora-net/LoRaMac-node/issues/1594 by calling `Radio.Sleep()` after LoRaMAC init with NVM restore. My initial issue is this one https://github.com/zephyrproject-rtos/zephyr/issues/73417#issuecomment-2165139700. The problem I'm bringing up...

After i installed all the required softwares(cmake,arm-none-eabi-gcc,...) in my macbook,I use macbook to compile the loramac-node project.Then i failed. the error message is "arm-none-eabi-gcc: error: unrecognized command-line option '-arch'; did...