I am experimenting with a Bluegiga BLE112 Bluetooth LE module, it is based on the TI C2540. The BLE112 is acting as the GATT server and I have a characteristic which I have configured to be notified to the iOS client. Bluegiga have their own GUI which uses a usb dongle as the client. I have verified that I am able to receive data for this characteristic once notifications are enabled. So I know the GATT server is setup properly. Notifications are enabled in the GUI by manually writing 0x1 to the characteristic configuration attribute of the server.
However, using a simple iOS app I am not able to receive the data from this characteristic. The iOS app is not enabling the notifications from the server. I have used setNotifyValue, but the problem I am getting is that this is setting the characteristic configuration to 0x2 for indicated instead of 0x1 for notify. I have also tried using the function [_peripheral writeValue:data forDescriptor:descriptor] to write 1 myself, but this crashes the app.
I know that I need to use setNotifyValue inorder for the delegate to be executed each time the client is notified that the attribute has changed, but I need the value to be 0x1 not 0x2. Has anyone run into this problem? Thanks.
-Chris
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden