Hi,

Thanks for the confirmation Abhishek.

I went through the code and it seems that the discovery request is not being 
sent.
It calls CASendLEMulticastData
then the request arrive in CAGattClientSendDataToAll but it never gets to 
CAGattClientSendDataImpl which is the method that actually send the request (I 
think).
The reason it never gets into CAGattClientSendDataImpl is because the 
?g_context.characteristic_map? seems to be empty (but not NULL).

Searching for g_context.characteristic_map I found that it is initialized in 
CAGattClientInitialize, and it is in here where the callback 
CAGattClientOnDevicePropertiesChanged is connected. This callback seems to be 
the one responsible for receiving the services from the OIC-DEVICE but it never 
gets called!

So i think I have mapped down the problem to the callback 
CAGattClientOnDevicePropertiesChanged not being called. I couldn?t find much 
information about this method or when it gets called. Does anyone have more 
info or any clues about why it is not being called ?

Thanks,
Hudo.

Reply via email to