Fix for the name change bug by NoahRosa · Pull Request #7 · stm32duino/SPBTLE-RF · GitHub
Skip to content

Fix for the name change bug#7

Merged
cparata merged 3 commits into
stm32duino:masterfrom
NoahRosa:master
Apr 5, 2019
Merged

Fix for the name change bug#7
cparata merged 3 commits into
stm32duino:masterfrom
NoahRosa:master

Conversation

@NoahRosa

@NoahRosa NoahRosa commented Apr 4, 2019

Copy link
Copy Markdown
Contributor

This PR should fix #6 with two limitations:

  1. The device name can't be more than 7 characters long. If the string passed to the begin function is longer, it is automatically trimmed to 7 characters.
  2. The android application designed to work with the SensorDemo example expects the name BlueNRG. Otherwise the device can't be opened.

@cparata

cparata commented Apr 4, 2019

Copy link
Copy Markdown
Contributor

Comment thread src/sensor_service.h Outdated
Comment thread examples/SPBTLE_SensorDemo/SPBTLE_SensorDemo.ino Outdated
@fpistm

fpistm commented Apr 4, 2019

Copy link
Copy Markdown
Member

Additionnal comment, maybe the restriction could be added in the README.md and/or sketch header?

@NoahRosa

NoahRosa commented Apr 4, 2019

Copy link
Copy Markdown
Contributor Author

I modified the commit in order to include the changes you requested.
I added the limitation description both in the README.md and the sketch header.
Sorry about the comment, I added it as the last thing and forgot to recompile.

@fpistm

fpistm commented Apr 4, 2019

Copy link
Copy Markdown
Member

Comment thread src/sensor_service.cpp Outdated
Comment thread src/sensor_service.cpp Outdated
Comment thread src/sensor_service.cpp Outdated
@cparata cparata merged commit 1ebc418 into stm32duino:master Apr 5, 2019
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.

Issue with BLE device name in SPBTLE Sensor demo ino

3 participants