-
Notifications
You must be signed in to change notification settings - Fork 3k
lorawan interface connect method should return LORAWAN_CONNECT_IN_PROCESS when connnecting #7230
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
Comments
ARM Internal Ref: MBOTRIAGE-724 |
hasnainvirk
pushed a commit
to hasnainvirk/mbed-os
that referenced
this issue
Jul 9, 2018
This is a remedy for the issue ARMmbed#7230. While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned. However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
@garycolecd Please check the remedy for the issue. Thank you for your collaboration. |
Issue resolved with API changes, thanks. |
cmonr
pushed a commit
that referenced
this issue
Jul 15, 2018
This is a remedy for the issue #7230. While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned. However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
cmonr
pushed a commit
that referenced
this issue
Jul 16, 2018
This is a remedy for the issue #7230. While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned. However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
cmonr
pushed a commit
that referenced
this issue
Jul 16, 2018
This is a remedy for the issue #7230. While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned. However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
pan-
pushed a commit
to pan-/mbed
that referenced
this issue
Aug 22, 2018
This is a remedy for the issue ARMmbed#7230. While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned. However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
pan-
pushed a commit
to pan-/mbed
that referenced
this issue
Aug 22, 2018
LoRaWAN: Remedy for issue ARMmbed#7230
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.
Description
LoraWANInterface::connect returns LORAWAN_STATUS_OK when idle and entering connecting state. An asynchronous event is sent when connection completes or fails. If the stack is already connected the connect method also returns LORAWAN_STATUS_OK, but does not send an asynchronous event. The application cannot distinguish the two use cases without timing out waiting for the event.
Issue request type
The stack includes the LORAWAN_STATUS_CONNECT_IN_PROGESS result code, but it does not appear to be used in mbed-os-5.9.0. The connect method should return LORAWAN_STATUS_CONNECT_IN_PROGESS when it will notify the application with an event, and return LORAWAN_STATUS_OK when the stack is already connected.
[ ] Question
[X] Enhancement
[ ] Bug
The text was updated successfully, but these errors were encountered: