Skip to content

CurieBLE: advertising doesn't work with longer local names #543

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

Open
sandeepmistry opened this issue May 11, 2017 · 1 comment · May be fixed by #544
Open

CurieBLE: advertising doesn't work with longer local names #543

sandeepmistry opened this issue May 11, 2017 · 1 comment · May be fixed by #544

Comments

@sandeepmistry
Copy link
Contributor

Observed by @CarlaMSedze and @rodriguezcarlos from the Arduino CTC team in Malmo.

#include <CurieBLE.h>

void setup() {
  BLE.begin();

  BLE.setLocalName("Messenger");

  BLE.advertise();
}

void loop() {
}

We expect this sketch to work. As with 2.0.2 both the advertisement data and scan response are supported. I think we should be able to support local name values up to 20 characters ....

@sandeepmistry
Copy link
Contributor Author

Sorry, the sketch to reproduce is actually:

#include <CurieBLE.h>

void setup() {
  Serial.begin(9600);
  while (!Serial);
  
  BLE.begin();

  BLE.setAdvertisedServiceUuid("19B10001-E8F2-537E-4F6C-D104768A1214");
  BLE.setLocalName("Messenger");

  Serial.println(BLE.advertise());
}

void loop() {
}

@sandeepmistry sandeepmistry linked a pull request May 11, 2017 that will close this issue
@novashah novashah assigned SidLeung and unassigned SidLeung Jun 1, 2017
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 a pull request may close this issue.

2 participants