Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(revision 794)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(working copy)
@@ -2,44 +2,44 @@
 02
 aa
 55
-96
+f2
 0f
 c2
 84
 00
-19
+1a
 c0
 00
 00
-24
+25
 c0
 01
 80
-28
+29
 c0
 41
 80
-4c
+4d
 c0
 45
 00
-35
+36
 c0
 45
 80
-81
+82
 c0
 4f
 80
-96
+97
 c0
 57
 00
-98
+99
 c0
 58
 00
-75
+76
 c0
 61
 82
@@ -59,27 +59,27 @@
 c0
 66
 03
-60
+77
 c0
 67
 03
-40
+57
 c0
 68
 02
-1a
+1b
 c0
 68
 83
-97
+ae
 c0
 69
 82
-34
+35
 c0
 6a
 02
-4d
+4e
 c0
 6b
 01
@@ -87,19 +87,23 @@
 c0
 6c
 82
-67
+68
 c0
 6d
+03
 02
-f5
+c0
+6d
+83
+0a
 c0
 6f
 03
-cd
+e4
 c0
 74
 03
-01
+18
 20
 20
 13
@@ -107,23 +111,23 @@
 c0
 19
 80
-55
+56
 c0
 1a
 00
-5a
+5b
 c0
 43
-82
-fd
+83
+14
 c0
 50
 83
-15
+2c
 c0
 54
 80
-90
+91
 c0
 6e
 81
@@ -143,7 +147,7 @@
 c0
 76
 03
-36
+4d
 20
 20
 13
@@ -211,7 +215,7 @@
 20
 40
 00
-40
+41
 20
 20
 08
@@ -287,7 +291,7 @@
 20
 3a
 00
-49
+4a
 6f
 e0
 c6
@@ -331,7 +335,7 @@
 c0
 04
 00
-53
+54
 20
 20
 11
@@ -519,7 +523,7 @@
 20
 20
 00
-75
+76
 20
 40
 12
@@ -631,7 +635,7 @@
 20
 40
 02
-1c
+1d
 20
 40
 3d
@@ -647,11 +651,7 @@
 20
 40
 02
-5f
-20
-40
-02
-b1
+60
 20
 20
 3b
@@ -1103,7 +1103,7 @@
 20
 20
 02
-5f
+60
 c6
 1a
 00
@@ -1555,7 +1555,7 @@
 24
 5a
 02
-36
+37
 6f
 e0
 cb
@@ -1655,11 +1655,11 @@
 20
 40
 02
-58
+59
 20
 40
 02
-5f
+60
 20
 20
 3e
@@ -1803,7 +1803,7 @@
 20
 40
 02
-5f
+60
 20
 20
 01
@@ -1915,7 +1915,7 @@
 20
 40
 02
-a3
+a4
 20
 20
 48
@@ -1923,7 +1923,7 @@
 20
 40
 02
-a3
+a4
 6f
 e2
 48
@@ -1971,7 +1971,7 @@
 20
 40
 02
-a3
+a4
 20
 20
 48
@@ -2023,7 +2023,7 @@
 20
 40
 02
-8c
+8d
 20
 20
 48
@@ -2031,7 +2031,7 @@
 20
 40
 02
-8c
+8d
 20
 20
 48
@@ -2059,7 +2059,7 @@
 20
 40
 02
-a3
+a4
 20
 20
 01
@@ -2092,14 +2092,6 @@
 97
 c8
 0a
-6f
-e0
-c9
-38
-c0
-00
-02
-10
 20
 40
 41
@@ -2113,6 +2105,18 @@
 81
 f1
 20
+40
+02
+b2
+6f
+e0
+c9
+38
+c0
+00
+02
+11
+20
 20
 3d
 57
@@ -2163,7 +2167,7 @@
 20
 40
 02
-2a
+2b
 6f
 e0
 c9
@@ -2175,7 +2179,7 @@
 c0
 05
 82
-25
+26
 c0
 00
 40
@@ -2251,7 +2255,7 @@
 20
 3a
 02
-c9
+ca
 67
 e0
 cb
@@ -2279,7 +2283,7 @@
 c0
 18
 02
-3e
+3f
 c0
 18
 c2
@@ -2299,7 +2303,7 @@
 20
 20
 02
-37
+38
 6f
 e0
 c9
@@ -2307,7 +2311,7 @@
 c0
 2d
 02
-47
+48
 c0
 6c
 41
@@ -2335,7 +2339,7 @@
 20
 20
 02
-37
+38
 70
 49
 27
@@ -2359,7 +2363,7 @@
 20
 20
 02
-1c
+1d
 20
 40
 3f
@@ -2371,7 +2375,7 @@
 c0
 05
 82
-54
+55
 20
 40
 42
@@ -2387,11 +2391,11 @@
 20
 20
 02
-1c
+1d
 20
 40
 02
-5b
+5c
 da
 60
 4c
@@ -2403,7 +2407,7 @@
 20
 20
 02
-1c
+1d
 6f
 e0
 c9
@@ -2411,7 +2415,7 @@
 c0
 05
 82
-5b
+5c
 20
 20
 42
@@ -2447,7 +2451,7 @@
 c0
 05
 82
-65
+66
 58
 00
 08
@@ -2471,7 +2475,7 @@
 20
 40
 03
-81
+98
 20
 40
 23
@@ -2487,19 +2491,19 @@
 20
 40
 02
-c6
+c7
 20
 40
 02
-7e
+7f
 20
 40
 02
-b8
+b9
 20
 40
-40
-7c
+02
+dd
 20
 40
 44
@@ -2507,7 +2511,7 @@
 20
 40
 02
-dc
+e9
 20
 40
 44
@@ -2555,7 +2559,7 @@
 20
 20
 02
-be
+bf
 6f
 e0
 cc
@@ -2571,11 +2575,11 @@
 c0
 00
 82
-93
+94
 20
 40
 02
-a0
+a1
 6f
 e0
 cc
@@ -2599,7 +2603,7 @@
 20
 42
 82
-8a
+8b
 20
 60
 00
@@ -2611,7 +2615,7 @@
 20
 20
 02
-a5
+a6
 70
 4c
 1c
@@ -2647,7 +2651,7 @@
 da
 40
 02
-96
+97
 20
 20
 31
@@ -2667,7 +2671,7 @@
 20
 3a
 02
-9e
+9f
 6f
 e0
 cc
@@ -2675,7 +2679,7 @@
 20
 3a
 02
-a3
+a4
 1f
 e0
 ff
@@ -2691,7 +2695,7 @@
 c0
 00
 82
-a5
+a6
 70
 4c
 18
@@ -2719,7 +2723,7 @@
 24
 3a
 02
-a9
+aa
 70
 4c
 16
@@ -2743,7 +2747,7 @@
 c0
 01
 82
-af
+b0
 68
 48
 cc
@@ -2795,7 +2799,7 @@
 da
 40
 02
-b3
+b4
 20
 20
 31
@@ -2811,7 +2815,7 @@
 20
 20
 02
-8f
+90
 6f
 e0
 c9
@@ -2827,7 +2831,7 @@
 da
 40
 02
-c3
+c4
 20
 20
 31
@@ -2851,7 +2855,7 @@
 da
 40
 02
-c9
+ca
 20
 20
 31
@@ -2863,7 +2867,7 @@
 c2
 8e
 02
-cf
+d0
 6f
 e0
 c9
@@ -2871,15 +2875,15 @@
 c0
 00
 02
-d6
+d7
 c0
 00
 82
-d8
+d9
 20
 20
 02
-d4
+d5
 6f
 e0
 c9
@@ -2887,19 +2891,19 @@
 c0
 00
 02
-d8
+d9
 c0
 00
 82
-da
+db
 c0
 01
 02
-d4
+d5
 20
 20
 02
-d6
+d7
 70
 4c
 1e
@@ -2907,7 +2911,7 @@
 20
 20
 02
-bb
+bc
 70
 4c
 1e
@@ -2915,7 +2919,7 @@
 20
 20
 02
-bb
+bc
 70
 4c
 1e
@@ -2923,7 +2927,7 @@
 20
 20
 02
-bb
+bc
 70
 4c
 1e
@@ -2931,7 +2935,55 @@
 20
 20
 02
-bb
+bc
+6f
+e4
+4b
+ab
+c2
+94
+40
+80
+c2
+9b
+02
+e1
+20
+60
+00
+00
+6f
+e0
+c9
+dd
+c1
+80
+80
+00
+da
+60
+4b
+9b
+da
+40
+02
+e6
+20
+20
+31
+8a
+70
+49
+de
+01
+70
+49
+38
+01
+20
+20
+44
+d6
 6f
 e4
 4b
@@ -2947,7 +2999,7 @@
 20
 20
 02
-e3
+f0
 6f
 e4
 4b
@@ -2983,7 +3035,7 @@
 20
 22
 82
-ea
+f7
 20
 20
 44
@@ -2991,7 +3043,7 @@
 20
 40
 02
-ef
+fc
 6f
 e0
 cb
@@ -3015,7 +3067,7 @@
 da
 40
 02
-f2
+ff
 20
 20
 31
@@ -3059,11 +3111,51 @@
 20
 40
 02
-8c
+8d
 20
 20
 45
 54
+d8
+e0
+00
+06
+20
+40
+46
+f4
+70
+4a
+c4
+00
+6f
+e0
+cb
+b3
+2f
+ef
+fe
+01
+20
+40
+c5
+81
+6f
+e0
+cb
+b3
+2f
+ef
+fe
+00
+20
+40
+c5
+83
+20
+20
+02
+a4
 6f
 e0
 cb
@@ -3107,7 +3199,7 @@
 c0
 04
 83
-09
+20
 20
 20
 4d
@@ -3207,7 +3299,7 @@
 c0
 02
 03
-22
+39
 20
 20
 19
@@ -3223,7 +3315,7 @@
 c0
 09
 03
-26
+3d
 20
 20
 1c
@@ -3351,7 +3443,7 @@
 20
 40
 02
-1c
+1d
 20
 40
 3f
@@ -3383,7 +3475,7 @@
 20
 40
 03
-4e
+65
 20
 20
 45
@@ -3471,7 +3563,7 @@
 20
 40
 00
-5a
+5b
 70
 48
 f6
@@ -3495,7 +3587,7 @@
 24
 21
 03
-79
+90
 6f
 e0
 c4
@@ -3503,7 +3595,7 @@
 c0
 81
 03
-71
+88
 68
 49
 48
@@ -3551,7 +3643,7 @@
 c3
 00
 03
-7b
+92
 70
 48
 fa
@@ -3591,7 +3683,7 @@
 20
 20
 02
-a5
+a6
 6f
 e1
 4a
@@ -3659,15 +3751,15 @@
 24
 41
 03
-95
+ac
 c0
 0f
 02
-a0
+a1
 c0
 13
 82
-a5
+a6
 20
 60
 00
@@ -3679,7 +3771,7 @@
 20
 20
 02
-a5
+a6
 6f
 e0
 cb
@@ -3695,23 +3787,23 @@
 20
 40
 03
-a0
+b7
 20
 40
 03
-a5
+bc
 20
 40
 03
-aa
+c1
 20
 40
 03
-af
+c6
 20
 40
 03
-bc
+d3
 20
 20
 41
@@ -3723,7 +3815,7 @@
 20
 40
 03
-c9
+e0
 20
 40
 41
@@ -3743,7 +3835,7 @@
 20
 40
 03
-c9
+e0
 20
 40
 41
@@ -3763,7 +3855,7 @@
 20
 40
 03
-c9
+e0
 20
 40
 41
@@ -3807,7 +3899,7 @@
 c0
 7f
 83
-b8
+cf
 20
 20
 41
@@ -3819,7 +3911,7 @@
 20
 40
 03
-cb
+e2
 68
 48
 c9
@@ -3859,7 +3951,7 @@
 c0
 7f
 83
-c5
+dc
 20
 20
 41
@@ -3871,7 +3963,7 @@
 20
 40
 03
-cb
+e2
 68
 48
 c9
@@ -3907,7 +3999,7 @@
 20
 40
 03
-d1
+e8
 20
 20
 46
@@ -3943,7 +4035,7 @@
 20
 40
 03
-da
+f1
 20
 20
 40
@@ -3971,7 +4063,7 @@
 c0
 7f
 83
-e1
+f8
 20
 20
 40
@@ -3983,7 +4075,7 @@
 20
 40
 03
-cb
+e2
 68
 48
 c9
@@ -3992,8 +4084,8 @@
 20
 41
 95
-f0
-b2
+ae
+a8
 aa
 55
 40
@@ -4027,7 +4119,7 @@
 88
 56
 5b
-46
+4e
 00
 01
 00
@@ -4335,7 +4427,7 @@
 0a
 60
 06
-05
+0a
 00
 64
 00
@@ -4388,7 +4480,7 @@
 01
 9f
 00
-b1
+ca
 00
 aa
 55
@@ -5268,100 +5360,8 @@
 e8
 41
 01
-55
-aa
-aa
-55
-de
-86
-b8
-fe
-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
-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
+bb
+9a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-49
-ad
+9f
+d7
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(revision 794)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(working copy)
@@ -1,199 +1,199 @@
               include "bt_format "
               org 0x0000
-0000 c2840019 bbit1 8 ,pf_patch_ext 
-0001 c0000024 beq patch00_0 ,p_soft_reset 
-0002 c0018028 beq patch00_3 ,p_main_loop 
-0003 c041804c beq patch10_3 ,p_set_sync_on 
-0004 c0450035 beq patch11_2 ,p_txon_next 
-0005 c0458081 beq patch11_3 ,p_initialize_radio_cont 
-0006 c04f8096 beq patch13_7 ,p_init_param 
-0007 c0570098 beq patch15_6 ,p_app_init 
-0008 c0580075 beq patch16_0 ,p_app_evt_100ms_loop 
+0000 c284001a bbit1 8 ,pf_patch_ext 
+0001 c0000025 beq patch00_0 ,p_soft_reset 
+0002 c0018029 beq patch00_3 ,p_main_loop 
+0003 c041804d beq patch10_3 ,p_set_sync_on 
+0004 c0450036 beq patch11_2 ,p_txon_next 
+0005 c0458082 beq patch11_3 ,p_initialize_radio_cont 
+0006 c04f8097 beq patch13_7 ,p_init_param 
+0007 c0570099 beq patch15_6 ,p_app_init 
+0008 c0580076 beq patch16_0 ,p_app_evt_100ms_loop 
 0009 c0618208 beq patch18_3 ,p_mouse_start_work 
 000a c0638199 beq patch18_7 ,p_mouse_app_enter_hibernate 
 000b c064819f beq patch19_1 ,p_mouse_setgpio_hibernate 
 000c c06501b1 beq patch19_2 ,p_mouse_lpm_before_common 
-000d c0660360 beq patch19_4 ,p_mouse_adc_read_start 
-000e c0670340 beq patch19_6 ,p_mouse_motion 
-000f c068021a beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c0688397 beq patch1a_1 ,p_mouse_check_key_gpio 
-0011 c0698234 beq patch1a_3 ,p_mouse_init_sunt 
-0012 c06a024d beq patch1a_4 ,p_mouse_sensor_poweron 
+000d c0660377 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670357 beq patch19_6 ,p_mouse_motion 
+000f c068021b beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c06883ae beq patch1a_1 ,p_mouse_check_key_gpio 
+0011 c0698235 beq patch1a_3 ,p_mouse_init_sunt 
+0012 c06a024e beq patch1a_4 ,p_mouse_sensor_poweron 
 0013 c06b01c3 beq patch1a_6 ,p_mouse_priority_bb_event 
-0014 c06c8267 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d02f5 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03cd beq patch1b_6 ,p_mouse_idle 
-0017 c0740301 beq patch1d_0 ,p_hid_rx_process 
-0018 2020137c branch loop 
+0014 c06c8268 beq patch1b_1 ,p_mouse_bb_event_timer 
+0015 c06d0302 beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06d830a beq patch1b_3 ,p_mouse_stop_discovery 
+0017 c06f03e4 beq patch1b_6 ,p_mouse_idle 
+0018 c0740318 beq patch1d_0 ,p_hid_rx_process 
+0019 2020137c branch loop 
 
 pf_patch_ext:
-0019 c0198055 beq patch26_3 ,p_adc_init_data 
-001a c01a005a beq patch26_4 ,p_enable_adc 
-001b c04382fd beq patch30_7 ,p_ui_timer_check 
-001c c0508315 beq patch34_1 ,p_le_slave_match 
-001d c0548090 beq patch35_1 ,p_le_enable 
-001e c06e8113 beq patch3b_5 ,p_g24_dispatch 
-001f c0710123 beq patch3c_2 ,p_g24_pair_dispatch 
-0020 c074812a beq patch3d_1 ,p_g24_reconn_dispatch 
-0021 c0750144 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c0760336 beq patch3d_4 ,p_g24_lpm_wait 
-0023 2020137c branch loop 
+001a c0198056 beq patch26_3 ,p_adc_init_data 
+001b c01a005b beq patch26_4 ,p_enable_adc 
+001c c0438314 beq patch30_7 ,p_ui_timer_check 
+001d c050832c beq patch34_1 ,p_le_slave_match 
+001e c0548091 beq patch35_1 ,p_le_enable 
+001f c06e8113 beq patch3b_5 ,p_g24_dispatch 
+0020 c0710123 beq patch3c_2 ,p_g24_pair_dispatch 
+0021 c074812a beq patch3d_1 ,p_g24_reconn_dispatch 
+0022 c0750144 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0023 c076034d beq patch3d_4 ,p_g24_lpm_wait 
+0024 2020137c branch loop 
 
 p_soft_reset:
-0024 20800000 clear_stack 
-0025 204030f3 call app_param_init 
-0026 20403bfd call mouse_xtal_init 
-0027 20200804 branch soft_reset + 3 
+0025 20800000 clear_stack 
+0026 204030f3 call app_param_init 
+0027 20403bfd call mouse_xtal_init 
+0028 20200804 branch soft_reset + 3 
 
 p_main_loop:
-0028 2040706c call sp_calc_sequence 
-0029 20407597 call sp_calc_sequence_256 
-002a 20406ea7 call sp_calc_sequence_256_check 
-002b 20401b93 call le_advertising_dispatch + 1 
-002c 2040083a call idle_dispatch 
-002d 20403108 call app_process_idle + 1 
-002e 20400892 call inquiry_dispatch + 1 
-002f 20400b08 call inquiry_scan_dispatch + 1 
-0030 20400b7b call page_scan_dispatch + 1 
-0031 20400823 call connection_dispatch + 1 
-0032 204021d3 call g24_dispatch + 2 
-0033 20400040 call p_lpm_dispatch 
-0034 20200813 branch main_loop 
+0029 2040706c call sp_calc_sequence 
+002a 20407597 call sp_calc_sequence_256 
+002b 20406ea7 call sp_calc_sequence_256_check 
+002c 20401b93 call le_advertising_dispatch + 1 
+002d 2040083a call idle_dispatch 
+002e 20403108 call app_process_idle + 1 
+002f 20400892 call inquiry_dispatch + 1 
+0030 20400b08 call inquiry_scan_dispatch + 1 
+0031 20400b7b call page_scan_dispatch + 1 
+0032 20400823 call connection_dispatch + 1 
+0033 204021d3 call g24_dispatch + 2 
+0034 20400041 call p_lpm_dispatch 
+0035 20200813 branch main_loop 
 
 p_txon_next:
-0035 6fe0c1e8 fetch 1 ,mem_tx_power 
-0036 c001922d beq tx_power_3db ,set_tx_power_3db 
-0037 c0029238 beq tx_power_5db ,set_tx_power_7db 
-0038 c003123b beq tx_power_6db ,set_tx_power_10db 
-0039 c003923b beq tx_power_7db ,set_tx_power_10db 
-003a c005123b beq tx_power_10db ,set_tx_power_10db 
-003b c041923e beq tx_power_f3db ,set_tx_power_f3db 
-003c c0429241 beq tx_power_f5db ,set_tx_power_f5db 
-003d c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
-003e c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
-003f 20201228 branch set_tx_power_0db 
+0036 6fe0c1e8 fetch 1 ,mem_tx_power 
+0037 c001922d beq tx_power_3db ,set_tx_power_3db 
+0038 c0029238 beq tx_power_5db ,set_tx_power_7db 
+0039 c003123b beq tx_power_6db ,set_tx_power_10db 
+003a c003923b beq tx_power_7db ,set_tx_power_10db 
+003b c005123b beq tx_power_10db ,set_tx_power_10db 
+003c c041923e beq tx_power_f3db ,set_tx_power_f3db 
+003d c0429241 beq tx_power_f5db ,set_tx_power_f5db 
+003e c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
+003f c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
+0040 20201228 branch set_tx_power_0db 
 
 p_lpm_dispatch:
