-
Notifications
You must be signed in to change notification settings - Fork 2k
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
sys/stdio_nimble: add version note to README #21085
base: master
Are you sure you want to change the base?
Conversation
Maybe there's a better name for the PR/commit, but I couldn't think of anything better. I'm open to suggestions :D |
huh didn't know this file exist - I think it's contents should be moved to |
Just as it is, basically Copy & Paste (with some deduplication of what's already there)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting and fixing the documentation!
One minor comment below, and tests/sys/shell_ble
still references the (now deleted) README. That should be changed to point to the documentation instead.
* $ ble-scan | ||
* Started BLE scan | ||
* | ||
* 6BE8174C-A0F8-4479-AFA6-9828372CAFE9 (RSSI=-40): Riot OS device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me, ble-scan
(from ble-serial 3.0.0
) shows MAC Adresses instead of UUIDs, e.g. F1:5C:B2:0F:07:1F (rssi=-45): Riot OS device
. Not sure if this is only my local environment, but if not, I would change this example here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That depends on the operating system. MacOS X shows the long form, Linux and Windows show MAC addresses.
Perhaps that would be worth mentioning 🤔
I'll change the reference in tests/sys/shell_ble
as well.
Contribution description
In the latest release of
ble-serial
, a new command line option--write-with-response
was added and the default value isFalse
.(See Jakeler/ble-serial#109 and https://github.com/Jakeler/ble-serial/releases/tag/v3.0.0 ).
This will lead to the following error when trying to connect to the
test/sys/shell_ble
example or any application that uses thestdio_nimble
module.Using the new command line option makes the command work as expected:
Testing procedure
This is only a documentation change, but the test procedure would be as following:
Make sure you have the latest version of
ble-serial
installed. Otherwise you can upgrade it withpip install ble-serial --upgrade
.The latest version at the time of writing is 3.0.0.
The test in
tests/sys/shell_ble
runs on all nRF52 devices (and probably others as well with NimBLE support). I used an nRF52840DK and our own hardware.You can follow the procedure described in the text and should observe the aforementioned error when trying to connect to the device.