码迷,mamicode.com
首页 > 移动开发 > 详细

连接上LG G5,按播放键,音乐从手机喇叭传出,耳机按键有作用

时间:2018-07-17 10:32:54      阅读:228      评论:0      收藏:0      [点我收藏+]

标签:rms   let   version   sample   lib   err   call   tag   handler   

[17:08:54]嗑P
CHIP=best2000
[17:08:54] AUD_SEC_SIZE=0
[17:08:54] USER_SEC_SIZE=0x1000
[17:08:54] FACT_SEC_SIZE=0x1000
[17:08:54] FLASH_BASE=0x38000000
[17:08:54] FLASH_SIZE=0x100000
[17:08:54] BUILD_DATE=Jul 14 2018 18:08:40
[17:08:54] REV_INFO=21a42e1-dirty:tlcvoice_earphone
[17:08:54]
[17:08:54] ------
[17:08:54] CHIP_ID: 2
[17:08:54] ------
[17:08:54]
[17:08:54]
[17:08:54]app_init
[17:08:54]
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]force APP_BATTERY_CHARGER_PLUGOUT
[17:08:54]0
[17:08:54]
[17:08:54]====pwr key (1,1,0)=(14355)==
[17:08:54]
[17:08:54]Dc calib L OK: 0xd014
[17:08:54]Dc calib R OK: 0xb039
[17:08:54]ANA: DC CALIB L=20 R=57
[17:08:54]nv_record_open,crc valid.
[17:08:54]nv_record_env_init nvrecord_env_p:200001e4
[17:08:54]nvdev_tag,dev sector valid,local name = 2002-tst-2C10
[17:08:54]0x2c 0x10 0xb6 0x7a 0x11 0xb8
[17:08:54]
[17:08:54]=====first flash status:ee==
[17:08:54]
[17:08:54]app_bt_stream_volume_ptr_update default
[17:08:54]app_status_indication_set 0
[17:08:54]app_voice_report 0
[17:08:54]STREAM MANAGE bt_media_start type= 2,device id = 0,media_id = 0
[17:08:54]bt_media_start media_active = 2,curr_active_media = 0
[17:08:54]set current media = 2
[17:08:54]app_bt_stream_open prev:9 cur:7 freq:0
[17:08:54]app_play_audio_onoff work:0 op:1 aud_id:0
[17:08:54]app_overlay_select id:1:8
[17:08:54][af_stream_open] id = 0, stream = 0
[17:08:54]codec_int_open: running=0
[17:08:54]trig codec open
[17:08:54]codec_hw_open
[17:08:54]codec_hw_open: codec_hw_state=0
[17:08:54]codec_int_stream_open: stream=0
[17:08:54]codec_int_stream_setup: stream=0
[17:08:54][sample_rate]old = 0, new = 16000
[17:08:54][bits]old = 0, new = 16
[17:08:54][channel_num]old = 0, new = 2
[17:08:54][channel_map]old = 0x0, new = 0x0
[17:08:54][use_dma]old = 0, new = 1
[17:08:54][io_path]old = 0, new = 3
[17:08:54][codec_int_stream_setup]stream = 0, set_flag = ff
[17:08:54][hal_codec_setup_stream] playback sample_rate=16000
[17:08:54]codec_int_stream_start: stream=0
[17:08:54]codec_hw_start: stream=0
[17:08:54]app_poweron_key_init
[17:08:54]app_poweron_normal 1,14
[17:08:54]app_poweron_finished 1,17
[17:08:54]powon raw case:0 time:265
[17:08:54]hello world i‘m bes1000 hahaha case:0
[17:08:54]
[17:08:54]app_status_indication_set 1
[17:08:54]0x40087044=aaaafffb
[17:08:54]0xa7=0
[17:08:54]0xa7=58
[17:08:55]cache underflow
[17:08:55]media_sbc_decoder underflow len:256
[17:08:55]
[17:08:55]app_play_sbc_more_data-->need close, length:3920 len:256 l:0
[17:08:55]app_bt_stream_close prev:7 cur:7
[17:08:55]app_play_audio_onoff work:1 op:0 aud_id:0
[17:08:55]codec_int_stream_stop: stream=0
[17:08:55]codec_hw_stop: stream=0
[17:08:55]codec_int_stream_close: stream=0
[17:08:55]codec_int_close: type=0 running=1
[17:08:55]trig codec close
[17:08:55]codec_hw_close
[17:08:55]codec_hw_close: codec_hw_state=2
[17:08:55]STREAM MANAGE bt_media_stop type= 2,device id = 0
[17:08:55]bt_media_stop media_active = 2,curr_active_media = 2
[17:08:55]set current media = 0
[17:08:55]bt_media_stop end media_active = 0,curr_active_media = 0
[17:08:55]693a 6836 6932 6a33
[17:08:55]1833 1832 1925 1830
[17:08:55]6638 6836 6838 673a
[17:08:55]192b 192d 192c 192d
[17:08:55]643f 6640 6b4a 703c
[17:08:55]1a2b 1a2a 1a2b 1a2b
[17:08:55]5b3a 5943 603f 5e3f
[17:08:55]1b29 1b2a 1b2a 1b2a
[17:08:55]6037 6448 603a 6339
[17:08:55]1b29 1b29 1b29 1b29
[17:08:55]6043 653d 5e21 5f45
[17:08:55]1b29 1b29 1b29 1b29
[17:08:55]643d 6247 6150 604a
[17:08:55]1b29 1b29 1b29 1b29
[17:08:55]5b48 6048 6544 5b42
[17:08:55]1b29 1b29 1b29 1b29
[17:08:55]TX DAC VAL:70a7
[17:08:55]
[17:08:55]btdrv_rf_init_ext 0xc2=0x2d
[17:08:55]intersys_tx_thread_id 2000332c
[17:08:55]
[17:08:55]intersys_rx_thread_id 200036e4
[17:08:55]
[17:08:55]_sbrk: incr 0
[17:08:55]
[17:08:55]_sbrk: incr 32
[17:08:55]
[17:08:55]BES_Init ####
[17:08:55]Allocate currentDevice 0x20013980
[17:08:55]status 0
[17:08:55][TX]
[17:08:55]01 03 0c 00
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:2 enter
[17:08:55]app_bt_mail_process request_id:2 :status:0 exit
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:11 enter
[17:08:55]app_bt_mail_process request_id:11 :status:13 exit
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:11 enter
[17:08:55]app_bt_mail_process request_id:11 :status:13 exit
[17:08:55] [RX:]
[17:08:55]0e 04 05 03 0c 00
[17:08:55][TX]
[17:08:55]01 26 0c 02 60 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 26 0c 00
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:17 enter
[17:08:55]app_bt_mail_process request_id:17 :status:0 exit
[17:08:55][TX]
[17:08:55]01 05 10 00
[17:08:55] [RX:]
[17:08:55]0e 0b 05 05 10 00 fd 03 ff 06 00 04 00
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:8 enter
[17:08:55]app_bt_mail_process request_id:8 :status:0 exit
[17:08:55][TX]
[17:08:55]01 33 0c 07 20 03 b4 06 00 06 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 33 0c 00
[17:08:55]app_bt_mail_process src_thread:0x2000332c request_id:16 enter
[17:08:55]app_bt_mail_process request_id:16 :status:0 exit
[17:08:55][TX]
[17:08:55]01 31 0c 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 31 0c 00
[17:08:55][TX]
[17:08:55]01 18 0c 02 00 20
[17:08:55] [RX:]
[17:08:55]0e 04 05 18 0c 00
[17:08:55][TX]
[17:08:55]01 17 0c 00
[17:08:55] [RX:]
[17:08:55]0e 06 05 17 0c 00 00 20
[17:08:55]0xe0 0x3a 0x00 0xc0 0x20 0x04 0xfc 0x34 0x21 0xd0
[17:08:55][TX]
[17:08:55]01 02 fc 0a e0 3a 00 c0 20 04 fc 34 21 d0
[17:08:55] [RX:]
[17:08:55]0e 04 05 02 fc 00
[17:08:55][TX]
[17:08:55]01 32 fc 06 e2 20 61 14 2e f0
[17:08:55]BesbtThread: 2000332c
[17:08:55]
[17:08:55] [RX:]
[17:08:55]0e 04 05 32 fc 00
[17:08:55][TX]
[17:08:55]01 40 fc 07 00 2c 10 b6 7a 11 b8
[17:08:55] [RX:]
[17:08:55]0e 04 05 40 fc 00
[17:08:55][TX]
[17:08:55]01 01 0c 08 ff ff ff ff ff ff ff 3f
[17:08:55] [RX:]
[17:08:55]0e 04 05 01 0c 00
[17:08:55][TX]
[17:08:55]01 01 20 08 7f 00 00 00 00 00 00 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 01 20 00
[17:08:55][TX]
[17:08:55]01 01 10 00
[17:08:55] [RX:]
[17:08:55]0e 0c 05 01 10 00 08 02 01 08 b0 02 02 01
[17:08:55][TX]
[17:08:55]01 02 10 00
[17:08:55] [RX:]
[17:08:55]0e 44 05 02 10 00 bf ff ff 03 fe ff 1f ff 0f ff ff 1f f2 0f e8 fe 3f f7 8f ff 1c 00 00 00 61 f7 ff ff 7f 38 00 00 30 f0 ff 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[17:08:55][TX]
[17:08:55]01 04 10 01 00
[17:08:55] [RX:]
[17:08:55]0e 0e 05 04 10 00 00 00 bf fe cd fa db fd 7b 87
[17:08:55][TX]
[17:08:55]01 04 10 01 01
[17:08:55] [RX:]
[17:08:55]0e 0e 05 04 10 00 01 00 00 00 00 00 00 00 00 00
[17:08:55][TX]
[17:08:55]01 04 10 01 02
[17:08:55] [RX:]
[17:08:55]0e 0e 05 04 10 00 02 00 00 00 00 00 00 00 00 00
[17:08:55][TX]
[17:08:55]01 09 10 00
[17:08:55] [RX:]
[17:08:55]0e 0a 05 09 10 00 2c 10 b6 7a 11 b8
[17:08:55][TX]
[17:08:55]01 44 0c 00
[17:08:55] [RX:]
[17:08:55]0e 05 05 44 0c 00 00
[17:08:55][TX]
[17:08:55]01 5a 0c 00
[17:08:55] [RX:]
[17:08:55]0e 05 05 5a 0c 00 00
[17:08:55][TX]
[17:08:55]01 56 0c 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 56 0c 00
[17:08:55]app_bt_golbal_handle evt = 101
[17:08:55][TX]
[17:08:55]01 24 0c 03 04 04 24
[17:08:55] [RX:]
[17:08:55]0e 04 05 24 0c 00
[17:08:55][TX]
[17:08:55]01 13 0c f8 32 30 30 32 2d 74 73 74 2d 32 43 31 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00app_smartvoice_init
[17:08:55] [RX:]
[17:08:55]0e 04 05 13 0c 00
[17:08:55][TX]
[17:08:55]01 51 fc 04 11 00 00 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 51 fc 00
[17:08:55][TX]
[17:08:55]01 5b 0c 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 5b 0c 00
[17:08:55][TX]
[17:08:55]01 52 0c f1 01 0e 09 32 30 30 32 2d 74 73 74 2d 32 43 31 30 0d 03 0b 11 0e 11 0f 11 0c 11 1e 11 03 12 01 05 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [RX:]
[17:08:55]0e 04 05 52 0c 00
[17:08:55][TX]
[17:08:55]01 0f 08 02 04 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 0f 08 00
[17:08:55][TX]
[17:08:55]01 1c 0c 04 00 08 12 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 1c 0c 00
[17:08:55][TX]
[17:08:55]01 1e 0c 04 00 08 12 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 1e 0c 00
[17:08:55][TX]
[17:08:55]01 43 0c 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 43 0c 00
[17:08:55][TX]
[17:08:55]01 47 0c 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 47 0c 00
[17:08:55][TX]
[17:08:55]01 02 20 00
[17:08:55] [RX:]
[17:08:55]0e 07 05 02 20 00 fb 00 0e
[17:08:55]Set pkt len 251 nv_acl 14
[17:08:55][TX]
[17:08:55]01 24 20 04 fb 00 90 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 24 20 00
[17:08:55]appm_start_advertising state: 2
[17:08:55]03 03 c0 ff 0b ff ee 03 b8 11 7a b6 10 2c 01 00 0a 08 53 4d 41 52 54 20 42 4c 45
[17:08:55][TX]
[17:08:55]01 06 20 0f 60 00 60 00 00 00 01 00 00 00 00 00 00 07 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 06 20 00
[17:08:55][TX]
[17:08:55]01 08 20 20 1e 02 01 06 03 03 c0 ff 0b ff ee 03 b8 11 7a b6 10 2c 01 00 0a 08 53 4d 41 52 54 20 42 4c 45 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 08 20 00
[17:08:55][TX]
[17:08:55]01 09 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[17:08:55] [RX:]
[17:08:55]0e 04 05 09 20 00
[17:08:55][TX]
[17:08:55]01 0a 20 01 01
[17:08:55] [RX:]
[17:08:55]0e 04 05 0a 20 00
[17:08:56]
[17:08:56]
[17:08:56]
[17:08:56]bt_stack_init_done:0
[17:08:56]
[17:08:56]
[17:08:56]
[17:08:56]app_status_indication_set 2
[17:08:56]!!!app_bt_opening_reconnect:
[17:08:56]
[17:08:56]00 00 00 00 00 00
[17:08:56]00 00 00 00 00 00
[17:08:56]
[17:08:56]=======reconnnect==ret:0========
[17:08:56]
[17:08:56]!!!go to pairing
[17:08:56]
[17:08:56]app_bt_send_request: 0
[17:08:56]
[17:08:56]app_bt_handle_process: 0
[17:08:56]
[17:08:56]app_bt_accessmode_timehandler accMode=3
[17:08:56]app_bt_mail_process src_thread:0x200035f4 request_id:5 enter
[17:08:56]!!!ME_SetAccessibleMode MEC(accOp).mode = 3, mode = 3
[17:08:56]
[17:08:56]app_bt_mail_process request_id:5 :status:2 exit
[17:08:56][TX]
[17:08:56]01 1a 0c 01 03
[17:08:56] [RX:]
[17:08:56]0e 04 05 1a 0c 00
[17:08:56]app_bt_golbal_handle evt = 10
[17:08:56]ACCESSIBLE_CHANGE evt:10 errCode:0x0 aMode=0x3
[17:08:56]app_key_init
[17:08:56]hal_gpadc_adc2volt_calib LV=416, HV=546, Slope:1923 Intcpt:0
[17:08:57]*** SYSFREQ top_user=3
[17:08:57]app_battery_handle_process 0,4050
[17:08:57]checker: id:0 state:0 mode:0 role:0 cmghdl:0 sniffInterva:499/8704 IsAudioUp:18
[17:08:57]0x00 0x00 0x00 0x00 0x00 0x00
[17:08:57]remDev:2000e404 a2dp State:0 remDev:0 hf_channel Connected:0 remDev:0
[17:09:00]codec_int_close: type=1 running=0
[17:09:00]codec_hw_close
[17:09:00]codec_hw_close: codec_hw_state=1
[17:09:04]CPU USAGE: busy=13 light_sleep=87 deep_sleep=0
[17:09:06] [RX:]
[17:09:06]04 0a 7b 0b 31 ac e3 60 0c 02 5a 01
[17:09:06][TX]
[17:09:06]01 09 04 07 7b 0b 31 ac e3 60 01
[17:09:06] [RX:]
[17:09:06]0f 04 00 05 09 04
[17:09:06] [RX:]
[17:09:06]03 0b 00 80 00 7b 0b 31 ac e3 60 01 00
[17:09:06]app_bt_golbal_handle evt = 4
[17:09:06]CONNECT_IND/CNF evt:4 errCode:0x0 newRole:4 activeCons:1
[17:09:06]CONNECT_IND disable role 2000e404
[17:09:06]
[17:09:06]BTEVENT_LINK_CONNECT_IND/CNF activeCons:1
[17:09:06]app_bt_send_request: 0
[17:09:06]
[17:09:06]app_bt_handle_process: 0
[17:09:06]
[17:09:06]CONNECT_IND sniff info 2000e404
[17:09:06]
[17:09:06][TX]
[17:09:06]01 09 08 02 80 00
[17:09:06] [RX:]
[17:09:06]0e 07 05 09 08 00 80 00 01
[17:09:06]app_bt_accessmode_set access_mode=0
[17:09:06]app_status_indication_set 2
[17:09:06]app_bt_mail_process src_thread:0x2000332c request_id:6 enter
[17:09:06]app_bt_mail_process request_id:6 :status:19 exit
[17:09:06]app_bt_golbal_handle evt = 14
[17:09:06]ROLE_CHANGE eType:0xe errCode:0x0 newRole:1 activeCons:1
[17:09:06] [RX:]
[17:09:06]38 04 80 00 40 1f
[17:09:06][TX]
[17:09:06]01 0d 08 04 80 00 04 00
[17:09:06] [RX:]
[17:09:06]0e 06 05 0d 08 00 80 00
[17:09:06]app_bt_mail_process src_thread:0x2000332c request_id:2 enter
[17:09:06]app_bt_mail_process request_id:2 :status:0 exit
[17:09:06]app_bt_mail_process src_thread:0x2000332c request_id:8 enter
[17:09:06]app_bt_mail_process request_id:8 :status:0 exit
[17:09:06][TX]
[17:09:06]01 1d 04 02 80 00
[17:09:06] [RX:]
[17:09:06]0f 04 00 05 1d 04
[17:09:06] [RX:]
[17:09:06]0c 08 00 80 00 08 1d 00 d3 07
[17:09:06] [RX:]
[17:09:06]1b 03 80 00 05
[17:09:06]app_bt_mail_process src_thread:0x200035f4 request_id:5 enter
[17:09:06]!!!ME_SetAccessibleMode MEC(accOp).mode = 0, mode = 0
[17:09:06]
[17:09:06]app_bt_mail_process request_id:5 :status:2 exit
[17:09:06][TX]
[17:09:06]01 1b 04 02 80 00
[17:09:06] [RX:]
[17:09:06]0f 04 00 05 1b 04
[17:09:06] [RX:]
[17:09:06]0b 0b 00 80 00 ff fe 8f fe d8 3f 5b 87
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06][TX]
[17:09:06]01 1a 0c 01 00
[17:09:06] [RX:]
[17:09:06]0e 04 05 1a 0c 00
[17:09:06]app_bt_golbal_handle evt = 10
[17:09:06]ACCESSIBLE_CHANGE evt:10 errCode:0x0 aMode=0x0
[17:09:06][TX]
[17:09:06]01 1c 04 03 80 00 01
[17:09:06] [RX:]
[17:09:06]0f 04 00 05 1c 04
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06] [RX:]
[17:09:06]23 0d 00 80 00 01 02 0f 00 00 00 00 00 00 00
[17:09:06][TX]
[17:09:06]01 35 0c 05 01 80 00 03 00
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06][TX]
[17:09:06]01 35 0c 05 01 80 00 03 00
[17:09:06] [RX:]
[17:09:06]13 05 01 80 00 01 00
[17:09:06] [RX:]
[17:09:06]17 06 7b 0b 31 ac e3 60
[17:09:06][TX]
[17:09:06]01 0c 04 06 7b 0b 31 ac e3 60
[17:09:06] [RX:]
[17:09:06]0e 0a 05 0c 04 00 7b 0b 31 ac e3 60
[17:09:06] [RX:]
[17:09:06]32 09 7b 0b 31 ac e3 60 01 00 05
[17:09:06] [RX:]
[17:09:06]31 06 7b 0b 31 ac e3 60
[17:09:06][TX]
[17:09:06]01 2b 04 09 7b 0b 31 ac e3 60 03 00 02
[17:09:06] [RX:]
[17:09:06]0e 0a 05 2b 04 00 7b 0b 31 ac e3 60
[17:09:07] [RX:]
[17:09:07]33 0a 7b 0b 31 ac e3 60 e3 58 03 00
[17:09:07][TX]
[17:09:07]01 2c 04 06 7b 0b 31 ac e3 60
[17:09:07] [RX:]
[17:09:07]0e 0a 05 2c 04 00 7b 0b 31 ac e3 60
[17:09:07]*** SYSFREQ top_user=0
[17:09:07]app_battery_handle_process 0,4048
[17:09:07]checker: id:0 state:3 mode:0 role:1 cmghdl:0 sniffInterva:499/8704 IsAudioUp:18
[17:09:07]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:07]remDev:2000e404 a2dp State:0 remDev:0 hf_channel Connected:0 remDev:2000e404
[17:09:08] [RX:]
[17:09:08]36 07 00 7b 0b 31 ac e3 60
[17:09:08] [RX:]
[17:09:08]18 17 7b 0b 31 ac e3 60 e8 ad eb 90 b4 56 11 a6 6a c0 7f 46 d3 d5 b5 6d 04
[17:09:08]
[17:09:08]===nv_record_ddbrec_add()=======
[17:09:08]
[17:09:08]::BTEVENT_PAIRING_COMPLETE keyType:4
[17:09:08]
[17:09:08]app_voice_report 13
[17:09:08]STREAM MANAGE bt_media_start type= 2,device id = 0,media_id = f
[17:09:08]bt_media_start media_active = 2,curr_active_media = 0
[17:09:08]set current media = 2
[17:09:08]app_bt_stream_open prev:9 cur:7 freq:0
[17:09:08]app_play_audio_onoff work:0 op:1 aud_id:15
[17:09:08]app_overlay_select id:1:8
[17:09:08][af_stream_open] id = 0, stream = 0
[17:09:08]codec_int_open: running=0
[17:09:08]trig codec open
[17:09:08]codec_hw_open
[17:09:08]codec_hw_open: codec_hw_state=0
[17:09:08]codec_int_stream_open: stream=0
[17:09:08]codec_int_stream_setup: stream=0
[17:09:08][sample_rate]old = 16000, new = 16000
[17:09:08][codec_int_stream_setup]stream = 0, set_flag = 2
[17:09:08][hal_codec_setup_stream] playback sample_rate=16000
[17:09:08]codec_int_stream_start: stream=0
[17:09:08]codec_hw_start: stream=0
[17:09:08] [RX:]
[17:09:08]08 04 00 80 00 01
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]!!!CMGR_CreateDataLink Handler->flags = 0
[17:09:08]
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]!!!HfIndicatorCallback hf.ind_test.num:7
[17:09:08]
[17:09:08]::HF_EVENT_CALL_IND chan_id:0, call:0
[17:09:08]
[17:09:08]app_media_update_media
[17:09:08]skip BT_STREAM_MEDIA
[17:09:08]::HF_EVENT_CALLSETUP_IND chan_id:0, callSetup = 0
[17:09:08]
[17:09:08]::HF_EVENT_CALLHELD_IND chan_id:0 0 HELD_STATUS = 0
[17:09:08]
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08][TX]
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]::HF_EVENT_SERVICE_CONNECTED Chan_id:0
[17:09:08]
[17:09:08]hfp get vol raw:10 loc:12
[17:09:08]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:08]app_bt_profile_active_store_ptr_get hfp_act:0 hsp_act:0 a2dp_act:0x0 codec_type=0
[17:09:08]app_bt_profile_connect_manager_hf HF_EVENT_SERVICE_CONNECTED
[17:09:08]
[17:09:08]===save_cur_bt_adr()===
[17:09:08]
[17:09:08]app_voice_report 9
[17:09:08]STREAM MANAGE bt_media_start type= 2,device id = 0,media_id = 1b
[17:09:08]bt_media_start media_active = 2,curr_active_media = 2
[17:09:08]set current media = 2
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]::HF_EVENT_COMMAND_COMPLETE chan_id:0 2000c29c
[17:09:08]
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:08] [RX:]
[17:09:08]13 05 01 80 00 01 00
[17:09:08]::HF_EVENT_COMMAND_COMPLETE chan_id:0 2000c2e0
[17:09:08]
[17:09:08][TX]
[17:09:08]01 35 0c 05 01 80 00 03 00
[17:09:08]channelid is 0x40, mux‘s channelid is 0x40
[17:09:09] [RX:]
[17:09:09]13 05 01 80 00 01 00
[17:09:09]::HF_EVENT_COMMAND_COMPLETE chan_id:0 2000c314
[17:09:09]
[17:09:09][TX]
[17:09:09]01 35 0c 05 01 80 00 01 00
[17:09:09]cache underflow
[17:09:09]media_sbc_decoder underflow len:256
[17:09:09]
[17:09:09]app_play_sbc_more_data-->need close, length:5520 len:256 l:0
[17:09:09]app_bt_stream_close prev:7 cur:7
[17:09:09]app_play_audio_onoff work:1 op:0 aud_id:0
[17:09:09]codec_int_stream_stop: stream=0
[17:09:09]codec_hw_stop: stream=0
[17:09:09]codec_int_stream_close: stream=0
[17:09:09]codec_int_close: type=0 running=1
[17:09:09]trig codec close
[17:09:09]codec_hw_close
[17:09:09]codec_hw_close: codec_hw_state=2
[17:09:09]app_bt_stream_open prev:9 cur:7 freq:0
[17:09:09]app_play_audio_onoff work:0 op:1 aud_id:27
[17:09:09]app_overlay_select id:1:8
[17:09:09][af_stream_open] id = 0, stream = 0
[17:09:09]codec_int_open: running=0
[17:09:09]trig codec open
[17:09:09]codec_hw_open
[17:09:09]codec_hw_open: codec_hw_state=1
[17:09:09]codec_int_stream_open: stream=0
[17:09:09]codec_int_stream_setup: stream=0
[17:09:09][sample_rate]old = 16000, new = 16000
[17:09:09][codec_int_stream_setup]stream = 0, set_flag = 2
[17:09:09][hal_codec_setup_stream] playback sample_rate=16000
[17:09:09]codec_int_stream_start: stream=0
[17:09:09]codec_hw_start: stream=0
[17:09:10]cache underflow
[17:09:10]media_sbc_decoder underflow len:256
[17:09:10]
[17:09:10]app_play_sbc_more_data-->need close, length:5280 len:256 l:0
[17:09:10]app_bt_stream_close prev:7 cur:7
[17:09:10]app_play_audio_onoff work:1 op:0 aud_id:0
[17:09:10]codec_int_stream_stop: stream=0
[17:09:10]codec_hw_stop: stream=0
[17:09:10]codec_int_stream_close: stream=0
[17:09:10]codec_int_close: type=0 running=1
[17:09:10]trig codec close
[17:09:10]codec_hw_close
[17:09:10]codec_hw_close: codec_hw_state=2
[17:09:10]STREAM MANAGE bt_media_stop type= 2,device id = 0
[17:09:10]bt_media_stop media_active = 2,curr_active_media = 2
[17:09:10]set current media = 0
[17:09:10]bt_media_stop end media_active = 0,curr_active_media = 0
[17:09:14]CPU USAGE: busy=5 light_sleep=95 deep_sleep=0
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14][TX]
[17:09:14]01 35 0c 05 01 80 00 03 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14]!!!CMGR_CreateDataLink Handler->flags = 0
[17:09:14]
[17:09:14][TX]
[17:09:14]01 35 0c 05 01 80 00 03 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14]Allocate currentDevice 0x20013ccc
[17:09:14]status 0
[17:09:14]::A2DP_EVENT_AVDTP_CONNECT 23 st = 0x2000c6ac
[17:09:14]
[17:09:14]::A2DP_EVENT_AVDTP_CONNECT 23 st = 0x2000c80c
[17:09:14]
[17:09:14]/,version=c0551f9
[17:09:14]/,version=c0551f9
[17:09:14][TX]
[17:09:14]01 35 0c 05 01 80 00 03 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14]::A2DP_EVENT_STREAM_OPEN_IND 1
[17:09:14]
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14][TX]
[17:09:14]01 35 0c 05 01 80 00 03 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14]::A2DP_EVENT_STREAM_OPEN stream_id:0, sample_rate codec.elements 0x21
[17:09:14]
[17:09:14]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:14]app_bt_stream_volume_ptr_update a2dp_vol:12 hfp_vol:12 ptr:0x20000378
[17:09:14]codecType 0x0
[17:09:14]
[17:09:14]app_bt_device.sample_rate::elements[0] 33
[17:09:14]
[17:09:14]!!!CMGR_CreateDataLink Handler->flags = 0
[17:09:14]
[17:09:14]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:14]app_bt_profile_active_store_ptr_get hfp_act:1 hsp_act:0 a2dp_act:0x0 codec_type=0
[17:09:14]app_bt_profile_connect_manager_a2dp A2DP_EVENT_STREAM_OPEN,codec type=0
[17:09:14][TX]
[17:09:14]01 35 0c 05 01 80 00 03 00
[17:09:14] [RX:]
[17:09:14]13 05 01 80 00 01 00
[17:09:14] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 03 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 03 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 03 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15]avrcp_callback : chnl 0x2000c978, Parms 0x20008d00
[17:09:15]
[17:09:15]::Parms->event 1
[17:09:15]
[17:09:15]::AVRCP_EVENT_CONNECT 103
[17:09:15]
[17:09:15]app_bt_accessmode_set access_mode=0
[17:09:15]app_bt_mail_process src_thread:0x2000332c request_id:5 enter
[17:09:15]!!!ME_SetAccessibleMode MEC(accOp).mode = 0, mode = 0
[17:09:15]
[17:09:15]app_bt_golbal_handle evt = 10
[17:09:15]ACCESSIBLE_CHANGE evt:10 errCode:0x0 aMode=0x0
[17:09:15]app_bt_mail_process request_id:5 :status:2 exit
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 03 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 03 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15] [RX:]
[17:09:15]13 05 01 80 00 01 00
[17:09:15][TX]
[17:09:15]01 35 0c 05 01 80 00 01 00
[17:09:15]codec_int_close: type=1 running=0
[17:09:15]codec_hw_close
[17:09:15]codec_hw_close: codec_hw_state=1
[17:09:17]*** SYSFREQ top_user=0
[17:09:17]app_battery_handle_process 0,4045
[17:09:17]checker: id:0 state:3 mode:0 role:1 cmghdl:2000d71c sniffInterva:0/800 IsAudioUp:0
[17:09:17]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:17]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404
[17:09:21]hal_pwrkey_irqhandler: 00000001
[17:09:21]
[17:09:21]====pwr key (1,1,0)=(448563)==
[17:09:21]
[17:09:21]hal_pwrkey_irqhandler: 00000001
[17:09:21]
[17:09:21]====pwr key (0,1,1)=(448563)==
[17:09:21]
[17:09:21]app_bt_key 1,5
[17:09:21]first blood!
[17:09:21]bt_key_send code:1 evt:5
[17:09:21]bt_key_handle code:1 evt:5
[17:09:21]
[17:09:21]==powerkey==play pause func=====
[17:09:21]
[17:09:21]avrcp_key = AVRCP_KEY_PLAY
[17:09:21] [RX:]
[17:09:21]13 05 01 80 00 01 00
[17:09:21]avrcp_callback : chnl 0x2000c978, Parms 0x20008c00
[17:09:21]
[17:09:21]::Parms->event 14
[17:09:21]
[17:09:21]::AVRCP_EVENT_PANEL_CNF 9,44,1
[17:09:21] [RX:]
[17:09:21]13 05 01 80 00 01 00
[17:09:21]avrcp_callback : chnl 0x2000c978, Parms 0x20008c00
[17:09:21]
[17:09:21]::Parms->event 14
[17:09:21]
[17:09:21]::AVRCP_EVENT_PANEL_CNF 9,44,0
[17:09:24]CPU USAGE: busy=3 light_sleep=97 deep_sleep=0
[17:09:27]*** SYSFREQ top_user=0
[17:09:27]app_battery_handle_process 0,4047
[17:09:27]checker: id:0 state:3 mode:0 role:1 cmghdl:2000d71c sniffInterva:0/800 IsAudioUp:0
[17:09:27]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:27]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404
[17:09:27][TX]
[17:09:27]01 35 0c 05 01 80 00 02 00
[17:09:29] [RX:]
[17:09:29]14 06 00 80 00 02 20 03
[17:09:34]CPU USAGE: busy=1 light_sleep=99 deep_sleep=0
[17:09:37]*** SYSFREQ top_user=0
[17:09:37]app_battery_handle_process 0,4045
[17:09:37]checker: id:0 state:3 mode:2 role:1 cmghdl:2000d71c sniffInterva:800/800 IsAudioUp:0
[17:09:37]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:37]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404
[17:09:44]CPU USAGE: busy=1 light_sleep=99 deep_sleep=0
[17:09:47]*** SYSFREQ top_user=0
[17:09:47]app_battery_handle_process 0,4045
[17:09:47]checker: id:0 state:3 mode:2 role:1 cmghdl:2000d71c sniffInterva:800/800 IsAudioUp:0
[17:09:47]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:47]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404
[17:09:54]CPU USAGE: busy=1 light_sleep=34 deep_sleep=65
[17:09:57]*** SYSFREQ top_user=0
[17:09:57]app_battery_handle_process 0,4042
[17:09:57]checker: id:0 state:3 mode:2 role:1 cmghdl:2000d71c sniffInterva:800/800 IsAudioUp:0
[17:09:57]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:09:57]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404
[17:10:04]CPU USAGE: busy=1 light_sleep=0 deep_sleep=99
[17:10:07]*** SYSFREQ top_user=0
[17:10:07]app_battery_handle_process 0,4044
[17:10:07]checker: id:0 state:3 mode:2 role:1 cmghdl:2000d71c sniffInterva:800/800 IsAudioUp:0
[17:10:07]0x7b 0x0b 0x31 0xac 0xe3 0x60
[17:10:07]remDev:2000e404 a2dp State:2 remDev:2000e404 hf_channel Connected:1 remDev:2000e404

连接上LG G5,按播放键,音乐从手机喇叭传出,耳机按键有作用

标签:rms   let   version   sample   lib   err   call   tag   handler   

原文地址:https://www.cnblogs.com/vision666/p/9321705.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!