-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lorawan: Cleanup error handling code
The error handling code currently has a couple of issues: * It relies on ordered lists and upstream not changing any constants. * Converted messages are not stored in constant memory which means that log_strdup is needed whenever they are printed. This change also factors out error handling to a separate file, lw_priv.{c,h}, to facilitate reuse in a future secure element and state storage implementation. Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
- Loading branch information
1 parent
0e0339b
commit cfb6257
Showing
4 changed files
with
186 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.