BLE Chip on Arduino 101 holding onto stale UUID's????

Hello,

I'm interfacing my iOS device with the Arduino 101 board via Bluetooth. I've setup my board to broadcast it's service and characteristics.

I uploaded my code to the board and it's running just fine. When I attempt to connect to it via my iPhone the attributes that are broadcasted back make no sense.

I get my service with the proper UUID but then I get a whole slew of UUID's for the sample code:

BLEUnsignedCharCharacteristic switchCharacteristic("19B10001-E8F2-537E-4F6C-D104768A1214", BLERead | BLEWrite);

Printing description of service._UUID->_attributes:
{
13 = "<CBCharacteristic: 0x136e86ed0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
9 = "<CBService: 0x136e86790, isPrimary = YES, UUID = 4E5EAA88-522B-48FC-8EEF-9E6231712173>";
14 = "<CBCharacteristic: 0x136e86fb0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
10 = "<CBCharacteristic: 0x136e86db0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
15 = "<CBCharacteristic: 0x136e86fb0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
11 = "<CBCharacteristic: 0x136e86db0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
12 = "<CBCharacteristic: 0x136e86ed0, UUID = 19B10001-E8F2-537E-4F6C-D104768A1214, properties = 0x2, value = (null), notifying = NO>";
}

Where would these characteristics be coming from? The primary service UUID is correct but none of my added characteristics are there. Is there some way to reset the BLE chip on the board? Is this a known problem?

Thanks,
Chris.

Hi Chris,

it's probably an iOS caching issue because the Intel firmware for the nRF chip doesn't sent the "Characteristic Service changed" notification (we are waiting for the fix)
In the meantime, turning off and on the Bluetooth on the iPhone should be enough to remove the cached entries.

Thanks facchinm,

Does that also mean the ble chip doesn't send characteristic value changed notifications as well?

Thanks,
Chris

No, the "characteristic changed" notifications are ok, I mistyped "Service Changed" characteristic (0x2a05) :slight_smile:
https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.gatt.service_changed.xml

Any update on this firmware fix? Cycling BT on/off is a bit ponderous - do we have an ETA for this fix?
thanks!!!
tim