Index: output/eeprom.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(revision 3168)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-56
+4e
 1b
 c2
 84
@@ -23,11 +23,11 @@
 c0
 42
 86
-d3
+d1
 c0
 44
 86
-a6
+a4
 c0
 50
 80
@@ -47,63 +47,63 @@
 c0
 73
 05
-43
+41
 c0
 75
 05
-da
+d8
 c0
 75
 85
-e2
+e0
 c0
 76
 05
-fc
+fa
 20
 20
 2a
 8e
 c0
 1c
-86
-00
+85
+fe
 c0
 21
 86
-07
+05
 c0
 2b
 86
-0d
+0b
 c0
 2c
 86
-1d
+1b
 c0
 31
 86
-2a
+28
 c0
 33
 06
-50
+4e
 c0
 33
 86
-6f
+6d
 c0
 35
 06
-82
+80
 c0
 3b
 86
-8c
+8a
 c0
 7d
 06
-9d
+9b
 20
 20
 2a
@@ -2807,7 +2807,7 @@
 20
 40
 05
-1d
+1b
 20
 40
 03
@@ -2943,7 +2943,7 @@
 20
 40
 05
-fa
+f8
 20
 40
 34
@@ -2959,7 +2959,7 @@
 20
 40
 05
-f6
+f4
 20
 20
 7d
@@ -3155,7 +3155,7 @@
 c0
 7f
 85
-c5
+c3
 20
 60
 00
@@ -3251,7 +3251,7 @@
 58
 00
 06
-96
+94
 60
 01
 41
@@ -3787,7 +3787,7 @@
 20
 40
 05
-f2
+f0
 20
 20
 7d
@@ -3887,7 +3887,7 @@
 20
 20
 06
-66
+64
 20
 40
 02
@@ -4087,7 +4087,7 @@
 20
 40
 04
-dc
+da
 20
 40
 04
@@ -4095,11 +4095,11 @@
 20
 40
 05
-15
+13
 20
 40
 04
-d5
+d3
 20
 40
 42
@@ -4127,15 +4127,15 @@
 20
 40
 05
-02
+00
 20
 40
 05
-05
+03
 20
 40
 05
-0b
+09
 20
 40
 04
@@ -4163,7 +4163,7 @@
 24
 42
 85
-76
+74
 1a
 22
 7e
@@ -4259,7 +4259,7 @@
 20
 40
 05
-76
+74
 68
 00
 cb
@@ -4271,7 +4271,7 @@
 20
 40
 04
-f9
+f7
 68
 00
 cb
@@ -4331,7 +4331,7 @@
 20
 40
 04
-d8
+d6
 60
 00
 cb
@@ -4351,7 +4351,7 @@
 20
 40
 04
-d8
+d6
 60
 00
 cb
@@ -4507,7 +4507,7 @@
 20
 40
 05
-d3
+d1
 20
 20
 68
@@ -4615,7 +4615,7 @@
 20
 40
 05
-d3
+d1
 20
 20
 68
@@ -4671,7 +4671,7 @@
 20
 40
 05
-cc
+ca
 20
 20
 04
@@ -4783,7 +4783,7 @@
 20
 40
 05
-ca
+c8
 20
 20
 68
@@ -4920,14 +4920,6 @@
 20
 33
 74
-68
-00
-ca
-9b
-24
-3a
-34
-0a
 70
 4a
 aa
@@ -4943,11 +4935,11 @@
 20
 42
 85
-13
+11
 20
 40
 05
-f2
+f0
 20
 20
 43
@@ -5035,7 +5027,7 @@
 24
 3a
 04
-fe
+fc
 70
 4a
 52
@@ -5051,7 +5043,7 @@
 20
 42
 84
-f7
+f5
 24
 41
 04
@@ -5063,7 +5055,7 @@
 24
 21
 04
-f9
+f7
 70
 4b
 c3
@@ -5151,7 +5143,7 @@
 da
 40
 05
-08
+06
 20
 20
 33
@@ -5183,7 +5175,7 @@
 da
 40
 05
-10
+0e
 20
 20
 33
@@ -5231,7 +5223,7 @@
 da
 40
 05
-1c
+1a
 20
 20
 33
@@ -5295,7 +5287,7 @@
 20
 40
 05
-34
+32
 68
 00
 c2
@@ -5303,7 +5295,7 @@
 c3
 00
 05
-2f
+2d
 70
 4a
 5e
@@ -5355,7 +5347,7 @@
 24
 21
 05
-40
+3e
 68
 09
 0a
@@ -5403,7 +5395,7 @@
 20
 40
 05
-54
+52
 20
 40
 40
@@ -5411,7 +5403,7 @@
 20
 40
 05
-d5
+d3
 1a
 22
 7e
@@ -5423,7 +5415,7 @@
 20
 40
 05
-50
+4e
 68
 01
 4b
@@ -5451,15 +5443,15 @@
 24
 5a
 05
-6f
+6d
 20
 5a
 05
-73
+71
 20
 20
 05
-8c
+8a
 da
 20
 00
@@ -5479,7 +5471,7 @@
 20
 40
 05
-79
+77
 60
 00
 ca
@@ -5499,7 +5491,7 @@
 20
 40
 05
-79
+77
 60
 00
 ca
@@ -5519,7 +5511,7 @@
 20
 40
 05
-79
+77
 60
 00
 ca
@@ -5539,7 +5531,7 @@
 20
 40
 05
-79
+77
 60
 00
 ca
@@ -5559,7 +5551,7 @@
 20
 40
 05
-79
+77
 60
 00
 ca
@@ -5647,7 +5639,7 @@
 1a
 41
 7e
-07
+01
 68
 08
 ca
@@ -5657,13 +5649,13 @@
 0e
 00
 c0
-03
+00
 85
-88
+86
 c0
 00
 05
-8a
+88
 20
 60
 00
@@ -5695,7 +5687,7 @@
 c0
 01
 05
-aa
+a8
 68
 01
 4a
@@ -5711,7 +5703,7 @@
 c0
 80
 05
-9f
+9d
 68
 01
 4b
@@ -5731,7 +5723,7 @@
 c0
 00
 85
-9c
+9a
 68
 00
 cb
@@ -5739,7 +5731,7 @@
 c0
 00
 85
-9c
+9a
 70
 4b
 20
@@ -5759,7 +5751,7 @@
 20
 20
 05
-9a
+98
 68
 01
 4b
@@ -5767,15 +5759,15 @@
 c0
 00
 85
-a3
+a1
 c0
 01
 05
-a3
+a1
 20
 20
 05
-94
+92
 1f
 ed
 7e
@@ -5795,7 +5787,7 @@
 20
 22
 85
-94
+92
 1f
 eb
 fe
@@ -5803,7 +5795,7 @@
 20
 20
 05
-94
+92
 68
 01
 4b
@@ -5811,11 +5803,11 @@
 c0
 01
 85
-bd
+bb
 c0
 00
 85
-b1
+af
 68
 01
 4b
@@ -5831,7 +5823,7 @@
 20
 20
 05
-94
+92
 68
 00
 cb
@@ -5839,7 +5831,7 @@
 20
 5a
 05
-b8
+b6
 68
 00
 cb
@@ -5847,7 +5839,7 @@
 c0
 00
 05
-ad
+ab
 68
 01
 4b
@@ -5859,7 +5851,7 @@
 20
 20
 05
-94
+92
 70
 4b
 23
@@ -5899,7 +5891,7 @@
 c0
 01
 05
-c5
+c3
 1f
 e0
 fe
@@ -5911,7 +5903,7 @@
 20
 20
 05
-c6
+c4
 70
 4b
 18
@@ -5963,7 +5955,7 @@
 20
 40
 05
-ca
+c8
 20
 20
 68
@@ -6079,7 +6071,7 @@
 20
 40
 05
-fa
+f8
 68
 00
 ca
@@ -6103,7 +6095,7 @@
 20
 40
 05
-fa
+f8
 d8
 c0
 4a
@@ -6203,7 +6195,7 @@
 20
 40
 06
-13
+11
 20
 20
 55
@@ -6251,7 +6243,7 @@
 20
 21
 06
-0f
+0d
 68
 00
 c3
@@ -6263,7 +6255,7 @@
 20
 20
 06
-11
+0f
 68
 00
 84
@@ -6275,7 +6267,7 @@
 20
 40
 06
-22
+20
 24
 74
 00
@@ -6323,7 +6315,7 @@
 c2
 82
 86
-48
+46
 68
 00
 c7
@@ -6331,7 +6323,7 @@
 24
 3a
 06
-33
+31
 68
 00
 84
@@ -6339,7 +6331,7 @@
 c3
 02
 06
-37
+35
 68
 00
 82
@@ -6347,7 +6339,7 @@
 20
 3a
 06
-37
+35
 20
 20
 56
@@ -6375,7 +6367,7 @@
 c0
 82
 86
-3a
+38
 70
 47
 8e
@@ -6439,7 +6431,7 @@
 20
 20
 06
-3d
+3b
 68
 00
 c7
@@ -6523,7 +6515,7 @@
 c0
 01
 86
-5f
+5d
 20
 20
 56
@@ -6535,11 +6527,11 @@
 c0
 00
 06
-63
+61
 c0
 00
 86
-6a
+68
 20
 20
 5c
@@ -6599,11 +6591,11 @@
 c0
 02
 06
-73
+71
 c0
 03
 06
-77
+75
 20
 20
 56
@@ -6615,7 +6607,7 @@
 20
 40
 06
-49
+47
 20
 40
 7e
@@ -6631,11 +6623,11 @@
 c0
 00
 86
-7b
+79
 c0
 02
 86
-7d
+7b
 20
 20
 5a
@@ -6715,7 +6707,7 @@
 20
 37
 06
-8f
+8d
 24
 36
 d8
@@ -6795,7 +6787,7 @@
 c0
 09
 06
-a3
+a1
 20
 20
 7d
@@ -6879,19 +6871,19 @@
 c0
 01
 06
-be
+bc
 c0
 02
 06
-c6
+c4
 c0
 10
 06
-d0
+ce
 20
 40
 06
-cb
+c9
 70
 89
 55
@@ -6943,7 +6935,7 @@
 20
 40
 06
-cb
+c9
 70
 89
 55
@@ -7000,8 +6992,8 @@
 20
 28
 fa
-6f
-3f
+ef
+ca
 aa
 55
 08
@@ -7310,7 +7302,7 @@
 a5
 aa
 ab
-38
+45
 cb
 aa
 55
@@ -7371,8 +7363,8 @@
 07
 00
 00
-e0
-2e
+32
+00
 70
 17
 aa
@@ -8049,8 +8041,8 @@
 0f
 0f
 0f
-6b
-33
+21
+d3
 ff
 ff
 ff
@@ -8188,5 +8180,13 @@
 ff
 ff
 ff
-ec
-98
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+c8
+40
Index: output/program.lis
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(revision 3168)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(working copy)
@@ -4,29 +4,29 @@
 0001 c000001a beq patch00_0 ,p_soft_reset 
 0002 c000801d beq patch00_1 ,p_soft_reset_1 
 0003 c0010026 beq patch00_2 ,p_soft_reset_2 
-0004 c04286d3 beq patch10_5 ,p_shutdown_radio 
-0005 c04486a6 beq patch11_1 ,p_set_freq_tx 
+0004 c04286d1 beq patch10_5 ,p_shutdown_radio 
+0005 c04486a4 beq patch11_1 ,p_set_freq_tx 
 0006 c050802f beq patch14_1 ,p_init_param 
 0007 c0588034 beq patch16_1 ,p_lpm_check_wake_lock 
 0008 c0590038 beq patch16_2 ,p_g24_dispatch 
 0009 c06202b0 beq patch18_4 ,p_device_init 
-000a c0730543 beq patch1c_6 ,p_mouse_motion 
-000b c07505da beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-000c c07585e2 beq patch1d_3 ,p_mouse_start_discovery 
-000d c07605fc beq patch1d_4 ,p_mouse_stop_discovery 
+000a c0730541 beq patch1c_6 ,p_mouse_motion 
+000b c07505d8 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000c c07585e0 beq patch1d_3 ,p_mouse_start_discovery 
+000d c07605fa beq patch1d_4 ,p_mouse_stop_discovery 
 000e 20202a8e branch loop 
 
 pf_patch_ext:
-000f c01c8600 beq patch27_1 ,p_le_slave_match 
-0010 c0218607 beq patch28_3 ,p_le_next_adv_channel 
-0011 c02b860d beq patch2a_7 ,p_le_update_param 
-0012 c02c861d beq patch2b_1 ,p_le_update_channel_map 
-0013 c031862a beq patch2c_3 ,p_le_prepare_tx 
-0014 c0330650 beq patch2c_6 ,p_le_parse 
-0015 c033866f beq patch2c_7 ,p_le_parse_l2cap 
-0016 c0350682 beq patch2d_2 ,p_le_adv_not_match 
-0017 c03b868c beq patch2e_7 ,p_le_lpm_setmult 
-0018 c07d069d beq patch3f_2 ,p_check_51cmd_once_continue 
+000f c01c85fe beq patch27_1 ,p_le_slave_match 
+0010 c0218605 beq patch28_3 ,p_le_next_adv_channel 
+0011 c02b860b beq patch2a_7 ,p_le_update_param 
+0012 c02c861b beq patch2b_1 ,p_le_update_channel_map 
+0013 c0318628 beq patch2c_3 ,p_le_prepare_tx 
+0014 c033064e beq patch2c_6 ,p_le_parse 
+0015 c033866d beq patch2c_7 ,p_le_parse_l2cap 
+0016 c0350680 beq patch2d_2 ,p_le_adv_not_match 
+0017 c03b868a beq patch2e_7 ,p_le_lpm_setmult 
+0018 c07d069b beq patch3f_2 ,p_check_51cmd_once_continue 
 0019 20202a8e branch loop 
 
 p_soft_reset:
@@ -946,7 +946,7 @@
 02b9 245582e7 ncall p_mouse_setting_config ,wake 
 02ba 20758000 rtn wake 
 02bb 20400327 call p_mouse_cb_fuction 
-02bc 2040051d call p_mouse_adc_read_once 
+02bc 2040051b call p_mouse_adc_read_once 
 02bd 2040031b call p_mouse_wakeup_from_power 
 
 p_mouse_check_reconn_target:
@@ -996,11 +996,11 @@
 
 p_mouse4_0_check_reconn_target_next:
 02dd 600146ae store 2 ,mem_mouse_direct_timer 
-02de 204005fa call p_mouse_store_eeprom_enable 
+02de 204005f8 call p_mouse_store_eeprom_enable 
 02df 20403418 call app_lpm_mult_disable 
 02e0 7041de04 jam tx_power_f5db ,mem_tx_power 
 02e1 d8c04390 arg mem_le_scan_data ,contr 
-02e2 204005f6 call p_le_adv_data_update 
+02e2 204005f4 call p_le_adv_data_update 
 02e3 20207df4 branch check_51cmd_adv 
 
 p_g24_start_pairing_sm1:
@@ -1065,7 +1065,7 @@
 0310 d8400001 arg 1 ,temp 
 0311 204065df call iicd_read_eep_data 
 0312 6800cb18 fetch 1 ,mem_2key_model_select_flag 
-0313 c07f85c5 beq 0xff ,p_2key_staus_set0 
+0313 c07f85c3 beq 0xff ,p_2key_staus_set0 
 0314 20600000 rtn 
 
 p_mouse_init_device_flag:
@@ -1103,7 +1103,7 @@
 0328 60014cef store 2 ,mem_cb_24g_data 
 0329 5800034d setarg p_mouse_le 
 032a 600141ef store 2 ,mem_cb_le_process 
-032b 58000696 setarg p_le_mouse_bb_event_connect_complete 
+032b 58000694 setarg p_le_mouse_bb_event_connect_complete 
 032c 600141f9 store 2 ,mem_cb_att_write 
 032d 580002a6 setarg p_mouse_before_lpm 
 032e 600141ed store 2 ,mem_cb_before_lpm 
@@ -1281,7 +1281,7 @@
 03b0 207a0000 rtn blank 
 
 p_check_51cmd_adv:
-03b1 204005f2 call p_mouse_le_adv_data_update 
+03b1 204005f0 call p_mouse_le_adv_data_update 
 03b2 20207df4 branch check_51cmd_adv 
 
 p_mouse_le_enc_info:
@@ -1322,7 +1322,7 @@
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
 03c9 704aa701 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-03ca 20200666 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+03ca 20200664 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_24g_pairing_complete:
 03cb 204002c5 call p_mouse_tx_power_init 
@@ -1390,19 +1390,19 @@
 03fb 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03fc 204004dc call p_mouse_g24_pair_mode_timer 
+03fc 204004da call p_mouse_g24_pair_mode_timer 
 03fd 20400451 call p_flip_multi_led_blink_timer 
-03fe 20400515 call p_mouse_adc_read 
-03ff 204004d5 call p_mouse_le_switch_adv_timer 
+03fe 20400513 call p_mouse_adc_read 
+03ff 204004d3 call p_mouse_le_switch_adv_timer 
 0400 20404234 call mouse_check_discovery_timeout_timer 
 0401 20400438 call p_flip_charging_timer_init 
 0402 20400448 call p_send_alt_tab_payload_timer 
 0403 204004ac call p_mouse_select_device 
 0404 204004a1 call p_g24_init_long_sleep_timer 
 0405 204004ca call p_mouse_check_direct_timeout_timer 
-0406 20400502 call p_mouse_le_enable_att_list_timer 
-0407 20400505 call p_mouse_le_current_mult_update_timer 
-0408 2040050b call p_le_send_smp_security_request_timer 
+0406 20400500 call p_mouse_le_enable_att_list_timer 
+0407 20400503 call p_mouse_le_current_mult_update_timer 
+0408 20400509 call p_le_send_smp_security_request_timer 
 0409 204004c7 call p_mouse_poweron_bt_start_reconn_timer 
 040a 2040423a call mouse_check_no_data_timeout_timer 
 
@@ -1411,7 +1411,7 @@
 040c 68094b26 fetcht 2 ,mem_timer_key 
 040d 203a041d branch p_mouse_no_key_press ,blank 
 040e 98467c00 isub temp ,null 
-040f 24428576 ncall p_key_press_timer_set0 ,zero 
+040f 24428574 ncall p_key_press_timer_set0 ,zero 
 0410 1a227e00 copy rega ,pdata 
 0411 60014b26 store 2 ,mem_timer_key 
 0412 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
@@ -1439,10 +1439,10 @@
 p_mouse_no_key_init:
 0425 6800cb2e fetch 1 ,mem_not_show_device_led 
 0426 245a0432 ncall p_multi_led_on_timer_set0 ,blank 
-0427 20400576 call p_key_press_timer_set0 
+0427 20400574 call p_key_press_timer_set0 
 0428 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
 0429 207a0000 rtn blank 
-042a 204004f9 call p_g24_stop_pair_init 
+042a 204004f7 call p_g24_stop_pair_init 
 042b 6800cb2b fetch 1 ,mem_flip_connect_success 
 042c c0808434 bne 0x01 ,p_g24_reconn_start 
 042d 20600000 rtn 
@@ -1465,12 +1465,12 @@
 
 p_flip_charging_timer_init:
 0438 6808cb11 fetcht 1 ,mem_device_usb_gpio 
-0439 204004d8 call p_get_usb_bit 
+0439 204004d6 call p_get_usb_bit 
 043a 6000cb1d store 1 ,mem_flip_device_usbing 
 043b 6808cb10 fetcht 1 ,mem_device_charge_gpio 
 043c 204067fb call gpio_config_input 
 043d 6808cb10 fetcht 1 ,mem_device_charge_gpio 
-043e 204004d8 call p_get_usb_bit 
+043e 204004d6 call p_get_usb_bit 
 043f 6000cb1c store 1 ,mem_flip_device_charging 
 0440 c0008442 beq 1 ,p_flip_charging_led_init 
 0441 20600000 rtn 
@@ -1531,7 +1531,7 @@
 
 p_blue_led_off2:
 0464 704a5400 jam off ,mem_mouse_multi_led_state 
-0465 204005d3 call p_blue_led_init 
+0465 204005d1 call p_blue_led_init 
 0466 20206825 branch gpio_out_inactive 
 
 p_flip_led_type_on_1s_init:
@@ -1574,7 +1574,7 @@
 
 p_blue_led_on:
 047f 704a5401 jam on ,mem_mouse_multi_led_state 
-0480 204005d3 call p_blue_led_init 
+0480 204005d1 call p_blue_led_init 
 0481 20206829 branch gpio_out_active 
 
 p_mouse_multi_led_blink_finish:
@@ -1592,7 +1592,7 @@
 048b c00a0461 beq 0x14 ,p_mouse_multi_led_blink_off 
 048c c001849a beq 0x03 ,p_flip_key_change_led 
 048d 1fe17e1f and_into 0x1f ,pdata 
-048e 204005cc call p_laser_led_on 
+048e 204005ca call p_laser_led_on 
 048f 2020047f branch p_blue_led_on 
 
 p_flip_key_release_led:
@@ -1632,7 +1632,7 @@
 04a9 2020336d branch timer_single_step 
 
 p_laser_led_off:
-04aa 204005ca call p_laser_led_init 
+04aa 204005c8 call p_laser_led_init 
 04ab 20206825 branch gpio_out_inactive 
 
 p_mouse_select_device:
@@ -1685,722 +1685,720 @@
 04cc 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-04cd 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-04ce 243a340a nbranch app_enter_hibernate ,blank 
-04cf 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
-04d0 6800caa8 fetch 1 ,mem_mouse_latest_mode 
-04d1 1fe67cff sub pdata ,latest_mode_null ,null 
-04d2 20428513 call p_mouse_le_adv_start ,zero 
-04d3 204005f2 call p_mouse_le_adv_data_update 
-04d4 202043b8 branch mouse_long_button_bt_discovry 
+04cd 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
+04ce 6800caa8 fetch 1 ,mem_mouse_latest_mode 
+04cf 1fe67cff sub pdata ,latest_mode_null ,null 
+04d0 20428511 call p_mouse_le_adv_start ,zero 
+04d1 204005f0 call p_mouse_le_adv_data_update 
+04d2 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_le_switch_adv_timer:
-04d5 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-04d6 207a0000 rtn blank 
-04d7 202003b1 branch p_check_51cmd_adv 
+04d3 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
+04d4 207a0000 rtn blank 
+04d5 202003b1 branch p_check_51cmd_adv 
 
 p_get_usb_bit:
-04d8 2040681d call gpio_get_bit 
-04d9 58000000 setarg 0x00 
-04da 7920fe00 setflag true ,0 ,pdata 
-04db 20600000 rtn 
+04d6 2040681d call gpio_get_bit 
+04d7 58000000 setarg 0x00 
+04d8 7920fe00 setflag true ,0 ,pdata 
+04d9 20600000 rtn 
 
 p_mouse_g24_pair_mode_timer:
-04dc 6800c720 fetch 1 ,mem_device_flag 
-04dd c1008000 rtneq mode_bt_device1 
-04de 6800cb26 fetch 1 ,mem_timer_key 
-04df c1888000 rtnne 0x11 
-04e0 58000000 setarg 0 
-04e1 60014ae4 store 2 ,mem_customer_key 
-04e2 60024b1e store 4 ,mem_key_send_payload_staus 
-04e3 704a5701 jam 0x01 ,mem_mouse_multi_led_blink_timer_init 
-04e4 d8400000 arg 0 ,temp 
-04e5 68014b14 fetch 2 ,mem_key_long_press_timer 
-04e6 1fe67c0a sub pdata ,0x0a ,null 
-04e7 2021046d branch p_flip_multi_led_blink_init ,positive 
-04e8 6800cb2b fetch 1 ,mem_flip_connect_success 
-04e9 243a04fe nbranch p_g24_pairing_succ ,blank 
-04ea 704a5200 jam 0 ,mem_mouse_multi_led_blink_enable 
-04eb 68014b14 fetch 2 ,mem_key_long_press_timer 
-04ec 1fe67c60 sub pdata ,0x60 ,null 
-04ed 204284f7 call p_g24_stop_pair_mode ,zero 
-04ee 2441046b ncall p_multi_led_blink_enable ,positive 
-04ef 1fe67c64 sub pdata ,0x64 ,null 
-04f0 242104f9 nbranch p_g24_stop_pair_init ,positive 
+04da 6800c720 fetch 1 ,mem_device_flag 
+04db c1008000 rtneq mode_bt_device1 
+04dc 6800cb26 fetch 1 ,mem_timer_key 
+04dd c1888000 rtnne 0x11 
+04de 58000000 setarg 0 
+04df 60014ae4 store 2 ,mem_customer_key 
+04e0 60024b1e store 4 ,mem_key_send_payload_staus 
+04e1 704a5701 jam 0x01 ,mem_mouse_multi_led_blink_timer_init 
+04e2 d8400000 arg 0 ,temp 
+04e3 68014b14 fetch 2 ,mem_key_long_press_timer 
+04e4 1fe67c0a sub pdata ,0x0a ,null 
+04e5 2021046d branch p_flip_multi_led_blink_init ,positive 
+04e6 6800cb2b fetch 1 ,mem_flip_connect_success 
+04e7 243a04fc nbranch p_g24_pairing_succ ,blank 
+04e8 704a5200 jam 0 ,mem_mouse_multi_led_blink_enable 
+04e9 68014b14 fetch 2 ,mem_key_long_press_timer 
+04ea 1fe67c60 sub pdata ,0x60 ,null 
+04eb 204284f5 call p_g24_stop_pair_mode ,zero 
+04ec 2441046b ncall p_multi_led_blink_enable ,positive 
+04ed 1fe67c64 sub pdata ,0x64 ,null 
+04ee 242104f7 nbranch p_g24_stop_pair_init ,positive 
 
 p_mouse_g24_stop_mode_timeout:
-04f1 704bc300 jam 0 ,mem_24g_ensure 
-04f2 20407fe7 call enable_user 
-04f3 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-04f4 247a0000 nrtn blank 
-04f5 704b3101 jam 1 ,mem_key_g24_pairing_flag 
-04f6 20200320 branch p_g24_auto_pair_start 
+04ef 704bc300 jam 0 ,mem_24g_ensure 
+04f0 20407fe7 call enable_user 
+04f1 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04f2 247a0000 nrtn blank 
+04f3 704b3101 jam 1 ,mem_key_g24_pairing_flag 
+04f4 20200320 branch p_g24_auto_pair_start 
 
 p_g24_stop_pair_mode:
-04f7 d8400004 arg 4 ,temp 
-04f8 2020046d branch p_flip_multi_led_blink_init 
+04f5 d8400004 arg 4 ,temp 
+04f6 2020046d branch p_flip_multi_led_blink_init 
 
 p_g24_stop_pair_init:
-04f9 6800cd0d fetch 1 ,mem_g24_conn_sm 
-04fa 793ffe01 set0 state_24g_pair ,pdata 
-04fb 6000cd0d store 1 ,mem_g24_conn_sm 
-04fc 704b3100 jam 0 ,mem_key_g24_pairing_flag 
-04fd 20600000 rtn 
+04f7 6800cd0d fetch 1 ,mem_g24_conn_sm 
+04f8 793ffe01 set0 state_24g_pair ,pdata 
+04f9 6000cd0d store 1 ,mem_g24_conn_sm 
+04fa 704b3100 jam 0 ,mem_key_g24_pairing_flag 
+04fb 20600000 rtn 
 
 p_g24_pairing_succ:
-04fe 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-04ff 243a046d nbranch p_flip_multi_led_blink_init ,blank 
-0500 704b2b00 jam 0 ,mem_flip_connect_success 
-0501 20600000 rtn 
+04fc 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04fd 243a046d nbranch p_flip_multi_led_blink_init ,blank 
+04fe 704b2b00 jam 0 ,mem_flip_connect_success 
+04ff 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0502 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0503 da403d60 arg mouse_le_write_enable ,regb 
-0504 2020336d branch timer_single_step 
+0500 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0501 da403d60 arg mouse_le_write_enable ,regb 
+0502 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_update_timer:
-0505 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
-0506 da400508 arg p_mouse_le_current_mult_reinit ,regb 
-0507 2020336d branch timer_single_step 
+0503 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
+0504 da400506 arg p_mouse_le_current_mult_reinit ,regb 
+0505 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-0508 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-0509 6000c172 store 1 ,mem_lpm_mult 
-050a 20600000 rtn 
+0506 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0507 6000c172 store 1 ,mem_lpm_mult 
+0508 20600000 rtn 
 
 p_le_send_smp_security_request_timer:
-050b 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
-050c 207a0000 rtn blank 
-050d da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
-050e da400510 arg p_le_pairing_sm_start_check ,regb 
-050f 2020336d branch timer_single_step 
+0509 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
+050a 207a0000 rtn blank 
+050b da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
+050c da40050e arg p_le_pairing_sm_start_check ,regb 
+050d 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-0510 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
-0511 247a0000 nrtn blank 
-0512 20205bf5 branch le_pairing_sm_start 
+050e 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
+050f 247a0000 nrtn blank 
+0510 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_le_adv_start:
-0513 704a9f01 jam 1 ,mem_mouse_le_adv_start 
-0514 20600000 rtn 
+0511 704a9f01 jam 1 ,mem_mouse_le_adv_start 
+0512 20600000 rtn 
 
 p_mouse_adc_read:
-0515 6800cb2c fetch 1 ,mem_device_led_flag 
-0516 247a0000 nrtn blank 
-0517 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0518 c1008000 rtneq on 
-0519 da6046ce arg mem_adc_read_timer ,regc 
-051a da40051c arg p_mouse_adc_read_timeout ,regb 
-051b 2020336d branch timer_single_step 
+0513 6800cb2c fetch 1 ,mem_device_led_flag 
+0514 247a0000 nrtn blank 
+0515 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+0516 c1008000 rtneq on 
+0517 da6046ce arg mem_adc_read_timer ,regc 
+0518 da40051a arg p_mouse_adc_read_timeout ,regb 
+0519 2020336d branch timer_single_step 
 
 p_mouse_adc_read_timeout:
-051c 7046ce0a jam 10 ,mem_adc_read_timer 
+051a 7046ce0a jam 10 ,mem_adc_read_timer 
 
 p_mouse_adc_read_once:
-051d 204068a8 call adc_init_data 
-051e d8400005 arg 0x05 ,temp 
-051f 204067fb call gpio_config_input 
-0520 6810807c hfetch 1 ,core_gpio_pd0 
-0521 793ffe05 set0 5 ,pdata 
-0522 6010807c hstore 1 ,core_gpio_pd0 
-0523 68108078 hfetch 1 ,core_gpio_pu0 
-0524 793ffe05 set0 5 ,pdata 
-0525 60108078 hstore 1 ,core_gpio_pu0 
-0526 204068f4 call adc_check_gpio 
-0527 20406908 call vdd_calculate_by_mode 
-0528 6001470f store 2 ,mem_mouse_vdd_now_vol 
-0529 da204709 arg mem_mouse_vdd_calculate_set ,rega 
-052a 20400534 call p_adc_bat_percent_lowpower_out 
-052b 6800c231 fetch 1 ,mem_adc_power_flag 
-052c c300052f bbit0 0 ,p_mouse_adc_no_low_voltage 
-052d 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-052e 202043e7 branch mouse_adc_low_voltage 
+051b 204068a8 call adc_init_data 
+051c d8400005 arg 0x05 ,temp 
+051d 204067fb call gpio_config_input 
+051e 6810807c hfetch 1 ,core_gpio_pd0 
+051f 793ffe05 set0 5 ,pdata 
+0520 6010807c hstore 1 ,core_gpio_pd0 
+0521 68108078 hfetch 1 ,core_gpio_pu0 
+0522 793ffe05 set0 5 ,pdata 
+0523 60108078 hstore 1 ,core_gpio_pu0 
+0524 204068f4 call adc_check_gpio 
+0525 20406908 call vdd_calculate_by_mode 
+0526 6001470f store 2 ,mem_mouse_vdd_now_vol 
+0527 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+0528 20400532 call p_adc_bat_percent_lowpower_out 
+0529 6800c231 fetch 1 ,mem_adc_power_flag 
+052a c300052d bbit0 0 ,p_mouse_adc_no_low_voltage 
+052b 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+052c 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-052f 204043e9 call mouse_adc_no_low_voltage 
-0530 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0531 207a0000 rtn blank 
-0532 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0533 20600000 rtn 
+052d 204043e9 call mouse_adc_no_low_voltage 
+052e 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+052f 207a0000 rtn blank 
+0530 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0531 20600000 rtn 
 
 p_adc_bat_percent_lowpower_out:
-0534 ea240000 ifetch 8 ,rega 
-0535 60040a9a store 8 ,mem_pdatatemp 
-0536 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-0537 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0538 98467c00 isub temp ,null 
-0539 24210540 nbranch p_device_lowpower_turn_off ,positive 
-053a 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-053b 98467c00 isub temp ,null 
-053c 24216940 nbranch adc_set_low_power_flag ,positive 
+0532 ea240000 ifetch 8 ,rega 
+0533 60040a9a store 8 ,mem_pdatatemp 
+0534 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0535 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0536 98467c00 isub temp ,null 
+0537 2421053e nbranch p_device_lowpower_turn_off ,positive 
+0538 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0539 98467c00 isub temp ,null 
+053a 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_set_full_power_flag:
-053d 6800c231 fetch 1 ,mem_adc_power_flag 
-053e 1fe17efc and pdata ,0xfc ,pdata 
-053f 20206942 branch adc_store_power_flag 
+053b 6800c231 fetch 1 ,mem_adc_power_flag 
+053c 1fe17efc and pdata ,0xfc ,pdata 
+053d 20206942 branch adc_store_power_flag 
 
 p_device_lowpower_turn_off:
-0540 704b3601 jam 1 ,mem_device_turn_off 
-0541 704b2e01 jam 1 ,mem_not_show_device_led 
-0542 2020340a branch app_enter_hibernate 
+053e 704b3601 jam 1 ,mem_device_turn_off 
+053f 704b2e01 jam 1 ,mem_not_show_device_led 
+0540 2020340a branch app_enter_hibernate 
 
 p_mouse_motion:
-0543 78547c00 disable user 
+0541 78547c00 disable user 
 
 p_keyboard_key:
-0544 704afa00 jam 0 ,mem_customer_data_trigger 
-0545 20400554 call p_mouse_check_key_gpio_next 
-0546 204040a8 call mouse_set_mult 
-0547 204005d5 call p_mouse_24g_customer_key 
-0548 1a227e00 copy rega ,pdata 
-0549 60014ae4 store 2 ,mem_customer_key 
-054a 20400550 call p_mouse_check_key_gpio 
-054b 68014b1e fetch 2 ,mem_key_send_payload_staus 
-054c 207a0000 rtn blank 
-054d 20403f8d call mouse_no_data_timer_init 
-054e 704afa01 jam 1 ,mem_customer_data_trigger 
-054f 20207fe7 branch enable_user 
+0542 704afa00 jam 0 ,mem_customer_data_trigger 
+0543 20400552 call p_mouse_check_key_gpio_next 
+0544 204040a8 call mouse_set_mult 
+0545 204005d3 call p_mouse_24g_customer_key 
+0546 1a227e00 copy rega ,pdata 
+0547 60014ae4 store 2 ,mem_customer_key 
+0548 2040054e call p_mouse_check_key_gpio 
+0549 68014b1e fetch 2 ,mem_key_send_payload_staus 
+054a 207a0000 rtn blank 
+054b 20403f8d call mouse_no_data_timer_init 
+054c 704afa01 jam 1 ,mem_customer_data_trigger 
+054d 20207fe7 branch enable_user 
 
 p_mouse_check_key_gpio:
-0550 68014ae4 fetch 2 ,mem_customer_key 
-0551 245a056f ncall p_store_customer_key_staus ,blank 
-0552 205a0573 call p_customer_key_release ,blank 
-0553 2020058c branch p_key_staus_judgment 
+054e 68014ae4 fetch 2 ,mem_customer_key 
+054f 245a056d ncall p_store_customer_key_staus ,blank 
+0550 205a0571 call p_customer_key_release ,blank 
+0551 2020058a branch p_key_staus_judgment 
 
 p_mouse_check_key_gpio_next:
-0554 da200000 arg 0 ,rega 
+0552 da200000 arg 0 ,rega 
 
 p_mouse_check_lkey_gpio:
-0555 704ae000 jam 0x00 ,mem_mouse_key_temp 
-0556 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0557 6800cada fetch 1 ,mem_mouse_lkey_press_status 
-0558 20400579 call p_mouse_check_key 
-0559 6000cada store 1 ,mem_mouse_lkey_press_status 
+0553 704ae000 jam 0x00 ,mem_mouse_key_temp 
+0554 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0555 6800cada fetch 1 ,mem_mouse_lkey_press_status 
+0556 20400577 call p_mouse_check_key 
+0557 6000cada store 1 ,mem_mouse_lkey_press_status 
 
 p_mouse_check_rkey_gpio:
-055a 704ae001 jam 0x01 ,mem_mouse_key_temp 
-055b 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-055c 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
-055d 20400579 call p_mouse_check_key 
-055e 6000cadb store 1 ,mem_mouse_rkey_press_status 
+0558 704ae001 jam 0x01 ,mem_mouse_key_temp 
+0559 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+055a 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
+055b 20400577 call p_mouse_check_key 
+055c 6000cadb store 1 ,mem_mouse_rkey_press_status 
 
 p_mouse_check_mkey_gpio:
-055f 704ae002 jam 0x02 ,mem_mouse_key_temp 
-0560 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0561 6800cadc fetch 1 ,mem_mouse_mkey_press_status 
-0562 20400579 call p_mouse_check_key 
-0563 6000cadc store 1 ,mem_mouse_mkey_press_status 
+055d 704ae002 jam 0x02 ,mem_mouse_key_temp 
+055e 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+055f 6800cadc fetch 1 ,mem_mouse_mkey_press_status 
+0560 20400577 call p_mouse_check_key 
+0561 6000cadc store 1 ,mem_mouse_mkey_press_status 
 
 p_mouse_check_bkkey_gpio:
-0564 704ae003 jam 0x03 ,mem_mouse_key_temp 
-0565 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-0566 6800cadd fetch 1 ,mem_mouse_bkkey_press_status 
-0567 20400579 call p_mouse_check_key 
-0568 6000cadd store 1 ,mem_mouse_bkkey_press_status 
+0562 704ae003 jam 0x03 ,mem_mouse_key_temp 
+0563 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+0564 6800cadd fetch 1 ,mem_mouse_bkkey_press_status 
+0565 20400577 call p_mouse_check_key 
+0566 6000cadd store 1 ,mem_mouse_bkkey_press_status 
 
 p_mouse_check_fwkey_gpio:
-0569 704ae004 jam 0x04 ,mem_mouse_key_temp 
-056a 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-056b 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
-056c 20400579 call p_mouse_check_key 
-056d 6000cade store 1 ,mem_mouse_fwkey_press_status 
-056e 2020408e branch mouse_check_key_gpio_output 
+0567 704ae004 jam 0x04 ,mem_mouse_key_temp 
+0568 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0569 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
+056a 20400577 call p_mouse_check_key 
+056b 6000cade store 1 ,mem_mouse_fwkey_press_status 
+056c 2020408e branch mouse_check_key_gpio_output 
 
 p_store_customer_key_staus:
-056f 1fe17e1f and_into 0x1f ,pdata 
-0570 c3820000 rtnbit1 4 
-0571 60014b20 store 2 ,mem_customer_key_store 
-0572 20600000 rtn 
+056d 1fe17e1f and_into 0x1f ,pdata 
+056e c3820000 rtnbit1 4 
+056f 60014b20 store 2 ,mem_customer_key_store 
+0570 20600000 rtn 
 
 p_customer_key_release:
-0573 dfe00000 arg 0 ,pdata 
-0574 60034b22 store 6 ,mem_customer_key_release_flag 
-0575 20600000 rtn 
+0571 dfe00000 arg 0 ,pdata 
+0572 60034b22 store 6 ,mem_customer_key_release_flag 
+0573 20600000 rtn 
 
 p_key_press_timer_set0:
-0576 dfe00000 arg 0 ,pdata 
-0577 60014b14 store 2 ,mem_key_long_press_timer 
-0578 20600000 rtn 
+0574 dfe00000 arg 0 ,pdata 
+0575 60014b14 store 2 ,mem_key_long_press_timer 
+0576 20600000 rtn 
 
 p_mouse_check_key:
-0579 6000cae1 store 1 ,mem_mouse_key_status 
-057a 1fe3fe00 lshift pdata ,pdata 
-057b 1fe22400 copy pdata ,regb 
-057c 18422600 copy temp ,regc 
-057d 6800cae0 fetch 1 ,mem_mouse_key_temp 
-057e 204067fb call gpio_config_input 
-057f 1a620400 copy regc ,temp 
-0580 2040681d call gpio_get_bit 
-0581 7920a400 setflag true ,0 ,regb 
-0582 1a417e07 and regb ,0x07 ,pdata 
-0583 6808cae0 fetcht 1 ,mem_mouse_key_temp 
-0584 18420e00 copy temp ,queue 
-0585 c0038588 beq 0x07 ,p_mouse_key_press 
-0586 c000058a beq 0x00 ,p_mouse_key_release 
-0587 20600000 rtn 
+0577 6000cae1 store 1 ,mem_mouse_key_status 
+0578 1fe3fe00 lshift pdata ,pdata 
+0579 1fe22400 copy pdata ,regb 
+057a 18422600 copy temp ,regc 
+057b 6800cae0 fetch 1 ,mem_mouse_key_temp 
+057c 204067fb call gpio_config_input 
+057d 1a620400 copy regc ,temp 
+057e 2040681d call gpio_get_bit 
+057f 7920a400 setflag true ,0 ,regb 
+0580 1a417e01 and regb ,0x01 ,pdata 
+0581 6808cae0 fetcht 1 ,mem_mouse_key_temp 
+0582 18420e00 copy temp ,queue 
+0583 c0008586 beq 0x01 ,p_mouse_key_press 
+0584 c0000588 beq 0x00 ,p_mouse_key_release 
+0585 20600000 rtn 
 
 p_mouse_key_press:
-0588 f9202200 qset1 rega 
-0589 20600000 rtn 
+0586 f9202200 qset1 rega 
+0587 20600000 rtn 
 
 p_mouse_key_release:
-058a f93fa200 qset0 rega 
-058b 20600000 rtn 
+0588 f93fa200 qset0 rega 
+0589 20600000 rtn 
 
 p_key_staus_judgment:
-058c 6800cb37 fetch 1 ,mem_key_long_short_press 
-058d 207a0000 rtn blank 
-058e c00105aa beq 2 ,p_key_long_press 
-058f 68014ae4 fetch 2 ,mem_customer_key 
-0590 247a0000 nrtn blank 
-0591 6800cb18 fetch 1 ,mem_2key_model_select_flag 
-0592 c080059f bne 0 ,p_page_updown_key_change_init 
-0593 68014b20 fetch 2 ,mem_customer_key_store 
+058a 6800cb37 fetch 1 ,mem_key_long_short_press 
+058b 207a0000 rtn blank 
+058c c00105a8 beq 2 ,p_key_long_press 
+058d 68014ae4 fetch 2 ,mem_customer_key 
+058e 247a0000 nrtn blank 
+058f 6800cb18 fetch 1 ,mem_2key_model_select_flag 
+0590 c080059d bne 0 ,p_page_updown_key_change_init 
+0591 68014b20 fetch 2 ,mem_customer_key_store 
 
 p_key_send_data_staus_store:
-0594 60014b1e store 2 ,mem_key_send_payload_staus 
-0595 704b3700 jam 0 ,mem_key_long_short_press 
-0596 6800cb22 fetch 1 ,mem_key_not_send_flag 
-0597 c000859c beq 0x01 ,p_key_not_send_data 
-0598 6800cb25 fetch 1 ,mem_packet_send_finish 
-0599 c000859c beq 0x01 ,p_key_not_send_data 
+0592 60014b1e store 2 ,mem_key_send_payload_staus 
+0593 704b3700 jam 0 ,mem_key_long_short_press 
+0594 6800cb22 fetch 1 ,mem_key_not_send_flag 
+0595 c000859a beq 0x01 ,p_key_not_send_data 
+0596 6800cb25 fetch 1 ,mem_packet_send_finish 
+0597 c000859a beq 0x01 ,p_key_not_send_data 
 
 p_key_send_payload_staus_set0:
-059a 704b2000 jam 0 ,mem_customer_key_store 
-059b 20600000 rtn 
+0598 704b2000 jam 0 ,mem_customer_key_store 
+0599 20600000 rtn 
 
 p_key_not_send_data:
-059c dfe00000 arg 0 ,pdata 
-059d 60014b1e store 2 ,mem_key_send_payload_staus 
-059e 2020059a branch p_key_send_payload_staus_set0 
+059a dfe00000 arg 0 ,pdata 
+059b 60014b1e store 2 ,mem_key_send_payload_staus 
+059c 20200598 branch p_key_send_payload_staus_set0 
 
 p_page_updown_key_change_init:
-059f 68014b20 fetch 2 ,mem_customer_key_store 
-05a0 c00085a3 beq 0x01 ,p_page_updown_key_change 
-05a1 c00105a3 beq 0x02 ,p_page_updown_key_change 
-05a2 20200594 branch p_key_send_data_staus_store 
+059d 68014b20 fetch 2 ,mem_customer_key_store 
+059e c00085a1 beq 0x01 ,p_page_updown_key_change 
+059f c00105a1 beq 0x02 ,p_page_updown_key_change 
+05a0 20200592 branch p_key_send_data_staus_store 
 
 p_page_updown_key_change:
-05a3 1fed7e00 lshift8 pdata ,pdata 
-05a4 1fe3fe00 lshift pdata ,pdata 
-05a5 6808cb18 fetcht 1 ,mem_2key_model_select_flag 
-05a6 18467c01 sub temp ,0x01 ,null 
-05a7 20228594 branch p_key_send_data_staus_store ,zero 
-05a8 1febfe00 lshift2 pdata ,pdata 
-05a9 20200594 branch p_key_send_data_staus_store 
+05a1 1fed7e00 lshift8 pdata ,pdata 
+05a2 1fe3fe00 lshift pdata ,pdata 
+05a3 6808cb18 fetcht 1 ,mem_2key_model_select_flag 
+05a4 18467c01 sub temp ,0x01 ,null 
+05a5 20228592 branch p_key_send_data_staus_store ,zero 
+05a6 1febfe00 lshift2 pdata ,pdata 
+05a7 20200592 branch p_key_send_data_staus_store 
 
 p_key_long_press:
-05aa 68014b20 fetch 2 ,mem_customer_key_store 
-05ab c00185bd beq 0x03 ,p_2key_modle_change 
-05ac c00085b1 beq 0x01 ,p_pageup_key_long_press_cont 
+05a8 68014b20 fetch 2 ,mem_customer_key_store 
+05a9 c00185bb beq 0x03 ,p_2key_modle_change 
+05aa c00085af beq 0x01 ,p_pageup_key_long_press_cont 
 
 p_long_press_staus_store:
-05ad 68014b20 fetch 2 ,mem_customer_key_store 
-05ae 1ff27e00 lshift4 pdata ,pdata 
-05af 1fe3fe00 lshift pdata ,pdata 
-05b0 20200594 branch p_key_send_data_staus_store 
+05ab 68014b20 fetch 2 ,mem_customer_key_store 
+05ac 1ff27e00 lshift4 pdata ,pdata 
+05ad 1fe3fe00 lshift pdata ,pdata 
+05ae 20200592 branch p_key_send_data_staus_store 
 
 p_pageup_key_long_press_cont:
-05b1 6800cb23 fetch 1 ,mem_pgupkey_long_press_finish 
-05b2 205a05b8 call p_pgupkey_long_press_change ,blank 
-05b3 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
-05b4 c00005ad beq 0x00 ,p_long_press_staus_store 
-05b5 68014b20 fetch 2 ,mem_customer_key_store 
-05b6 1ff27e00 lshift4 pdata ,pdata 
-05b7 20200594 branch p_key_send_data_staus_store 
+05af 6800cb23 fetch 1 ,mem_pgupkey_long_press_finish 
+05b0 205a05b6 call p_pgupkey_long_press_change ,blank 
+05b1 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
+05b2 c00005ab beq 0x00 ,p_long_press_staus_store 
+05b3 68014b20 fetch 2 ,mem_customer_key_store 
+05b4 1ff27e00 lshift4 pdata ,pdata 
+05b5 20200592 branch p_key_send_data_staus_store 
 
 p_pgupkey_long_press_change:
-05b8 704b2301 jam 0x01 ,mem_pgupkey_long_press_finish 
-05b9 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
-05ba 79407e00 setflip 0 ,pdata 
-05bb 6000cb17 store 1 ,mem_pgupkey_long_press_count 
-05bc 20600000 rtn 
+05b6 704b2301 jam 0x01 ,mem_pgupkey_long_press_finish 
+05b7 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
+05b8 79407e00 setflip 0 ,pdata 
+05b9 6000cb17 store 1 ,mem_pgupkey_long_press_count 
+05ba 20600000 rtn 
 
 p_2key_modle_change:
-05bd 6800cb24 fetch 1 ,mem_2key_modle_change_finish 
-05be 247a0000 nrtn blank 
-05bf 704b2401 jam 1 ,mem_2key_modle_change_finish 
-05c0 6800cb18 fetch 1 ,mem_2key_model_select_flag 
-05c1 c00105c5 beq 2 ,p_2key_staus_set0 
-05c2 1fe0fe01 increase 1 ,pdata 
-05c3 6000cb18 store 1 ,mem_2key_model_select_flag 
-05c4 202005c6 branch p_store_key_staus_eeprom 
+05bb 6800cb24 fetch 1 ,mem_2key_modle_change_finish 
+05bc 247a0000 nrtn blank 
+05bd 704b2401 jam 1 ,mem_2key_modle_change_finish 
+05be 6800cb18 fetch 1 ,mem_2key_model_select_flag 
+05bf c00105c3 beq 2 ,p_2key_staus_set0 
+05c0 1fe0fe01 increase 1 ,pdata 
+05c1 6000cb18 store 1 ,mem_2key_model_select_flag 
+05c2 202005c4 branch p_store_key_staus_eeprom 
 
 p_2key_staus_set0:
-05c5 704b1800 jam 0 ,mem_2key_model_select_flag 
+05c3 704b1800 jam 0 ,mem_2key_model_select_flag 
 
 p_store_key_staus_eeprom:
-05c6 da204b18 arg mem_2key_model_select_flag ,rega 
-05c7 da40006a arg mouse_key_staus_eeprom_offset ,regb 
-05c8 d8400001 arg 1 ,temp 
-05c9 202065d1 branch iicd_write_protect_eep_data 
+05c4 da204b18 arg mem_2key_model_select_flag ,rega 
+05c5 da40006a arg mouse_key_staus_eeprom_offset ,regb 
+05c6 d8400001 arg 1 ,temp 
+05c7 202065d1 branch iicd_write_protect_eep_data 
 
 p_laser_led_init:
-05ca 6808cb0e fetcht 1 ,mem_filp_laser_led_gpio 
-05cb 2020680e branch gpio_config_output 
+05c8 6808cb0e fetcht 1 ,mem_filp_laser_led_gpio 
+05c9 2020680e branch gpio_config_output 
 
 p_laser_led_on:
-05cc c08804aa bne 0x10 ,p_laser_led_off 
-05cd 68014b14 fetch 2 ,mem_key_long_press_timer 
-05ce 68094b12 fetcht 2 ,mem_key_long_press_sleep_timer 
-05cf 98467c00 isub temp ,null 
-05d0 202104aa branch p_laser_led_off ,positive 
-05d1 204005ca call p_laser_led_init 
-05d2 20206829 branch gpio_out_active 
+05ca c08804aa bne 0x10 ,p_laser_led_off 
+05cb 68014b14 fetch 2 ,mem_key_long_press_timer 
+05cc 68094b12 fetcht 2 ,mem_key_long_press_sleep_timer 
+05cd 98467c00 isub temp ,null 
+05ce 202104aa branch p_laser_led_off ,positive 
+05cf 204005c8 call p_laser_led_init 
+05d0 20206829 branch gpio_out_active 
 
 p_blue_led_init:
-05d3 6808cb0f fetcht 1 ,mem_filp_led_gpio 
-05d4 2020680e branch gpio_config_output 
+05d1 6808cb0f fetcht 1 ,mem_filp_led_gpio 
+05d2 2020680e branch gpio_config_output 
 
 p_mouse_24g_customer_key:
-05d5 c6930000 rtnmark0 mark_24g 
-05d6 1a227e00 copy rega ,pdata 
-05d7 207a0000 rtn blank 
-05d8 60014ae4 store 2 ,mem_customer_key 
-05d9 20207fe7 branch enable_user 
+05d3 c6930000 rtnmark0 mark_24g 
+05d4 1a227e00 copy rega ,pdata 
+05d5 207a0000 rtn blank 
+05d6 60014ae4 store 2 ,mem_customer_key 
+05d7 20207fe7 branch enable_user 
 
 p_mouse_bb_event_discovery_btn:
-05da 280ffe26 isolate1 mark_24g ,mark 
-05db 20408219 call p_g24_check_51cmd_stop_24g ,true 
-05dc 7046b400 jam 0 ,mem_mouse_send_blank_timer 
-05dd 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
-05de 205a4386 call mouse_disconnect ,blank 
-05df 58000000 setarg 0 
-05e0 600146b0 store 2 ,mem_mouse_no_data_timer 
-05e1 2020426f branch mouse_bb_event_discovery_btn + 3 
+05d8 280ffe26 isolate1 mark_24g ,mark 
+05d9 20408219 call p_g24_check_51cmd_stop_24g ,true 
+05da 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+05db 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
+05dc 205a4386 call mouse_disconnect ,blank 
+05dd 58000000 setarg 0 
+05de 600146b0 store 2 ,mem_mouse_no_data_timer 
+05df 2020426f branch mouse_bb_event_discovery_btn + 3 
 
 p_mouse_start_discovery:
-05e2 204002c5 call p_mouse_tx_power_init 
-05e3 704a9100 jam 0 ,mem_le_send_security_request_flag 
-05e4 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
-05e5 70472001 jam mode_bt_device1 ,mem_device_flag 
-05e6 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+05e0 204002c5 call p_mouse_tx_power_init 
+05e1 704a9100 jam 0 ,mem_le_send_security_request_flag 
+05e2 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
+05e3 70472001 jam mode_bt_device1 ,mem_device_flag 
+05e4 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_start_discovery_norandom:
-05e7 20403418 call app_lpm_mult_disable 
-05e8 68014687 fetch 2 ,mem_discovery_timeout 
-05e9 600146ac store 2 ,mem_mouse_discovery_timer 
-05ea 70016d06 jam 6 ,mem_connection_options 
-05eb 58000000 setarg 0 
-05ec 600146b0 store 2 ,mem_mouse_no_data_timer 
-05ed 600146ae store 2 ,mem_mouse_direct_timer 
-05ee 204005fa call p_mouse_store_eeprom_enable 
-05ef 6800ca9f fetch 1 ,mem_mouse_le_adv_start 
-05f0 245a03b1 ncall p_check_51cmd_adv ,blank 
-05f1 202042c4 branch mouse_start_discovery_norandom + 13 
+05e5 20403418 call app_lpm_mult_disable 
+05e6 68014687 fetch 2 ,mem_discovery_timeout 
+05e7 600146ac store 2 ,mem_mouse_discovery_timer 
+05e8 70016d06 jam 6 ,mem_connection_options 
+05e9 58000000 setarg 0 
+05ea 600146b0 store 2 ,mem_mouse_no_data_timer 
+05eb 600146ae store 2 ,mem_mouse_direct_timer 
+05ec 204005f8 call p_mouse_store_eeprom_enable 
+05ed 6800ca9f fetch 1 ,mem_mouse_le_adv_start 
+05ee 245a03b1 ncall p_check_51cmd_adv ,blank 
+05ef 202042c4 branch mouse_start_discovery_norandom + 13 
 
 p_mouse_le_adv_data_update:
-05f2 70436f1f jam 0x1f ,mem_le_adv_data_len 
-05f3 70438f1f jam 0x1f ,mem_le_scan_data_len 
-05f4 204005fa call p_mouse_store_eeprom_enable 
-05f5 d8c04a71 arg mem_le_adv_swift_pair ,contr 
+05f0 70436f1f jam 0x1f ,mem_le_adv_data_len 
+05f1 70438f1f jam 0x1f ,mem_le_scan_data_len 
+05f2 204005f8 call p_mouse_store_eeprom_enable 
+05f3 d8c04a71 arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-05f6 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05f7 df200013 arg 19 ,loopcnt 
-05f8 20407f01 call memcpy 
-05f9 202057b8 branch le_modified_name_adv 
+05f4 d8a0437b arg mem_le_adv_data + 11 ,contw 
+05f5 df200013 arg 19 ,loopcnt 
+05f6 20407f01 call memcpy 
+05f7 202057b8 branch le_modified_name_adv 
 
 p_mouse_store_eeprom_enable:
-05fa d8e00007 arg mouse_store_eeprom_flag ,queue 
-05fb 202043ce branch mouse_enable_function_flag 
+05f8 d8e00007 arg mouse_store_eeprom_flag ,queue 
+05f9 202043ce branch mouse_enable_function_flag 
 
 p_mouse_stop_discovery:
-05fc 58000000 setarg 0 
-05fd 600146ac store 2 ,mem_mouse_discovery_timer 
-05fe 704b2b01 jam 1 ,mem_flip_connect_success 
-05ff 202042cb branch mouse_stop_discovery + 1 
+05fa 58000000 setarg 0 
+05fb 600146ac store 2 ,mem_mouse_discovery_timer 
+05fc 704b2b01 jam 1 ,mem_flip_connect_success 
+05fd 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-0600 6800c50f fetch 1 ,mem_le_md_count 
-0601 1fe0fe01 pincrease 1 
-0602 6000c50f store 1 ,mem_le_md_count 
-0603 c0065395 beq le_md_max_count ,le_slave_cont 
-0604 204055aa call le_acknowledge 
-0605 2040561e call le_prepare_tx 
-0606 2020538f branch le_slave_match + 7 
+05fe 6800c50f fetch 1 ,mem_le_md_count 
+05ff 1fe0fe01 pincrease 1 
+0600 6000c50f store 1 ,mem_le_md_count 
+0601 c0065395 beq le_md_max_count ,le_slave_cont 
+0602 204055aa call le_acknowledge 
+0603 2040561e call le_prepare_tx 
+0604 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-0607 68008016 fetch 1 ,mem_le_ch_mapped 
-0608 1fe0fe01 increase 1 ,pdata 
-0609 60008016 store 1 ,mem_le_ch_mapped 
-060a c1940000 rtnne 40 
-060b 70001625 jam 37 ,mem_le_ch_mapped 
-060c 20600000 rtn 
+0605 68008016 fetch 1 ,mem_le_ch_mapped 
+0606 1fe0fe01 increase 1 ,pdata 
+0607 60008016 store 1 ,mem_le_ch_mapped 
+0608 c1940000 rtnne 40 
+0609 70001625 jam 37 ,mem_le_ch_mapped 
+060a 20600000 rtn 
 
 p_le_update_param:
-060d 20400613 call p_mouse_le_conn_param_check 
-060e 2020557d branch le_update_param + 8 
+060b 20400611 call p_mouse_le_conn_param_check 
+060c 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-060f 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-0610 6000c172 store 1 ,mem_lpm_mult 
+060d 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+060e 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-0611 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0612 20600000 rtn 
+060f 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0610 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-0613 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-0614 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0615 242103c7 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-0616 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0617 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-0618 98467c00 isub temp ,null 
-0619 2021060f branch p_mouse_le_lpm_mult_reinit ,positive 
-061a 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-061b 6000c172 store 1 ,mem_lpm_mult 
-061c 20200611 branch p_mouse_le_conn_param_lpm_enable 
+0611 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0612 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0613 242103c7 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0614 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0615 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0616 98467c00 isub temp ,null 
+0617 2021060d branch p_mouse_le_lpm_mult_reinit ,positive 
+0618 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0619 6000c172 store 1 ,mem_lpm_mult 
+061a 2020060f branch p_mouse_le_conn_param_lpm_enable 
 
 p_le_update_channel_map:
-061d 6800843f fetch 1 ,mem_le_state 
-061e c4030000 rtnbit0 lestate_update_map 
-061f 20400622 call p_le_channel_map_overflow_check 
-0620 24740000 nrtn user 
-0621 202055a0 branch le_update_channel_map + 3 
+061b 6800843f fetch 1 ,mem_le_state 
+061c c4030000 rtnbit0 lestate_update_map 
+061d 20400620 call p_le_channel_map_overflow_check 
+061e 24740000 nrtn user 
+061f 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-0622 78347c00 enable user 
-0623 6800845a fetch 1 ,mem_le_event_count + 1 
-0624 1ff1fe00 rshift4 pdata ,pdata 
-0625 c1878000 rtnne 0x0f 
-0626 68008460 fetch 1 ,mem_le_instant + 1 
-0627 1ff1fe00 rshift4 pdata ,pdata 
-0628 c1800000 rtnne 0x00 
-0629 20207fe9 branch disable_user 
+0620 78347c00 enable user 
+0621 6800845a fetch 1 ,mem_le_event_count + 1 
+0622 1ff1fe00 rshift4 pdata ,pdata 
+0623 c1878000 rtnne 0x0f 
+0624 68008460 fetch 1 ,mem_le_instant + 1 
+0625 1ff1fe00 rshift4 pdata ,pdata 
+0626 c1800000 rtnne 0x00 
+0627 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-062a 68008456 fetch 1 ,mem_le_arq 
-062b c2828648 bbit1 wak ,p_le_prepare_tx_wak 
-062c 6800c78e fetch 1 ,mem_empty_count 
-062d 243a0633 nbranch p_le_send_empyt ,blank 
-062e 6800843f fetch 1 ,mem_le_state 
-062f c3020637 bbit0 lestate_encryption ,p_le_tx_4 
-0630 680082da fetch 1 ,mem_le_rxbuf + 1 
-0631 203a0637 branch p_le_tx_4 ,blank 
-0632 20205664 branch le_send_empty 
+0628 68008456 fetch 1 ,mem_le_arq 
+0629 c2828646 bbit1 wak ,p_le_prepare_tx_wak 
+062a 6800c78e fetch 1 ,mem_empty_count 
+062b 243a0631 nbranch p_le_send_empyt ,blank 
+062c 6800843f fetch 1 ,mem_le_state 
+062d c3020635 bbit0 lestate_encryption ,p_le_tx_4 
+062e 680082da fetch 1 ,mem_le_rxbuf + 1 
+062f 203a0635 branch p_le_tx_4 ,blank 
+0630 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0633 6800c78e fetch 1 ,mem_empty_count 
-0634 1fe0ffff increase -1 ,pdata 
-0635 6000c78e store 1 ,mem_empty_count 
-0636 20205664 branch le_send_empty 
+0631 6800c78e fetch 1 ,mem_empty_count 
+0632 1fe0ffff increase -1 ,pdata 
+0633 6000c78e store 1 ,mem_empty_count 
+0634 20205664 branch le_send_empty 
 
 p_le_tx_4:
-0637 6800c4c4 fetch 1 ,mem_le_pairing_state 
-0638 c082863a bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-0639 70478e03 jam 3 ,mem_empty_count 
+0635 6800c4c4 fetch 1 ,mem_le_pairing_state 
+0636 c0828638 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+0637 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-063a 20405892 call le_fifo_check_nearly_full 
-063b 205a037c call p_mouse_data_pull ,blank 
-063c 20205622 branch le_prepare_tx + 4 
+0638 20405892 call le_fifo_check_nearly_full 
+0639 205a037c call p_mouse_data_pull ,blank 
+063a 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-063d 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-063e 1fe17e03 and pdata ,0x03 ,pdata 
-063f c1818000 rtnne 0x03 
-0640 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+063b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+063c 1fe17e03 and pdata ,0x03 ,pdata 
+063d c1818000 rtnne 0x03 
+063e 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+063f 207a0000 rtn blank 
+0640 6800c3dd fetch 1 ,mem_le_txlen 
 0641 207a0000 rtn blank 
-0642 6800c3dd fetch 1 ,mem_le_txlen 
-0643 207a0000 rtn blank 
-0644 6800c3dc fetch 1 ,mem_le_txheader 
-0645 79207e04 set1 md ,pdata 
-0646 6000c3dc store 1 ,mem_le_txheader 
-0647 20205650 branch le_set_md 
+0642 6800c3dc fetch 1 ,mem_le_txheader 
+0643 79207e04 set1 md ,pdata 
+0644 6000c3dc store 1 ,mem_le_txheader 
+0645 20205650 branch le_set_md 
 
 p_le_prepare_tx_wak:
-0648 2020063d branch p_le_check_tx_retransmit_setmd 
+0646 2020063b branch p_le_check_tx_retransmit_setmd 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-0649 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-064a 207a0000 rtn blank 
-064b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-064c 1fe17e03 and pdata ,0x03 ,pdata 
-064d c1018000 rtneq 0x03 
-064e 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-064f 20600000 rtn 
+0647 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0648 207a0000 rtn blank 
+0649 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+064a 1fe17e03 and pdata ,0x03 ,pdata 
+064b c1018000 rtneq 0x03 
+064c 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+064d 20600000 rtn 
 
 p_le_parse:
-0650 c6078000 rtnmark1 mark_old_packet 
-0651 20405890 call le_fifo_check_full 
-0652 247a0000 nrtn blank 
-0653 680082d9 fetch 1 ,mem_le_rxbuf 
-0654 1fe17e03 and pdata ,0x3 ,pdata 
-0655 6000c50c store 1 ,mem_le_packet_llid 
-0656 e8c08000 ifetch 1 ,contr 
-0657 1fe17e1f and pdata ,0x1f ,pdata 
-0658 6000c50b store 1 ,mem_le_packet_size 
-0659 207a0000 rtn blank 
-065a 18c27e00 copy contr ,pdata 
-065b 6001450d store 2 ,mem_le_payload_ptr 
-065c 6800c50c fetch 1 ,mem_le_packet_llid 
-065d c001865f beq llid_le_ll ,p_le_parse_ll 
-065e 2020568d branch le_parse_l2cap 
+064e c6078000 rtnmark1 mark_old_packet 
+064f 20405890 call le_fifo_check_full 
+0650 247a0000 nrtn blank 
+0651 680082d9 fetch 1 ,mem_le_rxbuf 
+0652 1fe17e03 and pdata ,0x3 ,pdata 
+0653 6000c50c store 1 ,mem_le_packet_llid 
+0654 e8c08000 ifetch 1 ,contr 
+0655 1fe17e1f and pdata ,0x1f ,pdata 
+0656 6000c50b store 1 ,mem_le_packet_size 
+0657 207a0000 rtn blank 
+0658 18c27e00 copy contr ,pdata 
+0659 6001450d store 2 ,mem_le_payload_ptr 
+065a 6800c50c fetch 1 ,mem_le_packet_llid 
+065b c001865d beq llid_le_ll ,p_le_parse_ll 
+065c 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-065f 680082db fetch 1 ,mem_le_rxbuf + 2 
-0660 c0000663 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-0661 c000866a beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0662 20205c65 branch le_parse_ll + 1 
+065d 680082db fetch 1 ,mem_le_rxbuf + 2 
+065e c0000661 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+065f c0008668 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0660 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0663 20405c7b call le_parse_connection_update_req 
-0664 6800caa7 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-0665 207a0000 rtn blank 
+0661 20405c7b call le_parse_connection_update_req 
+0662 6800caa7 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0663 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-0666 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0667 6000c172 store 1 ,mem_lpm_mult 
-0668 6000c7c5 store 1 ,mem_lpm_mult_init 
-0669 20600000 rtn 
+0664 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0665 6000c172 store 1 ,mem_lpm_mult 
+0666 6000c7c5 store 1 ,mem_lpm_mult_init 
+0667 20600000 rtn 
 
 p_le_parse_channel_map_req:
-066a e8c28000 ifetch 5 ,contr 
-066b 6002c3ce store 5 ,mem_le_new_map 
-066c e8c10000 ifetch 2 ,contr 
-066d 6001045f store 2 ,mem_le_instant 
-066e 20205c8a branch le_parse_channel_map_req + 7 
+0668 e8c28000 ifetch 5 ,contr 
+0669 6002c3ce store 5 ,mem_le_new_map 
+066a e8c10000 ifetch 2 ,contr 
+066b 6001045f store 2 ,mem_le_instant 
+066c 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-066f e8c10000 ifetch 2 ,contr 
-0670 c0020673 beq le_l2cap_cid_att ,p_le_parse_att 
-0671 c0030677 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0672 20205698 branch le_parse_l2cap + 11 
+066d e8c10000 ifetch 2 ,contr 
+066e c0020671 beq le_l2cap_cid_att ,p_le_parse_att 
+066f c0030675 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0670 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0673 20407ea5 call store_contr 
-0674 20400649 call p_mouse_le_reconn_write_enable_timer_reinit 
-0675 20407e9f call get_contr 
-0676 202058ab branch le_parse_att 
+0671 20407ea5 call store_contr 
+0672 20400647 call p_mouse_le_reconn_write_enable_timer_reinit 
+0673 20407e9f call get_contr 
+0674 202058ab branch le_parse_att 
 
 p_le_parse_smp:
-0677 e8c08000 ifetch 1 ,contr 
-0678 c000867b beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0679 c002867d beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-067a 20205af6 branch le_parse_smp + 2 
+0675 e8c08000 ifetch 1 ,contr 
+0676 c0008679 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0677 c002867b beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0678 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-067b 704a9101 jam 1 ,mem_le_send_security_request_flag 
-067c 20205b09 branch le_parse_smp_pairing_request 
+0679 704a9101 jam 1 ,mem_le_send_security_request_flag 
+067a 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-067d 20405b5a call le_parse_smp_pairing_failed 
-067e 6800843f fetch 1 ,mem_le_state 
-067f 793ffe05 set0 lestate_update_param ,pdata 
-0680 6000843f store 1 ,mem_le_state 
-0681 20205c8e branch le_parse_terminate_ind 
+067b 20405b5a call le_parse_smp_pairing_failed 
+067c 6800843f fetch 1 ,mem_le_state 
+067d 793ffe05 set0 lestate_update_param ,pdata 
+067e 6000843f store 1 ,mem_le_state 
+067f 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-0682 68008016 fetch 1 ,mem_le_ch_mapped 
-0683 c093d6f2 bne 39 ,le_adv_loop 
-0684 180a7e00 random pdata 
-0685 d84001ff arg 0x1ff ,temp 
-0686 98417e00 iand temp ,pdata 
-0687 1fe0fefa add pdata ,250 ,pdata 
-0688 20403cbe call delay 
-0689 d8e00000 arg le_adv_interval_timer ,queue 
-068a 68014482 fetch 2 ,mem_le_adv_interval 
-068b 20207f08 branch timer_init 
+0680 68008016 fetch 1 ,mem_le_ch_mapped 
+0681 c093d6f2 bne 39 ,le_adv_loop 
+0682 180a7e00 random pdata 
+0683 d84001ff arg 0x1ff ,temp 
+0684 98417e00 iand temp ,pdata 
+0685 1fe0fefa add pdata ,250 ,pdata 
+0686 20403cbe call delay 
+0687 d8e00000 arg le_adv_interval_timer ,queue 
+0688 68014482 fetch 2 ,mem_le_adv_interval 
+0689 20207f08 branch timer_init 
 
 p_le_lpm_setmult:
