Skip to content

Conversation

terrillmoore
Copy link
Member

…same as options. Resolves issue mcci-catena#14

(cherry picked from commit 238113c, edited by hand to remove debug print improvements that are not yet merged here.)

Although the LMIC code parses MAC commands that are passed as options on other downlink commands, it doesn't parse MAC commands that are explicitly sent to port 0 (issue #14).

This patch-set corrects this problem. It also ensures that port-0 messages are not delivered to the application (as they're supposed to be consumed by the MAC).

In order to be able to properly use const on input params, also corrected convFreq() to take a pointer to const input parameter. This was merely clerical, as convFreq() doesn't modify the referenced object.

@terrillmoore terrillmoore deleted the tmm-things-nyc-port0-mac-commands branch June 30, 2018 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant