Tira
Tira
Btw, I think the documentation and example lacks basic info like this. So if anyone can help with this problem then I'll submit working code to the project so that...
Is anyone monitoring this forum?
OK, I followed the core bluetooth examples and when I try to subscribe to either the battery or immediate alert service by setting notify value to true, I am not...
No I haven't, I'm looking through the BTLE core docs and examples as per hansemannn's suggestion. However it doesn't seem to mesh with this API. In the examples it appears...
If I can figure it out I'll post code and an example to the project. Still, any help would be greatly appreciated.
This isn't working for me. ``` p.addEventListener('didDiscoverCharacteristicsForService', function(e) { var characteristics = e.service.characteristics; characteristics.forEach(function(characteristic) { Ti.API.info('Characteristic ID:', characteristic.uuid); if(characteristic.uuid == IA_STATE_UUID) { Ti.API.info('Alert Level Characteristic Found'); Ti.API.info(characteristic.value); //p.setNotifyValueForCharacteristic(true, characteristic); function...
No change, its not notifying me >
Here is the code: ``` p.addEventListener('didDiscoverCharacteristicsForService', function(e) { var peripheral = e.peripheral; var characteristics = e.service.characteristics; characteristics.forEach(function(characteristic) { Ti.API.info('Characteristic ID:', characteristic.uuid); if (characteristic.uuid == IA_STATE_UUID) { Ti.API.info('Alert Level Characteristic Found');...
Yep, same as before. One interesting thing. It kinda works if I change the service/characteristic to the GAP Profile on service: 00001C00-D102-11E1-9B23-000EFB0000A7, characteristics 00001C0F-D102-11E1-9B23-000EFB0000A7 and 00001C01-D102-11E1-9B23-000EFB0000A7 If I attempt to...
1.2.2, I didn't notice a 1.3.0 update, I'll just update and see what happens