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.