-0040 20401465 call lpo_calibration 
-0041 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0042 207a0000 rtn blank 
-0043 6fe0c099 fetch 1 ,mem_lpm_mode 
-0044 207a0000 rtn blank 
-0045 6fe0c764 fetch 1 ,mem_ssp_enable 
-0046 203a0049 branch p_lpm_dispatch_next ,blank 
-0047 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-0048 207a0000 rtn blank 
+0041 20401465 call lpo_calibration 
+0042 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0043 207a0000 rtn blank 
+0044 6fe0c099 fetch 1 ,mem_lpm_mode 
+0045 207a0000 rtn blank 
+0046 6fe0c764 fetch 1 ,mem_ssp_enable 
+0047 203a004a branch p_lpm_dispatch_next ,blank 
+0048 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0049 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0049 6fe0c6ba fetch 1 ,mem_sc_calc 
-004a 247a0000 nrtn blank 
-004b 202014ea branch lpm_dispatch_next + 3 
+004a 6fe0c6ba fetch 1 ,mem_sc_calc 
+004b 247a0000 nrtn blank 
+004c 202014ea branch lpm_dispatch_next + 3 
 
 p_set_sync_on:
-004c 70890005 jam 0x5 ,modem_en 
-004d 20000002 nop 2 
-004e 70890000 jam 0x0 ,modem_en 
-004f 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0050 c00c1168 beq xtal_24m ,set_sync_on_24m 
-0051 c0040053 beq xtal_16m ,p_set_sync_on_16m 
-0052 20201168 branch set_sync_on_24m 
+004d 70890005 jam 0x5 ,modem_en 
+004e 20000002 nop 2 
+004f 70890000 jam 0x0 ,modem_en 
+0050 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0051 c00c1168 beq xtal_24m ,set_sync_on_24m 
+0052 c0040054 beq xtal_16m ,p_set_sync_on_16m 
+0053 20201168 branch set_sync_on_24m 
 
 p_set_sync_on_16m:
-0053 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-0054 2020117d branch set_sync_on_16m 
+0054 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+0055 2020117d branch set_sync_on_16m 
 
 p_adc_init_data:
-0055 da20099e arg mem_temp_block2 ,rega 
-0056 d840000c arg 12 ,temp 
-0057 58000030 setarg efuse_offset_adc_param 
-0058 20405e63 call efuse_read_data 
-0059 202060bf branch adc_init_data + 6 
+0056 da20099e arg mem_temp_block2 ,rega 
+0057 d840000c arg 12 ,temp 
+0058 58000030 setarg efuse_offset_adc_param 
+0059 20405e63 call efuse_read_data 
+005a 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-005a 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-005b 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-005c 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-005d 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-005e 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-005f 79207e07 set1 7 ,pdata 
-0060 67f08a09 store 1 ,core_clkpll_cfg6 
-0061 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-0062 2000003c nop 60 
-0063 708a1600 jam 0 ,core_syn_en 
-0064 708a1706 jam 6 ,core_rx_en0 
-0065 2040611a call read_adc_mode 
-0066 67f08a97 store 1 ,core_gpadc_ctrl 
-0067 7080dc03 jam 0x03 ,core_sum_ctrl 
-0068 2000003c nop 60 
-0069 6ff08053 fetch 1 ,core_sum_en 
-006a 79207e07 set1 7 ,pdata 
-006b 67f08053 store 1 ,core_sum_en 
-006c 200003e8 nop 1000 
-006d 6ff10150 fetch 2 ,core_adc_sum 
-006e 67e144a2 store 2 ,mem_adc_current_value 
-006f 6ff08053 fetch 1 ,core_sum_en 
-0070 793ffe07 set0 7 ,pdata 
-0071 67f08053 store 1 ,core_sum_en 
-0072 708a9700 jam 0 ,core_gpadc_ctrl 
-0073 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0074 20600000 rtn 
+005b 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+005c 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+005d 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+005e 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+005f 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0060 79207e07 set1 7 ,pdata 
+0061 67f08a09 store 1 ,core_clkpll_cfg6 
+0062 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0063 2000003c nop 60 
+0064 708a1600 jam 0 ,core_syn_en 
+0065 708a1706 jam 6 ,core_rx_en0 
+0066 2040611a call read_adc_mode 
+0067 67f08a97 store 1 ,core_gpadc_ctrl 
+0068 7080dc03 jam 0x03 ,core_sum_ctrl 
+0069 2000003c nop 60 
+006a 6ff08053 fetch 1 ,core_sum_en 
+006b 79207e07 set1 7 ,pdata 
+006c 67f08053 store 1 ,core_sum_en 
+006d 200003e8 nop 1000 
+006e 6ff10150 fetch 2 ,core_adc_sum 
+006f 67e144a2 store 2 ,mem_adc_current_value 
+0070 6ff08053 fetch 1 ,core_sum_en 
+0071 793ffe07 set0 7 ,pdata 
+0072 67f08053 store 1 ,core_sum_en 
+0073 708a9700 jam 0 ,core_gpadc_ctrl 
+0074 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0075 20600000 rtn 
 
 p_app_evt_100ms_loop:
-0075 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0076 207a0000 rtn blank 
-0077 1fe0ffff increase -1 ,pdata 
-0078 67e0830d store 1 ,mem_app_evt_timer_count 
-0079 204077c5 call ui_button_polling 
-007a 204031e3 call app_lpm_wake_auto_lock_timer 
-007b 204031a4 call app_unsniff_delay_timer 
-007c 204031aa call app_discovery_timer 
-007d 20405cdc call flash_write_spi_sm_timer 
-007e 6fe1446f fetch 2 ,mem_cb_event_timer 
-007f 20407e05 call callback_func 
-0080 20200075 branch p_app_evt_100ms_loop 
+0076 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0077 207a0000 rtn blank 
+0078 1fe0ffff increase -1 ,pdata 
+0079 67e0830d store 1 ,mem_app_evt_timer_count 
+007a 204077c5 call ui_button_polling 
+007b 204031e3 call app_lpm_wake_auto_lock_timer 
+007c 204031a4 call app_unsniff_delay_timer 
+007d 204031aa call app_discovery_timer 
+007e 20405cdc call flash_write_spi_sm_timer 
+007f 6fe1446f fetch 2 ,mem_cb_event_timer 
+0080 20407e05 call callback_func 
+0081 20200076 branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-0081 204012d1 call init_lpm_ctrl 
-0082 20000064 nop 100 
-0083 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0084 2040126a call initialize_syn_afc_cfg1 
-0085 20401271 call initialize_rf_ldo_cfg1 
-0086 20401277 call initialize_rc_cal 
-0087 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0088 708a0305 jam 5 ,core_clkpll_cfg0 
-0089 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-008a 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-008b 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-008c 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-008d 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-008e 70892140 jam 0x40 ,core_rx_ctrl1 
-008f 2020125d branch initialize_radio_cont + 8 
+0082 204012d1 call init_lpm_ctrl 
+0083 20000064 nop 100 
+0084 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0085 2040126a call initialize_syn_afc_cfg1 
+0086 20401271 call initialize_rf_ldo_cfg1 
+0087 20401277 call initialize_rc_cal 
+0088 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0089 708a0305 jam 5 ,core_clkpll_cfg0 
+008a 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+008b 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+008c 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+008d 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+008e 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+008f 70892140 jam 0x40 ,core_rx_ctrl1 
+0090 2020125d branch initialize_radio_cont + 8 
 
 p_le_enable:
-0090 204016a6 call le_enable + 1 
-0091 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-0092 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
-0093 1fe1fe0f or pdata ,0x0f ,pdata 
-0094 67f08a43 store 1 ,core_syn_cal_ctrl 
-0095 20600000 rtn 
+0091 204016a6 call le_enable + 1 
+0092 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0093 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+0094 1fe1fe0f or pdata ,0x0f ,pdata 
+0095 67f08a43 store 1 ,core_syn_cal_ctrl 
+0096 20600000 rtn 
 
 p_init_param:
-0096 70008000 jam 0 ,mem_lmo_tid2 
-0097 202013b7 branch init_param_next + 1 
+0097 70008000 jam 0 ,mem_lmo_tid2 
+0098 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-0098 20406df3 call enable_authrom 
-0099 204000a9 call p_mouse_setting_config 
-009a 204041a7 call mouse_init_sunt 
-009b 20758000 rtn wake 
-009c 2040021c call p_mouse_dpi_config 
-009d 20403d8a call mouse_usb_check_enable 
-009e 20404728 call mouse_drawing_optima_init 
-009f 204000ca call p_mouse_cb_fuction 
-00a0 2040025f call p_mouse_sensor_powerdown 
-00a1 204002b1 call p_mouse_mode_24g_device_multi_led_on 
+0099 20406df3 call enable_authrom 
+009a 204000a9 call p_mouse_setting_config 
+009b 204041a7 call mouse_init_sunt 
+009c 20758000 rtn wake 
+009d 2040021d call p_mouse_dpi_config 
+009e 20403d8a call mouse_usb_check_enable 
+009f 20404728 call mouse_drawing_optima_init 
+00a0 204000ca call p_mouse_cb_fuction 
+00a1 20400260 call p_mouse_sensor_powerdown 
 00a2 20203bc9 branch mouse_init + 8 
 
 p_mouse_wheel_set_wakeup:
@@ -334,7 +334,7 @@
 010f 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 0110 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 0111 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0112 2020025f branch p_mouse_sensor_powerdown 
+0112 20200260 branch p_mouse_sensor_powerdown 
 
 p_g24_dispatch:
 0113 c61a0000 rtnmark1 mark_adc_enable 
@@ -481,7 +481,7 @@
 
 p_mouse_wakeup_24g:
 0182 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0183 245a0236 ncall p_mouse_init_sensor_wakeup ,blank 
+0183 245a0237 ncall p_mouse_init_sensor_wakeup ,blank 
 0184 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
 0185 245a00a3 ncall p_mouse_wheel_set_wakeup ,blank 
 0186 704be100 jam 0 ,mem_sensor_shutdown_flag 
@@ -514,8 +514,8 @@
 0199 58000006 setarg pan_reg_config 
 019a 20405b0d call twspi_read 
 019b c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-019c 20400258 call p_mouse_sensor_reset 
-019d 2040025f call p_mouse_sensor_powerdown 
+019c 20400259 call p_mouse_sensor_reset 
+019d 20400260 call p_mouse_sensor_powerdown 
 019e 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
@@ -557,7 +557,7 @@
 01be 58000000 setarg 0 
 01bf 67e3c8d0 store 7 ,mem_mouse_key 
 01c0 704be101 jam 1 ,mem_sensor_shutdown_flag 
-01c1 2040025f call p_mouse_sensor_powerdown 
+01c1 20400260 call p_mouse_sensor_powerdown 
 01c2 20200158 branch p_g24_long_sleep 
 
 p_mouse_priority_bb_event:
@@ -595,11 +595,11 @@
 01dc 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-01dd 204002a3 call p_mouse_discovey_led_blink_off 
+01dd 204002a4 call p_mouse_discovey_led_blink_off 
 01de 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-01df 204002a3 call p_mouse_discovey_led_blink_off 
+01df 204002a4 call p_mouse_discovey_led_blink_off 
 01e0 6fe2483c fetch 4 ,mem_24g_addr 
 01e1 67e24891 store 4 ,mem_24g_receiver_addr 
 01e2 67e24993 store 4 ,mem_mouse_24g_addr 
@@ -613,7 +613,7 @@
 01e8 c00101ed beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
 01e9 c00201fc beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
 01ea c0018203 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-01eb 204002a3 call p_mouse_multi_led_blink_off 
+01eb 204002a4 call p_mouse_multi_led_blink_off 
 01ec 2020483a branch mouse_24g_attempt_fail_enter_hibernate + 1 
 
 p_mouse_24g_fast_conn_attempt_fail:
@@ -630,11 +630,11 @@
 01f5 67e14887 store 2 ,mem_24g_reconn_timeout 
 01f6 20404576 call mouse_stop_discovery 
 01f7 2040498e call mouse_low_voltage_led_blink_disable 
-01f8 2040028c call p_mouse_discovery_multi_led_blink 
+01f8 2040028d call p_mouse_discovery_multi_led_blink 
 01f9 2020482e branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_start_auto_pair:
-01fa 2040028c call p_mouse_discovery_multi_led_blink 
+01fa 2040028d call p_mouse_discovery_multi_led_blink 
 01fb 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_auto_pair_attempt_fail:
@@ -645,7 +645,7 @@
 0200 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0201 204002a3 call p_mouse_multi_led_blink_off 
+0201 204002a4 call p_mouse_multi_led_blink_off 
 0202 202001ba branch p_mouse_24g_hibernate_set 
 
 p_mouse_reconn_dongle_attempt_fail:
@@ -658,655 +658,688 @@
 p_mouse_start_work:
 0208 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 0209 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-020a 6fe0c938 fetch 1 ,mem_device_flag 
-020b c0000210 beq mode_24g_device ,p_mouse_24g_start_mode 
-020c 20404110 call mouse_key_check_once 
-020d 1a217e07 and rega ,0x07 ,pdata 
-020e c00281f1 beq mouse_lm_button ,p_mouse_24g_start_pair_mode 
-020f 20203d57 branch mouse_start_work + 5 
+020a 20404110 call mouse_key_check_once 
+020b 1a217e07 and rega ,0x07 ,pdata 
+020c c00281f1 beq mouse_lm_button ,p_mouse_24g_start_pair_mode 
+020d 204002b2 call p_mouse_mode_24g_device_multi_led_on 
+020e 6fe0c938 fetch 1 ,mem_device_flag 
+020f c0000211 beq mode_24g_device ,p_mouse_24g_start_mode 
+0210 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0210 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0211 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0212 20403d65 call mouse_wakeup_from_power_check 
-0213 20344806 branch mouse_24g_reconn_dongle_start ,user 
-0214 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0215 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0216 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0217 20404110 call mouse_key_check_once 
-0218 1a217e07 and rega ,0x07 ,pdata 
-0219 202047ff branch mouse_24g_start_mode + 9 
+0211 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0212 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0213 20403d65 call mouse_wakeup_from_power_check 
+0214 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0215 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0216 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0217 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0218 20404110 call mouse_key_check_once 
+0219 1a217e07 and rega ,0x07 ,pdata 
+021a 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-021a 2040408f call mouse_setting_dpi_4_level 
-021b 2040022a call p_mouse_dpi_led_blink_delay 
+021b 2040408f call mouse_setting_dpi_4_level 
+021c 2040022b call p_mouse_dpi_led_blink_delay 
 
 p_mouse_dpi_config:
 
 p_mouse_seting_sensor_type:
-021c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-021d c001c0bb beq p3212 ,mouse_seting_3212_dpi 
-021e c0058225 beq ka8g2 ,p_mouse_seting_ka8g2_dpi 
-021f c000409b beq p3205 ,mouse_seting_sensor_type + 3 
-0220 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0221 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
-0222 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
-0223 c00140a6 beq mouse_dpi_level3 ,mouse_set_cpi3 
-0224 202040a0 branch mouse_set_cpi1 
+021d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+021e c001c0bb beq p3212 ,mouse_seting_3212_dpi 
+021f c0058226 beq ka8g2 ,p_mouse_seting_ka8g2_dpi 
+0220 c000409b beq p3205 ,mouse_seting_sensor_type + 3 
+0221 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0222 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0223 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0224 c00140a6 beq mouse_dpi_level3 ,mouse_set_cpi3 
+0225 202040a0 branch mouse_set_cpi1 
 
 p_mouse_seting_ka8g2_dpi:
-0225 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0226 c00040d6 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
-0227 c000c0d4 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
-0228 c00140d8 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
-0229 202040d4 branch mouse_set_pka8g2_cpi1 
+0226 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0227 c00040d6 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
+0228 c000c0d4 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
+0229 c00140d8 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
+022a 202040d4 branch mouse_set_pka8g2_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-022a 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-022b 247a0000 nrtn blank 
-022c 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-022d 247a0000 nrtn blank 
-022e 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-022f 247a0000 nrtn blank 
-0230 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0231 203a02c9 branch p_mouse_dpi_led_blink_init ,blank 
-0232 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0233 20600000 rtn 
+022b 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+022c 247a0000 nrtn blank 
+022d 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+022e 247a0000 nrtn blank 
+022f 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0230 247a0000 nrtn blank 
+0231 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0232 203a02ca branch p_mouse_dpi_led_blink_init ,blank 
+0233 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0234 20600000 rtn 
 
 p_mouse_init_sunt:
-0234 20403f65 call mouse_sensor_spi_init 
-0235 20758000 rtn wake 
+0235 20403f65 call mouse_sensor_spi_init 
+0236 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-0236 20404236 call mouse_sensor_poweron 
+0237 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-0237 204041b5 call mouse_read_sensor_id 
-0238 c018023e beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0239 c018c217 beq p3065_id1 ,mouse_init_p3065 
-023a c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-023b 204041b2 call mouse_twspi_reset 
-023c 20001af4 nop 6900 
-023d 20200237 branch p_mouse_init_sensor 
+0238 204041b5 call mouse_read_sensor_id 
+0239 c018023f beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+023a c018c217 beq p3065_id1 ,mouse_init_p3065 
+023b c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+023c 204041b2 call mouse_twspi_reset 
+023d 20001af4 nop 6900 
+023e 20200238 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-023e 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-023f c02d0247 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0240 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-0241 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0242 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-0243 c00141ea beq p3212_id2 ,mouse_3212_init_param 
-0244 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-0245 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-0246 20200237 branch p_mouse_init_sensor 
+023f 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0240 c02d0248 beq p_mx8650 ,p_mouse_mx8650_init_param 
+0241 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+0242 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0243 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0244 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+0245 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+0246 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+0247 20200238 branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-0247 70492705 jam mx8650 ,mem_config_sensor_type 
-0248 20404232 call mouse_sensor_reset 
-0249 20407d12 call delay_10ms 
-024a da604be6 arg mem_sensor_8650_init_new ,regc 
-024b 2040422b call mouse_sensor_wr_seq 
-024c 2020021c branch p_mouse_dpi_config 
+0248 70492705 jam mx8650 ,mem_config_sensor_type 
+0249 20404232 call mouse_sensor_reset 
+024a 20407d12 call delay_10ms 
+024b da604be6 arg mem_sensor_8650_init_new ,regc 
+024c 2040422b call mouse_sensor_wr_seq 
+024d 2020021d branch p_mouse_dpi_config 
 
 p_mouse_sensor_poweron:
-024d 20403f65 call mouse_sensor_spi_init 
-024e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-024f c0058254 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0250 20404232 call mouse_sensor_reset 
-0251 da604aa3 arg mem_sensor_poweron_init ,regc 
-0252 2040422b call mouse_sensor_wr_seq 
-0253 2020021c branch p_mouse_dpi_config 
+024e 20403f65 call mouse_sensor_spi_init 
+024f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0250 c0058255 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0251 20404232 call mouse_sensor_reset 
+0252 da604aa3 arg mem_sensor_poweron_init ,regc 
+0253 2040422b call mouse_sensor_wr_seq 
+0254 2020021d branch p_mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-0254 2040025b call p_mouse_ka8g2_sensor_reset 
-0255 da604c0e arg mem_ka8g2_sensor_poweron_init ,regc 
-0256 2040422b call mouse_sensor_wr_seq 
-0257 2020021c branch p_mouse_dpi_config 
+0255 2040025c call p_mouse_ka8g2_sensor_reset 
+0256 da604c0e arg mem_ka8g2_sensor_poweron_init ,regc 
+0257 2040422b call mouse_sensor_wr_seq 
+0258 2020021d branch p_mouse_dpi_config 
 
 p_mouse_sensor_reset:
-0258 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0259 c005825b beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-025a 20204232 branch mouse_sensor_reset 
+0259 6fe0c927 fetch 1 ,mem_config_sensor_type 
+025a c005825c beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+025b 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-025b 58009706 setarg 0x9706 
-025c 20405b0c call twspi_write 
-025d 20002ee0 nop 12000 
-025e 20600000 rtn 
+025c 58009706 setarg 0x9706 
+025d 20405b0c call twspi_write 
+025e 20002ee0 nop 12000 
+025f 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-025f 204041a7 call mouse_init_sunt 
-0260 20403f65 call mouse_sensor_spi_init 
-0261 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0262 c0058265 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0263 58000806 setarg 0x0806 
-0264 20205b0c branch twspi_write 
+0260 204041a7 call mouse_init_sunt 
+0261 20403f65 call mouse_sensor_spi_init 
+0262 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0263 c0058266 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0264 58000806 setarg 0x0806 
+0265 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-0265 58001f06 setarg 0x1f06 
-0266 20205b0c branch twspi_write 
+0266 58001f06 setarg 0x1f06 
+0267 20205b0c branch twspi_write 
 
 p_mouse_bb_event_timer:
-0267 20403e9b call mouse_adc_read 
-0268 20400381 call p_mouse_low_voltage_led_timer 
-0269 2040232b call g24_pair_timeout_timer 
-026a 20402556 call g24_reconn_timeout_timer 
-026b 204047cd call mouse_24g_long_sleep_param_update_timer 
-026c 204002c6 call p_mouse_dpi_led_blink_delay_timer 
-026d 2040027e call p_mouse_multi_led_blink_timer 
-026e 204002b8 call p_mouse_multi_led_enable_delay_timer 
-026f 2040407c call mouse_dpi_key_check_long_press 
-0270 204044cc call mouse_bt_discovery_check 
-0271 204002dc call p_mouse_commbination_key_process 
-0272 204044ff call mouse_check_discovery_timeout_timer 
-0273 20404504 call mouse_check_direct_timeout_timer 
-0274 20404512 call mouse_le_enable_att_list_timer 
-0275 2040451f call mouse_le_battery_updata_timer 
-0276 20404515 call mouse_le_send_smp_security_request_timer 
-0277 2040452a call mouse_check_hid_handshake_timer 
-0278 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0279 20404532 call mouse_check_reconnect_delay_long_sleep 
-027a 20404535 call mouse_current_mult_update_timer 
-027b 20404022 call mouse_wheel_trigger_timer 
-027c 20404547 call mouse_store_information_delay_timer 
-027d 202002be branch p_mouse_check_no_data_timeout_timer 
+0268 20403e9b call mouse_adc_read 
+0269 20400398 call p_mouse_low_voltage_led_timer 
+026a 2040232b call g24_pair_timeout_timer 
+026b 20402556 call g24_reconn_timeout_timer 
+026c 204047cd call mouse_24g_long_sleep_param_update_timer 
+026d 204002c7 call p_mouse_dpi_led_blink_delay_timer 
+026e 2040027f call p_mouse_multi_led_blink_timer 
+026f 204002b9 call p_mouse_multi_led_enable_delay_timer 
+0270 204002dd call p_mouse_dpi_key_check_long_press 
+0271 204044cc call mouse_bt_discovery_check 
+0272 204002e9 call p_mouse_commbination_key_process 
+0273 204044ff call mouse_check_discovery_timeout_timer 
+0274 20404504 call mouse_check_direct_timeout_timer 
+0275 20404512 call mouse_le_enable_att_list_timer 
+0276 2040451f call mouse_le_battery_updata_timer 
+0277 20404515 call mouse_le_send_smp_security_request_timer 
+0278 2040452a call mouse_check_hid_handshake_timer 
+0279 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+027a 20404532 call mouse_check_reconnect_delay_long_sleep 
+027b 20404535 call mouse_current_mult_update_timer 
+027c 20404022 call mouse_wheel_trigger_timer 
+027d 20404547 call mouse_store_information_delay_timer 
+027e 202002bf branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_multi_led_blink_timer:
-027e 6fe0cc16 fetch 1 ,mem_mouse_multi_led_blink_enable 
-027f 207a0000 rtn blank 
-0280 6fe0cc19 fetch 1 ,mem_mouse_multi_led_type 
-0281 c0008293 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+027f 6fe0cc16 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0280 207a0000 rtn blank 
+0281 6fe0cc19 fetch 1 ,mem_mouse_multi_led_type 
+0282 c0008294 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-0282 204002a0 call p_mouse_multi_led_on 
-0283 6fe0cc1a fetch 1 ,mem_mouse_multi_led_on_timer 
-0284 1fe0fe01 increase 1 ,pdata 
-0285 67e0cc1a store 1 ,mem_mouse_multi_led_on_timer 
-0286 6848cc1b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-0287 98467c00 isub temp ,null 
-0288 2042828a call p_mouse_multi_led_off_poweron2s ,zero 
-0289 20600000 rtn 
+0283 204002a1 call p_mouse_multi_led_on 
+0284 6fe0cc1a fetch 1 ,mem_mouse_multi_led_on_timer 
+0285 1fe0fe01 increase 1 ,pdata 
+0286 67e0cc1a store 1 ,mem_mouse_multi_led_on_timer 
+0287 6848cc1b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+0288 98467c00 isub temp ,null 
+0289 2042828b call p_mouse_multi_led_off_poweron2s ,zero 
+028a 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-028a 704c2000 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-028b 202002a5 branch p_mouse_multi_led_off 
+028b 704c2000 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+028c 202002a6 branch p_mouse_multi_led_off 
 
 p_mouse_discovery_multi_led_blink:
-028c 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+028d 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_discovery_multi_led_blink1:
-028d 704c1f00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-028e 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
+028e 704c1f00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+028f 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-028f 704c1d05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0290 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
-0291 704c1901 jam multi_led_blink ,mem_mouse_multi_led_type 
-0292 20600000 rtn 
+0290 704c1d05 jam 5 ,mem_mouse_multi_led_blink_timer 
+0291 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
+0292 704c1901 jam multi_led_blink ,mem_mouse_multi_led_type 
+0293 20600000 rtn 
 
 p_mouse_multi_led_type_blink:
-0293 da604c1d arg mem_mouse_multi_led_blink_timer ,regc 
-0294 da400296 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0295 2020318a branch timer_single_step 
+0294 da604c1d arg mem_mouse_multi_led_blink_timer ,regc 
+0295 da400297 arg p_mouse_multi_led_type_blink_timeout ,regb 
+0296 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0296 6fe0cc1c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0297 67e0cc1d store 1 ,mem_mouse_multi_led_blink_timer 
-0298 6fe0cc1f fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0299 203a029e branch p_mouse_multi_led_blink_count_no_limited ,blank 
-029a 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
-029b 203a02a3 branch p_mouse_multi_led_blink_off ,blank 
-029c 1fe0ffff increase -1 ,pdata 
-029d 67e0cc1e store 1 ,mem_mouse_multi_led_blink_count 
+0297 6fe0cc1c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0298 67e0cc1d store 1 ,mem_mouse_multi_led_blink_timer 
+0299 6fe0cc1f fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+029a 203a029f branch p_mouse_multi_led_blink_count_no_limited ,blank 
+029b 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
+029c 203a02a4 branch p_mouse_multi_led_blink_off ,blank 
+029d 1fe0ffff increase -1 ,pdata 
+029e 67e0cc1e store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-029e 6fe0cc18 fetch 1 ,mem_mouse_multi_led_state 
-029f c00082a5 beq on ,p_mouse_multi_led_off 
+029f 6fe0cc18 fetch 1 ,mem_mouse_multi_led_state 
+02a0 c00082a6 beq on ,p_mouse_multi_led_off 
 
 p_mouse_multi_led_on:
-02a0 704c1801 jam on ,mem_mouse_multi_led_state 
-02a1 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02a2 20206069 branch gpio_out_active 
+02a1 704c1801 jam on ,mem_mouse_multi_led_state 
+02a2 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02a3 20206069 branch gpio_out_active 
 
 p_mouse_discovey_led_blink_off:
 
 p_mouse_multi_led_blink_off:
-02a3 58000000 setarg 0 
-02a4 67e1cc1d store 3 ,mem_mouse_multi_led_blink_timer 
+02a4 58000000 setarg 0 
+02a5 67e1cc1d store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-02a5 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
-02a6 243a02a9 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-02a7 704c1600 jam 0 ,mem_mouse_multi_led_blink_enable 
-02a8 704c1900 jam 0 ,mem_mouse_multi_led_type 
+02a6 6fe0cc1e fetch 1 ,mem_mouse_multi_led_blink_count 
+02a7 243a02aa nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+02a8 704c1600 jam 0 ,mem_mouse_multi_led_blink_enable 
+02a9 704c1900 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-02a9 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
-02aa 704c1800 jam off ,mem_mouse_multi_led_state 
+02aa 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
+02ab 704c1800 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_multi_led_gpio_set_high:
-02ab 6fe0cc17 fetch 1 ,mem_mouse_multi_led_gpio 
-02ac c00182af beq ice_reuse_gpio ,p_mouse_multi_led_gpio_config_input 
-02ad 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02ae 20206065 branch gpio_out_inactive 
+02ac 6fe0cc17 fetch 1 ,mem_mouse_multi_led_gpio 
+02ad c00182b0 beq ice_reuse_gpio ,p_mouse_multi_led_gpio_config_input 
+02ae 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02af 20206065 branch gpio_out_inactive 
 
 p_mouse_multi_led_gpio_config_input:
-02af 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
-02b0 20203f56 branch mouse_gpio_config_input_pu 
+02b0 6848cc17 fetcht 1 ,mem_mouse_multi_led_gpio 
+02b1 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-02b1 704c2103 jam 3 ,mem_mouse_led_enable_delay_timer 
-02b2 20600000 rtn 
+02b2 704c2103 jam 3 ,mem_mouse_led_enable_delay_timer 
+02b3 20600000 rtn 
 
 p_mouse_mode_24g_device_multi_led_on_enable:
-02b3 704c2001 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-02b4 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
-02b5 704c1900 jam multi_led_on ,mem_mouse_multi_led_type 
-02b6 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
-02b7 20600000 rtn 
+02b4 704c2001 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+02b5 704c1601 jam on ,mem_mouse_multi_led_blink_enable 
+02b6 704c1900 jam multi_led_on ,mem_mouse_multi_led_type 
+02b7 704c1a00 jam 0 ,mem_mouse_multi_led_on_timer 
+02b8 20600000 rtn 
 
 p_mouse_multi_led_enable_delay_timer:
-02b8 da604c21 arg mem_mouse_led_enable_delay_timer ,regc 
-02b9 da4002b3 arg p_mouse_mode_24g_device_multi_led_on_enable ,regb 
-02ba 2020318a branch timer_single_step 
+02b9 da604c21 arg mem_mouse_led_enable_delay_timer ,regc 
+02ba da4002b4 arg p_mouse_mode_24g_device_multi_led_on_enable ,regb 
+02bb 2020318a branch timer_single_step 
 
 p_mouse_dpi_multi_led_blink:
-02bb 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
-02bc 704c1f01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-02bd 2020028f branch p_mouse_multi_led_blink_enable 
+02bc 704c1c02 jam 2 ,mem_mouse_multi_led_blink_timer_init 
+02bd 704c1f01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+02be 20200290 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_check_no_data_timeout_timer:
-02be 6fe0c92a fetch 1 ,mem_usb_addr 
-02bf c3838000 rtnbit1 7 
-02c0 da604ab2 arg mem_mouse_no_data_timer ,regc 
-02c1 da4002c3 arg p_mouse_check_no_data_timeout ,regb 
-02c2 20203191 branch timer_single_step_2b 
+02bf 6fe0c92a fetch 1 ,mem_usb_addr 
+02c0 c3838000 rtnbit1 7 
+02c1 da604ab2 arg mem_mouse_no_data_timer ,regc 
+02c2 da4002c4 arg p_mouse_check_no_data_timeout ,regb 
+02c3 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-02c3 6fe0c938 fetch 1 ,mem_device_flag 
-02c4 c00001ba beq mode_24g_device ,p_mouse_24g_hibernate_set 
-02c5 2020431b branch mouse_disconnect 
+02c4 6fe0c938 fetch 1 ,mem_device_flag 
+02c5 c00001ba beq mode_24g_device ,p_mouse_24g_hibernate_set 
+02c6 2020431b branch mouse_disconnect 
 
 p_mouse_dpi_led_blink_delay_timer:
-02c6 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-02c7 da4002c9 arg p_mouse_dpi_led_blink_init ,regb 
-02c8 2020318a branch timer_single_step 
+02c7 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+02c8 da4002ca arg p_mouse_dpi_led_blink_init ,regb 
+02c9 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-02c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ca c28e02cf bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_led_blink_four_level 
+02ca 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02cb c28e02d0 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_led_blink_four_level 
 
 p_mouse_dpi_led_blink_three_level:
-02cb 6fe0c992 fetch 1 ,mem_mouse_dpi 
-02cc c00002d6 beq 0 ,p_mouse_dpi_led_blink_twice 
-02cd c00082d8 beq 1 ,p_mouse_dpi_led_blink_thrice 
-02ce 202002d4 branch p_mouse_dpi_led_blink_once 
+02cc 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02cd c00002d7 beq 0 ,p_mouse_dpi_led_blink_twice 
+02ce c00082d9 beq 1 ,p_mouse_dpi_led_blink_thrice 
+02cf 202002d5 branch p_mouse_dpi_led_blink_once 
 
 p_mouse_dpi_led_blink_four_level:
-02cf 6fe0c992 fetch 1 ,mem_mouse_dpi 
-02d0 c00002d8 beq 0 ,p_mouse_dpi_led_blink_thrice 
-02d1 c00082da beq 1 ,p_mouse_dpi_led_blink_quartic 
-02d2 c00102d4 beq 2 ,p_mouse_dpi_led_blink_once 
-02d3 202002d6 branch p_mouse_dpi_led_blink_twice 
+02d0 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02d1 c00002d9 beq 0 ,p_mouse_dpi_led_blink_thrice 
+02d2 c00082db beq 1 ,p_mouse_dpi_led_blink_quartic 
+02d3 c00102d5 beq 2 ,p_mouse_dpi_led_blink_once 
+02d4 202002d7 branch p_mouse_dpi_led_blink_twice 
 
 p_mouse_dpi_led_blink_once:
-02d4 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
-02d5 202002bb branch p_mouse_dpi_multi_led_blink 
+02d5 704c1e01 jam 1 ,mem_mouse_multi_led_blink_count 
+02d6 202002bc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_twice:
-02d6 704c1e03 jam 3 ,mem_mouse_multi_led_blink_count 
-02d7 202002bb branch p_mouse_dpi_multi_led_blink 
+02d7 704c1e03 jam 3 ,mem_mouse_multi_led_blink_count 
+02d8 202002bc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_thrice:
-02d8 704c1e05 jam 5 ,mem_mouse_multi_led_blink_count 
-02d9 202002bb branch p_mouse_dpi_multi_led_blink 
+02d9 704c1e05 jam 5 ,mem_mouse_multi_led_blink_count 
+02da 202002bc branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_dpi_led_blink_quartic:
-02da 704c1e07 jam 7 ,mem_mouse_multi_led_blink_count 
-02db 202002bb branch p_mouse_dpi_multi_led_blink 
+02db 704c1e07 jam 7 ,mem_mouse_multi_led_blink_count 
+02dc 202002bc branch p_mouse_dpi_multi_led_blink 
+
+p_mouse_dpi_key_check_long_press:
+02dd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02de c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+02df c29b02e1 bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_mouse_discovery_by_dpi_button 
+02e0 20600000 rtn 
+
+p_mouse_discovery_by_dpi_button:
+02e1 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
+02e2 c1808000 rtnne dpi_button_state_down 
+02e3 da604b9b arg mem_bt_discovery_count ,regc 
+02e4 da4002e6 arg p_mouse_long_dpi_button_bt_discovery ,regb 
+02e5 2020318a branch timer_single_step 
+
+p_mouse_long_dpi_button_bt_discovery:
+02e6 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
+
+p_mouse_long_button_bt_discovery:
+02e7 70493801 jam mode_bt_device1 ,mem_device_flag 
+02e8 202044d6 branch mouse_long_button_bt_discovery + 2 
 
 p_mouse_commbination_key_process:
-02dc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02dd c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-02de 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-02df 202002e3 branch p_mouse_commbination_key_start 
+02e9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ea c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+02eb 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+02ec 202002f0 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-02e0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02e1 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-02e2 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+02ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ee c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+02ef 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-02e3 6048cb9d storet 1 ,mem_mouse_commbination_key 
-02e4 20404115 call mouse_check_key_gpio 
-02e5 1fe17e07 and pdata ,0x07 ,pdata 
-02e6 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-02e7 98467c00 isub temp ,null 
-02e8 202282ea branch p_mouse_commbination_key_down ,zero 
-02e9 202044eb branch mouse_commbination_key_up 
+02f0 6048cb9d storet 1 ,mem_mouse_commbination_key 
+02f1 20404115 call mouse_check_key_gpio 
+02f2 1fe17e07 and pdata ,0x07 ,pdata 
+02f3 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+02f4 98467c00 isub temp ,null 
+02f5 202282f7 branch p_mouse_commbination_key_down ,zero 
+02f6 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-02ea 204002ef call p_mouse_combination_ui_timer 
-02eb 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-02ec c1008000 rtneq commbination_key_state_down 
-02ed 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-02ee 20600000 rtn 
+02f7 204002fc call p_mouse_combination_ui_timer 
+02f8 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+02f9 c1008000 rtneq commbination_key_state_down 
+02fa 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+02fb 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-02ef da604ba0 arg mem_combination_ui_button_count ,regc 
-02f0 da4002f2 arg p_mouse_combination_ui_timeout ,regb 
-02f1 2020318a branch timer_single_step 
+02fc da604ba0 arg mem_combination_ui_button_count ,regc 
+02fd da4002ff arg p_mouse_combination_ui_timeout ,regb 
+02fe 2020318a branch timer_single_step 
 
 p_mouse_combination_ui_timeout:
-02f2 70493801 jam mode_bt_device1 ,mem_device_flag 
-02f3 204046e2 call mouse_bt_discovery_button_down_enable 
-02f4 202044d6 branch mouse_long_button_bt_discovery + 2 
+02ff 70493801 jam mode_bt_device1 ,mem_device_flag 
+0300 204046e2 call mouse_bt_discovery_button_down_enable 
+0301 202044d6 branch mouse_long_button_bt_discovery + 2 
 
 p_mouse_start_discovery:
-02f5 6fe1478c fetch 2 ,mem_ui_state_map 
-02f6 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-02f7 2040c581 call mouse_stop_le_adv ,true 
-02f8 6fe1478c fetch 2 ,mem_ui_state_map 
-02f9 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-02fa 2040c322 call mouse_cancel_reconnect ,true 
-02fb 2040028c call p_mouse_discovery_multi_led_blink 
-02fc 20204554 branch mouse_start_discovery + 1 
+0302 6fe1478c fetch 2 ,mem_ui_state_map 
+0303 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0304 2040c581 call mouse_stop_le_adv ,true 
+0305 6fe1478c fetch 2 ,mem_ui_state_map 
+0306 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0307 2040c322 call mouse_cancel_reconnect ,true 
+0308 2040028d call p_mouse_discovery_multi_led_blink 
+0309 20204554 branch mouse_start_discovery + 1 
+
+p_mouse_stop_discovery:
+030a d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+030b 204046f4 call mouse_disable_function_flag 
+030c 704ac400 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
+030d 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+030e 2feffe01 isolate1 mode_4_mouse ,pdata 
+030f 2040c581 call mouse_stop_le_adv ,true 
+0310 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+0311 2feffe00 isolate1 mode_3_mouse ,pdata 
+0312 2040c583 call mouse_stop_bt3_discovery ,true 
+0313 202002a4 branch p_mouse_discovey_led_blink_off 
 
 p_ui_timer_check:
-02fd 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-02fe 245a7861 ncall ui_timer_init ,blank 
-02ff 704be200 jam 0 ,mem_power_on_flag 
-0300 20207851 branch ui_timer_check + 1 
+0314 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0315 245a7861 ncall ui_timer_init ,blank 
+0316 704be200 jam 0 ,mem_power_on_flag 
+0317 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0301 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0302 1fe20c00 copy pdata ,contr 
-0303 efe08006 ifetch 1 ,contr 
-0304 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0305 1fe1040f and pdata ,0x0f ,temp 
-0306 1ff1fe00 rshift4 pdata ,pdata 
-0307 c0048309 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0308 20204d93 branch hid_rx_process + 7 
+0318 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0319 1fe20c00 copy pdata ,contr 
+031a efe08006 ifetch 1 ,contr 
+031b 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+031c 1fe1040f and pdata ,0x0f ,temp 
+031d 1ff1fe00 rshift4 pdata ,pdata 
+031e c0048320 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+031f 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0309 da200001 arg 1 ,rega 
-030a 20404dc0 call hid_malloc_tx_buff 
-030b 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-030c e7e10005 istore 2 ,contw 
-030d 58000000 setarg 0 
-030e e7e08005 istore 1 ,contw 
-030f 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0310 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0311 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0312 67e0c4e2 store 1 ,mem_hid_control_state 
-0313 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0314 20207871 branch ui_ipc_send_event 
+0320 da200001 arg 1 ,rega 
+0321 20404dc0 call hid_malloc_tx_buff 
+0322 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0323 e7e10005 istore 2 ,contw 
+0324 58000000 setarg 0 
+0325 e7e08005 istore 1 ,contw 
+0326 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0327 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0328 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0329 67e0c4e2 store 1 ,mem_hid_control_state 
+032a 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+032b 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0315 6fe0c3dd fetch 1 ,mem_le_md_count 
-0316 1fe0fe01 pincrease 1 
-0317 67e0c3dd store 1 ,mem_le_md_count 
-0318 c006165a beq le_md_max_count ,le_slave_cont 
-0319 2040191b call le_acknowledge 
-031a 2040196a call le_prepare_tx 
-031b 6fe082bd fetch 1 ,mem_le_tx_phy 
-031c 2040168b call le_enable_phy_by_pdata 
-031d 20401838 call le_transmit 
-031e 20201655 branch le_slave_match + 10 
+032c 6fe0c3dd fetch 1 ,mem_le_md_count 
+032d 1fe0fe01 pincrease 1 
+032e 67e0c3dd store 1 ,mem_le_md_count 
+032f c006165a beq le_md_max_count ,le_slave_cont 
+0330 2040191b call le_acknowledge 
+0331 2040196a call le_prepare_tx 
+0332 6fe082bd fetch 1 ,mem_le_tx_phy 
+0333 2040168b call le_enable_phy_by_pdata 
+0334 20401838 call le_transmit 
+0335 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-031f efe10006 ifetch 2 ,contr 
-0320 c0020322 beq le_l2cap_cid_att ,p_le_parse_att 
-0321 202019e4 branch le_parse_l2cap + 10 
+0336 efe10006 ifetch 2 ,contr 
+0337 c0020339 beq le_l2cap_cid_att ,p_le_parse_att 
+0338 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0322 efe18006 ifetch 3 ,contr 
-0323 67e1c436 store 3 ,mem_le_att_opcode 
-0324 c0090326 beq attop_write_request ,p_le_parse_att_write_request 
-0325 20201cd3 branch le_parse_att + 2 
+0339 efe18006 ifetch 3 ,contr 
+033a 67e1c436 store 3 ,mem_le_att_opcode 
+033b c009033d beq attop_write_request ,p_le_parse_att_write_request 
+033c 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-0326 18c22200 copy contr ,rega 
-0327 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0328 1fe0a5fd add pdata ,-3 ,regb 
-0329 20401a25 call le_writeatt_cb 
-032a 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-032b c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-032c 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-032d 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-032e 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-032f c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0330 5800001a setarg 0x001a 
-0331 68494437 fetcht 2 ,mem_le_att_handle 
-0332 98467c00 isub temp ,null 
-0333 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0334 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0335 20201ec9 branch le_send_att_error_response 
+033d 18c22200 copy contr ,rega 
+033e 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+033f 1fe0a5fd add pdata ,-3 ,regb 
+0340 20401a25 call le_writeatt_cb 
+0341 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0342 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0343 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0344 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0345 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0346 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0347 5800001a setarg 0x001a 
+0348 68494437 fetcht 2 ,mem_le_att_handle 
+0349 98467c00 isub temp ,null 
+034a 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+034b 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+034c 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0336 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0337 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0338 78347c00 enable user 
-0339 20401465 call lpo_calibration 
-033a 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-033b 203a7e56 branch disable_user ,blank 
-033c 6fe0c099 fetch 1 ,mem_lpm_mode 
-033d 203a7e56 branch disable_user ,blank 
+034d 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+034e 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+034f 78347c00 enable user 
+0350 20401465 call lpo_calibration 
+0351 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0352 203a7e56 branch disable_user ,blank 
+0353 6fe0c099 fetch 1 ,mem_lpm_mode 
+0354 203a7e56 branch disable_user ,blank 
 
 p_g24_setgpio_lpm_before:
-033e 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
-033f 20207e05 branch callback_func 
+0355 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
+0356 20207e05 branch callback_func 
 
 p_mouse_motion:
-0340 78547c00 disable user 
-0341 58000000 setarg 0 
-0342 67e348d1 store 6 ,mem_mouse_x 
-0343 20404240 call mouse_check_sensor_data 
-0344 2040021c call p_mouse_dpi_config 
-0345 20403f7e call mouse_zwheel 
-0346 20403f83 call mouse_t_zwheel 
-0347 204040dc call mouse_key 
-0348 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0349 1fe17e1f and_into 0x1f ,pdata 
-034a 67e0c8d0 store 1 ,mem_mouse_key 
-034b 24344728 nbranch mouse_drawing_optima_init ,user 
-034c 2040034e call p_mouse_drawing_optima 
-034d 20204544 branch mouse_no_data_timer_init 
+0357 78547c00 disable user 
+0358 58000000 setarg 0 
+0359 67e348d1 store 6 ,mem_mouse_x 
+035a 20404240 call mouse_check_sensor_data 
+035b 2040021d call p_mouse_dpi_config 
+035c 20403f7e call mouse_zwheel 
+035d 20403f83 call mouse_t_zwheel 
+035e 204040dc call mouse_key 
+035f 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0360 1fe17e1f and_into 0x1f ,pdata 
+0361 67e0c8d0 store 1 ,mem_mouse_key 
+0362 24344728 nbranch mouse_drawing_optima_init ,user 
+0363 20400365 call p_mouse_drawing_optima 
+0364 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-034e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034f c41c0000 rtnbit0 mouse_enable_smoother 
-0350 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0351 c1018000 rtneq p3212 
-0352 c1000000 rtneq p3205 
-0353 6fe248d1 fetch 4 ,mem_mouse_x 
-0354 207a0000 rtn blank 
-0355 204047bd call mouse_data_abs_check 
-0356 58000006 setarg 0x06 
-0357 204047b3 call mouse_pdata_greater_than_check 
-0358 205a47af call mouse_disable_asm ,blank 
-0359 245a47b1 ncall mouse_enable_asm ,blank 
-035a 58000004 setarg 0x04 
-035b 204047b8 call mouse_data_less_than_check 
-035c 205a47af call mouse_disable_asm ,blank 
-035d 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
-035e c000c72d beq 1 ,mouse_drawing_optima_modify 
-035f 20204728 branch mouse_drawing_optima_init 
+0365 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0366 c41c0000 rtnbit0 mouse_enable_smoother 
+0367 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0368 c1018000 rtneq p3212 
+0369 c1000000 rtneq p3205 
+036a 6fe248d1 fetch 4 ,mem_mouse_x 
+036b 207a0000 rtn blank 
+036c 204047bd call mouse_data_abs_check 
+036d 58000006 setarg 0x06 
+036e 204047b3 call mouse_pdata_greater_than_check 
+036f 205a47af call mouse_disable_asm ,blank 
+0370 245a47b1 ncall mouse_enable_asm ,blank 
+0371 58000004 setarg 0x04 
+0372 204047b8 call mouse_data_less_than_check 
+0373 205a47af call mouse_disable_asm ,blank 
+0374 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
+0375 c000c72d beq 1 ,mouse_drawing_optima_modify 
+0376 20204728 branch mouse_drawing_optima_init 
 
 p_mouse_adc_read_start:
-0360 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0361 247a0000 nrtn blank 
-0362 2040005a call p_enable_adc 
-0363 7048f600 jam 0 ,mem_adc_read_timer 
-0364 20406125 call vdd_calculate_by_mode 
-0365 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-0366 d8400012 arg 0x0012 ,temp 
-0367 98467c00 isub temp ,null 
-0368 24210379 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-0369 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-036a c0810371 bne adc_config_gpio ,p_mouse_adc_data_process 
-036b 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-036c 184ffe08 mul32 temp ,8 ,pdata 
-036d 1fe6fc0a div pdata ,10 
-036e 20407dec call get_div_result 
-036f 9840fe00 iadd temp ,pdata 
-0370 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0377 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0378 247a0000 nrtn blank 
+0379 2040005b call p_enable_adc 
+037a 7048f600 jam 0 ,mem_adc_read_timer 
+037b 20406125 call vdd_calculate_by_mode 
+037c 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+037d d8400012 arg 0x0012 ,temp 
+037e 98467c00 isub temp ,null 
+037f 24210390 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+0380 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+0381 c0810388 bne adc_config_gpio ,p_mouse_adc_data_process 
+0382 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+0383 184ffe08 mul32 temp ,8 ,pdata 
+0384 1fe6fc0a div pdata ,10 
+0385 20407dec call get_div_result 
+0386 9840fe00 iadd temp ,pdata 
+0387 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-0371 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0372 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0373 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0374 c2813f1a bbit1 2 ,mouse_adc_button_press 
-0375 c280bf1c bbit1 1 ,mouse_power_down 
-0376 c300037b bbit0 0 ,p_mouse_adc_no_low_voltage 
-0377 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0378 20203ece branch mouse_adc_low_voltage 
+0388 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0389 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+038a 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+038b c2813f1a bbit1 2 ,mouse_adc_button_press 
+038c c280bf1c bbit1 1 ,mouse_power_down 
+038d c3000392 bbit0 0 ,p_mouse_adc_no_low_voltage 
+038e 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+038f 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-0379 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-037a 20403f54 call mouse_gpio_config_input_pd 
+0390 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+0391 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_adc_no_low_voltage:
-037b d8e00004 arg mouse_low_voltage_flag ,queue 
-037c 204046f4 call mouse_disable_function_flag 
-037d 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-037e 207a0000 rtn blank 
-037f 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0380 202002a5 branch p_mouse_multi_led_off 
+0392 d8e00004 arg mouse_low_voltage_flag ,queue 
+0393 204046f4 call mouse_disable_function_flag 
+0394 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0395 207a0000 rtn blank 
+0396 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0397 202002a6 branch p_mouse_multi_led_off 
 
 p_mouse_low_voltage_led_timer:
-0381 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0382 247a0000 nrtn blank 
-0383 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0384 247a0000 nrtn blank 
-0385 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0386 247a0000 nrtn blank 
-0387 20404904 call mouse_check_dpi_blink 
-0388 20740000 rtn user 
-0389 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-038a c4108000 rtnbit0 mouse_enable_low_voltage_led 
-038b c4020000 rtnbit0 mouse_low_voltage_flag 
-038c c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-038d 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-038e 1fe0fe01 increase 1 ,pdata 
-038f 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0390 1fe67c32 sub pdata ,50 ,null 
-0391 24410395 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0392 c00f02a0 beq 30 ,p_mouse_multi_led_on 
-0393 c01382a5 beq 39 ,p_mouse_multi_led_off 
-0394 20600000 rtn 
+0398 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0399 247a0000 nrtn blank 
+039a 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+039b 247a0000 nrtn blank 
+039c 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+039d 247a0000 nrtn blank 
+039e 20404904 call mouse_check_dpi_blink 
+039f 20740000 rtn user 
+03a0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03a1 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+03a2 c4020000 rtnbit0 mouse_low_voltage_flag 
+03a3 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+03a4 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+03a5 1fe0fe01 increase 1 ,pdata 
+03a6 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+03a7 1fe67c32 sub pdata ,50 ,null 
+03a8 244103ac ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+03a9 c00f02a1 beq 30 ,p_mouse_multi_led_on 
+03aa c01382a6 beq 39 ,p_mouse_multi_led_off 
+03ab 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0395 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0396 202002a5 branch p_mouse_multi_led_off 
+03ac 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+03ad 202002a6 branch p_mouse_multi_led_off 
 
 p_mouse_check_key_gpio:
-0397 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0398 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0399 da200000 arg 0 ,rega 
-039a 204003a0 call p_mouse_check_lkey_gpio 
-039b 204003a5 call p_mouse_check_rkey_gpio 
-039c 204003aa call p_mouse_check_mkey_gpio 
-039d 204003af call p_mouse_check_bkkey_gpio 
-039e 204003bc call p_mouse_check_fwkey_gpio 
-039f 2020411e branch mouse_check_key_gpio_next 
+03ae 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+03af 245a4121 ncall mouse_check_key_gpio_once ,blank 
+03b0 da200000 arg 0 ,rega 
+03b1 204003b7 call p_mouse_check_lkey_gpio 
+03b2 204003bc call p_mouse_check_rkey_gpio 
+03b3 204003c1 call p_mouse_check_mkey_gpio 
+03b4 204003c6 call p_mouse_check_bkkey_gpio 
+03b5 204003d3 call p_mouse_check_fwkey_gpio 
+03b6 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-03a0 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-03a1 204003c9 call p_mouse_gpio_config_output_high 
-03a2 20404124 call mouse_check_lkey_gpio 
-03a3 6848c918 fetcht 1 ,mem_lbutton_gpio 
-03a4 20203f56 branch mouse_gpio_config_input_pu 
+03b7 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+03b8 204003e0 call p_mouse_gpio_config_output_high 
+03b9 20404124 call mouse_check_lkey_gpio 
+03ba 6848c918 fetcht 1 ,mem_lbutton_gpio 
+03bb 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-03a5 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-03a6 204003c9 call p_mouse_gpio_config_output_high 
-03a7 2040412a call mouse_check_rkey_gpio 
-03a8 6848c919 fetcht 1 ,mem_rbutton_gpio 
-03a9 20203f56 branch mouse_gpio_config_input_pu 
+03bc 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+03bd 204003e0 call p_mouse_gpio_config_output_high 
+03be 2040412a call mouse_check_rkey_gpio 
+03bf 6848c919 fetcht 1 ,mem_rbutton_gpio 
+03c0 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-03aa 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-03ab 204003c9 call p_mouse_gpio_config_output_high 
-03ac 20404130 call mouse_check_mkey_gpio 
-03ad 6848c91a fetcht 1 ,mem_mbutton_gpio 
-03ae 20203f56 branch mouse_gpio_config_input_pu 
+03c1 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03c2 204003e0 call p_mouse_gpio_config_output_high 
+03c3 20404130 call mouse_check_mkey_gpio 
+03c4 6848c91a fetcht 1 ,mem_mbutton_gpio 
+03c5 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-03af 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03b0 c17f8000 rtneq gpio_disable 
-03b1 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-03b2 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-03b3 1fe22600 copy pdata ,regc 
-03b4 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03b5 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03b6 c07f83b8 beq gpio_disable ,p_mouse_3io6key_bk_check 
-03b7 2020413e branch mouse_check_bkkey_gpio_next 
+03c6 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03c7 c17f8000 rtneq gpio_disable 
+03c8 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+03c9 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+03ca 1fe22600 copy pdata ,regc 
+03cb 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03cc 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03cd c07f83cf beq gpio_disable ,p_mouse_3io6key_bk_check 
+03ce 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-03b8 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03b9 204003cb call p_mouse_gpio_config_output_low 
-03ba 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03bb 2020414b branch mouse_3io6key_bk_check 
+03cf 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03d0 204003e2 call p_mouse_gpio_config_output_low 
+03d1 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03d2 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03bc 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03bd c17f8000 rtneq gpio_disable 
-03be 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03bf 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03c0 1fe22600 copy pdata ,regc 
-03c1 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c2 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03c3 c07f83c5 beq gpio_disable ,p_mouse_3io6key_fw_check 
-03c4 20204157 branch mouse_check_fwkey_gpio_next 
+03d3 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03d4 c17f8000 rtneq gpio_disable 
+03d5 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+03d6 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+03d7 1fe22600 copy pdata ,regc 
+03d8 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03d9 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03da c07f83dc beq gpio_disable ,p_mouse_3io6key_fw_check 
+03db 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03c5 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03c6 204003cb call p_mouse_gpio_config_output_low 
-03c7 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c8 20204164 branch mouse_3io6key_fw_check 
+03dc 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03dd 204003e2 call p_mouse_gpio_config_output_low 
+03de 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03df 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03c9 d840003f arg gpcfg_output_high ,temp 
-03ca 20206093 branch gpio_config_function_int 
+03e0 d840003f arg gpcfg_output_high ,temp 
+03e1 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03cb d840003e arg gpcfg_output_low ,temp 
-03cc 20206093 branch gpio_config_function_int 
+03e2 d840003e arg gpcfg_output_low ,temp 
+03e3 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-03cd 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03ce 20407936 call ui_check_paring_button 
-03cf 204003d1 call p_mouse_dpi_check 
-03d0 2020464f branch mouse_idle + 4 
+03e4 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03e5 20407936 call ui_check_paring_button 
+03e6 204003e8 call p_mouse_dpi_check 
+03e7 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03d2 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03d3 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03d4 c17f8000 rtneq gpio_disable 
-03d5 da200000 arg 0 ,rega 
-03d6 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03d7 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03d8 204003da call p_mouse_dpi_key_check 
-03d9 2020402f branch mouse_dpi_check_next 
+03e8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03e9 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03ea 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03eb c17f8000 rtneq gpio_disable 
+03ec da200000 arg 0 ,rega 
+03ed 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+03ee 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03ef 204003f1 call p_mouse_dpi_key_check 
+03f0 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03db c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03dc 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-03dd 1fe22600 copy pdata ,regc 
-03de 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03df c07f83e1 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03e0 2020403f branch mouse_dpi_key_check_next 
+03f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03f2 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03f3 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+03f4 1fe22600 copy pdata ,regc 
+03f5 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03f6 c07f83f8 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03f7 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03e1 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03e2 204003cb call p_mouse_gpio_config_output_low 
-03e3 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03e4 20204195 branch mouse_3io6key_check 
+03f8 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03f9 204003e2 call p_mouse_gpio_config_output_low 
+03fa 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03fb 20204195 branch mouse_3io6key_check 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(revision 794)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(working copy)
@@ -24,6 +24,7 @@
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
 	beq patch1b_2,p_mouse_start_discovery
+	beq patch1b_3,p_mouse_stop_discovery
 	beq patch1b_6,p_mouse_idle
 	beq patch1d_0,p_hid_rx_process
 	branch loop
@@ -224,7 +225,6 @@
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
 	call p_mouse_sensor_powerdown
-	call p_mouse_mode_24g_device_multi_led_on
 	branch mouse_init+8
 
 p_mouse_wheel_set_wakeup:
@@ -691,11 +691,12 @@
 p_mouse_start_work:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_start_auto_pair_mode
-	fetch 1,mem_device_flag
-	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
 	call mouse_key_check_once
 	and rega,0x07,pdata
 	beq MOUSE_LM_BUTTON,p_mouse_24g_start_pair_mode
+	call p_mouse_mode_24g_device_multi_led_on
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
 	branch mouse_start_work+5
 
 p_mouse_24g_start_mode:
@@ -826,7 +827,7 @@
 	call p_mouse_multi_led_blink_timer
 	call p_mouse_multi_led_enable_delay_timer
 
-	call mouse_dpi_key_check_long_press
+	call p_mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
 	call p_mouse_commbination_key_process
 	call mouse_check_discovery_timeout_timer
@@ -864,7 +865,7 @@
 	branch p_mouse_multi_led_off
 
 p_mouse_discovery_multi_led_blink:
-	jam 2,mem_mouse_multi_led_blink_timer_init	//300ms
+	jam 2,mem_mouse_multi_led_blink_timer_init	//200ms
 p_mouse_discovery_multi_led_blink1:	
 	jam 0,mem_mouse_multi_led_blink_count_limited
 	jam 1,mem_mouse_multi_led_blink_count//0 will clear mem_mouse_multi_led_blink_enable/mem_mouse_multi_led_type
@@ -1016,6 +1017,22 @@
 	branch p_mouse_dpi_multi_led_blink
 	
 /////////////////////////////////////////////////////////////////////////////////////////////////
+p_mouse_dpi_key_check_long_press:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_select_device_by_dpi_button
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,p_mouse_discovery_by_dpi_button
+	rtn
+p_mouse_discovery_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_bt_discovery_count,regc
+	arg p_mouse_long_dpi_button_bt_discovery,regb
+	branch timer_single_step
+p_mouse_long_dpi_button_bt_discovery:
+	jam 1,mem_mouse_dpi_long_press_flag
+p_mouse_long_button_bt_discovery:
+	jam MODE_BT_DEVICE1,mem_device_flag
+	branch mouse_long_button_bt_discovery+2
 
 p_mouse_commbination_key_process:
 //	fetch 1,mem_device_flag
@@ -1066,6 +1083,18 @@
 	call p_mouse_discovery_multi_led_blink
 	branch mouse_start_discovery+1
 
+p_mouse_stop_discovery:
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_disable_function_flag
+	jam 0,mem_mouse_bluetooth_reconnect_timeout
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_stop_le_adv,true
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse_stop_bt3_discovery,true
+	branch p_mouse_discovey_led_blink_off
+
 
 p_ui_timer_check:		// 100ms timer will return 4 or 5 times when power on
 	fetch 1,mem_power_on_flag
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/sched/mouse.dat	(revision 794)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/sched/mouse.dat	(working copy)
@@ -179,7 +179,7 @@
 mem_mouse_page_to:00 40		# 16384*0.625ms=10s
 mem_mouse_fast_direct_timeout:0a #1s
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
-mem_mouse_24g_power_on_fast_conn_timer:05 00 #500ms
+mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
 mem_mouse_24g_search_dongle_time_init: 64 00
 mem_mouse_no_data_timeout:70 17 #10min
 
@@ -201,7 +201,7 @@
 mem_adc_channel:05 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
 mem_mouse_vdd_full_vol:05 01		#1.5V
 9f 00#mem_mouse_vdd_empty_vol  :0.9V
-b1 00#mem_mouse_vdd_low_vol   :1.0V
+ca 00#mem_mouse_vdd_low_vol   :1.1V
 #mem_mouse_vdd_full_vol:3c 01		#3.3V
 #1e 01#mem_mouse_vdd_empty_vol  :3.0V
 #30 01#mem_mouse_vdd_low_vol   :3.2V
