Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/format/app_mouse.format	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/format/app_mouse.format	(working copy)
@@ -331,7 +331,7 @@
 1 mem_sensor_angle_connect_vin
 
 38 mem_sensor_8650_init_new
-
+2 mem_24g_pair_count
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/eeprom.dat	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/eeprom.dat	(working copy)
@@ -2,84 +2,92 @@
 02
 aa
 55
-7e
-08
+5a
+09
 c2
 84
 00
-14
+16
 c0
 00
 00
-1b
+20
 c0
 01
 80
-1f
+24
+c0
+41
+80
+48
+c0
+45
+00
+31
 c0
 45
 80
-64
+7d
 c0
 4f
 80
-6f
+90
 c0
 57
 00
-71
+92
 c0
 58
 00
-58
+71
 c0
 61
 81
-33
+6a
 c0
 63
-80
-fe
+81
+35
 c0
 64
 81
-02
+39
 c0
 65
 01
-0d
+44
 c0
 66
-01
-ed
+02
+24
 c0
 67
-01
-e7
+02
+1e
 c0
 68
 01
-42
+79
 c0
 69
 81
-53
+8a
 c0
 6b
 01
-16
+4d
 c0
 6c
 81
-6c
+a3
 c0
 6d
 01
-a4
+db
 c0
 74
 01
-af
+e6
 20
 20
 13
@@ -87,27 +95,39 @@
 c0
 19
 80
-38
+51
 c0
 1a
 00
-3d
+56
 c0
 43
 81
-ab
+e2
 c0
 50
 81
-c3
+fa
+c0
+54
+80
+8a
+c0
+71
+00
+e4
+c0
+74
+80
+eb
 c0
 75
 00
-c3
+f2
 c0
 76
-01
-e4
+02
+1b
 20
 20
 13
@@ -175,11 +195,55 @@
 20
 40
 00
-2c
+3c
 20
 20
 08
 13
+6f
+e0
+c1
+e8
+c0
+01
+92
+2d
+c0
+02
+92
+38
+c0
+03
+12
+3b
+c0
+03
+92
+3b
+c0
+05
+12
+3b
+c0
+41
+92
+3e
+c0
+42
+92
+41
+c0
+4a
+12
+44
+c0
+4f
+12
+47
+20
+20
+12
+28
 20
 40
 14
@@ -207,7 +271,7 @@
 20
 3a
 00
-35
+45
 6f
 e0
 c6
@@ -228,6 +292,42 @@
 20
 14
 ea
+70
+89
+00
+05
+20
+00
+00
+02
+70
+89
+00
+00
+6f
+e0
+c0
+c5
+c0
+0c
+11
+68
+c0
+04
+00
+4f
+20
+20
+11
+68
+70
+8a
+87
+29
+20
+20
+11
+7d
 da
 20
 09
@@ -403,7 +503,7 @@
 20
 20
 00
-58
+71
 70
 8a
 8b
@@ -444,10 +544,42 @@
 8a
 83
 90
+70
+8a
+85
+00
+70
+89
+21
+40
 20
 20
 12
 5d
+20
+40
+16
+a6
+70
+8a
+6d
+89
+6f
+f0
+8a
+43
+1f
+e1
+fe
+0f
+67
+f0
+8a
+43
+20
+60
+00
+00
 70
 00
 80
@@ -463,11 +595,11 @@
 20
 40
 00
-7b
+9c
 20
 40
 00
-83
+a4
 20
 40
 41
@@ -491,7 +623,7 @@
 20
 40
 00
-a4
+c5
 20
 20
 3b
@@ -575,7 +707,7 @@
 20
 40
 00
-90
+b1
 20
 20
 3b
@@ -615,7 +747,7 @@
 24
 20
 80
-9a
+bb
 20
 20
 3f
@@ -643,7 +775,7 @@
 20
 20
 80
-a1
+c2
 20
 20
 3f
@@ -663,7 +795,7 @@
 58
 00
 00
-a7
+c8
 67
 e1
 48
@@ -691,7 +823,7 @@
 c3
 0a
 80
-ae
+cf
 6f
 e0
 cb
@@ -711,7 +843,7 @@
 c2
 80
 80
-bd
+de
 68
 48
 c7
@@ -784,18 +916,74 @@
 20
 26
 e1
+6f
+e1
+4c
+0c
+1f
+e0
+fe
+01
+67
+e1
+4c
+0c
+6f
+e0
+cc
+0c
+1f
+e1
+7e
+ff
+c0
+00
+23
+41
+20
+60
+00
+00
+6f
+e1
+48
+89
+1f
+e1
+7e
+ff
+c0
+00
+25
+81
+6f
+e1
+48
+89
+1f
+e0
+fe
+01
+67
+e1
+48
+89
+20
+60
+00
+00
 20
 40
 26
 31
 24
 34
-00
-d2
+01
+01
 20
 40
-00
-e6
+01
+15
 20
 40
 26
@@ -807,7 +995,7 @@
 24
 3a
 00
-cd
+fc
 6f
 e4
 48
@@ -850,8 +1038,8 @@
 a7
 20
 5a
-00
-d8
+01
+07
 6f
 e0
 c8
@@ -923,7 +1111,7 @@
 20
 20
 00
-c5
+f4
 70
 48
 a6
@@ -950,20 +1138,20 @@
 51
 24
 2c
-00
-f5
+01
+24
 24
 37
-80
-f5
+81
+24
 20
 40
 26
 72
 20
 40
-00
-f1
+01
+20
 20
 20
 26
@@ -975,7 +1163,7 @@
 24
 5a
 01
-55
+8c
 70
 4b
 e1
@@ -1009,7 +1197,7 @@
 c8
 a4
 c2
-82
+81
 26
 79
 20
@@ -1017,9 +1205,41 @@
 26
 7e
 20
+40
+01
+2e
+20
+20
+01
+16
+6f
+e0
+c8
+a4
+1f
+e6
+7c
+01
+20
+61
+00
+00
+df
 20
 00
-e7
+64
+20
+00
+2e
+e0
+c2
+00
+7d
+13
+20
+60
+00
+00
 58
 00
 00
@@ -1123,15 +1343,15 @@
 c0
 1e
 01
-2e
+65
 c0
 19
 01
-1b
+52
 c0
 22
 01
-22
+59
 20
 20
 43
@@ -1143,7 +1363,7 @@
 c0
 00
 81
-1f
+56
 70
 4b
 76
@@ -1247,7 +1467,7 @@
 c0
 00
 01
-38
+6f
 20
 20
 3d
@@ -1299,7 +1519,7 @@
 20
 40
 01
-45
+7c
 20
 20
 40
@@ -1351,7 +1571,7 @@
 20
 3a
 01
-7a
+b1
 67
 e0
 cb
@@ -1379,7 +1599,7 @@
 c0
 18
 01
-5d
+94
 c0
 18
 c2
@@ -1399,7 +1619,7 @@
 20
 20
 01
-56
+8d
 6f
 e0
 c9
@@ -1407,7 +1627,7 @@
 c0
 2d
 01
-66
+9d
 c0
 6c
 41
@@ -1435,7 +1655,7 @@
 20
 20
 01
-56
+8d
 70
 49
 27
@@ -1467,7 +1687,7 @@
 20
 40
 02
-08
+3f
 20
 40
 23
@@ -1487,7 +1707,7 @@
 20
 40
 01
-77
+ae
 20
 40
 40
@@ -1499,7 +1719,7 @@
 20
 40
 01
-8f
+c6
 20
 20
 44
@@ -1511,7 +1731,7 @@
 da
 40
 01
-7a
+b1
 20
 20
 31
@@ -1567,11 +1787,11 @@
 20
 41
 01
-89
+c0
 24
 41
 01
-8d
+c4
 20
 20
 48
@@ -1607,7 +1827,7 @@
 c0
 00
 01
-95
+cc
 6f
 e4
 4b
@@ -1623,7 +1843,7 @@
 20
 20
 01
-98
+cf
 6f
 e4
 4b
@@ -1659,7 +1879,7 @@
 20
 22
 81
-9f
+d6
 20
 20
 44
@@ -1755,7 +1975,7 @@
 c0
 04
 81
-b7
+ee
 20
 20
 4d
@@ -1854,8 +2074,8 @@
 06
 c0
 02
-01
-d0
+02
+07
 20
 20
 19
@@ -1870,8 +2090,8 @@
 36
 c0
 09
-01
-d4
+02
+0b
 20
 20
 1c
@@ -1987,7 +2207,7 @@
 20
 40
 00
-3d
+56
 70
 48
 f6
@@ -2011,15 +2231,15 @@
 24
 21
 02
-06
+3d
 6f
 e0
 c4
 a0
 c0
 81
-01
-fe
+02
+35
 68
 49
 48
@@ -2176,8 +2396,8 @@
 60
 00
 00
-5f
-d5
+d6
+ad
 aa
 55
 40
@@ -2200,8 +2420,8 @@
 00
 00
 00
-00
 08
+0c
 00
 80
 00
@@ -2237,15 +2457,15 @@
 00
 00
 02
+02
 00
 00
 00
 00
 00
 00
-00
-00
-14
+04
+16
 00
 00
 aa
@@ -2262,7 +2482,7 @@
 7a
 41
 88
-1f
+10
 ce
 aa
 55
@@ -2640,8 +2860,8 @@
 00
 a8
 40
-16
-a0
+32
+58
 c8
 12
 23
@@ -3413,230 +3633,10 @@
 aa
 aa
 55
-a8
+81
 79
-04
-d2
-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
-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
-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
+49
+c9
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-d4
-d2
+42
+42
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/memmap.format	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/memmap.format	(working copy)
@@ -2208,6 +2208,7 @@
 0x4be4 mem_sensor_angle_high_impedance
 0x4be5 mem_sensor_angle_connect_vin
 0x4be6 mem_sensor_8650_init_new
+0x4c0c mem_24g_pair_count
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/program.lis	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/output/program.lis	(working copy)
@@ -1,688 +1,759 @@
               include "bt_format "
               org 0x0000
-0000 c2840014 bbit1 8 ,pf_patch_ext 
-0001 c000001b beq patch00_0 ,p_soft_reset 
-0002 c001801f beq patch00_3 ,p_main_loop 
-0003 c0458064 beq patch11_3 ,p_initialize_radio_cont 
-0004 c04f806f beq patch13_7 ,p_init_param 
-0005 c0570071 beq patch15_6 ,p_app_init 
-0006 c0580058 beq patch16_0 ,p_app_evt_100ms_loop 
-0007 c0618133 beq patch18_3 ,p_mouse_start_work 
-0008 c06380fe beq patch18_7 ,p_mouse_app_enter_hibernate 
-0009 c0648102 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c065010d beq patch19_2 ,p_mouse_lpm_before_common 
-000b c06601ed beq patch19_4 ,p_mouse_adc_read_start 
-000c c06701e7 beq patch19_6 ,p_mouse_motion 
-000d c0680142 beq patch1a_0 ,p_mouse_seting_dpi 
-000e c0698153 beq patch1a_3 ,p_mouse_init_sunt 
-000f c06b0116 beq patch1a_6 ,p_mouse_priority_bb_event 
-0010 c06c816c beq patch1b_1 ,p_mouse_bb_event_timer 
-0011 c06d01a4 beq patch1b_2 ,p_mouse_start_discovery 
-0012 c07401af beq patch1d_0 ,p_hid_rx_process 
-0013 2020137c branch loop 
+0000 c2840016 bbit1 8 ,pf_patch_ext 
+0001 c0000020 beq patch00_0 ,p_soft_reset 
+0002 c0018024 beq patch00_3 ,p_main_loop 
+0003 c0418048 beq patch10_3 ,p_set_sync_on 
+0004 c0450031 beq patch11_2 ,p_txon_next 
+0005 c045807d beq patch11_3 ,p_initialize_radio_cont 
+0006 c04f8090 beq patch13_7 ,p_init_param 
+0007 c0570092 beq patch15_6 ,p_app_init 
+0008 c0580071 beq patch16_0 ,p_app_evt_100ms_loop 
+0009 c061816a beq patch18_3 ,p_mouse_start_work 
+000a c0638135 beq patch18_7 ,p_mouse_app_enter_hibernate 
+000b c0648139 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c0650144 beq patch19_2 ,p_mouse_lpm_before_common 
+000d c0660224 beq patch19_4 ,p_mouse_adc_read_start 
+000e c067021e beq patch19_6 ,p_mouse_motion 
+000f c0680179 beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c069818a beq patch1a_3 ,p_mouse_init_sunt 
+0011 c06b014d beq patch1a_6 ,p_mouse_priority_bb_event 
+0012 c06c81a3 beq patch1b_1 ,p_mouse_bb_event_timer 
+0013 c06d01db beq patch1b_2 ,p_mouse_start_discovery 
+0014 c07401e6 beq patch1d_0 ,p_hid_rx_process 
+0015 2020137c branch loop 
 
 pf_patch_ext:
-0014 c0198038 beq patch26_3 ,p_adc_init_data 
-0015 c01a003d beq patch26_4 ,p_enable_adc 
-0016 c04381ab beq patch30_7 ,p_ui_timer_check 
-0017 c05081c3 beq patch34_1 ,p_le_slave_match 
-0018 c07500c3 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0019 c07601e4 beq patch3d_4 ,p_g24_lpm_wait 
-001a 2020137c branch loop 
+0016 c0198051 beq patch26_3 ,p_adc_init_data 
+0017 c01a0056 beq patch26_4 ,p_enable_adc 
+0018 c04381e2 beq patch30_7 ,p_ui_timer_check 
+0019 c05081fa beq patch34_1 ,p_le_slave_match 
+001a c054808a beq patch35_1 ,p_le_enable 
+001b c07100e4 beq patch3c_2 ,p_g24_pair_dispatch 
+001c c07480eb beq patch3d_1 ,p_g24_reconn_dispatch 
+001d c07500f2 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+001e c076021b beq patch3d_4 ,p_g24_lpm_wait 
+001f 2020137c branch loop 
 
 p_soft_reset:
-001b 20800000 clear_stack 
-001c 204030f3 call app_param_init 
-001d 20403bfd call mouse_xtal_init 
-001e 20200804 branch soft_reset + 3 
+0020 20800000 clear_stack 
+0021 204030f3 call app_param_init 
+0022 20403bfd call mouse_xtal_init 
+0023 20200804 branch soft_reset + 3 
 
 p_main_loop:
-001f 2040706c call sp_calc_sequence 
-0020 20407597 call sp_calc_sequence_256 
-0021 20406ea7 call sp_calc_sequence_256_check 
-0022 20401b93 call le_advertising_dispatch + 1 
-0023 2040083a call idle_dispatch 
-0024 20403108 call app_process_idle + 1 
-0025 20400892 call inquiry_dispatch + 1 
-0026 20400b08 call inquiry_scan_dispatch + 1 
-0027 20400b7b call page_scan_dispatch + 1 
-0028 20400823 call connection_dispatch + 1 
-0029 204021d3 call g24_dispatch + 2 
-002a 2040002c call p_lpm_dispatch 
-002b 20200813 branch main_loop 
+0024 2040706c call sp_calc_sequence 
+0025 20407597 call sp_calc_sequence_256 
+0026 20406ea7 call sp_calc_sequence_256_check 
+0027 20401b93 call le_advertising_dispatch + 1 
+0028 2040083a call idle_dispatch 
+0029 20403108 call app_process_idle + 1 
+002a 20400892 call inquiry_dispatch + 1 
+002b 20400b08 call inquiry_scan_dispatch + 1 
+002c 20400b7b call page_scan_dispatch + 1 
+002d 20400823 call connection_dispatch + 1 
+002e 204021d3 call g24_dispatch + 2 
+002f 2040003c call p_lpm_dispatch 
+0030 20200813 branch main_loop 
+
+p_txon_next:
+0031 6fe0c1e8 fetch 1 ,mem_tx_power 
+0032 c001922d beq tx_power_3db ,set_tx_power_3db 
+0033 c0029238 beq tx_power_5db ,set_tx_power_7db 
+0034 c003123b beq tx_power_6db ,set_tx_power_10db 
+0035 c003923b beq tx_power_7db ,set_tx_power_10db 
+0036 c005123b beq tx_power_10db ,set_tx_power_10db 
+0037 c041923e beq tx_power_f3db ,set_tx_power_f3db 
+0038 c0429241 beq tx_power_f5db ,set_tx_power_f5db 
+0039 c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
+003a c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
+003b 20201228 branch set_tx_power_0db 
 
 p_lpm_dispatch:
-002c 20401465 call lpo_calibration 
-002d 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-002e 207a0000 rtn blank 
-002f 6fe0c099 fetch 1 ,mem_lpm_mode 
-0030 207a0000 rtn blank 
-0031 6fe0c764 fetch 1 ,mem_ssp_enable 
-0032 203a0035 branch p_lpm_dispatch_next ,blank 
-0033 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-0034 207a0000 rtn blank 
+003c 20401465 call lpo_calibration 
+003d 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+003e 207a0000 rtn blank 
+003f 6fe0c099 fetch 1 ,mem_lpm_mode 
+0040 207a0000 rtn blank 
+0041 6fe0c764 fetch 1 ,mem_ssp_enable 
+0042 203a0045 branch p_lpm_dispatch_next ,blank 
+0043 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0044 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0035 6fe0c6ba fetch 1 ,mem_sc_calc 
-0036 247a0000 nrtn blank 
-0037 202014ea branch lpm_dispatch_next + 3 
+0045 6fe0c6ba fetch 1 ,mem_sc_calc 
+0046 247a0000 nrtn blank 
+0047 202014ea branch lpm_dispatch_next + 3 
+
+p_set_sync_on:
+0048 70890005 jam 0x5 ,modem_en 
+0049 20000002 nop 2 
+004a 70890000 jam 0x0 ,modem_en 
+004b 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+004c c00c1168 beq xtal_24m ,set_sync_on_24m 
+004d c004004f beq xtal_16m ,p_set_sync_on_16m 
+004e 20201168 branch set_sync_on_24m 
+
+p_set_sync_on_16m:
+004f 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+0050 2020117d branch set_sync_on_16m 
 
 p_adc_init_data:
-0038 da20099e arg mem_temp_block2 ,rega 
-0039 d840000c arg 12 ,temp 
-003a 58000030 setarg efuse_offset_adc_param 
-003b 20405e63 call efuse_read_data 
-003c 202060bf branch adc_init_data + 6 
+0051 da20099e arg mem_temp_block2 ,rega 
+0052 d840000c arg 12 ,temp 
+0053 58000030 setarg efuse_offset_adc_param 
+0054 20405e63 call efuse_read_data 
+0055 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-003d 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-003e 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-003f 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0040 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-0041 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-0042 79207e07 set1 7 ,pdata 
-0043 67f08a09 store 1 ,core_clkpll_cfg6 
-0044 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-0045 2000003c nop 60 
-0046 708a1600 jam 0 ,core_syn_en 
-0047 708a1706 jam 6 ,core_rx_en0 
-0048 2040611a call read_adc_mode 
-0049 67f08a97 store 1 ,core_gpadc_ctrl 
-004a 7080dc03 jam 0x03 ,core_sum_ctrl 
-004b 2000003c nop 60 
-004c 6ff08053 fetch 1 ,core_sum_en 
-004d 79207e07 set1 7 ,pdata 
-004e 67f08053 store 1 ,core_sum_en 
-004f 200003e8 nop 1000 
-0050 6ff10150 fetch 2 ,core_adc_sum 
-0051 67e144a2 store 2 ,mem_adc_current_value 
-0052 6ff08053 fetch 1 ,core_sum_en 
-0053 793ffe07 set0 7 ,pdata 
-0054 67f08053 store 1 ,core_sum_en 
-0055 708a9700 jam 0 ,core_gpadc_ctrl 
-0056 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0057 20600000 rtn 
+0056 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0057 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0058 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0059 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+005a 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+005b 79207e07 set1 7 ,pdata 
+005c 67f08a09 store 1 ,core_clkpll_cfg6 
+005d 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+005e 2000003c nop 60 
+005f 708a1600 jam 0 ,core_syn_en 
+0060 708a1706 jam 6 ,core_rx_en0 
+0061 2040611a call read_adc_mode 
+0062 67f08a97 store 1 ,core_gpadc_ctrl 
+0063 7080dc03 jam 0x03 ,core_sum_ctrl 
+0064 2000003c nop 60 
+0065 6ff08053 fetch 1 ,core_sum_en 
+0066 79207e07 set1 7 ,pdata 
+0067 67f08053 store 1 ,core_sum_en 
+0068 200003e8 nop 1000 
+0069 6ff10150 fetch 2 ,core_adc_sum 
+006a 67e144a2 store 2 ,mem_adc_current_value 
+006b 6ff08053 fetch 1 ,core_sum_en 
+006c 793ffe07 set0 7 ,pdata 
+006d 67f08053 store 1 ,core_sum_en 
+006e 708a9700 jam 0 ,core_gpadc_ctrl 
+006f 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0070 20600000 rtn 
 
 p_app_evt_100ms_loop:
-0058 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0059 207a0000 rtn blank 
-005a 1fe0ffff increase -1 ,pdata 
-005b 67e0830d store 1 ,mem_app_evt_timer_count 
-005c 204077c5 call ui_button_polling 
-005d 204031e3 call app_lpm_wake_auto_lock_timer 
-005e 204031a4 call app_unsniff_delay_timer 
-005f 204031aa call app_discovery_timer 
-0060 20405cdc call flash_write_spi_sm_timer 
-0061 6fe1446f fetch 2 ,mem_cb_event_timer 
-0062 20407e05 call callback_func 
-0063 20200058 branch p_app_evt_100ms_loop 
+0071 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0072 207a0000 rtn blank 
+0073 1fe0ffff increase -1 ,pdata 
+0074 67e0830d store 1 ,mem_app_evt_timer_count 
+0075 204077c5 call ui_button_polling 
+0076 204031e3 call app_lpm_wake_auto_lock_timer 
+0077 204031a4 call app_unsniff_delay_timer 
+0078 204031aa call app_discovery_timer 
+0079 20405cdc call flash_write_spi_sm_timer 
+007a 6fe1446f fetch 2 ,mem_cb_event_timer 
+007b 20407e05 call callback_func 
+007c 20200071 branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-0064 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0065 2040126a call initialize_syn_afc_cfg1 
-0066 20401271 call initialize_rf_ldo_cfg1 
-0067 20401277 call initialize_rc_cal 
-0068 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0069 708a0305 jam 5 ,core_clkpll_cfg0 
-006a 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-006b 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-006c 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-006d 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-006e 2020125d branch initialize_radio_cont + 8 
+007d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+007e 2040126a call initialize_syn_afc_cfg1 
+007f 20401271 call initialize_rf_ldo_cfg1 
+0080 20401277 call initialize_rc_cal 
+0081 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0082 708a0305 jam 5 ,core_clkpll_cfg0 
+0083 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0084 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0085 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0086 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0087 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0088 70892140 jam 0x40 ,0x8921 
+0089 2020125d branch initialize_radio_cont + 8 
+
+p_le_enable:
+008a 204016a6 call le_enable + 1 
+008b 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+008c 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+008d 1fe1fe0f or pdata ,0x0f ,pdata 
+008e 67f08a43 store 1 ,core_syn_cal_ctrl 
+008f 20600000 rtn 
 
 p_init_param:
-006f 70008000 jam 0 ,mem_lmo_tid2 
-0070 202013b7 branch init_param_next + 1 
+0090 70008000 jam 0 ,mem_lmo_tid2 
+0091 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-0071 20406df3 call enable_authrom 
-0072 2040007b call p_mouse_wheel_set_wakeup 
-0073 20400083 call p_mouse_setting_config 
-0074 204041a7 call mouse_init_sunt 
-0075 20758000 rtn wake 
-0076 2040408e call mouse_dpi_config 
-0077 20403d8a call mouse_usb_check_enable 
-0078 20404728 call mouse_drawing_optima_init 
-0079 204000a4 call p_mouse_cb_fuction 
-007a 20203bc8 branch mouse_init + 7 
+0092 20406df3 call enable_authrom 
+0093 2040009c call p_mouse_wheel_set_wakeup 
+0094 204000a4 call p_mouse_setting_config 
+0095 204041a7 call mouse_init_sunt 
+0096 20758000 rtn wake 
+0097 2040408e call mouse_dpi_config 
+0098 20403d8a call mouse_usb_check_enable 
+0099 20404728 call mouse_drawing_optima_init 
+009a 204000c5 call p_mouse_cb_fuction 
+009b 20203bc8 branch mouse_init + 7 
 
 p_mouse_wheel_set_wakeup:
-007b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-007c 207a0000 rtn blank 
-007d 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-007e d8400040 arg gpcfg_pullup ,temp 
-007f 20406093 call gpio_config_function_int 
-0080 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0081 d8400040 arg gpcfg_pullup ,temp 
-0082 20206093 branch gpio_config_function_int 
+009c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+009d 207a0000 rtn blank 
+009e 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+009f d8400040 arg gpcfg_pullup ,temp 
+00a0 20406093 call gpio_config_function_int 
+00a1 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+00a2 d8400040 arg gpcfg_pullup ,temp 
+00a3 20206093 branch gpio_config_function_int 
 
 p_mouse_setting_config:
-0083 20758000 rtn wake 
-0084 20402607 call g24_transmit_init 
-0085 204022ff call g24_chmap_param_init 
-0086 20403f1e call mouse_gpio_init 
-0087 20403d13 call mouse_param_init 
-0088 58010680 setarg 67200 
-0089 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-008a 58000708 setarg 1800 
-008b 67e14885 store 2 ,mem_24g_reconn_timeout_init 
-008c d8401e00 arg 0x1e00 ,temp 
-008d 60494838 storet 2 ,mem_24g_rx_window 
-008e 20400090 call p_mouse_sensor_set_angle 
-008f 20203bf5 branch mouse_setting_config + 5 
+00a4 20758000 rtn wake 
+00a5 20402607 call g24_transmit_init 
+00a6 204022ff call g24_chmap_param_init 
+00a7 20403f1e call mouse_gpio_init 
+00a8 20403d13 call mouse_param_init 
+00a9 58010680 setarg 67200 
+00aa 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00ab 58000708 setarg 1800 
+00ac 67e14885 store 2 ,mem_24g_reconn_timeout_init 
+00ad d8401e00 arg 0x1e00 ,temp 
+00ae 60494838 storet 2 ,mem_24g_rx_window 
+00af 204000b1 call p_mouse_sensor_set_angle 
+00b0 20203bf5 branch mouse_setting_config + 5 
 
 p_mouse_sensor_set_angle:
-0090 6fe0cbe3 fetch 1 ,mem_sensor_angle_connect_gnd 
-0091 67e0c928 store 1 ,mem_config_sensor_angle 
-0092 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0093 c17f8000 rtneq gpio_disable 
-0094 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0095 20403f56 call mouse_gpio_config_input_pu 
-0096 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0097 20406059 call gpio_get_bit 
-0098 2420809a nbranch p_mouse_sensor_switch_angle_next ,true 
-0099 20203f54 branch mouse_gpio_config_input_pd 
+00b1 6fe0cbe3 fetch 1 ,mem_sensor_angle_connect_gnd 
+00b2 67e0c928 store 1 ,mem_config_sensor_angle 
+00b3 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00b4 c17f8000 rtneq gpio_disable 
+00b5 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00b6 20403f56 call mouse_gpio_config_input_pu 
+00b7 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00b8 20406059 call gpio_get_bit 
+00b9 242080bb nbranch p_mouse_sensor_switch_angle_next ,true 
+00ba 20203f54 branch mouse_gpio_config_input_pd 
 
 p_mouse_sensor_switch_angle_next:
-009a 6fe0cbe5 fetch 1 ,mem_sensor_angle_connect_vin 
-009b 67e0c928 store 1 ,mem_config_sensor_angle 
-009c 20403f54 call mouse_gpio_config_input_pd 
-009d 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-009e 20406059 call gpio_get_bit 
-009f 202080a1 branch p_mouse_sensor_switch_angle_impedance ,true 
-00a0 20203f56 branch mouse_gpio_config_input_pu 
+00bb 6fe0cbe5 fetch 1 ,mem_sensor_angle_connect_vin 
+00bc 67e0c928 store 1 ,mem_config_sensor_angle 
+00bd 20403f54 call mouse_gpio_config_input_pd 
+00be 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00bf 20406059 call gpio_get_bit 
+00c0 202080c2 branch p_mouse_sensor_switch_angle_impedance ,true 
+00c1 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_sensor_switch_angle_impedance:
-00a1 6fe0cbe4 fetch 1 ,mem_sensor_angle_high_impedance 
-00a2 67e0c928 store 1 ,mem_config_sensor_angle 
-00a3 20203f58 branch mouse_gpio_set_high_impedance 
+00c2 6fe0cbe4 fetch 1 ,mem_sensor_angle_high_impedance 
+00c3 67e0c928 store 1 ,mem_config_sensor_angle 
+00c4 20203f58 branch mouse_gpio_set_high_impedance 
 
 p_mouse_cb_fuction:
-00a4 580000a7 setarg p_mouse_24g_package_data 
-00a5 67e1489b store 2 ,mem_cb_24g_transmit_data 
-00a6 20203bd1 branch mouse_cb_fuction + 2 
+00c5 580000c8 setarg p_mouse_24g_package_data 
+00c6 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00c7 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_24g_package_data:
-00a7 c6930000 rtnmark0 mark_24g 
-00a8 20403f70 call mouse_motion 
-00a9 24740000 nrtn user 
-00aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ab c30a80ae bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-00ac 6fe0cb8b fetch 1 ,mem_customer_key 
-00ad 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+00c8 c6930000 rtnmark0 mark_24g 
+00c9 20403f70 call mouse_motion 
+00ca 24740000 nrtn user 
+00cb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00cc c30a80cf bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00cd 6fe0cb8b fetch 1 ,mem_customer_key 
+00ce 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-00ae 204042cb call mouse_data_xy_release 
-00af 6fe0c836 fetch 1 ,mem_24g_data_type 
-00b0 c28080bd bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-00b1 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-00b2 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00b3 9841fe00 ior temp ,pdata 
-00b4 67e0c8d0 store 1 ,mem_mouse_key 
-00b5 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-00b6 6fe0c8d5 fetch 1 ,mem_mouse_z 
-00b7 9840fe00 iadd temp ,pdata 
-00b8 67e0c8d5 store 1 ,mem_mouse_z 
-00b9 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-00ba 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-00bb 9840fe00 iadd temp ,pdata 
-00bc 67e0c8d6 store 1 ,mem_mouse_tz 
+00cf 204042cb call mouse_data_xy_release 
+00d0 6fe0c836 fetch 1 ,mem_24g_data_type 
+00d1 c28080de bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+00d2 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+00d3 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00d4 9841fe00 ior temp ,pdata 
+00d5 67e0c8d0 store 1 ,mem_mouse_key 
+00d6 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+00d7 6fe0c8d5 fetch 1 ,mem_mouse_z 
+00d8 9840fe00 iadd temp ,pdata 
+00d9 67e0c8d5 store 1 ,mem_mouse_z 
+00da 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+00db 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+00dc 9840fe00 iadd temp ,pdata 
+00dd 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-00bd 70483601 jam type_ms ,mem_24g_data_type 
-00be da200007 arg 7 ,rega 
-00bf da4048d0 arg mem_mouse_key ,regb 
-00c0 6fe148d5 fetch 2 ,mem_mouse_z 
-00c1 207a0000 rtn blank 
-00c2 202026e1 branch g24_transmit_by_interrupt_enable 
+00de 70483601 jam type_ms ,mem_24g_data_type 
+00df da200007 arg 7 ,rega 
+00e0 da4048d0 arg mem_mouse_key ,regb 
+00e1 6fe148d5 fetch 2 ,mem_mouse_z 
+00e2 207a0000 rtn blank 
+00e3 202026e1 branch g24_transmit_by_interrupt_enable 
+
+p_g24_pair_dispatch:
+00e4 6fe14c0c fetch 2 ,mem_24g_pair_count 
+00e5 1fe0fe01 increase 1 ,pdata 
+00e6 67e14c0c store 2 ,mem_24g_pair_count 
+00e7 6fe0cc0c fetch 1 ,mem_24g_pair_count 
+00e8 1fe17eff and pdata ,0xff ,pdata 
+00e9 c0002341 beq 0 ,g24_pair_dispatch + 1 
+00ea 20600000 rtn 
+
+p_g24_reconn_dispatch:
+00eb 6fe14889 fetch 2 ,mem_24g_reconn_count 
+00ec 1fe17eff and pdata ,0xff ,pdata 
+00ed c0002581 beq 0 ,g24_reconn_dispatch + 1 
+00ee 6fe14889 fetch 2 ,mem_24g_reconn_count 
+00ef 1fe0fe01 increase 1 ,pdata 
+00f0 67e14889 store 2 ,mem_24g_reconn_count 
+00f1 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-00c3 20402631 call g24_txdata_prep 
-00c4 243400d2 nbranch p_g24_nodata_transmit ,user 
+00f2 20402631 call g24_txdata_prep 
+00f3 24340101 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00c5 204000e6 call p_g24_transmit_process 
-00c6 204026ee call power_ctrl_start 
-00c7 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00c8 243a00cd nbranch p_g24_short_sleep ,blank 
-00c9 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-00ca 67e4485c store 8 ,mem_24g_enter_hibernate 
-00cb 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00cc 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+00f4 20400115 call p_g24_transmit_process 
+00f5 204026ee call power_ctrl_start 
+00f6 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00f7 243a00fc nbranch p_g24_short_sleep ,blank 
+00f8 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+00f9 67e4485c store 8 ,mem_24g_enter_hibernate 
+00fa 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+00fb 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00cd 204026bb call g24_lpm_wait 
-00ce 24740000 nrtn user 
-00cf 20407fdc call clear_wake 
-00d0 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-00d1 202026b8 branch g24_long_sleep2 
+00fc 204026bb call g24_lpm_wait 
+00fd 24740000 nrtn user 
+00fe 20407fdc call clear_wake 
+00ff 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0100 202026b8 branch g24_long_sleep2 
 
 p_g24_nodata_transmit:
-00d2 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-00d3 205a00d8 call p_g24_send_abort_packet ,blank 
-00d4 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-00d5 c1008000 rtneq g24_tx_timer_int_enable 
-00d6 2040269f call g24_search_receiver 
-00d7 202026b5 branch g24_long_sleep 
+0101 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0102 205a0107 call p_g24_send_abort_packet ,blank 
+0103 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0104 c1008000 rtneq g24_tx_timer_int_enable 
+0105 2040269f call g24_search_receiver 
+0106 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-00d8 70483601 jam type_ms ,mem_24g_data_type 
-00d9 7048a701 jam 1 ,mem_24g_abort_pac 
-00da 20402642 call g24_transmit_rf_ctrl_clear 
-00db 67e0c7c6 store 1 ,mem_24g_txbuf 
-00dc 58000000 setarg 0 
-00dd 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-00de 6fe248a9 fetch 4 ,mem_24g_device_addr 
-00df 67e247ce store 4 ,mem_24g_txbuf + 8 
-00e0 7048350c jam 12 ,mem_24g_datalen 
-00e1 6fe0c836 fetch 1 ,mem_24g_data_type 
-00e2 79207e03 set1 bit_abort ,pdata 
-00e3 67e0c836 store 1 ,mem_24g_data_type 
-00e4 20402291 call g24_transmit_prep 
-00e5 202000c5 branch p_g24_transmit_start 
+0107 70483601 jam type_ms ,mem_24g_data_type 
+0108 7048a701 jam 1 ,mem_24g_abort_pac 
+0109 20402642 call g24_transmit_rf_ctrl_clear 
+010a 67e0c7c6 store 1 ,mem_24g_txbuf 
+010b 58000000 setarg 0 
+010c 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+010d 6fe248a9 fetch 4 ,mem_24g_device_addr 
+010e 67e247ce store 4 ,mem_24g_txbuf + 8 
+010f 7048350c jam 12 ,mem_24g_datalen 
+0110 6fe0c836 fetch 1 ,mem_24g_data_type 
+0111 79207e03 set1 bit_abort ,pdata 
+0112 67e0c836 store 1 ,mem_24g_data_type 
+0113 20402291 call g24_transmit_prep 
+0114 202000f4 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-00e6 7048a600 jam 0 ,mem_24g_retry 
+0115 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-00e7 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-00e8 34730200 until clkn_rt ,meet 
-00e9 2040265b call g24_transmit_receive_ack 
-00ea 6fe0c82c fetch 1 ,mem_24g_no_ack 
-00eb c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-00ec 242c00f5 nbranch p_g24_retransmit ,sync 
-00ed 243780f5 nbranch p_g24_retransmit ,user3 
-00ee 20402672 call g24_ackpayload_parse 
-00ef 204000f1 call p_mouse_wakeup_24g 
-00f0 20202651 branch g24_transmit_no_ack 
+0116 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0117 34730200 until clkn_rt ,meet 
+0118 2040265b call g24_transmit_receive_ack 
+0119 6fe0c82c fetch 1 ,mem_24g_no_ack 
+011a c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+011b 242c0124 nbranch p_g24_retransmit ,sync 
+011c 24378124 nbranch p_g24_retransmit ,user3 
+011d 20402672 call g24_ackpayload_parse 
+011e 20400120 call p_mouse_wakeup_24g 
+011f 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-00f1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00f2 245a0155 ncall p_mouse_init_sensor_wakeup ,blank 
-00f3 704be100 jam 0 ,mem_sensor_shutdown_flag 
-00f4 20600000 rtn 
+0120 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0121 245a018c ncall p_mouse_init_sensor_wakeup ,blank 
+0122 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0123 20600000 rtn 
 
 p_g24_retransmit:
-00f5 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-00f6 247a0000 nrtn blank 
-00f7 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-00f8 1fe0fe01 increase 1 ,pdata 
-00f9 67e148a3 store 2 ,mem_24g_txfail_cnt 
-00fa 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-00fb c2822679 bbit1 4 ,g24_tx_attempt_fail 
-00fc 2040267e call g24_transmit_hop_process 
-00fd 202000e7 branch p_g24_transmit_loop 
+0124 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0125 247a0000 nrtn blank 
+0126 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0127 1fe0fe01 increase 1 ,pdata 
+0128 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0129 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+012a c2812679 bbit1 2 ,g24_tx_attempt_fail 
+012b 2040267e call g24_transmit_hop_process 
+012c 2040012e call p_delay_100ms 
+012d 20200116 branch p_g24_transmit_loop 
+
+p_delay_100ms:
+012e 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+012f 1fe67c01 sub pdata ,0x01 ,null 
+0130 20610000 rtn positive 
+0131 df200064 arg 100 ,loopcnt 
+
+p_delay_ms_wait:
+0132 20002ee0 nop 12000 
+0133 c2007d13 loop delay_ms_wait 
+0134 20600000 rtn 
 
 p_mouse_app_enter_hibernate:
-00fe 58000006 setarg pan_reg_config 
-00ff 20405b0d call twspi_read 
-0100 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0101 20203e21 branch mouse_app_enter_hibernate + 1 
+0135 58000006 setarg pan_reg_config 
+0136 20405b0d call twspi_read 
+0137 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0138 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-0102 204042e9 call mouse_set_sdio_high 
-0103 20407fdc call clear_wake 
-0104 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0105 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0106 20406069 call gpio_out_active 
-0107 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0108 20406042 call gpio_clr_wake 
-0109 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-010a d840003f arg gpcfg_output_high ,temp 
-010b 20406093 call gpio_config_function_int 
-010c 20203e36 branch mouse_setgpio_hibernate + 3 
+0139 204042e9 call mouse_set_sdio_high 
+013a 20407fdc call clear_wake 
+013b 20404015 call mouse_before_hibernate_wheel_gpio_set 
+013c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+013d 20406069 call gpio_out_active 
+013e 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+013f 20406042 call gpio_clr_wake 
+0140 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0141 d840003f arg gpcfg_output_high ,temp 
+0142 20406093 call gpio_config_function_int 
+0143 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-010d 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-010e 20406050 call gpio_config_input 
-010f 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0110 20406050 call gpio_config_input 
-0111 20403f88 call mouse_wheel_check 
-0112 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0113 d840003f arg gpcfg_output_high ,temp 
-0114 20406093 call gpio_config_function_int 
-0115 20203e44 branch mouse_lpm_before_common_next 
+0144 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0145 20406050 call gpio_config_input 
+0146 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0147 20406050 call gpio_config_input 
+0148 20403f88 call mouse_wheel_check 
+0149 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+014a d840003f arg gpcfg_output_high ,temp 
+014b 20406093 call gpio_config_function_int 
+014c 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_priority_bb_event:
-0116 1a627e00 copy regc ,pdata 
-0117 c01e012e beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0118 c019011b beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0119 c0220122 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-011a 20204336 branch mouse_priority_bb_event + 2 
+014d 1a627e00 copy regc ,pdata 
+014e c01e0165 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+014f c0190152 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0150 c0220159 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+0151 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-011b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-011c c000811f beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-011d 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-011e 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0152 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0153 c0008156 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0154 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0155 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-011f 2040436c call mouse_updata_le_param 
-0120 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-0121 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0156 2040436c call mouse_updata_le_param 
+0157 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+0158 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0122 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-0123 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0124 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-0125 67e14372 store 2 ,mem_le_interval_min 
-0126 67e14374 store 2 ,mem_le_interval_min + 2 
-0127 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0128 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-0129 98467c00 isub temp ,null 
-012a 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-012b 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-012c 67e0cb8a store 1 ,mem_lpm_mult_init 
-012d 20204386 branch mouse_le_conn_param_lpm_enable 
+0159 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+015a 1fe67c0c sub pdata ,le_interval_15ms ,null 
+015b 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+015c 67e14372 store 2 ,mem_le_interval_min 
+015d 67e14374 store 2 ,mem_le_interval_min + 2 
+015e 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+015f 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0160 98467c00 isub temp ,null 
+0161 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+0162 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0163 67e0cb8a store 1 ,mem_lpm_mult_init 
+0164 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_attempt_success:
-012e 6fe2483c fetch 4 ,mem_24g_addr 
-012f 67e24891 store 4 ,mem_24g_receiver_addr 
-0130 67e24993 store 4 ,mem_mouse_24g_addr 
-0131 204048c6 call mouse_device_poweron_timer_init 
-0132 2020484e branch mouse_24g_attempt_success 
+0165 6fe2483c fetch 4 ,mem_24g_addr 
+0166 67e24891 store 4 ,mem_24g_receiver_addr 
+0167 67e24993 store 4 ,mem_mouse_24g_addr 
+0168 204048c6 call mouse_device_poweron_timer_init 
+0169 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_start_work:
-0133 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0134 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0135 6fe0c938 fetch 1 ,mem_device_flag 
-0136 c0000138 beq mode_24g_device ,p_mouse_24g_start_mode 
-0137 20203d57 branch mouse_start_work + 5 
+016a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+016b c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+016c 6fe0c938 fetch 1 ,mem_device_flag 
+016d c000016f beq mode_24g_device ,p_mouse_24g_start_mode 
+016e 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0138 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0139 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-013a 20403d65 call mouse_wakeup_from_power_check 
-013b 20344806 branch mouse_24g_reconn_dongle_start ,user 
-013c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-013d c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-013e c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-013f 20404110 call mouse_key_check_once 
-0140 1a217e07 and rega ,0x07 ,pdata 
-0141 202047ff branch mouse_24g_start_mode + 9 
+016f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0170 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0171 20403d65 call mouse_wakeup_from_power_check 
+0172 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0173 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0174 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0175 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0176 20404110 call mouse_key_check_once 
+0177 1a217e07 and rega ,0x07 ,pdata 
+0178 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-0142 2040408f call mouse_setting_dpi_4_level 
-0143 20400145 call p_mouse_dpi_led_blink_delay 
-0144 20204098 branch mouse_seting_sensor_type 
+0179 2040408f call mouse_setting_dpi_4_level 
+017a 2040017c call p_mouse_dpi_led_blink_delay 
+017b 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-0145 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0146 c17f8000 rtneq gpio_disable 
-0147 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0148 247a0000 nrtn blank 
-0149 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-014a 247a0000 nrtn blank 
-014b 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-014c 247a0000 nrtn blank 
-014d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-014e 247a0000 nrtn blank 
-014f 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0150 203a017a branch p_mouse_dpi_led_blink_init ,blank 
-0151 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0152 20600000 rtn 
+017c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+017d c17f8000 rtneq gpio_disable 
+017e 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+017f 247a0000 nrtn blank 
+0180 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0181 247a0000 nrtn blank 
+0182 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0183 247a0000 nrtn blank 
+0184 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0185 247a0000 nrtn blank 
+0186 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0187 203a01b1 branch p_mouse_dpi_led_blink_init ,blank 
+0188 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0189 20600000 rtn 
 
 p_mouse_init_sunt:
-0153 20403f65 call mouse_sensor_spi_init 
-0154 20758000 rtn wake 
+018a 20403f65 call mouse_sensor_spi_init 
+018b 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-0155 20404236 call mouse_sensor_poweron 
+018c 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-0156 204041b5 call mouse_read_sensor_id 
-0157 c018015d beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0158 c018c217 beq p3065_id1 ,mouse_init_p3065 
-0159 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-015a 204041b2 call mouse_twspi_reset 
-015b 20001af4 nop 6900 
-015c 20200156 branch p_mouse_init_sensor 
+018d 204041b5 call mouse_read_sensor_id 
+018e c0180194 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+018f c018c217 beq p3065_id1 ,mouse_init_p3065 
+0190 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+0191 204041b2 call mouse_twspi_reset 
+0192 20001af4 nop 6900 
+0193 2020018d branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-015d 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-015e c02d0166 beq p_mx8650 ,p_mouse_mx8650_init_param 
-015f c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-0160 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0161 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-0162 c00141ea beq p3212_id2 ,mouse_3212_init_param 
-0163 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-0164 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-0165 20200156 branch p_mouse_init_sensor 
+0194 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0195 c02d019d beq p_mx8650 ,p_mouse_mx8650_init_param 
+0196 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+0197 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0198 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0199 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+019a c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+019b c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+019c 2020018d branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-0166 70492705 jam mx8650 ,mem_config_sensor_type 
-0167 20404232 call mouse_sensor_reset 
-0168 20407d12 call delay_10ms 
-0169 da604be6 arg mem_sensor_8650_init_new ,regc 
-016a 2040422b call mouse_sensor_wr_seq 
-016b 2020408e branch mouse_dpi_config 
+019d 70492705 jam mx8650 ,mem_config_sensor_type 
+019e 20404232 call mouse_sensor_reset 
+019f 20407d12 call delay_10ms 
+01a0 da604be6 arg mem_sensor_8650_init_new ,regc 
+01a1 2040422b call mouse_sensor_wr_seq 
+01a2 2020408e branch mouse_dpi_config 
 
 p_mouse_bb_event_timer:
-016c 20403e9b call mouse_adc_read 
-016d 20400208 call p_mouse_low_voltage_led_timer 
-016e 2040232b call g24_pair_timeout_timer 
-016f 20402556 call g24_reconn_timeout_timer 
-0170 204047cd call mouse_24g_long_sleep_param_update_timer 
-0171 204048be call mouse_device_poweron_timer 
-0172 20400177 call p_mouse_dpi_led_blink_delay_timer 
-0173 2040407c call mouse_dpi_key_check_long_press 
-0174 204044cc call mouse_bt_discovery_check 
-0175 2040018f call p_mouse_commbination_key_process 
-0176 202044c0 branch mouse_bb_event_timer + 11 
+01a3 20403e9b call mouse_adc_read 
+01a4 2040023f call p_mouse_low_voltage_led_timer 
+01a5 2040232b call g24_pair_timeout_timer 
+01a6 20402556 call g24_reconn_timeout_timer 
+01a7 204047cd call mouse_24g_long_sleep_param_update_timer 
+01a8 204048be call mouse_device_poweron_timer 
+01a9 204001ae call p_mouse_dpi_led_blink_delay_timer 
+01aa 2040407c call mouse_dpi_key_check_long_press 
+01ab 204044cc call mouse_bt_discovery_check 
+01ac 204001c6 call p_mouse_commbination_key_process 
+01ad 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_dpi_led_blink_delay_timer:
-0177 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0178 da40017a arg p_mouse_dpi_led_blink_init ,regb 
-0179 2020318a branch timer_single_step 
+01ae da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01af da4001b1 arg p_mouse_dpi_led_blink_init ,regb 
+01b0 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-017a 6fe0c927 fetch 1 ,mem_config_sensor_type 
-017b c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-017c c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-017d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-017e 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-017f 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0180 67e14930 store 2 ,mem_mouse_on_time 
-0181 67e14932 store 2 ,mem_mouse_off_time 
-0182 da200000 arg 0 ,rega 
-0183 6848c992 fetcht 1 ,mem_mouse_dpi 
-0184 18408402 increase 2 ,temp 
-0185 18467c03 sub temp ,3 ,null 
-0186 20410189 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0187 2441018d ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0188 202048ff branch mouse_dpi_led_blink_init_end 
+01b1 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01b2 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01b3 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01b4 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01b5 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01b6 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01b7 67e14930 store 2 ,mem_mouse_on_time 
+01b8 67e14932 store 2 ,mem_mouse_off_time 
+01b9 da200000 arg 0 ,rega 
+01ba 6848c992 fetcht 1 ,mem_mouse_dpi 
+01bb 18408402 increase 2 ,temp 
+01bc 18467c03 sub temp ,3 ,null 
+01bd 204101c0 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01be 244101c4 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01bf 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0189 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-018a c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-018b 18408401 increase 1 ,temp 
-018c 20600000 rtn 
+01c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01c1 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01c2 18408401 increase 1 ,temp 
+01c3 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-018d 184085fd increase -3 ,temp 
-018e 20600000 rtn 
+01c4 184085fd increase -3 ,temp 
+01c5 20600000 rtn 
 
 p_mouse_commbination_key_process:
-018f 6fe0c938 fetch 1 ,mem_device_flag 
-0190 c0000195 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0191 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0192 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0193 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0194 20200198 branch p_mouse_commbination_key_start 
+01c6 6fe0c938 fetch 1 ,mem_device_flag 
+01c7 c00001cc beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+01c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01c9 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+01ca 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+01cb 202001cf branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0195 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0196 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0197 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+01cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01cd c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+01ce 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0198 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0199 20404115 call mouse_check_key_gpio 
-019a 1fe17e07 and pdata ,0x07 ,pdata 
-019b 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-019c 98467c00 isub temp ,null 
-019d 2022819f branch p_mouse_commbination_key_down ,zero 
-019e 202044eb branch mouse_commbination_key_up 
+01cf 6048cb9d storet 1 ,mem_mouse_commbination_key 
+01d0 20404115 call mouse_check_key_gpio 
+01d1 1fe17e07 and pdata ,0x07 ,pdata 
+01d2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+01d3 98467c00 isub temp ,null 
+01d4 202281d6 branch p_mouse_commbination_key_down ,zero 
+01d5 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-019f 204044f6 call mouse_combination_ui_timer 
-01a0 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-01a1 c1008000 rtneq commbination_key_state_down 
-01a2 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-01a3 20600000 rtn 
+01d6 204044f6 call mouse_combination_ui_timer 
+01d7 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+01d8 c1008000 rtneq commbination_key_state_down 
+01d9 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+01da 20600000 rtn 
 
 p_mouse_start_discovery:
-01a4 6fe1478c fetch 2 ,mem_ui_state_map 
-01a5 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-01a6 2040c581 call mouse_stop_le_adv ,true 
-01a7 6fe1478c fetch 2 ,mem_ui_state_map 
-01a8 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-01a9 2040c322 call mouse_cancel_reconnect ,true 
-01aa 20204554 branch mouse_start_discovery + 1 
+01db 6fe1478c fetch 2 ,mem_ui_state_map 
+01dc 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+01dd 2040c581 call mouse_stop_le_adv ,true 
+01de 6fe1478c fetch 2 ,mem_ui_state_map 
+01df 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+01e0 2040c322 call mouse_cancel_reconnect ,true 
+01e1 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-01ab 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-01ac 245a7861 ncall ui_timer_init ,blank 
-01ad 704be200 jam 0 ,mem_power_on_flag 
-01ae 20207851 branch ui_timer_check + 1 
+01e2 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+01e3 245a7861 ncall ui_timer_init ,blank 
+01e4 704be200 jam 0 ,mem_power_on_flag 
+01e5 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-01af 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-01b0 1fe20c00 copy pdata ,contr 
-01b1 efe08006 ifetch 1 ,contr 
-01b2 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-01b3 1fe1040f and pdata ,0x0f ,temp 
-01b4 1ff1fe00 rshift4 pdata ,pdata 
-01b5 c00481b7 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-01b6 20204d93 branch hid_rx_process + 7 
+01e6 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+01e7 1fe20c00 copy pdata ,contr 
+01e8 efe08006 ifetch 1 ,contr 
+01e9 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+01ea 1fe1040f and pdata ,0x0f ,temp 
+01eb 1ff1fe00 rshift4 pdata ,pdata 
+01ec c00481ee beq hid_type_set_idle ,p_hid_rx_process_handshake 
+01ed 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-01b7 da200001 arg 1 ,rega 
-01b8 20404dc0 call hid_malloc_tx_buff 
-01b9 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-01ba e7e10005 istore 2 ,contw 
-01bb 58000000 setarg 0 
-01bc e7e08005 istore 1 ,contw 
-01bd 70095001 jam 1 ,mem_ui_data_txbuff_length 
-01be 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-01bf 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-01c0 67e0c4e2 store 1 ,mem_hid_control_state 
-01c1 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-01c2 20207871 branch ui_ipc_send_event 
+01ee da200001 arg 1 ,rega 
+01ef 20404dc0 call hid_malloc_tx_buff 
+01f0 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+01f1 e7e10005 istore 2 ,contw 
+01f2 58000000 setarg 0 
+01f3 e7e08005 istore 1 ,contw 
+01f4 70095001 jam 1 ,mem_ui_data_txbuff_length 
+01f5 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+01f6 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+01f7 67e0c4e2 store 1 ,mem_hid_control_state 
+01f8 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+01f9 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-01c3 6fe0c3dd fetch 1 ,mem_le_md_count 
-01c4 1fe0fe01 pincrease 1 
-01c5 67e0c3dd store 1 ,mem_le_md_count 
-01c6 c006165a beq le_md_max_count ,le_slave_cont 
-01c7 2040191b call le_acknowledge 
-01c8 2040196a call le_prepare_tx 
-01c9 6fe082bd fetch 1 ,mem_le_tx_phy 
-01ca 2040168b call le_enable_phy_by_pdata 
-01cb 20401838 call le_transmit 
-01cc 20201655 branch le_slave_match + 10 
+01fa 6fe0c3dd fetch 1 ,mem_le_md_count 
+01fb 1fe0fe01 pincrease 1 
+01fc 67e0c3dd store 1 ,mem_le_md_count 
+01fd c006165a beq le_md_max_count ,le_slave_cont 
+01fe 2040191b call le_acknowledge 
+01ff 2040196a call le_prepare_tx 
+0200 6fe082bd fetch 1 ,mem_le_tx_phy 
+0201 2040168b call le_enable_phy_by_pdata 
+0202 20401838 call le_transmit 
+0203 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-01cd efe10006 ifetch 2 ,contr 
-01ce c00201d0 beq le_l2cap_cid_att ,p_le_parse_att 
-01cf 202019e4 branch le_parse_l2cap + 10 
+0204 efe10006 ifetch 2 ,contr 
+0205 c0020207 beq le_l2cap_cid_att ,p_le_parse_att 
+0206 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-01d0 efe18006 ifetch 3 ,contr 
-01d1 67e1c436 store 3 ,mem_le_att_opcode 
-01d2 c00901d4 beq attop_write_request ,p_le_parse_att_write_request 
-01d3 20201cd3 branch le_parse_att + 2 
+0207 efe18006 ifetch 3 ,contr 
+0208 67e1c436 store 3 ,mem_le_att_opcode 
+0209 c009020b beq attop_write_request ,p_le_parse_att_write_request 
+020a 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-01d4 18c22200 copy contr ,rega 
-01d5 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-01d6 1fe0a5fd add pdata ,-3 ,regb 
-01d7 20401a25 call le_writeatt_cb 
-01d8 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01d9 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-01da 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-01db 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-01dc 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-01dd c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01de 5800001a setarg 0x001a 
-01df 68494437 fetcht 2 ,mem_le_att_handle 
-01e0 98467c00 isub temp ,null 
-01e1 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-01e2 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-01e3 20201ec9 branch le_send_att_error_response 
+020b 18c22200 copy contr ,rega 
+020c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+020d 1fe0a5fd add pdata ,-3 ,regb 
+020e 20401a25 call le_writeatt_cb 
+020f 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0210 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0211 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0212 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0213 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0214 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0215 5800001a setarg 0x001a 
+0216 68494437 fetcht 2 ,mem_le_att_handle 
+0217 98467c00 isub temp ,null 
+0218 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0219 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+021a 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-01e4 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-01e5 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-01e6 202026bc branch g24_lpm_wait + 1 
+021b 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+021c 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+021d 202026bc branch g24_lpm_wait + 1 
 
 p_mouse_motion:
-01e7 78547c00 disable user 
-01e8 58000000 setarg 0 
-01e9 67e348d1 store 6 ,mem_mouse_x 
-01ea 20404240 call mouse_check_sensor_data 
-01eb 2040408e call mouse_dpi_config 
-01ec 20203f75 branch mouse_motion + 5 
+021e 78547c00 disable user 
+021f 58000000 setarg 0 
+0220 67e348d1 store 6 ,mem_mouse_x 
+0221 20404240 call mouse_check_sensor_data 
+0222 2040408e call mouse_dpi_config 
+0223 20203f75 branch mouse_motion + 5 
 
 p_mouse_adc_read_start:
-01ed 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-01ee 247a0000 nrtn blank 
-01ef 2040003d call p_enable_adc 
-01f0 7048f600 jam 0 ,mem_adc_read_timer 
-01f1 20406125 call vdd_calculate_by_mode 
-01f2 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-01f3 d8400012 arg 0x0012 ,temp 
-01f4 98467c00 isub temp ,null 
-01f5 24210206 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-01f6 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-01f7 c08101fe bne adc_config_gpio ,p_mouse_adc_data_process 
-01f8 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-01f9 184ffe08 mul32 temp ,8 ,pdata 
-01fa 1fe6fc0a div pdata ,10 
-01fb 20407dec call get_div_result 
-01fc 9840fe00 iadd temp ,pdata 
-01fd 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0224 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0225 247a0000 nrtn blank 
+0226 20400056 call p_enable_adc 
+0227 7048f600 jam 0 ,mem_adc_read_timer 
+0228 20406125 call vdd_calculate_by_mode 
+0229 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+022a d8400012 arg 0x0012 ,temp 
+022b 98467c00 isub temp ,null 
+022c 2421023d nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+022d 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+022e c0810235 bne adc_config_gpio ,p_mouse_adc_data_process 
+022f 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+0230 184ffe08 mul32 temp ,8 ,pdata 
+0231 1fe6fc0a div pdata ,10 
+0232 20407dec call get_div_result 
+0233 9840fe00 iadd temp ,pdata 
+0234 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-01fe da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-01ff 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0200 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0201 c2813f1a bbit1 2 ,mouse_adc_button_press 
-0202 c280bf1c bbit1 1 ,mouse_power_down 
-0203 c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
-0204 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0205 20203ece branch mouse_adc_low_voltage 
+0235 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0236 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0237 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+0238 c2813f1a bbit1 2 ,mouse_adc_button_press 
+0239 c280bf1c bbit1 1 ,mouse_power_down 
+023a c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
+023b 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+023c 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-0206 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-0207 20403f54 call mouse_gpio_config_input_pd 
+023d 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+023e 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_low_voltage_led_timer:
-0208 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0209 247a0000 nrtn blank 
-020a 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-020b 247a0000 nrtn blank 
-020c 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-020d 247a0000 nrtn blank 
-020e 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-020f 247a0000 nrtn blank 
-0210 20404904 call mouse_check_dpi_blink 
-0211 20740000 rtn user 
-0212 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0213 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0214 c4020000 rtnbit0 mouse_low_voltage_flag 
-0215 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-0216 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0217 1fe0fe01 increase 1 ,pdata 
-0218 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0219 1fe67c08 sub pdata ,8 ,null 
-021a 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
-021b c001c970 beq 3 ,mouse_low_voltage_led_on 
-021c c002c976 beq 5 ,mouse_low_voltage_led_off 
-021d c003c970 beq 7 ,mouse_low_voltage_led_on 
-021e 20600000 rtn 
+023f 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0240 247a0000 nrtn blank 
+0241 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0242 247a0000 nrtn blank 
+0243 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0244 247a0000 nrtn blank 
+0245 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0246 247a0000 nrtn blank 
+0247 20404904 call mouse_check_dpi_blink 
+0248 20740000 rtn user 
+0249 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+024a c4108000 rtnbit0 mouse_enable_low_voltage_led 
+024b c4020000 rtnbit0 mouse_low_voltage_flag 
+024c c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+024d 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+024e 1fe0fe01 increase 1 ,pdata 
+024f 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+0250 1fe67c08 sub pdata ,8 ,null 
+0251 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0252 c001c970 beq 3 ,mouse_low_voltage_led_on 
+0253 c002c976 beq 5 ,mouse_low_voltage_led_off 
+0254 c003c970 beq 7 ,mouse_low_voltage_led_on 
+0255 20600000 rtn 
               org 0x800
 
 start:
@@ -3985,6 +4056,8 @@
 121a 70890001 jam 0x01 ,modem_en 
 121b 20000002 nop 2 
 121c 70890003 jam 0x03 ,modem_en 
+
+txon_next:
 121d 44c54011 bpatch patch11_2 ,mem_patch11 
 121e 6fe0c1e8 fetch 1 ,mem_tx_power 
 121f c001922d beq tx_power_3db ,set_tx_power_3db 
Index: program/bt.prog
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/program/bt.prog	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/program/bt.prog	(working copy)
@@ -3132,9 +3132,13 @@
 	jam 0x15,core_rf_ldo_cfg6
 	
 	jam 0x78,core_rf_ldo_en0 //ldo en
+
+
+	
 	fetch 1,core_clkpll_cfg6
 	set1 7,pdata
 	store 1,core_clkpll_cfg6
+
 	jam 0x04,core_rf_ldo_en1
 	nop 60
 	jam 0x3a,core_syn_en //module en
@@ -3329,7 +3333,7 @@
 	jam 0x01, modem_en
 	nop 2
 	jam 0x03, modem_en
-	
+txon_next:
 	bpatch patch11_2,mem_patch11
 	fetch 1,mem_tx_power
 	beq TX_POWER_3DB,set_tx_power_3db
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/program/patch.prog	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/program/patch.prog	(working copy)
@@ -5,6 +5,8 @@
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
 	beq patch00_3,p_main_loop
+	beq patch10_3,p_set_sync_on
+	beq patch11_2,p_txon_next
 	beq patch11_3,p_initialize_radio_cont	
 	beq patch13_7,p_init_param
 	beq patch15_6,p_app_init
@@ -28,15 +30,17 @@
 	beq patch26_4,p_enable_adc
 	beq patch30_7,p_ui_timer_check		
 	beq patch34_1,p_le_slave_match
+	beq patch35_1,p_le_enable
 	
 //ifdef BATTERY_SERVICE_CANCEL
 //	beq patch38_0,p_le_parse_l2cap
 //endif	
+	beq patch3c_2,p_g24_pair_dispatch
+	beq patch3d_1,p_g24_reconn_dispatch
 	beq patch3d_2,p_g24_transmit_no_interrupt
 	beq patch3d_4,p_g24_lpm_wait
 	branch loop
 
-
 p_soft_reset:
 	clear_stack
 	call app_param_init
@@ -67,6 +71,19 @@
 	call p_lpm_dispatch
 	branch main_loop
 	
+p_txon_next:
+	fetch 1,mem_tx_power
+	beq TX_POWER_3DB,set_tx_power_3db
+	beq TX_POWER_5DB,set_tx_power_7db
+	beq TX_POWER_6DB,set_tx_power_10db
+	beq TX_POWER_7DB,set_tx_power_10db
+	beq TX_POWER_10DB,set_tx_power_10db
+	beq TX_POWER_F3DB,set_tx_power_f3db
+	beq TX_POWER_F5DB,set_tx_power_f5db
+	beq TX_POWER_F20DB,set_tx_power_f20db
+	beq TX_POWER_F30DB,set_tx_power_f30db
+	branch set_tx_power_0db
+	
 p_lpm_dispatch:
 	call lpo_calibration
 	fetch 3,mem_clks_per_lpo
@@ -82,8 +99,19 @@
 	nrtn blank	
 	branch lpm_dispatch_next+3
 
-
-
+p_set_sync_on:
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en					/* if called from tx or rx */
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+	beq XTAL_16M,p_set_sync_on_16m
+	branch set_sync_on_24m
+
+p_set_sync_on_16m:
+	jam 0x29,core_syn_afc_cfg1
+	branch set_sync_on_16m
+	
 p_adc_init_data:
 	arg mem_temp_block2,rega
 	arg 12,temp
@@ -160,9 +188,18 @@
 	jam 0x05,core_rf_ldo_cfg3
 	jam 0x90,core_syn_pfd_lkd_cfg
 
+	jam 0x00,core_syn_loopdiv_dsm_cfg
+	jam 0x40,0x8921
+	
 	branch initialize_radio_cont+8
 
-
+p_le_enable:
+	call le_enable+1
+	jam 0x89,core_rx_bq_cfg0
+	fetch 1,core_syn_cal_ctrl
+	or pdata,0x0f,pdata
+	store 1,core_syn_cal_ctrl
+	rtn
 
 p_init_param:
 	jam 0,mem_lmo_tid2			// classic can't reconnect
@@ -272,6 +309,22 @@
 	rtn blank
 	branch g24_transmit_by_interrupt_enable
 
+p_g24_pair_dispatch:
+	fetch 2,mem_24g_pair_count
+	increase 1,pdata
+	store 2,mem_24g_pair_count
+	fetch 1,mem_24g_pair_count
+	and pdata,0xff,pdata
+	beq 0,g24_pair_dispatch+1
+	rtn
+p_g24_reconn_dispatch:
+	fetch 2,mem_24g_reconn_count
+	and pdata,0xff,pdata
+	beq 0,g24_reconn_dispatch+1
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	rtn
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch p_g24_nodata_transmit,user
@@ -342,11 +395,21 @@
 	increase 1,pdata
 	store 2,mem_24g_txfail_cnt	
 	fetch 1,mem_24g_txfail_cnt+1
-	bbit1 4,g24_tx_attempt_fail
+	bbit1 2,g24_tx_attempt_fail
 	call g24_transmit_hop_process
+	call p_delay_100ms
 	branch p_g24_transmit_loop
 /////////////////////////////////// g24 250Hz use lpm//////////////////////////////////////
 	
+p_delay_100ms:
+	fetch 1,mem_24g_txfail_cnt+1
+	sub pdata,0x01,null
+	rtn positive
+	arg 100,loopcnt
+p_delay_ms_wait:
+	nop 12000
+	loop delay_ms_wait
+	rtn	
 p_mouse_app_enter_hibernate:	// 1.3mA hibernate after sensroe reset
 	setarg PAN_REG_CONFIG
 	call twspi_read
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/sched/mouse.dat	(revision 575)
+++ /YC1308AC/branch/mouse_project/FD_Project/Only24g_16M/sched/mouse.dat	(working copy)
@@ -1,6 +1,6 @@
 mem_device_option:08	#08 mouse
 
-mem_lpm_config:88 1f ce	#4khz
+mem_lpm_config:88 10 ce	#4khz
 mem_fcomp_div:18
 
 mem_rf_init_data:ff
@@ -219,7 +219,7 @@
 mem_lpm_mult_init:20
 
 mem_app_connection_options:06
-mem_lap:16 a0 c8 12 23 51
+mem_lap:32 58 c8 12 23 51
 mem_local_name_length:
 'Bluetooth Mouse 3.0
 mem_sniff_param_interval:
