Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/eeprom.dat	(revision 3454)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-26
+6e
 17
 c2
 84
@@ -79,11 +79,11 @@
 c0
 67
 04
-d1
+e3
 c0
 67
 85
-91
+a3
 c0
 68
 03
@@ -91,7 +91,7 @@
 c0
 68
 85
-06
+18
 c0
 69
 80
@@ -99,7 +99,7 @@
 c0
 6a
 04
-eb
+fd
 c0
 6b
 02
@@ -111,15 +111,15 @@
 c0
 6d
 04
-41
+53
 c0
 6d
 84
-6d
+7f
 c0
 6f
 05
-3e
+50
 c0
 6f
 80
@@ -135,7 +135,7 @@
 c0
 74
 04
-74
+86
 20
 20
 13
@@ -143,7 +143,7 @@
 c0
 0d
 04
-88
+9a
 c0
 10
 00
@@ -159,19 +159,19 @@
 c0
 43
 84
-70
+82
 c0
 50
 84
-92
+a4
 c0
 51
 84
-9c
+ae
 c0
 60
 04
-9e
+b0
 c0
 6e
 83
@@ -191,11 +191,11 @@
 c0
 76
 04
-c4
+d6
 c0
 76
 85
-c1
+d3
 20
 20
 13
@@ -315,7 +315,7 @@
 24
 5a
 03
-b0
+c2
 20
 40
 3d
@@ -1006,8 +1006,8 @@
 7a
 20
 40
-04
-fd
+05
+0f
 20
 20
 3b
@@ -1298,12 +1298,12 @@
 33
 20
 40
-03
-fe
+04
+10
 20
 40
 03
-e8
+fa
 20
 40
 03
@@ -1311,7 +1311,7 @@
 20
 40
 03
-a6
+b8
 20
 40
 00
@@ -1790,8 +1790,8 @@
 b2
 20
 20
-04
-fd
+05
+0f
 20
 40
 26
@@ -2019,7 +2019,7 @@
 20
 20
 05
-43
+55
 6f
 e0
 c9
@@ -2142,12 +2142,12 @@
 23
 20
 40
-04
-f6
+05
+08
 20
 40
-04
-fd
+05
+0f
 20
 20
 3e
@@ -2162,8 +2162,8 @@
 dc
 20
 40
-03
-fe
+04
+10
 20
 40
 03
@@ -2195,7 +2195,7 @@
 20
 40
 05
-38
+4a
 d8
 40
 00
@@ -2215,7 +2215,7 @@
 20
 40
 03
-e8
+fa
 6f
 e0
 cc
@@ -2475,7 +2475,7 @@
 20
 40
 05
-38
+4a
 20
 20
 3e
@@ -2503,7 +2503,7 @@
 20
 40
 04
-c4
+d6
 24
 74
 00
@@ -2631,7 +2631,7 @@
 20
 40
 03
-a4
+b6
 20
 20
 43
@@ -2643,7 +2643,7 @@
 20
 40
 03
-a4
+b6
 20
 20
 43
@@ -2783,7 +2783,7 @@
 20
 40
 03
-ae
+c0
 20
 40
 48
@@ -2811,7 +2811,7 @@
 20
 40
 03
-ae
+c0
 20
 40
 45
@@ -3026,8 +3026,8 @@
 01
 20
 40
-04
-fd
+05
+0f
 20
 20
 02
@@ -3351,7 +3351,7 @@
 20
 40
 03
-b0
+c2
 20
 20
 48
@@ -3359,7 +3359,7 @@
 20
 40
 03
-b0
+c2
 20
 40
 00
@@ -3371,7 +3371,7 @@
 20
 40
 03
-b0
+c2
 20
 20
 48
@@ -3435,7 +3435,7 @@
 20
 3a
 04
-09
+1b
 67
 e0
 cb
@@ -3579,11 +3579,11 @@
 20
 40
 04
-06
+18
 20
 40
 03
-b8
+ca
 20
 40
 40
@@ -3594,8 +3594,12 @@
 cc
 20
 40
+03
+94
+20
+40
 04
-1e
+30
 20
 40
 44
@@ -3603,15 +3607,15 @@
 20
 40
 03
-93
+a5
 20
 40
 03
-99
+ab
 20
 40
 03
-9d
+af
 20
 40
 45
@@ -3619,7 +3623,7 @@
 20
 40
 04
-35
+47
 20
 40
 45
@@ -3627,7 +3631,7 @@
 20
 40
 04
-38
+4a
 20
 40
 45
@@ -3655,19 +3659,87 @@
 20
 40
 03
-eb
+fd
 20
 40
 04
-3b
+4d
 20
 20
 03
-a1
+b3
+6f
+e4
+4b
+ab
+c2
+9b
+83
+97
+20
+60
+00
+00
+6f
+e0
+cb
+9e
+c1
+80
+80
+00
+da
+60
+4b
+9b
 da
 40
 03
-96
+9c
+20
+20
+31
+8a
+6f
+e0
+c9
+38
+c1
+00
+00
+00
+6f
+e4
+4b
+ab
+c3
+83
+00
+00
+d8
+e0
+00
+06
+20
+40
+46
+f0
+20
+40
+31
+73
+70
+4c
+4c
+02
+20
+20
+45
+4e
+da
+40
+03
+a8
 da
 60
 4c
@@ -3691,7 +3763,7 @@
 da
 40
 03
-9c
+ae
 da
 60
 4c
@@ -3735,11 +3807,11 @@
 20
 40
 04
-eb
+fd
 20
 20
 03
-ae
+c0
 6f
 e0
 cc
@@ -3775,15 +3847,15 @@
 20
 40
 03
-a6
+b8
 20
 20
 03
-b4
+c6
 20
 20
 03
-b1
+c3
 70
 4c
 41
@@ -3795,7 +3867,7 @@
 20
 20
 03
-ab
+bd
 70
 4c
 41
@@ -3827,7 +3899,7 @@
 c0
 00
 83
-c8
+da
 6f
 e0
 cc
@@ -3835,7 +3907,7 @@
 24
 3a
 03
-c0
+d2
 70
 4c
 41
@@ -3851,7 +3923,7 @@
 20
 3a
 03
-c5
+d7
 1f
 e0
 ff
@@ -3863,7 +3935,7 @@
 20
 20
 03
-cf
+e1
 70
 4c
 45
@@ -3875,7 +3947,7 @@
 20
 20
 03
-db
+ed
 da
 60
 4c
@@ -3883,7 +3955,7 @@
 da
 40
 03
-cb
+dd
 20
 20
 31
@@ -3891,7 +3963,7 @@
 20
 40
 03
-ab
+bd
 6f
 e0
 cc
@@ -3899,7 +3971,7 @@
 c0
 00
 83
-da
+ec
 70
 4c
 4e
@@ -3911,15 +3983,15 @@
 c0
 00
 03
-d4
+e6
 c0
 00
 83
-d6
+e8
 c0
 01
 03
-d8
+ea
 20
 60
 00
@@ -3931,7 +4003,7 @@
 20
 20
 03
-d9
+eb
 68
 48
 cc
@@ -3939,7 +4011,7 @@
 20
 20
 03
-d9
+eb
 68
 48
 cc
@@ -3959,15 +4031,15 @@
 c0
 00
 03
-e0
+f2
 c0
 00
 83
-e2
+f4
 c0
 01
 03
-e4
+f6
 20
 60
 00
@@ -3979,7 +4051,7 @@
 20
 20
 03
-e5
+f7
 68
 48
 cc
@@ -3987,7 +4059,7 @@
 20
 20
 03
-e5
+f7
 68
 48
 cc
@@ -4007,15 +4079,15 @@
 20
 40
 03
-e0
+f2
 20
 40
 03
-e2
+f4
 20
 20
 03
-e4
+f6
 6f
 e0
 cb
@@ -4055,7 +4127,7 @@
 c2
 82
 04
-02
+14
 70
 4c
 9b
@@ -4091,7 +4163,7 @@
 20
 21
 04
-00
+12
 68
 48
 cb
@@ -4122,8 +4194,8 @@
 01
 20
 20
-03
-fe
+04
+10
 da
 60
 4b
@@ -4131,7 +4203,7 @@
 da
 40
 04
-09
+1b
 20
 20
 31
@@ -4187,11 +4259,11 @@
 20
 41
 04
-18
+2a
 24
 41
 04
-1c
+2e
 20
 20
 48
@@ -4227,7 +4299,7 @@
 c0
 00
 04
-24
+36
 6f
 e4
 4b
@@ -4243,7 +4315,7 @@
 20
 20
 04
-27
+39
 6f
 e4
 4b
@@ -4279,7 +4351,7 @@
 20
 22
 84
-2e
+40
 20
 20
 44
@@ -4287,7 +4359,7 @@
 20
 40
 04
-33
+45
 6f
 e0
 cb
@@ -4343,7 +4415,7 @@
 da
 40
 04
-3e
+50
 20
 20
 31
@@ -4363,15 +4435,15 @@
 20
 40
 03
-b0
+c2
 20
 40
-04
-fd
+05
+0f
 20
 40
-03
-fe
+04
+10
 6f
 e1
 47
@@ -4415,7 +4487,7 @@
 c2
 85
 84
-57
+69
 6f
 e4
 4b
@@ -4423,7 +4495,7 @@
 c3
 04
 04
-57
+69
 68
 49
 49
@@ -4591,7 +4663,7 @@
 c0
 04
 84
-7c
+8e
 20
 20
 4d
@@ -4667,7 +4739,7 @@
 c0
 03
 84
-8f
+a1
 20
 20
 57
@@ -4739,7 +4811,7 @@
 c0
 02
 04
-a1
+b3
 20
 20
 19
@@ -4755,11 +4827,11 @@
 c0
 05
 04
-a6
+b8
 c0
 09
 04
-b5
+c7
 20
 20
 1c
@@ -4787,7 +4859,7 @@
 c2
 81
 84
-b0
+c2
 6f
 e1
 44
@@ -4815,11 +4887,11 @@
 24
 22
 84
-ac
+be
 24
 34
 04
-ac
+be
 20
 20
 1e
@@ -4967,7 +5039,7 @@
 20
 40
 05
-04
+16
 6f
 e0
 c8
@@ -4983,15 +5055,15 @@
 24
 34
 04
-e3
+f5
 20
 40
 04
-e0
+f2
 20
 40
 04
-e8
+fa
 20
 20
 45
@@ -5050,8 +5122,8 @@
 27
 c0
 05
-84
-f2
+85
+04
 20
 40
 42
@@ -5070,8 +5142,8 @@
 8e
 20
 40
-04
-f9
+05
+0b
 da
 60
 4b
@@ -5090,8 +5162,8 @@
 27
 c0
 05
-84
-f9
+85
+0b
 20
 20
 42
@@ -5127,7 +5199,7 @@
 c0
 05
 85
-02
+14
 20
 20
 42
@@ -5143,7 +5215,7 @@
 20
 40
 05
-06
+18
 20
 20
 40
@@ -5163,23 +5235,23 @@
 20
 40
 05
-0f
+21
 20
 40
 05
-14
+26
 20
 40
 05
-19
+2b
 20
 40
 05
-1e
+30
 20
 40
 05
-2b
+3d
 20
 20
 41
@@ -5191,7 +5263,7 @@
 20
 40
 05
-38
+4a
 20
 40
 41
@@ -5211,7 +5283,7 @@
 20
 40
 05
-38
+4a
 20
 40
 41
@@ -5231,7 +5303,7 @@
 20
 40
 05
-38
+4a
 20
 40
 41
@@ -5275,7 +5347,7 @@
 c0
 7f
 85
-27
+39
 20
 20
 41
@@ -5287,7 +5359,7 @@
 20
 40
 05
-3b
+4d
 68
 48
 c9
@@ -5327,7 +5399,7 @@
 c0
 7f
 85
-34
+46
 20
 20
 41
@@ -5339,7 +5411,7 @@
 20
 40
 05
-3b
+4d
 68
 48
 c9
@@ -5383,11 +5455,11 @@
 20
 40
 05
-43
+55
 20
 40
 05
-55
+67
 20
 20
 46
@@ -5415,7 +5487,7 @@
 20
 40
 05
-4a
+5c
 20
 20
 40
@@ -5443,7 +5515,7 @@
 c0
 7f
 85
-51
+63
 20
 20
 40
@@ -5455,7 +5527,7 @@
 20
 40
 05
-3b
+4d
 68
 48
 c9
@@ -5479,7 +5551,7 @@
 24
 3a
 05
-5e
+70
 6f
 e0
 cc
@@ -5487,11 +5559,11 @@
 20
 40
 05
-38
+4a
 20
 40
 05
-69
+7b
 68
 48
 cc
@@ -5515,7 +5587,7 @@
 20
 40
 05
-3b
+4d
 70
 4c
 3f
@@ -5531,11 +5603,11 @@
 20
 40
 05
-82
+94
 20
 40
 05
-6d
+7f
 68
 48
 cc
@@ -5559,7 +5631,7 @@
 20
 40
 05
-78
+8a
 67
 e0
 cc
@@ -5571,7 +5643,7 @@
 20
 3a
 05
-74
+86
 6f
 e0
 cc
@@ -5635,11 +5707,11 @@
 c0
 03
 85
-8d
+9f
 c0
 00
 05
-8f
+a1
 20
 60
 00
@@ -5679,11 +5751,11 @@
 c0
 03
 85
-8d
+9f
 c0
 00
 05
-8f
+a1
 20
 60
 00
@@ -5727,7 +5799,7 @@
 c2
 9e
 85
-9d
+af
 18
 42
 7e
@@ -5759,7 +5831,7 @@
 24
 3a
 05
-ba
+cc
 6f
 e4
 4b
@@ -5767,7 +5839,7 @@
 c2
 8e
 05
-ae
+c0
 18
 42
 7e
@@ -5779,11 +5851,11 @@
 c0
 00
 05
-aa
+bc
 c0
 01
 05
-a8
+ba
 20
 60
 00
@@ -5795,7 +5867,7 @@
 20
 20
 05
-9a
+ac
 58
 00
 00
@@ -5803,7 +5875,7 @@
 20
 20
 05
-9a
+ac
 58
 00
 00
@@ -5811,7 +5883,7 @@
 20
 20
 05
-9a
+ac
 58
 00
 00
@@ -5819,7 +5891,7 @@
 20
 20
 05
-9a
+ac
 18
 42
 7e
@@ -5831,15 +5903,15 @@
 c0
 00
 05
-aa
+bc
 c0
 01
 05
-ac
+be
 c0
 01
 85
-a8
+ba
 20
 60
 00
@@ -5855,15 +5927,15 @@
 c0
 00
 05
-ac
+be
 c0
 00
 85
-a8
+ba
 c0
 01
 85
-a6
+b8
 20
 60
 00
@@ -5875,7 +5947,7 @@
 c2
 8e
 05
-b4
+c6
 18
 42
 7e
@@ -5887,11 +5959,11 @@
 c0
 00
 05
-a6
+b8
 c0
 00
 85
-a8
+ba
 20
 60
 00
@@ -5928,8 +6000,8 @@
 20
 26
 f6
-5b
-d7
+b1
+f1
 aa
 55
 40
@@ -7257,86 +7329,14 @@
 e8
 41
 06
-aa
-55
-05
-00
-f0
-4b
-02
-40
-00
-6f
-1c
 55
 aa
 aa
 55
-d1
-90
-fd
-c7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+c5
+8d
+21
+52
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-72
-56
+17
+be
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/program.lis	(revision 3454)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/output/program.lis	(working copy)
@@ -18,38 +18,38 @@
 000f c0648219 beq patch19_1 ,p_mouse_setgpio_hibernate 
 0010 c0650263 beq patch19_2 ,p_mouse_lpm_before_common 
 0011 c06600d7 beq patch19_4 ,p_mouse_adc_read_start 
-0012 c06704d1 beq patch19_6 ,p_mouse_motion 
-0013 c0678591 beq patch19_7 ,p_mouse_dpi_process 
+0012 c06704e3 beq patch19_6 ,p_mouse_motion 
+0013 c06785a3 beq patch19_7 ,p_mouse_dpi_process 
 0014 c068034b beq patch1a_0 ,p_mouse_seting_dpi 
-0015 c0688506 beq patch1a_1 ,p_mouse_check_key_gpio 
+0015 c0688518 beq patch1a_1 ,p_mouse_check_key_gpio 
 0016 c0698039 beq patch1a_3 ,p_mouse_init_sunt 
-0017 c06a04eb beq patch1a_4 ,p_mouse_sensor_poweron 
+0017 c06a04fd beq patch1a_4 ,p_mouse_sensor_poweron 
 0018 c06b0285 beq patch1a_6 ,p_mouse_priority_bb_event 
 0019 c06c8378 beq patch1b_1 ,p_mouse_bb_event_timer 
-001a c06d0441 beq patch1b_2 ,p_mouse_start_discovery 
-001b c06d846d beq patch1b_3 ,p_mouse_stop_discovery 
-001c c06f053e beq patch1b_6 ,p_mouse_idle 
+001a c06d0453 beq patch1b_2 ,p_mouse_start_discovery 
+001b c06d847f beq patch1b_3 ,p_mouse_stop_discovery 
+001c c06f0550 beq patch1b_6 ,p_mouse_idle 
 001d c06f8063 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001e c070805b beq patch1c_1 ,p_mouse_led_off 
 001f c0710057 beq patch1c_2 ,p_mouse_led_on 
-0020 c0740474 beq patch1d_0 ,p_hid_rx_process 
+0020 c0740486 beq patch1d_0 ,p_hid_rx_process 
 0021 2020137c branch loop 
 
 pf_patch_ext:
-0022 c00d0488 beq patch23_2 ,p_send_lmp 
+0022 c00d049a beq patch23_2 ,p_send_lmp 
 0023 c0100055 beq patch24_0 ,p_twspi_reset 
 0024 c01980b7 beq patch26_3 ,p_adc_init_data 
 0025 c01a00bc beq patch26_4 ,p_enable_adc 
-0026 c0438470 beq patch30_7 ,p_ui_timer_check 
-0027 c0508492 beq patch34_1 ,p_le_slave_match 
-0028 c051849c beq patch34_3 ,p_le_slave_unsync 
-0029 c060049e beq patch38_0 ,p_le_parse_l2cap 
+0026 c0438482 beq patch30_7 ,p_ui_timer_check 
+0027 c05084a4 beq patch34_1 ,p_le_slave_match 
+0028 c05184ae beq patch34_3 ,p_le_slave_unsync 
+0029 c06004b0 beq patch38_0 ,p_le_parse_l2cap 
 002a c06e8329 beq patch3b_5 ,p_g24_dispatch 
 002b c07102f5 beq patch3c_2 ,p_g24_pair_dispatch 
 002c c07482fd beq patch3d_1 ,p_g24_reconn_dispatch 
 002d c07501bf beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002e c07604c4 beq patch3d_4 ,p_g24_lpm_wait 
-002f c07685c1 beq patch3d_5 ,p_power_ctrl_start 
+002e c07604d6 beq patch3d_4 ,p_g24_lpm_wait 
+002f c07685d3 beq patch3d_5 ,p_power_ctrl_start 
 0030 2020137c branch loop 
 
 p_soft_reset:
@@ -95,7 +95,7 @@
 p_mouse_start_reconnect_device:
 004b 20400050 call p_mouse_judge_reconnect_state 
 004c 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-004d 245a03b0 ncall p_mouse_device_discover_led_config ,blank 
+004d 245a03c2 ncall p_mouse_device_discover_led_config ,blank 
 004e 20403d5a call mouse_start_reconnect_device + 1 
 004f 20600000 rtn 
 
@@ -328,7 +328,7 @@
 00f7 20403d8a call mouse_usb_check_enable 
 00f8 20404728 call mouse_drawing_optima_init 
 00f9 2040017a call p_mouse_cb_fuction 
-00fa 204004fd call p_mouse_sensor_powerdown 
+00fa 2040050f call p_mouse_sensor_powerdown 
 00fb 20203bc9 branch mouse_init + 8 
 
 p_mouse_double_dpi_judge:
@@ -421,10 +421,10 @@
 0140 20403d13 call mouse_param_init 
 0141 20400166 call p_mouse_select_angle 
 0142 20400233 call p_mouse_set_sensor_gpio_sleep 
-0143 204003fe call p_mouse_logo_led_off 
-0144 204003e8 call p_mouse_1io2led_all_off 
+0143 20400410 call p_mouse_logo_led_off 
+0144 204003fa call p_mouse_1io2led_all_off 
 0145 20400373 call p_mouse_low_voltage_led_off 
-0146 204003a6 call p_mouse_device_multi_led_poweron_init 
+0146 204003b8 call p_mouse_device_multi_led_poweron_init 
 0147 204000fc call p_mouse_double_dpi_judge 
 0148 20400160 call p_mouse_store_normal_tx_power 
 0149 20401b16 call le_set_config_fixed_ltk 
@@ -576,7 +576,7 @@
 01bb 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01bc 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01bd 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01be 202004fd branch p_mouse_sensor_powerdown 
+01be 2020050f branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 01bf 20402631 call g24_txdata_prep 
@@ -653,7 +653,7 @@
 p_mouse_dpi_check_once:
 01f5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 01f6 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-01f7 20200543 branch p_mouse_dpi_check 
+01f7 20200555 branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button:
 01f8 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
@@ -698,14 +698,14 @@
 0213 58000006 setarg pan_reg_config 
 0214 20405b0d call twspi_read 
 0215 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0216 204004f6 call p_mouse_sensor_reset 
-0217 204004fd call p_mouse_sensor_powerdown 
+0216 20400508 call p_mouse_sensor_reset 
+0217 2040050f call p_mouse_sensor_powerdown 
 0218 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
 0219 204042e9 call mouse_set_sdio_high 
 021a 20407fdc call clear_wake 
-021b 204003fe call p_mouse_logo_led_off 
+021b 20400410 call p_mouse_logo_led_off 
 021c 20400373 call p_mouse_low_voltage_led_off 
 021d 20404015 call mouse_before_hibernate_wheel_gpio_set 
 021e 6848c910 fetcht 1 ,mem_matrix_public_gpio 
@@ -713,12 +713,12 @@
 0220 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 0221 20406042 call gpio_clr_wake 
 0222 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0223 20400538 call p_mouse_gpio_config_output_high 
+0223 2040054a call p_mouse_gpio_config_output_high 
 0224 d8400003 arg 3 ,temp 
 0225 20403f56 call mouse_gpio_config_input_pu 
 0226 20400263 call p_mouse_lpm_before_common 
 0227 20406082 call gpio_pd_idle 
-0228 204003e8 call p_mouse_1io2led_all_off 
+0228 204003fa call p_mouse_1io2led_all_off 
 0229 6fe0cc48 fetch 1 ,mem_mouse_1io2led_multi_24gled 
 022a d84000c0 arg gpcfg_no_ie ,temp 
 022b 20406093 call gpio_config_function_int 
@@ -805,7 +805,7 @@
 0266 20406050 call gpio_config_input 
 0267 20403f88 call mouse_wheel_check 
 0268 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0269 20400538 call p_mouse_gpio_config_output_high 
+0269 2040054a call p_mouse_gpio_config_output_high 
 026a 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -816,7 +816,7 @@
 026f 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-0270 204004c4 call p_g24_lpm_wait 
+0270 204004d6 call p_g24_lpm_wait 
 0271 24740000 nrtn user 
 0272 204026c4 call g24_setgpio_lpm_before 
 0273 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
@@ -854,12 +854,12 @@
 028f 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0290 204003a4 call p_mouse_device_connect_init_sensor_or_led 
+0290 204003b6 call p_mouse_device_connect_init_sensor_or_led 
 0291 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
 0292 20404544 call mouse_no_data_timer_init 
-0293 204003a4 call p_mouse_device_connect_init_sensor_or_led 
+0293 204003b6 call p_mouse_device_connect_init_sensor_or_led 
 0294 202043fa branch mouse_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
@@ -906,7 +906,7 @@
 02b3 20404544 call mouse_no_data_timer_init 
 02b4 d8e00001 arg mouse_24g_pairing_flag ,queue 
 02b5 204046f4 call mouse_disable_function_flag 
-02b6 204003ae call p_mouse_device_poweron_led_config 
+02b6 204003c0 call p_mouse_device_poweron_led_config 
 02b7 204048c9 call mouse_device_poweron_timer_init + 3 
 02b8 2020485a branch mouse_24g_pairing_complete + 3 
 
@@ -915,7 +915,7 @@
 02ba 67e24891 store 4 ,mem_24g_receiver_addr 
 02bb 67e24993 store 4 ,mem_mouse_24g_addr 
 02bc 2040257e call g24_ch_syncword_crc8_init 
-02bd 204003ae call p_mouse_device_poweron_led_config 
+02bd 204003c0 call p_mouse_device_poweron_led_config 
 02be 20404544 call mouse_no_data_timer_init 
 02bf 204042ca call mouse_init_sensor_reset 
 02c0 704aae00 jam 0 ,mem_mouse_long_mult_flag 
@@ -983,7 +983,7 @@
 02f0 58000000 setarg 0 
 02f1 67e3c8d0 store 7 ,mem_mouse_key 
 02f2 704be101 jam 1 ,mem_sensor_shutdown_flag 
-02f3 204004fd call p_mouse_sensor_powerdown 
+02f3 2040050f call p_mouse_sensor_powerdown 
 02f4 20200270 branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1086,16 +1086,16 @@
 0341 58000000 setarg 0 
 0342 67e14887 store 2 ,mem_24g_reconn_timeout 
 0343 20404576 call mouse_stop_discovery 
-0344 204003b0 call p_mouse_device_discover_led_config 
+0344 204003c2 call p_mouse_device_discover_led_config 
 0345 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
 
 p_mouse_24g_reconn_dongle_start:
-0346 204003b0 call p_mouse_device_discover_led_config 
+0346 204003c2 call p_mouse_device_discover_led_config 
 0347 20400053 call p_mouse_change_led_blink_time 
 0348 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_reconn_general_dongle:
-0349 204003b0 call p_mouse_device_discover_led_config 
+0349 204003c2 call p_mouse_device_discover_led_config 
 034a 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_seting_dpi:
@@ -1115,7 +1115,7 @@
 0356 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 0357 247a0000 nrtn blank 
 0358 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0359 203a0409 branch p_mouse_dpi_led_blink_init ,blank 
+0359 203a041b branch p_mouse_dpi_led_blink_init ,blank 
 035a 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
 035b 20600000 rtn 
 
@@ -1163,828 +1163,852 @@
 037a 2040232b call g24_pair_timeout_timer 
 037b 20402556 call g24_reconn_timeout_timer 
 037c 204047cd call mouse_24g_long_sleep_param_update_timer 
-037d 20400406 call p_mouse_dpi_led_blink_delay_timer 
-037e 204003b8 call p_mouse_led_multi_timer 
+037d 20400418 call p_mouse_dpi_led_blink_delay_timer 
+037e 204003ca call p_mouse_led_multi_timer 
 037f 2040407c call mouse_dpi_key_check_long_press 
 0380 204044cc call mouse_bt_discovery_check 
-0381 2040041e call p_mouse_commbination_key_process 
-0382 204044ff call mouse_check_discovery_timeout_timer 
-0383 20400393 call p_mouse_24g_lowpower_stop_blink_timer 
-0384 20400399 call p_mouse_24g_low_power_led_off_timer 
-0385 2040039d call p_mouse_check_direct_timeout_timer 
-0386 20404512 call mouse_le_enable_att_list_timer 
-0387 20400435 call p_mouse_le_battery_updata_timer 
-0388 20404515 call mouse_le_send_smp_security_request_timer 
-0389 20400438 call p_mouse_le_send_conn_param_update_timer 
-038a 2040452a call mouse_check_hid_handshake_timer 
-038b 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-038c 20404532 call mouse_check_reconnect_delay_long_sleep 
-038d 20404535 call mouse_current_mult_update_timer 
-038e 20404022 call mouse_wheel_trigger_timer 
-038f 20404547 call mouse_store_information_delay_timer 
-0390 204003eb call p_mouse_logo_led_on_timer 
-0391 2040043b call p_mouse_check_no_data_timeout_timer 
-0392 202003a1 branch p_mouse_g24_ota_reset_timer 
+0381 20400394 call p_mouse_bt_discovery_check 
+0382 20400430 call p_mouse_commbination_key_process 
+0383 204044ff call mouse_check_discovery_timeout_timer 
+0384 204003a5 call p_mouse_24g_lowpower_stop_blink_timer 
+0385 204003ab call p_mouse_24g_low_power_led_off_timer 
+0386 204003af call p_mouse_check_direct_timeout_timer 
+0387 20404512 call mouse_le_enable_att_list_timer 
+0388 20400447 call p_mouse_le_battery_updata_timer 
+0389 20404515 call mouse_le_send_smp_security_request_timer 
+038a 2040044a call p_mouse_le_send_conn_param_update_timer 
+038b 2040452a call mouse_check_hid_handshake_timer 
+038c 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+038d 20404532 call mouse_check_reconnect_delay_long_sleep 
+038e 20404535 call mouse_current_mult_update_timer 
+038f 20404022 call mouse_wheel_trigger_timer 
+0390 20404547 call mouse_store_information_delay_timer 
+0391 204003fd call p_mouse_logo_led_on_timer 
+0392 2040044d call p_mouse_check_no_data_timeout_timer 
+0393 202003b3 branch p_mouse_g24_ota_reset_timer 
+
+p_mouse_bt_discovery_check:
+0394 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0395 c29b8397 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_bt_discovery_by_pb_button 
+0396 20600000 rtn 
+
+p_mouse_bt_discovery_by_pb_button:
+0397 6fe0cb9e fetch 1 ,mem_select_device_button_statue 
+0398 c1808000 rtnne pb_button_state_down 
+0399 da604b9b arg mem_bt_discovery_count ,regc 
+039a da40039c arg p_mouse_long_button_bt_discovery ,regb 
+039b 2020318a branch timer_single_step 
+
+p_mouse_long_button_bt_discovery:
+039c 6fe0c938 fetch 1 ,mem_device_flag 
+039d c1000000 rtneq mode_24g_device 
+039e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+039f c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+03a0 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+03a1 204046f0 call mouse_enable_function_flag 
+03a2 20403173 call app_evt_button_long_pressed 
+03a3 704c4c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+03a4 2020454e branch mouse_bb_event_discovery_btn 
 
 p_mouse_24g_lowpower_stop_blink_timer:
-0393 da400396 arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
-0394 da604c99 arg mem_24g_low_power_stop_blink ,regc 
-0395 2020318a branch timer_single_step 
+03a5 da4003a8 arg p_mouse_24g_lowpower_stop_blink_timeout ,regb 
+03a6 da604c99 arg mem_24g_low_power_stop_blink ,regc 
+03a7 2020318a branch timer_single_step 
 
 p_mouse_24g_lowpower_stop_blink_timeout:
-0396 704c9801 jam 0x01 ,mem_low_power_led_flag 
-0397 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
-0398 20600000 rtn 
+03a8 704c9801 jam 0x01 ,mem_low_power_led_flag 
+03a9 704c9a06 jam 0x06 ,mem_24g_low_power_led_off 
+03aa 20600000 rtn 
 
 p_mouse_24g_low_power_led_off_timer:
-0399 da40039c arg p_mouse_24g_low_power_led_off_timeout ,regb 
-039a da604c9a arg mem_24g_low_power_led_off ,regc 
-039b 2020318a branch timer_single_step 
+03ab da4003ae arg p_mouse_24g_low_power_led_off_timeout ,regb 
+03ac da604c9a arg mem_24g_low_power_led_off ,regc 
+03ad 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-039c 20200373 branch p_mouse_low_voltage_led_off 
+03ae 20200373 branch p_mouse_low_voltage_led_off 
 
 p_mouse_check_direct_timeout_timer:
-039d da604b77 arg mem_mouse_direct_timer ,regc 
-039e da40450a arg mouse_check_direct_timeout ,regb 
-039f 2040318a call timer_single_step 
-03a0 20204507 branch mouse_check_direct_timeout_timer + 3 
+03af da604b77 arg mem_mouse_direct_timer ,regc 
+03b0 da40450a arg mouse_check_direct_timeout ,regb 
+03b1 2040318a call timer_single_step 
+03b2 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_g24_ota_reset_timer:
-03a1 da604c1d arg mem_g24_ota_reset_timer ,regc 
-03a2 da405d8c arg soft_reset_chip ,regb 
-03a3 2020318a branch timer_single_step 
+03b3 da604c1d arg mem_g24_ota_reset_timer ,regc 
+03b4 da405d8c arg soft_reset_chip ,regb 
+03b5 2020318a branch timer_single_step 
 
 p_mouse_device_connect_init_sensor_or_led:
-03a4 204004eb call p_mouse_sensor_poweron 
-03a5 202003ae branch p_mouse_device_poweron_led_config 
+03b6 204004fd call p_mouse_sensor_poweron 
+03b7 202003c0 branch p_mouse_device_poweron_led_config 
 
 p_mouse_device_multi_led_poweron_init:
-03a6 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
-03a7 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03a8 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
-03a9 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
-03aa 20600000 rtn 
+03b8 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon_timer_init 
+03b9 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03ba 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron_flag_init 
+03bb 67e0cc45 store 1 ,mem_mouse_multi_led_poweron_flag 
+03bc 20600000 rtn 
 
 p_mouse_device_multi_led_blink_timer_init:
-03ab 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-03ac 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
-03ad 20600000 rtn 
+03bd 6fe0cc4c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+03be 67e0cc4d store 1 ,mem_mouse_multi_led_blink_timer 
+03bf 20600000 rtn 
 
 p_mouse_device_poweron_led_config:
-03ae 204003a6 call p_mouse_device_multi_led_poweron_init 
-03af 202003b4 branch p_mouse_multi_led_on_enable 
+03c0 204003b8 call p_mouse_device_multi_led_poweron_init 
+03c1 202003c6 branch p_mouse_multi_led_on_enable 
 
 p_mouse_device_discover_led_config:
-03b0 202003b1 branch p_mouse_multi_led_blink_enable 
+03c2 202003c3 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_multi_led_blink_enable:
-03b1 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03b2 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-03b3 202003ab branch p_mouse_device_multi_led_blink_timer_init 
+03c3 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03c4 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+03c5 202003bd branch p_mouse_device_multi_led_blink_timer_init 
 
 p_mouse_multi_led_on_enable:
-03b4 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-03b5 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
-03b6 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-03b7 20600000 rtn 
+03c6 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+03c7 704c4d00 jam 0 ,mem_mouse_multi_led_blink_timer 
+03c8 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+03c9 20600000 rtn 
 
 p_mouse_led_multi_timer:
-03b8 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-03b9 207a0000 rtn blank 
-03ba 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-03bb c00083c8 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+03ca 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+03cb 207a0000 rtn blank 
+03cc 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+03cd c00083da beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-03bc 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
-03bd 243a03c0 nbranch p_mouse_device_multi_led_poweron ,blank 
-03be 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03bf 20600000 rtn 
+03ce 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron_flag 
+03cf 243a03d2 nbranch p_mouse_device_multi_led_poweron ,blank 
+03d0 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03d1 20600000 rtn 
 
 p_mouse_device_multi_led_poweron:
-03c0 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
-03c1 203a03c5 branch p_mouse_multi_led_poweron_and_flag_off ,blank 
-03c2 1fe0ffff increase -1 
-03c3 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
-03c4 202003cf branch p_mouse_device_multi_led_on + 1 
+03d2 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon_timer 
+03d3 203a03d7 branch p_mouse_multi_led_poweron_and_flag_off ,blank 
+03d4 1fe0ffff increase -1 
+03d5 67e0cc47 store 1 ,mem_mouse_multi_led_powon_timer 
+03d6 202003e1 branch p_mouse_device_multi_led_on + 1 
 
 p_mouse_multi_led_poweron_and_flag_off:
-03c5 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
-03c6 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-03c7 202003db branch p_mouse_device_multi_led_off + 1 
+03d7 704c4500 jam 0 ,mem_mouse_multi_led_poweron_flag 
+03d8 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+03d9 202003ed branch p_mouse_device_multi_led_off + 1 
 
 p_mouse_multi_led_type_blink:
-03c8 da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
-03c9 da4003cb arg p_mouse_multi_led_type_blink_timeout ,regb 
-03ca 2020318a branch timer_single_step 
+03da da604c4d arg mem_mouse_multi_led_blink_timer ,regc 
+03db da4003dd arg p_mouse_multi_led_type_blink_timeout ,regb 
+03dc 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-03cb 204003ab call p_mouse_device_multi_led_blink_timer_init 
-03cc 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
-03cd c00083da beq on ,p_mouse_device_multi_led_off 
+03dd 204003bd call p_mouse_device_multi_led_blink_timer_init 
+03de 6fe0cc4e fetch 1 ,mem_mouse_multi_led_state 
+03df c00083ec beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-03ce 704c4e01 jam on ,mem_mouse_multi_led_state 
-03cf 6fe0c938 fetch 1 ,mem_device_flag 
-03d0 c00003d4 beq mode_24g_device ,p_mouse_device_24g_led_on 
-03d1 c00083d6 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-03d2 c00103d8 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-03d3 20600000 rtn 
+03e0 704c4e01 jam on ,mem_mouse_multi_led_state 
+03e1 6fe0c938 fetch 1 ,mem_device_flag 
+03e2 c00003e6 beq mode_24g_device ,p_mouse_device_24g_led_on 
+03e3 c00083e8 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+03e4 c00103ea beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+03e5 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-03d4 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-03d5 202003d9 branch p_mouse_device_led_on 
+03e6 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+03e7 202003eb branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-03d6 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-03d7 202003d9 branch p_mouse_device_led_on 
+03e8 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+03e9 202003eb branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-03d8 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+03ea 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-03d9 20206069 branch gpio_out_active 
+03eb 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-03da 704c4e00 jam off ,mem_mouse_multi_led_state 
-03db 6fe0c938 fetch 1 ,mem_device_flag 
-03dc c00003e0 beq mode_24g_device ,p_mouse_device_24g_led_off 
-03dd c00083e2 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-03de c00103e4 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-03df 20600000 rtn 
+03ec 704c4e00 jam off ,mem_mouse_multi_led_state 
+03ed 6fe0c938 fetch 1 ,mem_device_flag 
+03ee c00003f2 beq mode_24g_device ,p_mouse_device_24g_led_off 
+03ef c00083f4 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+03f0 c00103f6 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+03f1 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-03e0 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-03e1 202003e5 branch p_mouse_device_led_off 
+03f2 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+03f3 202003f7 branch p_mouse_device_led_off 
 
 p_mouse_device_bt1_led_off:
-03e2 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-03e3 202003e5 branch p_mouse_device_led_off 
+03f4 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+03f5 202003f7 branch p_mouse_device_led_off 
 
 p_mouse_device_bt2_led_off:
-03e4 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+03f6 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_off:
 
 p_gpio_set_high_impedance:
-03e5 18467cff sub temp ,gpio_disable ,null 
-03e6 20628000 rtn zero 
-03e7 2020607f branch gpio_set_high_impedance 
+03f7 18467cff sub temp ,gpio_disable ,null 
+03f8 20628000 rtn zero 
+03f9 2020607f branch gpio_set_high_impedance 
 
 p_mouse_1io2led_all_off:
-03e8 204003e0 call p_mouse_device_24g_led_off 
-03e9 204003e2 call p_mouse_device_bt1_led_off 
-03ea 202003e4 branch p_mouse_device_bt2_led_off 
+03fa 204003f2 call p_mouse_device_24g_led_off 
+03fb 204003f4 call p_mouse_device_bt1_led_off 
+03fc 202003f6 branch p_mouse_device_bt2_led_off 
 
 p_mouse_logo_led_on_timer:
-03eb 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-03ec c17f8000 rtneq gpio_disable 
-03ed 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-03ee 247a0000 nrtn blank 
-03ef 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-03f0 247a0000 nrtn blank 
-03f1 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-03f2 247a0000 nrtn blank 
-03f3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03f4 c2820402 bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
-03f5 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
-03f6 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-03f7 207a0000 rtn blank 
-03f8 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-03f9 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-03fa 98460400 isub temp ,temp 
-03fb 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-03fc 98467e00 isub temp ,pdata 
-03fd 20210400 branch p_mouse_logo_led_on ,positive 
+03fd 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+03fe c17f8000 rtneq gpio_disable 
+03ff 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0400 247a0000 nrtn blank 
+0401 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0402 247a0000 nrtn blank 
+0403 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0404 247a0000 nrtn blank 
+0405 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0406 c2820414 bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
+0407 704c9b00 jam 0 ,mem_mouse_low_power_logo_off_status 
+0408 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0409 207a0000 rtn blank 
+040a 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+040b 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+040c 98460400 isub temp ,temp 
+040d 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+040e 98467e00 isub temp ,pdata 
+040f 20210412 branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-03fe 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-03ff 20206065 branch gpio_out_inactive 
+0410 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0411 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-0400 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-0401 20206069 branch gpio_out_active 
+0412 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+0413 20206069 branch gpio_out_active 
 
 p_mouse_low_power_logo_off:
-0402 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
-0403 247a0000 nrtn blank 
-0404 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
-0405 202003fe branch p_mouse_logo_led_off 
+0414 6fe0cc9b fetch 1 ,mem_mouse_low_power_logo_off_status 
+0415 247a0000 nrtn blank 
+0416 704c9b01 jam 1 ,mem_mouse_low_power_logo_off_status 
+0417 20200410 branch p_mouse_logo_led_off 
 
 p_mouse_dpi_led_blink_delay_timer:
-0406 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0407 da400409 arg p_mouse_dpi_led_blink_init ,regb 
-0408 2020318a branch timer_single_step 
+0418 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0419 da40041b arg p_mouse_dpi_led_blink_init ,regb 
+041a 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0409 6fe0c927 fetch 1 ,mem_config_sensor_type 
-040a c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-040b c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-040c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-040d 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-040e 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-040f 67e14930 store 2 ,mem_mouse_on_time 
-0410 67e14932 store 2 ,mem_mouse_off_time 
-0411 da200000 arg 0 ,rega 
-0412 6848c992 fetcht 1 ,mem_mouse_dpi 
-0413 18408402 increase 2 ,temp 
-0414 18467c03 sub temp ,3 ,null 
-0415 20410418 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0416 2441041c ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0417 202048ff branch mouse_dpi_led_blink_init_end 
+041b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+041c c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+041d c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+041e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+041f 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0420 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0421 67e14930 store 2 ,mem_mouse_on_time 
+0422 67e14932 store 2 ,mem_mouse_off_time 
+0423 da200000 arg 0 ,rega 
+0424 6848c992 fetcht 1 ,mem_mouse_dpi 
+0425 18408402 increase 2 ,temp 
+0426 18467c03 sub temp ,3 ,null 
+0427 2041042a call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0428 2441042e ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0429 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0418 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0419 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-041a 18408401 increase 1 ,temp 
-041b 20600000 rtn 
+042a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+042b c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+042c 18408401 increase 1 ,temp 
+042d 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-041c 184085fd increase -3 ,temp 
-041d 20600000 rtn 
+042e 184085fd increase -3 ,temp 
+042f 20600000 rtn 
 
 p_mouse_commbination_key_process:
-041e 6fe0c938 fetch 1 ,mem_device_flag 
-041f c0000424 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0420 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0421 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0422 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0423 20200427 branch p_mouse_commbination_key_start 
+0430 6fe0c938 fetch 1 ,mem_device_flag 
+0431 c0000436 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0432 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0433 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0434 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0435 20200439 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0424 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0425 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0426 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0436 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0437 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0438 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0427 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0428 20404115 call mouse_check_key_gpio 
-0429 1fe17e07 and pdata ,0x07 ,pdata 
-042a 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-042b 98467c00 isub temp ,null 
-042c 2022842e branch p_mouse_commbination_key_down ,zero 
-042d 202044eb branch mouse_commbination_key_up 
+0439 6048cb9d storet 1 ,mem_mouse_commbination_key 
+043a 20404115 call mouse_check_key_gpio 
+043b 1fe17e07 and pdata ,0x07 ,pdata 
+043c 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+043d 98467c00 isub temp ,null 
+043e 20228440 branch p_mouse_commbination_key_down ,zero 
+043f 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-042e 20400433 call p_mouse_combination_ui_timer 
-042f 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0430 c1008000 rtneq commbination_key_state_down 
-0431 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0432 20600000 rtn 
+0440 20400445 call p_mouse_combination_ui_timer 
+0441 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0442 c1008000 rtneq commbination_key_state_down 
+0443 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0444 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0433 da4002de arg p_mouse_24g_start_pair_mode ,regb 
-0434 202044f7 branch mouse_combination_ui_timer + 1 
+0445 da4002de arg p_mouse_24g_start_pair_mode ,regb 
+0446 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_le_battery_updata_timer:
-0435 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0436 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-0437 2020451f branch mouse_le_battery_updata_timer 
+0447 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0448 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0449 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0438 da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0439 da40436c arg mouse_updata_le_param ,regb 
-043a 2020318a branch timer_single_step 
+044a da604c70 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+044b da40436c arg mouse_updata_le_param ,regb 
+044c 2020318a branch timer_single_step 
 
 p_mouse_check_no_data_timeout_timer:
-043b da604ab2 arg mem_mouse_no_data_timer ,regc 
-043c da40043e arg p_mouse_check_no_data_timeout ,regb 
-043d 20203191 branch timer_single_step_2b 
+044d da604ab2 arg mem_mouse_no_data_timer ,regc 
+044e da400450 arg p_mouse_check_no_data_timeout ,regb 
+044f 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-043e 6fe0c938 fetch 1 ,mem_device_flag 
-043f c00002ec beq mode_24g_device ,p_mouse_24g_hibernate_set 
-0440 2020431b branch mouse_disconnect 
+0450 6fe0c938 fetch 1 ,mem_device_flag 
+0451 c00002ec beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0452 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0441 204003b0 call p_mouse_device_discover_led_config 
-0442 204004fd call p_mouse_sensor_powerdown 
-0443 204003fe call p_mouse_logo_led_off 
-0444 6fe1478c fetch 2 ,mem_ui_state_map 
-0445 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0446 2040c581 call mouse_stop_le_adv ,true 
-0447 6fe1478c fetch 2 ,mem_ui_state_map 
-0448 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0449 2040c322 call mouse_cancel_reconnect ,true 
-044a 58000000 setarg 0 
-044b 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-044c 20404314 call mouse_bluetooth_fast_conn_disable 
-044d 6fe1478c fetch 2 ,mem_ui_state_map 
-044e c2858457 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-044f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0450 c3040457 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-0451 68494997 fetcht 2 ,mem_random_addr_increase_count 
-0452 18408401 increase 1 ,temp 
-0453 60494997 storet 2 ,mem_random_addr_increase_count 
-0454 6049437b storet 2 ,mem_le_lap + 1 
-0455 180a7e00 random pdata 
-0456 67e0c37a store 1 ,mem_le_lap 
+0453 204003c2 call p_mouse_device_discover_led_config 
+0454 2040050f call p_mouse_sensor_powerdown 
+0455 20400410 call p_mouse_logo_led_off 
+0456 6fe1478c fetch 2 ,mem_ui_state_map 
+0457 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0458 2040c581 call mouse_stop_le_adv ,true 
+0459 6fe1478c fetch 2 ,mem_ui_state_map 
+045a 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+045b 2040c322 call mouse_cancel_reconnect ,true 
+045c 58000000 setarg 0 
+045d 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+045e 20404314 call mouse_bluetooth_fast_conn_disable 
+045f 6fe1478c fetch 2 ,mem_ui_state_map 
+0460 c2858469 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+0461 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0462 c3040469 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0463 68494997 fetcht 2 ,mem_random_addr_increase_count 
+0464 18408401 increase 1 ,temp 
+0465 60494997 storet 2 ,mem_random_addr_increase_count 
+0466 6049437b storet 2 ,mem_le_lap + 1 
+0467 180a7e00 random pdata 
+0468 67e0c37a store 1 ,mem_le_lap 
 
 p_mouse_start_discovery_norandom:
-0457 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
-0458 67e1c37d store 3 ,mem_le_lap + 3 
-0459 20403225 call app_lpm_mult_disable 
-045a 6fe14791 fetch 2 ,mem_discovery_timeout 
-045b 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-045c 7000bd06 jam 6 ,mem_connection_options 
-045d 58000000 setarg 0 
-045e 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-045f 67e0cb77 store 1 ,mem_mouse_direct_timer 
-0460 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
-0461 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-0462 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
-0463 d8e00002 arg mouse_store_eeprom_flag ,queue 
-0464 204046f0 call mouse_enable_function_flag 
-0465 204046e4 call mouse_bt_discovery_button_down_disable 
-0466 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-0467 2feffe01 isolate1 mode_4_mouse ,pdata 
-0468 2040c3df call mouse_check_51cmd_adv ,true 
-0469 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-046a 2feffe00 isolate1 mode_3_mouse ,pdata 
-046b 2040f8c4 call check_51cmd_start_discovery ,true 
-046c 20600000 rtn 
+0469 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
+046a 67e1c37d store 3 ,mem_le_lap + 3 
+046b 20403225 call app_lpm_mult_disable 
+046c 6fe14791 fetch 2 ,mem_discovery_timeout 
+046d 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+046e 7000bd06 jam 6 ,mem_connection_options 
+046f 58000000 setarg 0 
+0470 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+0471 67e0cb77 store 1 ,mem_mouse_direct_timer 
+0472 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0473 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+0474 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
+0475 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0476 204046f0 call mouse_enable_function_flag 
+0477 204046e4 call mouse_bt_discovery_button_down_disable 
+0478 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+0479 2feffe01 isolate1 mode_4_mouse ,pdata 
+047a 2040c3df call mouse_check_51cmd_adv ,true 
+047b 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+047c 2feffe00 isolate1 mode_3_mouse ,pdata 
+047d 2040f8c4 call check_51cmd_start_discovery ,true 
+047e 20600000 rtn 
 
 p_mouse_stop_discovery:
-046d 58000000 setarg 0 
-046e 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-046f 20204577 branch mouse_stop_discovery + 1 
+047f 58000000 setarg 0 
+0480 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+0481 20204577 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-0470 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0471 245a7861 ncall ui_timer_init ,blank 
-0472 704be200 jam 0 ,mem_power_on_flag 
-0473 20207851 branch ui_timer_check + 1 
+0482 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0483 245a7861 ncall ui_timer_init ,blank 
+0484 704be200 jam 0 ,mem_power_on_flag 
+0485 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0474 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0475 1fe20c00 copy pdata ,contr 
-0476 efe08006 ifetch 1 ,contr 
-0477 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0478 1fe1040f and pdata ,0x0f ,temp 
-0479 1ff1fe00 rshift4 pdata ,pdata 
-047a c004847c beq hid_type_set_idle ,p_hid_rx_process_handshake 
-047b 20204d93 branch hid_rx_process + 7 
+0486 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0487 1fe20c00 copy pdata ,contr 
+0488 efe08006 ifetch 1 ,contr 
+0489 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+048a 1fe1040f and pdata ,0x0f ,temp 
+048b 1ff1fe00 rshift4 pdata ,pdata 
+048c c004848e beq hid_type_set_idle ,p_hid_rx_process_handshake 
+048d 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-047c da200001 arg 1 ,rega 
-047d 20404dc0 call hid_malloc_tx_buff 
-047e 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-047f e7e10005 istore 2 ,contw 
-0480 58000000 setarg 0 
-0481 e7e08005 istore 1 ,contw 
-0482 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0483 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0484 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0485 67e0c4e2 store 1 ,mem_hid_control_state 
-0486 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0487 20207871 branch ui_ipc_send_event 
+048e da200001 arg 1 ,rega 
+048f 20404dc0 call hid_malloc_tx_buff 
+0490 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0491 e7e10005 istore 2 ,contw 
+0492 58000000 setarg 0 
+0493 e7e08005 istore 1 ,contw 
+0494 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0495 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0496 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0497 67e0c4e2 store 1 ,mem_hid_control_state 
+0498 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0499 20207871 branch ui_ipc_send_event 
 
 p_send_lmp:
-0488 78547c00 disable user 
-0489 204059e6 call lmo_fifo_process 
-048a 6fe08049 fetch 1 ,mem_lmp_to_send 
-048b 207a0000 rtn blank 
-048c c283d730 bbit1 7 ,send_lmp_escape 
+049a 78547c00 disable user 
+049b 204059e6 call lmo_fifo_process 
+049c 6fe08049 fetch 1 ,mem_lmp_to_send 
+049d 207a0000 rtn blank 
+049e c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-048d c003848f beq lmp_detach ,p_send_lmp_detach 
-048e 20205701 branch send_lmp0 
+049f c00384a1 beq lmp_detach ,p_send_lmp_detach 
+04a0 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-048f 2040585d call send_lmp_detach 
-0490 70007378 jam 120 ,mem_conn_timer 
-0491 20600000 rtn 
+04a1 2040585d call send_lmp_detach 
+04a2 70007378 jam 120 ,mem_conn_timer 
+04a3 20600000 rtn 
 
 p_le_slave_match:
-0492 6fe0c3dd fetch 1 ,mem_le_md_count 
-0493 1fe0fe01 pincrease 1 
-0494 67e0c3dd store 1 ,mem_le_md_count 
-0495 c006165a beq le_md_max_count ,le_slave_cont 
-0496 2040191b call le_acknowledge 
-0497 2040196a call le_prepare_tx 
-0498 6fe082bd fetch 1 ,mem_le_tx_phy 
-0499 2040168b call le_enable_phy_by_pdata 
-049a 20401838 call le_transmit 
-049b 20201655 branch le_slave_match + 10 
+04a4 6fe0c3dd fetch 1 ,mem_le_md_count 
+04a5 1fe0fe01 pincrease 1 
+04a6 67e0c3dd store 1 ,mem_le_md_count 
+04a7 c006165a beq le_md_max_count ,le_slave_cont 
+04a8 2040191b call le_acknowledge 
+04a9 2040196a call le_prepare_tx 
+04aa 6fe082bd fetch 1 ,mem_le_tx_phy 
+04ab 2040168b call le_enable_phy_by_pdata 
+04ac 20401838 call le_transmit 
+04ad 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-049c 20400e80 call end_of_packet 
-049d 20201661 branch le_slave_unsync + 1 
+04ae 20400e80 call end_of_packet 
+04af 20201661 branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-049e efe10006 ifetch 2 ,contr 
-049f c00204a1 beq le_l2cap_cid_att ,p_le_parse_att 
-04a0 202019e4 branch le_parse_l2cap + 10 
+04b0 efe10006 ifetch 2 ,contr 
+04b1 c00204b3 beq le_l2cap_cid_att ,p_le_parse_att 
+04b2 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-04a1 efe18006 ifetch 3 ,contr 
-04a2 67e1c436 store 3 ,mem_le_att_opcode 
-04a3 c00504a6 beq attop_read_request ,p_le_parse_att_read_request 
-04a4 c00904b5 beq attop_write_request ,p_le_parse_att_write_request 
-04a5 20201cd3 branch le_parse_att + 2 
+04b3 efe18006 ifetch 3 ,contr 
+04b4 67e1c436 store 3 ,mem_le_att_opcode 
+04b5 c00504b8 beq attop_read_request ,p_le_parse_att_read_request 
+04b6 c00904c7 beq attop_write_request ,p_le_parse_att_write_request 
+04b7 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-04a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04a7 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-04a8 20401e8d call le_check_encrypt_state 
-04a9 68494437 fetcht 2 ,mem_le_att_handle 
-04aa 6fe0c3c0 fetch 1 ,mem_le_configuration 
-04ab c28184b0 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+04b8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04b9 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+04ba 20401e8d call le_check_encrypt_state 
+04bb 68494437 fetcht 2 ,mem_le_att_handle 
+04bc 6fe0c3c0 fetch 1 ,mem_le_configuration 
+04bd c28184c2 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-04ac 6fe14437 fetch 2 ,mem_le_att_handle 
-04ad c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-04ae 68494437 fetcht 2 ,mem_le_att_handle 
-04af 20201deb branch le_send_att_read_response 
+04be 6fe14437 fetch 2 ,mem_le_att_handle 
+04bf c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+04c0 68494437 fetcht 2 ,mem_le_att_handle 
+04c1 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-04b0 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-04b1 98467c00 isub temp ,null 
-04b2 242284ac nbranch p_le_send_att_read_response ,zero 
-04b3 243404ac nbranch p_le_send_att_read_response ,user 
-04b4 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04c2 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+04c3 98467c00 isub temp ,null 
+04c4 242284be nbranch p_le_send_att_read_response ,zero 
+04c5 243404be nbranch p_le_send_att_read_response ,user 
+04c6 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-04b5 18c22200 copy contr ,rega 
-04b6 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-04b7 1fe0a5fd add pdata ,-3 ,regb 
-04b8 20401a25 call le_writeatt_cb 
-04b9 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-04ba c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-04bb 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-04bc 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-04bd 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-04be c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-04bf 5800001a setarg 0x001a 
-04c0 68494437 fetcht 2 ,mem_le_att_handle 
-04c1 98467c00 isub temp ,null 
-04c2 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-04c3 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+04c7 18c22200 copy contr ,rega 
+04c8 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+04c9 1fe0a5fd add pdata ,-3 ,regb 
+04ca 20401a25 call le_writeatt_cb 
+04cb 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+04cc c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+04cd 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+04ce 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+04cf 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+04d0 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+04d1 5800001a setarg 0x001a 
+04d2 68494437 fetcht 2 ,mem_le_att_handle 
+04d3 98467c00 isub temp ,null 
+04d4 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+04d5 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_g24_lpm_wait:
-04c4 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-04c5 243a7e56 nbranch disable_user ,blank 
-04c6 78347c00 enable user 
-04c7 20401465 call lpo_calibration 
-04c8 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-04c9 203a7e56 branch disable_user ,blank 
-04ca 6fe0c099 fetch 1 ,mem_lpm_mode 
-04cb 203a7e56 branch disable_user ,blank 
-04cc 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-04cd 247a0000 nrtn blank 
-04ce 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04cf c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-04d0 20600000 rtn 
+04d6 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+04d7 243a7e56 nbranch disable_user ,blank 
+04d8 78347c00 enable user 
+04d9 20401465 call lpo_calibration 
+04da 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04db 203a7e56 branch disable_user ,blank 
+04dc 6fe0c099 fetch 1 ,mem_lpm_mode 
+04dd 203a7e56 branch disable_user ,blank 
+04de 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+04df 247a0000 nrtn blank 
+04e0 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04e1 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+04e2 20600000 rtn 
 
 p_mouse_motion:
-04d1 78547c00 disable user 
-04d2 58000000 setarg 0 
-04d3 67e348d1 store 6 ,mem_mouse_x 
-04d4 20404240 call mouse_check_sensor_data 
-04d5 2040408e call mouse_dpi_config 
-04d6 20403f7e call mouse_zwheel 
-04d7 20403f83 call mouse_t_zwheel 
-04d8 20400504 call p_mouse_key 
-04d9 6fe0c8d0 fetch 1 ,mem_mouse_key 
-04da 1fe17e1f and_into 0x1f ,pdata 
-04db 67e0c8d0 store 1 ,mem_mouse_key 
-04dc 243404e3 nbranch p_mouse_low_power_led_delay_off ,user 
-04dd 204004e0 call p_mouse_work_state_flag 
-04de 204004e8 call p_mouse_drawing_optima 
-04df 20204544 branch mouse_no_data_timer_init 
+04e3 78547c00 disable user 
+04e4 58000000 setarg 0 
+04e5 67e348d1 store 6 ,mem_mouse_x 
+04e6 20404240 call mouse_check_sensor_data 
+04e7 2040408e call mouse_dpi_config 
+04e8 20403f7e call mouse_zwheel 
+04e9 20403f83 call mouse_t_zwheel 
+04ea 20400516 call p_mouse_key 
+04eb 6fe0c8d0 fetch 1 ,mem_mouse_key 
+04ec 1fe17e1f and_into 0x1f ,pdata 
+04ed 67e0c8d0 store 1 ,mem_mouse_key 
+04ee 243404f5 nbranch p_mouse_low_power_led_delay_off ,user 
+04ef 204004f2 call p_mouse_work_state_flag 
+04f0 204004fa call p_mouse_drawing_optima 
+04f1 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_work_state_flag:
-04e0 704c9800 jam 0 ,mem_low_power_led_flag 
-04e1 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
-04e2 20600000 rtn 
+04f2 704c9800 jam 0 ,mem_low_power_led_flag 
+04f3 704c9900 jam 0 ,mem_24g_low_power_stop_blink 
+04f4 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-04e3 20404728 call mouse_drawing_optima_init 
-04e4 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
-04e5 247a0000 nrtn blank 
-04e6 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
-04e7 20600000 rtn 
+04f5 20404728 call mouse_drawing_optima_init 
+04f6 6fe0cc99 fetch 1 ,mem_24g_low_power_stop_blink 
+04f7 247a0000 nrtn blank 
+04f8 704c996a jam 0x6a ,mem_24g_low_power_stop_blink 
+04f9 20600000 rtn 
 
 p_mouse_drawing_optima:
-04e8 6fe0c927 fetch 1 ,mem_config_sensor_type 
-04e9 c1018000 rtneq p3212 
-04ea 2020471a branch mouse_drawing_optima 
+04fa 6fe0c927 fetch 1 ,mem_config_sensor_type 
+04fb c1018000 rtneq p3212 
+04fc 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-04eb 20403f65 call mouse_sensor_spi_init 
-04ec 6fe0c927 fetch 1 ,mem_config_sensor_type 
-04ed c00584f2 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-04ee 20404232 call mouse_sensor_reset 
-04ef da604aa3 arg mem_sensor_poweron_init ,regc 
-04f0 2040422b call mouse_sensor_wr_seq 
-04f1 2020408e branch mouse_dpi_config 
+04fd 20403f65 call mouse_sensor_spi_init 
+04fe 6fe0c927 fetch 1 ,mem_config_sensor_type 
+04ff c0058504 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0500 20404232 call mouse_sensor_reset 
+0501 da604aa3 arg mem_sensor_poweron_init ,regc 
+0502 2040422b call mouse_sensor_wr_seq 
+0503 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-04f2 204004f9 call p_mouse_ka8g2_sensor_reset 
-04f3 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-04f4 2040422b call mouse_sensor_wr_seq 
-04f5 2020408e branch mouse_dpi_config 
+0504 2040050b call p_mouse_ka8g2_sensor_reset 
+0505 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0506 2040422b call mouse_sensor_wr_seq 
+0507 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-04f6 6fe0c927 fetch 1 ,mem_config_sensor_type 
-04f7 c00584f9 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-04f8 20204232 branch mouse_sensor_reset 
+0508 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0509 c005850b beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+050a 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-04f9 58009706 setarg 0x9706 
-04fa 20405b0c call twspi_write 
-04fb 20002ee0 nop 12000 
-04fc 20600000 rtn 
+050b 58009706 setarg 0x9706 
+050c 20405b0c call twspi_write 
+050d 20002ee0 nop 12000 
+050e 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-04fd 204041a7 call mouse_init_sunt 
-04fe 20403f65 call mouse_sensor_spi_init 
-04ff 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0500 c0058502 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0501 2020423e branch mouse_sensor_powerdown_end 
+050f 204041a7 call mouse_init_sunt 
+0510 20403f65 call mouse_sensor_spi_init 
+0511 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0512 c0058514 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0513 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0502 58001f06 setarg 0x1f06 
-0503 20205b0c branch twspi_write 
+0514 58001f06 setarg 0x1f06 
+0515 20205b0c branch twspi_write 
 
 p_mouse_key:
-0504 20400506 call p_mouse_check_key_gpio 
-0505 202040dd branch mouse_key + 1 
+0516 20400518 call p_mouse_check_key_gpio 
+0517 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0506 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0507 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0508 da200000 arg 0 ,rega 
-0509 2040050f call p_mouse_check_lkey_gpio 
-050a 20400514 call p_mouse_check_rkey_gpio 
-050b 20400519 call p_mouse_check_mkey_gpio 
-050c 2040051e call p_mouse_check_bkkey_gpio 
-050d 2040052b call p_mouse_check_fwkey_gpio 
-050e 2020411e branch mouse_check_key_gpio_next 
+0518 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0519 245a4121 ncall mouse_check_key_gpio_once ,blank 
+051a da200000 arg 0 ,rega 
+051b 20400521 call p_mouse_check_lkey_gpio 
+051c 20400526 call p_mouse_check_rkey_gpio 
+051d 2040052b call p_mouse_check_mkey_gpio 
+051e 20400530 call p_mouse_check_bkkey_gpio 
+051f 2040053d call p_mouse_check_fwkey_gpio 
+0520 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-050f 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0510 20400538 call p_mouse_gpio_config_output_high 
-0511 20404124 call mouse_check_lkey_gpio 
-0512 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0513 20203f56 branch mouse_gpio_config_input_pu 
+0521 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+0522 2040054a call p_mouse_gpio_config_output_high 
+0523 20404124 call mouse_check_lkey_gpio 
+0524 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0525 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0514 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-0515 20400538 call p_mouse_gpio_config_output_high 
-0516 2040412a call mouse_check_rkey_gpio 
-0517 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0518 20203f56 branch mouse_gpio_config_input_pu 
+0526 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0527 2040054a call p_mouse_gpio_config_output_high 
+0528 2040412a call mouse_check_rkey_gpio 
+0529 6848c919 fetcht 1 ,mem_rbutton_gpio 
+052a 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0519 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-051a 20400538 call p_mouse_gpio_config_output_high 
-051b 20404130 call mouse_check_mkey_gpio 
-051c 6848c91a fetcht 1 ,mem_mbutton_gpio 
-051d 20203f56 branch mouse_gpio_config_input_pu 
+052b 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+052c 2040054a call p_mouse_gpio_config_output_high 
+052d 20404130 call mouse_check_mkey_gpio 
+052e 6848c91a fetcht 1 ,mem_mbutton_gpio 
+052f 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-051e 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-051f c17f8000 rtneq gpio_disable 
-0520 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0521 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0522 1fe22600 copy pdata ,regc 
-0523 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0524 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0525 c07f8527 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0526 2020413e branch mouse_check_bkkey_gpio_next 
+0530 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0531 c17f8000 rtneq gpio_disable 
+0532 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+0533 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0534 1fe22600 copy pdata ,regc 
+0535 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0536 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0537 c07f8539 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0538 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0527 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0528 2040053b call p_mouse_gpio_config_output_low 
-0529 6848c90d fetcht 1 ,mem_bk_button_gpio 
-052a 2020414b branch mouse_3io6key_bk_check 
+0539 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+053a 2040054d call p_mouse_gpio_config_output_low 
+053b 6848c90d fetcht 1 ,mem_bk_button_gpio 
+053c 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-052b 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-052c c17f8000 rtneq gpio_disable 
-052d 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-052e 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-052f 1fe22600 copy pdata ,regc 
-0530 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0531 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0532 c07f8534 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0533 20204157 branch mouse_check_fwkey_gpio_next 
+053d 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+053e c17f8000 rtneq gpio_disable 
+053f 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0540 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0541 1fe22600 copy pdata ,regc 
+0542 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0543 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0544 c07f8546 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0545 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0534 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0535 2040053b call p_mouse_gpio_config_output_low 
-0536 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0537 20204164 branch mouse_3io6key_fw_check 
+0546 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0547 2040054d call p_mouse_gpio_config_output_low 
+0548 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0549 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0538 c17f8000 rtneq gpio_disable 
-0539 d840003f arg gpcfg_output_high ,temp 
-053a 20206093 branch gpio_config_function_int 
+054a c17f8000 rtneq gpio_disable 
+054b d840003f arg gpcfg_output_high ,temp 
+054c 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-053b c17f8000 rtneq gpio_disable 
-053c d840003e arg gpcfg_output_low ,temp 
-053d 20206093 branch gpio_config_function_int 
+054d c17f8000 rtneq gpio_disable 
+054e d840003e arg gpcfg_output_low ,temp 
+054f 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-053e 20404990 call mouse_low_voltage_led_no_enter_lpm 
-053f 20407936 call ui_check_paring_button 
-0540 20400543 call p_mouse_dpi_check 
-0541 20400555 call p_mouse_dpi_another_gpio_check 
-0542 2020464f branch mouse_idle + 4 
+0550 20404990 call mouse_low_voltage_led_no_enter_lpm 
+0551 20407936 call ui_check_paring_button 
+0552 20400555 call p_mouse_dpi_check 
+0553 20400567 call p_mouse_dpi_another_gpio_check 
+0554 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-0543 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0544 c17f8000 rtneq gpio_disable 
-0545 da200000 arg 0 ,rega 
-0546 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-0547 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0548 2040054a call p_mouse_dpi_key_check 
-0549 2020402f branch mouse_dpi_check_next 
+0555 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0556 c17f8000 rtneq gpio_disable 
+0557 da200000 arg 0 ,rega 
+0558 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0559 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+055a 2040055c call p_mouse_dpi_key_check 
+055b 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-054a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-054b c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-054c 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-054d 1fe22600 copy pdata ,regc 
-054e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-054f c07f8551 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0550 2020403f branch mouse_dpi_key_check_next 
+055c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+055d c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+055e 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+055f 1fe22600 copy pdata ,regc 
+0560 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0561 c07f8563 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0562 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0551 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0552 2040053b call p_mouse_gpio_config_output_low 
-0553 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0554 20204195 branch mouse_3io6key_check 
+0563 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0564 2040054d call p_mouse_gpio_config_output_low 
+0565 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0566 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-0555 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0556 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0557 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-0558 243a055e nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0567 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0568 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+0569 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+056a 243a0570 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-0559 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-055a 20400538 call p_mouse_gpio_config_output_high 
-055b 20400569 call p_mouse_dpi_another_check 
-055c 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-055d 20203f56 branch mouse_gpio_config_input_pu 
+056b 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+056c 2040054a call p_mouse_gpio_config_output_high 
+056d 2040057b call p_mouse_dpi_another_check 
+056e 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+056f 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-055e 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-055f 793ffe07 set0 gpio_active_bit ,pdata 
-0560 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-0561 2040053b call p_mouse_gpio_config_output_low 
-0562 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0563 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0564 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-0565 20400582 call p_mouse_check_key_connect_vin_new 
-0566 2040056d call p_mouse_dpi_another_state_check 
-0567 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0568 20203f56 branch mouse_gpio_config_input_pu 
+0570 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+0571 793ffe07 set0 gpio_active_bit ,pdata 
+0572 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0573 2040054d call p_mouse_gpio_config_output_low 
+0574 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0575 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0576 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0577 20400594 call p_mouse_check_key_connect_vin_new 
+0578 2040057f call p_mouse_dpi_another_state_check 
+0579 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+057a 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-0569 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-056a 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-056b 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-056c 20400578 call p_mouse_check_key_connect_gnd_new 
+057b 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+057c 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+057d 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+057e 2040058a call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-056d 67e0cc3c store 1 ,mem_dpi_another_press_status 
-056e 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-056f 203a0574 branch p_mouse_dpi_another_up ,blank 
+057f 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0580 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0581 203a0586 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0570 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0571 c1008000 rtneq dpi_button_state_down 
-0572 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0573 20204069 branch mouse_dpi_process 
+0582 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0583 c1008000 rtneq dpi_button_state_down 
+0584 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0585 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0574 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0575 c1000000 rtneq dpi_button_state_up 
-0576 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0577 20600000 rtn 
+0586 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0587 c1000000 rtneq dpi_button_state_up 
+0588 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+0589 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-0578 1fe3fe00 lshift pdata ,pdata 
-0579 1fe22400 copy pdata ,regb 
-057a 20406059 call gpio_get_bit 
-057b 7920a400 setflag true ,0 ,regb 
-057c 1a417e07 and regb ,0x07 ,pdata 
-057d 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-057e 18420e00 copy temp ,queue 
-057f c003858d beq 0x07 ,p_mouse_key_press 
-0580 c000058f beq 0x00 ,p_mouse_key_release 
-0581 20600000 rtn 
+058a 1fe3fe00 lshift pdata ,pdata 
+058b 1fe22400 copy pdata ,regb 
+058c 20406059 call gpio_get_bit 
+058d 7920a400 setflag true ,0 ,regb 
+058e 1a417e07 and regb ,0x07 ,pdata 
+058f 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0590 18420e00 copy temp ,queue 
+0591 c003859f beq 0x07 ,p_mouse_key_press 
+0592 c00005a1 beq 0x00 ,p_mouse_key_release 
+0593 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-0582 1fe3fe00 lshift pdata ,pdata 
-0583 1fe22400 copy pdata ,regb 
-0584 20403f54 call mouse_gpio_config_input_pd 
-0585 20406059 call gpio_get_bit 
-0586 7920a400 setflag true ,0 ,regb 
-0587 1a417e07 and regb ,0x07 ,pdata 
-0588 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-0589 18420e00 copy temp ,queue 
-058a c003858d beq 0x07 ,p_mouse_key_press 
-058b c000058f beq 0x00 ,p_mouse_key_release 
-058c 20600000 rtn 
+0594 1fe3fe00 lshift pdata ,pdata 
+0595 1fe22400 copy pdata ,regb 
+0596 20403f54 call mouse_gpio_config_input_pd 
+0597 20406059 call gpio_get_bit 
+0598 7920a400 setflag true ,0 ,regb 
+0599 1a417e07 and regb ,0x07 ,pdata 
+059a 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+059b 18420e00 copy temp ,queue 
+059c c003859f beq 0x07 ,p_mouse_key_press 
+059d c00005a1 beq 0x00 ,p_mouse_key_release 
+059e 20600000 rtn 
 
 p_mouse_key_press:
-058d 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-058e 20600000 rtn 
+059f 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+05a0 20600000 rtn 
 
 p_mouse_key_release:
-058f 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-0590 20600000 rtn 
+05a1 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+05a2 20600000 rtn 
 
 p_mouse_dpi_process:
-0591 20404072 call mouse_dpi_ghost_check 
-0592 20740000 rtn user 
-0593 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0594 1fe20400 copy pdata ,temp 
-0595 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0596 c29e859d bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0597 18427e00 copy temp ,pdata 
-0598 1fe0fe01 increase 1 ,pdata 
-0599 1fe17e03 and pdata ,0x03 ,pdata 
+05a3 20404072 call mouse_dpi_ghost_check 
+05a4 20740000 rtn user 
+05a5 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05a6 1fe20400 copy pdata ,temp 
+05a7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05a8 c29e85af bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+05a9 18427e00 copy temp ,pdata 
+05aa 1fe0fe01 increase 1 ,pdata 
+05ab 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-059a 67e0c992 store 1 ,mem_mouse_dpi 
-059b 20404095 call mouse_seting_dpi 
-059c 202045ee branch mouse_store_device_info_delay 
+05ac 67e0c992 store 1 ,mem_mouse_dpi 
+05ad 20404095 call mouse_seting_dpi 
+05ae 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-059d 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-059e 243a05ba nbranch p_mouse_another_dpi_button_down ,blank 
+05af 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+05b0 243a05cc nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-059f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05a0 c28e05ae bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-05a1 18427e00 copy temp ,pdata 
-05a2 c1008000 rtneq mouse_dpi_level2 
+05b1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05b2 c28e05c0 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+05b3 18427e00 copy temp ,pdata 
+05b4 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-05a3 c00005aa beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05a4 c00105a8 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-05a5 20600000 rtn 
+05b5 c00005bc beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05b6 c00105ba beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+05b7 20600000 rtn 
 
 p_mouse_dpi_level_1:
-05a6 58000002 setarg 2 
-05a7 2020059a branch p_mouse_dpi_store 
+05b8 58000002 setarg 2 
+05b9 202005ac branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-05a8 58000000 setarg 0 
-05a9 2020059a branch p_mouse_dpi_store 
+05ba 58000000 setarg 0 
+05bb 202005ac branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-05aa 58000001 setarg 1 
-05ab 2020059a branch p_mouse_dpi_store 
+05bc 58000001 setarg 1 
+05bd 202005ac branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-05ac 58000003 setarg 3 
-05ad 2020059a branch p_mouse_dpi_store 
+05be 58000003 setarg 3 
+05bf 202005ac branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-05ae 18427e00 copy temp ,pdata 
-05af c1008000 rtneq mouse_dpi_level2 
-05b0 c00005aa beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-05b1 c00105ac beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-05b2 c00185a8 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-05b3 20600000 rtn 
+05c0 18427e00 copy temp ,pdata 
+05c1 c1008000 rtneq mouse_dpi_level2 
+05c2 c00005bc beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+05c3 c00105be beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+05c4 c00185ba beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+05c5 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-05b4 18427e00 copy temp ,pdata 
-05b5 c1010000 rtneq mouse_dpi_level3 
-05b6 c00005ac beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-05b7 c00085a8 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05b8 c00185a6 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-05b9 20600000 rtn 
+05c6 18427e00 copy temp ,pdata 
+05c7 c1010000 rtneq mouse_dpi_level3 
+05c8 c00005be beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+05c9 c00085ba beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05ca c00185b8 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+05cb 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-05ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05bb c28e05b4 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-05bc 18427e00 copy temp ,pdata 
-05bd c1010000 rtneq mouse_dpi_level3 
+05cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05cd c28e05c6 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+05ce 18427e00 copy temp ,pdata 
+05cf c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-05be c00005a6 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-05bf c00085a8 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-05c0 20600000 rtn 
+05d0 c00005b8 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+05d1 c00085ba beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+05d2 20600000 rtn 
 
 p_power_ctrl_start:
-05c1 6fe1478c fetch 2 ,mem_ui_state_map 
-05c2 c3858000 rtnbit1 ui_state_ble_adv 
-05c3 c3838000 rtnbit1 ui_state_bt_reconnect 
-05c4 c3830000 rtnbit1 ui_state_bt_discovery 
-05c5 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-05c6 204025cb call rssi_average 
-05c7 6048c8c7 storet 1 ,mem_rssi_avg_received 
-05c8 202026f6 branch power_ctrl_rssi_avg_compare 
+05d3 6fe1478c fetch 2 ,mem_ui_state_map 
+05d4 c3858000 rtnbit1 ui_state_ble_adv 
+05d5 c3838000 rtnbit1 ui_state_bt_reconnect 
+05d6 c3830000 rtnbit1 ui_state_bt_discovery 
+05d7 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+05d8 204025cb call rssi_average 
+05d9 6048c8c7 storet 1 ,mem_rssi_avg_received 
+05da 202026f6 branch power_ctrl_rssi_avg_compare 
               org 0x3bc1
 
 mouse_init:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/patch.prog	(revision 3454)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/1m/mouse_multi_toggle/program/patch.prog	(working copy)
@@ -1305,6 +1305,7 @@
 
 	call mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
+	call p_mouse_bt_discovery_check
 	call p_mouse_commbination_key_process
 	call mouse_check_discovery_timeout_timer
 	call p_mouse_24g_lowpower_stop_blink_timer
@@ -1326,6 +1327,29 @@
 	call p_mouse_check_no_data_timeout_timer
 	branch p_mouse_g24_ota_reset_timer
 
+p_mouse_bt_discovery_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY,p_mouse_bt_discovery_by_pb_button
+	rtn
+p_mouse_bt_discovery_by_pb_button:
+	fetch 1,mem_select_device_button_statue
+	rtnne PB_BUTTON_STATE_DOWN
+	arg mem_bt_discovery_count,regc
+	arg p_mouse_long_button_bt_discovery,regb
+	branch timer_single_step
+
+p_mouse_long_button_bt_discovery:
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_enable_function_flag
+	call app_evt_button_long_pressed
+	jam 2,mem_mouse_multi_led_blink_timer_init
+	branch mouse_bb_event_discovery_btn
+
+
 p_mouse_24g_lowpower_stop_blink_timer:
 	arg p_mouse_24g_lowpower_stop_blink_timeout,regb
 	arg mem_24g_low_power_stop_blink,regc
