CurieBLE: advertising doesn't work with longer local names
sandeepmistry opened this issue · 1 comments
sandeepmistry commented
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 commented
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() {
}