LmHandler: Is it part of the API or merely a common approach for the example apps? #1365
Unanswered
dmeehan1968
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I personally find the API in src/apps hard to understand and use. And as you correctly note, it's not very extensible. In my implementation, I switched from the LmHandler API to the lower-level MIB API and never looked back. It takes more work, but it is, in my opinion, worth it in the long term. The code in src/apps is still very useful as an example though. I am in favor of keeping it in the repo, but separately from the simpler MIB API. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
LmHandler seems to provide useful functionality (Compliance testing, NVM management) but doesn't appear to be part of the LoRaMac API (due to its location in src/apps).
It appears not to be extensible, despite offering a reasonable API for handling different payload types (this appears only to be down the the hardcoded PKG_MAX_NUMBER in LmhPackage.h). Any thoughts on the direction for this?
Beta Was this translation helpful? Give feedback.
All reactions