mirror of https://github.com/ARMmbed/mbed-os.git
Baseline is changed to use a single set of data structures that simplifies the code in the LoRaWANStack and Mac layer. We are now following certian rules for naming data structures. - All structures visible outside their domain are prefixed as 'lorawan_' - All mac structures are prefixed as 'loramac_' - All subsystem or module strucutures carry their name in prefix, like 'mcps_' PHY layer still have legacy camel case data structures which will be entertained later while we will be simplifying PHY layer. Test cases are also updated with the new data structure naming conventions. One major difference from the previous baseline is the removal of static buffer from mcps indication. And we do not copy data from stack buffer to rx_msg buffer. This saves at least 512 bytes. It may look like now that if we have received something but the user have not read from the buffer, then the buffer will be overwritten and we will lose previous frame. Yes, we will. But the same will happen even if we would have copied the buffer into rx_msg because then the rx_msg gets overwritten. So we decide to abandon copying the buffer at multiple locations. We inform the user about reception, if the user doesn't read and the data gets overwritten, then so be it. |
||
---|---|---|
.. | ||
LoRaPHY.cpp | ||
LoRaPHY.h | ||
LoRaPHYAS923.cpp | ||
LoRaPHYAS923.h | ||
LoRaPHYAU915.cpp | ||
LoRaPHYAU915.h | ||
LoRaPHYCN470.cpp | ||
LoRaPHYCN470.h | ||
LoRaPHYCN779.cpp | ||
LoRaPHYCN779.h | ||
LoRaPHYEU433.cpp | ||
LoRaPHYEU433.h | ||
LoRaPHYEU868.cpp | ||
LoRaPHYEU868.h | ||
LoRaPHYIN865.cpp | ||
LoRaPHYIN865.h | ||
LoRaPHYKR920.cpp | ||
LoRaPHYKR920.h | ||
LoRaPHYUS915.cpp | ||
LoRaPHYUS915.h | ||
LoRaPHYUS915Hybrid.cpp | ||
LoRaPHYUS915Hybrid.h | ||
lora_phy_ds.h |