RE: Getting back more characteristics than I asked for
Are kCBUUIDCharacteristicIPAddress and kCBUUIDCharacteristicAuthToken CBUUIDs or NSStrings? Joakim -----Original Message----- From: bluetooth-dev-bounces+jfernstad=stratos.com@lists.apple.com [mailto:bluetooth-dev-bounces+jfernstad=stratos.com@lists.apple.com] On Behalf Of Rick Mann Sent: Thursday, May 23, 2013 3:16 PM To: bluetooth-dev@lists.apple.com Bluetooth Subject: Getting back more characteristics than I asked for 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/jfernstad%40stratos.co... This email sent to jfernstad@stratos.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joakim Fernstad