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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-04 1:44 AM
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 :)
