adafruit / Adafruit_BluefruitLE_nRF51

Arduino library for nRF51822-based Adafruit Bluefruit LE modules
197 stars 122 forks source link

ble.update() seems not working #44

Closed ghost closed 6 years ago

ghost commented 6 years ago

I started my bluefruit with the device name TestA, and then, from my mobile app changed that name to TestB. Meanwhile, my arduino program excecutes the command:

ble.println(F("AT+GAPDEVNAME"));     // Request string from BLE module
ble.readline();     

At the begining, I can read my device name TestA, but when the android app changes my name, the bluefruit still show me the name TestA, even when other devices find my bluefruit as TestB. Tried using ble.update(); but it neither works. Those functions works well? I can´t read anything from the android device.