Skip to content

Lora: Document all possible error codes for LoRaWANBase methods #7719

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 5 commits into from
Aug 16, 2018
Merged

Lora: Document all possible error codes for LoRaWANBase methods #7719

merged 5 commits into from
Aug 16, 2018

Conversation

kivaisan
Copy link
Contributor

@kivaisan kivaisan commented Aug 7, 2018

Description

Document all possible error codes for LoRaWANBase methods.

Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Feature
[ ] Breaking change

Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.
@kivaisan
Copy link
Contributor Author

kivaisan commented Aug 7, 2018

@hasnainvirk, @AnttiKauppila, @kjbracey-arm, please review.

@0xc0170 0xc0170 requested review from a team, kjbracey and AnotherButler August 7, 2018 13:36
Copy link

@AnttiKauppila AnttiKauppila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy edit file, mostly for consistent U.S. spelling and precise language.
* @return For ABP: If everything goes well, LORAWAN_STATUS_OK is returned for first call followed by
/** Connect OTAA or ABP with parameters
*
* All connection parameters are chosen by the user and provided in the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: Sometimes we say "you," and sometimes we say "the user". If the reader is the user, it should always be "you". If the reader's not the user, who is the reader?

- Modified "user" to "you"
- Modified line length to ~100 characters.
@kivaisan
Copy link
Contributor Author

kivaisan commented Aug 9, 2018

Please review again

Copy edit file for minor grammar nits.
Copy link
Contributor

@cmonr cmonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cmonr
Copy link
Contributor

cmonr commented Aug 14, 2018

/morph build

…if not initialized

In order have a consistent return value for all methods in case of system is uninitialized
now also send and receive methods can return LORAWAN_STATUS_NOT_INITIALIZED.
@kivaisan
Copy link
Contributor Author

@hasnainvirk @AnttiKauppila please review again.

@hasnainvirk
Copy link
Contributor

Looks good.

@mbed-ci
Copy link

mbed-ci commented Aug 14, 2018

Build : SUCCESS

Build number : 2803
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7719/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Aug 14, 2018

@cmonr
Copy link
Contributor

cmonr commented Aug 14, 2018

Good small change. @AnttiKauppila, a small PR update, if you would like to re-review.

/morph build

@mbed-ci
Copy link

mbed-ci commented Aug 14, 2018

Build : SUCCESS

Build number : 2811
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/7719/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@cmonr
Copy link
Contributor

cmonr commented Aug 14, 2018

Strange export build error.

/morph export-build

@mbed-ci
Copy link

mbed-ci commented Aug 14, 2018

@mbed-ci
Copy link

mbed-ci commented Aug 14, 2018

Exporter Build : SUCCESS

Build number : 2443
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/exporter/7719/

@mbed-ci
Copy link

mbed-ci commented Aug 16, 2018

@AnttiKauppila
Copy link

This can be merged, looks good.

@cmonr cmonr merged commit 4ce0d90 into ARMmbed:master Aug 16, 2018
pan- pushed a commit to pan-/mbed that referenced this pull request Aug 22, 2018
…_values

Lora: Document all possible error codes for LoRaWANBase methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants