i'm writing app for detect battery level of Bluetooth device(headset) 
i want to listen Bluetooth data c and get data from it
many many Bluetooth headsets sent to device their battery level
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
01-31 21:56:43.059 21082-7393/com.android.bluetooth E/bt-rfcomm: 
PORT_DataInd, p_port:0xa2d0d8c4, p_data_co_callback is null
01-31 21:56:43.060 21082-7393/com.android.bluetooth D/bt-btif: 
bta_ag_hdl_event: p_scb 0xa2d15024 
01-31 21:56:43.060 21082-7393/com.android.bluetooth D/bt-btif: AG evt (hdl 
0x0001): State 2, Event 0x050b
01-31 21:56:43.060 21082-7361/com.android.bluetooth D/bt-btif: 
btif_hf_upstreams_evt: event=BTA_AG_AT_UNAT_EVT
01-31 21:56:43.062 21082-7373/com.android.bluetooth D/HeadsetStateMachine: 
Connected process message: 101, size: 1
01-31 21:56:43.062 21082-7373/com.android.bluetooth D/HeadsetStateMachine: 
event type: 15event device : 20:74:CF:06:48:2F
01-31 21:56:43.062 21082-7373/com.android.bluetooth E/HeadsetStateMachine: 
processVendorSpecificAt: unsupported command: +IPHONEACCEV=2,1,4,2,0
01-31 21:56:43.062 21082-7373/com.android.bluetooth D/bt-btif: BTHF: 
at_response
01-31 21:56:43.066 21082-7393/com.android.bluetooth D/bt-btif: 
bta_ag_api_result: p_scb 0xa2d15024 
01-31 21:56:43.066 21082-7393/com.android.bluetooth D/bt-btif: AG evt (hdl 
0x0001): State 2, Event 0x0506
01-31 21:56:43.066 21082-7393/com.android.bluetooth D/bt-btif: 
bta_ag_hfp_result : res = 20
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
i'm interesting in  +IPHONEACCEV=2,1,4,2,0
but i cant get it anywhere
how i can do this?


-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c9f1e152-3bcb-457e-a24c-464cc2aad26f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to