cancel
Showing results for 
Search instead for 
Did you mean: 

Why are all MAC callback functions in I-CUBE-LRWAN moved to lora.c ("inside the stack") and statically defined? (in Stackforce this is not the case)

ingpjb
Associate

While working on a standard OTAA Rejoin procedure for our application I've noticed the LoRaMAC callback primitives are all fixed in the LORA_Init() function. When I want to catch the event the MAC layer signals the reception (or not) of a server ACK on a confirmed uplink this must be hooked in the primitive "McpsConfirm(...)". This would mean a modification of this file, but with version control in mind I would prefer to be able to use a public struct/variable or user-definable callback (e.g. like the LoRaMainCallbacks).

Am I overlooking an obvious solution? Or has this already been discussed and discharged as unwanted?

I'm looking forward to reading your reaction =)

0 REPLIES 0