Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup return code handling in LoRaWan_APP send() method #204

Closed
wants to merge 2 commits into from

Conversation

thni323
Copy link

@thni323 thni323 commented Nov 17, 2021

The method 'sendFrame()' method returns zero or an error code (1) if it fails. The return value was mapped to a boolean value which could be misleading and was not mapped incorrectly to the 'nextTx' flag.

Changed return value for SendFrame() indicating an error code and not a boolean value, added return value for send() to be able to detect if sending a packet failed.
@thni323 thni323 changed the title Cleanup return code handling in send() method Cleanup return code handling in LoRaWan_APP send() method Nov 17, 2021
@Quency-D Quency-D closed this Feb 25, 2022
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.

None yet

2 participants