Getting back more characteristics than I asked for
Getting back more characteristics than I asked for
- Subject: Getting back more characteristics than I asked for
- From: Rick Mann <email@hidden>
- Date: Thu, 23 May 2013 15:15:44 -0700
I'm sending a request for characterstics like this:
NSArray* chs = @[ kCBUUIDCharacteristicIPAddress,
kCBUUIDCharacteristicAuthToken ];
[self.peripheral discoverCharacteristics: chs forService: service];
I get back two Characteristics, but they are not the two I requested. They are the other two of the three defined.
In a subsequent call, I ask for three Characteristics of a different service:
NSArray* chs = @[ kCBUUIDCharacteristicJoinSSID,
kCBUUIDCharacteristicJoinPassphrase,
kCBUUIDCharacteristicWiFiCommand ];
[self.peripheral discoverCharacteristics: chs forService: service];
But I get back all nine characteristics defined in the service on the BLE112.
I send the GATT Service Changed (0x2A05) notification on connect every time.
Any ideas?
This is on an iPad 4 (Lightning Connector).
Oh, and the Simulator really sucks at connecting, even after being reset.
--
Rick
_______________________________________________
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