9 #ifndef __SERVICE_LORA_FUOTA_H__ 10 #define __SERVICE_LORA_FUOTA_H__ 23 #include "pin_define.h" 25 #include "LoRaMacTypes.h" 26 #include "LmHandlerTypes.h" 37 #define UNFRAGMENTED_DATA_SIZE ( FRAG_MAX_NB * FRAG_MAX_SIZE ) 38 extern volatile uint8_t IsTxFramePending;
39 extern volatile bool IsMcSessionStarted ;
40 extern LmhpFragmentationParams_t LmhpFragmentationParams ;
45 static uint8_t UnfragmentedData[UNFRAGMENTED_DATA_SIZE];
48 void UplinkProcess(
void );
49 void OnSysTimeUpdate(
void);
50 void OnFragProgress(uint16_t fragCounter, uint16_t fragNb, uint8_t fragSize, uint16_t fragNbLost);
51 void OnFragDone(int32_t status, uint8_t *file, uint32_t size);
52 void LoraStartTx(
void);
59 #endif // __SERVICE_LORA_H__
Implements the LoRa-Alliance fragmented data block transport package Specification: https://lora-alli...
Provide LoRa service layer for API layer to use.
Implements the LoRa-Alliance fragmentation decoder Specification: https://lora-alliance.org/sites/default/files/2018-09/fragmented_data_block_transport_v1.0.0.pdf.
Provide LoRa service layer for API layer to use.
Implements the LoRa-Alliance remote multicast setup package Specification: https://lora-alliance.org/sites/default/files/2018-09/remote_multicast_setup_v1.0.0.pdf.
Implements the LoRa-Alliance clock synchronization package Specification: https://lora-alliance.org/sites/default/files/2018-09/application_layer_clock_synchronization_v1.0.0.pdf.
Provide NVM service layer.