I am developeing an application which can talk to few smart(bluetooth 4.0) 
devices. I tested the code on Nexus 4 running Android OS version 4.3. 

The application is able to connect to nordic chip programmed as heart rate 
monitor. For this device, I am able to read services, characteristics and 
even get updates for heart rate values.
However, when I programmed the same chip for encrypted characteristics, I 
am facing some issues.

   - Connection drops sometimes after write characteristic descriptor is 
   performed.
   - The devices once paired with phone can not be un-paired. (This is 
   known issue and confirmed the same from android issue tracker).
   - Getting following statement in logs quite often but not able to 
   understand the status code - 133.

D/BluetoothGatt(1780): onClientConnectionState() - status=133 clientIf=4 
device=CC:F3:A5:4D:CB:3F


   - The phone also logs this statement for state change.
   
   In stable state, received invalid newState: 10
   
   

I do not seem to find a way to instruct the phone to get paired with the 
chip. Also there is no way to specify that we want to perform *encrypted 
read-write operations*.

Any help is appreciated.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to