Skip to content

Updating radio driver pointer and few logic updates for robustness #85

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

Merged
merged 6 commits into from
Jun 28, 2018

Conversation

hasnainvirk
Copy link
Contributor

  • Radio driver now points to ARMmbed/mbed-semtech-lora-rf-drivers@5532d9d
  • Core logic is updated to retry after 3 seconds if WOULD_BLOCK happens
  • COMMON_PAL checks from the trace supporting logic is removed.
  • A warning is rectified

Hasnain Virk added 4 commits June 28, 2018 13:00
A warning was being generated that a float is being converted to a double.
To mediate that we make sure that value stored is a float.
As of 5.9, mbed trace is always present. We need now to check if the tracing was enabled in
the app config. If not, setup_trace() does nothing.
If the stack is busy (could be because of automatic uplink and fpending bit being set etc),
send() will return WOULD_BLOCK. We now enqueue a TX again after 3 seconds if WOULD_BLOCK happens.

UPLINK_REQUIRED event in case of disabled automated uplinks, was not being handled. We handle it
now and enqueue a transmission.
@hasnainvirk
Copy link
Contributor Author

@kjbracey-arm @AnttiKauppila @kimlep01 Please review.

Removing COMMON_PAL reference from the doc.
@hasnainvirk hasnainvirk requested review from kjbracey and kimlep01 June 28, 2018 10:20
Using EU868 as the region identifier by default and hence giving away the
use of an identification number.
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.

2 participants