-068c 7855fc00 disable wake 
-068d 2037068f branch p_le_lpm_set_mult_attempt ,attempt 
-068e 2436d806 nbranch le_lpm_lost ,match 
+068a 7855fc00 disable wake 
+068b 2037068d branch p_le_lpm_set_mult_attempt ,attempt 
+068c 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-068f 20402bcb call lpm_match 
-0690 680140c1 fetch 2 ,mem_rx_window_sniff 
-0691 6001044d store 2 ,mem_le_receive_window 
-0692 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0693 2fe00603 compare 3 ,pdata ,3 
-0694 2420abde nbranch lpm_mult_short ,true 
-0695 202057fb branch le_lpm_set_mult_attempt + 3 
+068d 20402bcb call lpm_match 
+068e 680140c1 fetch 2 ,mem_rx_window_sniff 
+068f 6001044d store 2 ,mem_le_receive_window 
+0690 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0691 2fe00603 compare 3 ,pdata ,3 
+0692 2420abde nbranch lpm_mult_short ,true 
+0693 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0696 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0697 247a0000 nrtn blank 
-0698 68008478 fetch 1 ,mem_le_att_handle 
-0699 1fe67e1a sub pdata ,26 ,pdata 
-069a 24628000 nrtn zero 
-069b 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-069c 20203d60 branch mouse_le_write_enable 
+0694 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0695 247a0000 nrtn blank 
+0696 68008478 fetch 1 ,mem_le_att_handle 
+0697 1fe67e1a sub pdata ,26 ,pdata 
+0698 24628000 nrtn zero 
+0699 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+069a 20203d60 branch mouse_le_write_enable 
 
 p_check_51cmd_once_continue:
-069d 204062bc call lmo_fifo_check 
-069e 243a7ddb nbranch check_51cmd_restore ,blank 
-069f 68008a99 fetch 1 ,mem_fifo_temp 
-06a0 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06a1 c00906a3 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06a2 20207dca branch check_51cmd_once_continue + 2 
+069b 204062bc call lmo_fifo_check 
+069c 243a7ddb nbranch check_51cmd_restore ,blank 
+069d 68008a99 fetch 1 ,mem_fifo_temp 
+069e c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+069f c00906a1 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06a0 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06a3 20405890 call le_fifo_check_full 
-06a4 247a0000 nrtn blank 
-06a5 20205abf branch le_l2cap_tx_update_req 
+06a1 20405890 call le_fifo_check_full 
+06a2 247a0000 nrtn blank 
+06a3 20205abf branch le_l2cap_tx_update_req 
 
 p_set_freq_tx:
-06a6 60088017 storet 1 ,mem_last_freq 
-06a7 2040292d call set_freq_tx_offset 
-06a8 20402981 call rf_write_freq 
-06a9 58000500 setarg param_pll_setup 
-06aa 20402a8f call sleep 
+06a4 60088017 storet 1 ,mem_last_freq 
+06a5 2040292d call set_freq_tx_offset 
+06a6 20402981 call rf_write_freq 
+06a7 58000500 setarg param_pll_setup 
+06a8 20402a8f call sleep 
 
 p_rf_tx_enable:
-06ab 70890601 jam 0x1 ,rfen_adc 
-06ac 7089003c jam 0x3c ,rfen_rx 
-06ad 708901e0 jam 0xe0 ,rfen_tx 
-06ae 2000000a nop 10 
-06af 70890201 jam 0x01 ,rfen_mdm 
-06b0 7089023d jam 0x3d ,rfen_mdm 
+06a9 70890601 jam 0x1 ,rfen_adc 
+06aa 7089003c jam 0x3c ,rfen_rx 
+06ab 708901e0 jam 0xe0 ,rfen_tx 
+06ac 2000000a nop 10 
+06ad 70890201 jam 0x01 ,rfen_mdm 
+06ae 7089023d jam 0x3d ,rfen_mdm 
+06af 2000000a nop 10 
+06b0 708903b7 jam 0xb7 ,rfen_sn 
 06b1 2000000a nop 10 
-06b2 708903b7 jam 0xb7 ,rfen_sn 
-06b3 2000000a nop 10 
-06b4 7089027d jam 0x7d ,rfen_mdm 
-06b5 6800c1de fetch 1 ,mem_tx_power 
-06b6 c00106be beq tx_power_5db ,p_set_tx_power_5db 
-06b7 c00206c6 beq tx_power_f5db ,p_set_tx_power_f5db 
-06b8 c01006d0 beq tx_power_pair ,p_set_tx_power_pair 
+06b2 7089027d jam 0x7d ,rfen_mdm 
+06b3 6800c1de fetch 1 ,mem_tx_power 
+06b4 c00106bc beq tx_power_5db ,p_set_tx_power_5db 
+06b5 c00206c4 beq tx_power_f5db ,p_set_tx_power_f5db 
+06b6 c01006ce beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-06b9 204006cb call p_rx_low_sens 
-06ba 708955d0 jam 0xd0 ,0x8955 
-06bb 708956e0 jam 0xe0 ,0x8956 
-06bc 7089586c jam 0x6c ,0x8958 
-06bd 2020294b branch set_tx_power_0db 
+06b7 204006c9 call p_rx_low_sens 
+06b8 708955d0 jam 0xd0 ,0x8955 
+06b9 708956e0 jam 0xe0 ,0x8956 
+06ba 7089586c jam 0x6c ,0x8958 
+06bb 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-06be 70894cfb jam 0xfb ,0x894c 
-06bf 70894def jam 0xef ,0x894d 
-06c0 70894eec jam 0xec ,0x894e 
-06c1 70894f5e jam 0x5e ,0x894f 
-06c2 708955d0 jam 0xd0 ,0x8955 
-06c3 708956e0 jam 0xe0 ,0x8956 
-06c4 7089583c jam 0x3c ,0x8958 
-06c5 20202953 branch set_tx_power_5db 
+06bc 70894cfb jam 0xfb ,0x894c 
+06bd 70894def jam 0xef ,0x894d 
+06be 70894eec jam 0xec ,0x894e 
+06bf 70894f5e jam 0x5e ,0x894f 
+06c0 708955d0 jam 0xd0 ,0x8955 
+06c1 708956e0 jam 0xe0 ,0x8956 
+06c2 7089583c jam 0x3c ,0x8958 
+06c3 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-06c6 204006cb call p_rx_low_sens 
-06c7 708955d0 jam 0xd0 ,0x8955 
-06c8 708956c0 jam 0xc0 ,0x8956 
-06c9 7089586c jam 0x6c ,0x8958 
-06ca 2020295b branch set_tx_power_f5db 
+06c4 204006c9 call p_rx_low_sens 
+06c5 708955d0 jam 0xd0 ,0x8955 
+06c6 708956c0 jam 0xc0 ,0x8956 
+06c7 7089586c jam 0x6c ,0x8958 
+06c8 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-06cb 70894c5b jam 0x5b ,0x894c 
-06cc 70894d96 jam 0x96 ,0x894d 
-06cd 70894e2c jam 0x2c ,0x894e 
-06ce 70894f46 jam 0x46 ,0x894f 
-06cf 20600000 rtn 
+06c9 70894c5b jam 0x5b ,0x894c 
+06ca 70894d96 jam 0x96 ,0x894d 
+06cb 70894e2c jam 0x2c ,0x894e 
+06cc 70894f46 jam 0x46 ,0x894f 
+06cd 20600000 rtn 
 
 p_set_tx_power_pair:
-06d0 708956c2 jam 0xc2 ,0x8956 
-06d1 708955d0 jam 0xd0 ,0x8955 
-06d2 20600000 rtn 
+06ce 708956c2 jam 0xc2 ,0x8956 
+06cf 708955d0 jam 0xd0 ,0x8955 
+06d0 20600000 rtn 
 
 p_shutdown_radio:
-06d3 18002a08 force 8 ,radio_ctrl 
-06d4 202028fa branch shutdown_radio + 1 
+06d1 18002a08 force 8 ,radio_ctrl 
+06d2 202028fa branch shutdown_radio + 1 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(revision 3168)
+++ /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(working copy)
@@ -5,7 +5,6 @@
 define ADC_ENABLE
 //define P24G_LOG
 //define RF_DEBUG
-//define BLE_FAST_CONN_ENABLE
 
 //define DEBUGLOG
 //define DEBUGLOG_CALLBACK
@@ -2065,11 +2064,9 @@
 	arg p_mouse_check_direct_timeout,regb
 	branch timer_single_step_2B
 p_mouse_check_direct_timeout:
-	fetch 1,mem_le_switch_adv_flag
-	//nbranch app_enter_hibernate,blank
-	nbranch app_enter_hibernate,blank
+//	fetch 1,mem_le_switch_adv_flag
+//	nbranch app_enter_hibernate,blank
 	jam 1,mem_mouse_le_not_tx_disconn
-
 	fetch 1,mem_mouse_latest_mode
 	sub pdata,LATEST_MODE_NULL,null
 	call p_mouse_le_adv_start,zero
@@ -2077,7 +2074,6 @@
 	branch mouse_long_button_bt_discovry
 
 
-//ifdef BLE_FAST_CONN_ENABLE
 p_mouse_le_switch_adv_timer:
 	fetch 1,mem_le_switch_adv_flag
 	rtn blank
@@ -2422,10 +2418,10 @@
 	copy regc,temp
 	call gpio_get_bit
 	setflag true,0,regb		//true = 1,input low level	
-	and regb,0x07,pdata
+	and regb,0x01,pdata
 	fetcht 1,mem_mouse_key_temp
 	copy temp,queue
-	beq 0x07,p_mouse_key_press		//  about 17~22ms three times
+	beq 0x01,p_mouse_key_press		//  about 17~22ms three times
 	beq 0x00,p_mouse_key_release
 	rtn
 
Index: sched/mouse.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(revision 3168)
+++ /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(working copy)
@@ -119,7 +119,7 @@
 mem_le_adv_own_addr_type:00
 mem_le_adv_channel_map:07 
 
-mem_le_lap:9a a5 aa ab 38 cb
+mem_le_lap:9a a5 aa ab 45 cb
 
 mem_le_transmit_window:50
 
@@ -127,7 +127,7 @@
 mem_le_pairing_handle:22 00
 
 mem_discovery_timeout:e0 2e#20min
-mem_mouse_direct_timeout:e0 2e#20min
+mem_mouse_direct_timeout:32 00#20min
 mem_mouse_no_data_timeout:70 17 #10min
 
 
