Skip to content
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

NimBLE-Arduino 1.4.2: problem with device name? #695

Open
osmany-ferrer opened this issue Jul 7, 2024 · 1 comment
Open

NimBLE-Arduino 1.4.2: problem with device name? #695

osmany-ferrer opened this issue Jul 7, 2024 · 1 comment

Comments

@osmany-ferrer
Copy link

Hello,

My sketch setups NimBLEDevice::init("TEST"); but only "TE" name is advertised. Any name attempt only shows its first two letters.
This happened after updating NimBLE-Arduino to 1.4.2 and ArduinoEsp32 3.0.2 update was aborted.
My board is ArduinoEsp32 2.0.11
Multiple nrFConnect clients see the same two-letter name.

While updating ArduinoESP32 3.0.2 i suddently read this, so i aborted.

Migration from 2.x to 3.0
BLE
Changes in APIs
Changed APIs return and parameter type from std::string to Arduino style String.
Changed UUID data type from uint16_t to BLEUUID class.
BLEScan::start and BLEScan::getResults methods return type changed from BLEScanResults to BLEScanResults*.
Is NimBLE-Arduino 1.4.2 compatible to ArduinoESP32 3.0.2?

Any idea, please, this is driving me crazy,
Thanks in advance,
Osmany

@osmany-ferrer osmany-ferrer changed the title NimBLE-Arduino 1.4.2 is compatible with ArduinoESP32 3.0.2? NimBLE-Arduino 1.4.2: problem with device name? Jul 7, 2024
@osmany-ferrer
Copy link
Author

Solution,

I changed
pAdvertising->setScanResponse(false);
to
pAdvertising->setScanResponse(true);

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

No branches or pull requests

1 participant