Re: Getting back more characteristics than I asked for
Re: Getting back more characteristics than I asked for
- Subject: Re: Getting back more characteristics than I asked for
- From: Rick Mann <email@hidden>
- Date: Thu, 23 May 2013 15:31:12 -0700
Even more info:
An iPad three is able to get the characteristics, but values never come back.
On May 23, 2013, at 15:21 , Rick Mann <email@hidden> wrote:
> More info:
>
> If I manage to connect in the simulator, then I get back all the characteristics from the services I query (even though I'm only asking for a few out of each).
>
>
> On May 23, 2013, at 15:15 , Rick Mann <email@hidden> wrote:
>
>> 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
>
>
> --
> 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
--
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