Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/app_mouse.format	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/app_mouse.format	(working copy)
@@ -394,14 +394,13 @@
 3 mem_24g_short_sleep_set_init
 2 mem_retransmit
 1 mem_sleep_miss
-4 mem_sleep_time_temp
+1 mem_long_sleep_flag
 4 mem_sleep_miss_temp
 0 mem_mouse_end
 
 16 mem_mouse_rssi_signal_buf_patch
 16 mem_mouse_rssi_signal_buf_temp
 
-1 mem_soft_agc_en
 1 mem_xtal_cache
 
 //uart start 
@@ -423,6 +422,12 @@
 1 mem_low_power_led_flag
 1 mem_24g_low_power_stop_blink
 1 mem_24g_low_power_led_off
+//le conn param update
+1 mem_mouse_le_send_conn_param_update
+1 mem_mouse_le_send_conn_param_update_timer
+
+//tx power
+1 mem_normal_tx_power
 )
 
 
Index: format/bt.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/bt.format	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/bt.format	(working copy)
@@ -408,13 +408,12 @@
 
 0x83 TX_POWER_F3DB
 0x85 TX_POWER_F5DB
+0x91 TX_POWER_F17DB
 0x94 TX_POWER_F20DB
 0x9e TX_POWER_F30DB
 0xa8 TX_POWER_F40DB
 0xb2 TX_POWER_F50DB
 0xbc TX_POWER_F60DB
-
-0xaa TX_POWER_FAST_CONN
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/eeprom.dat	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/eeprom.dat	(working copy)
@@ -2,40 +2,32 @@
 02
 aa
 55
-56
+6a
 19
 c2
 84
 00
-1d
+1c
 c0
 00
 03
-13
+19
 c0
 41
-83
-6d
-c0
-42
 03
-74
+73
 c0
-42
+41
 83
-78
+7a
 c0
 45
 03
-8d
+81
 c0
 45
 83
-60
-c0
-46
-03
-93
+66
 c0
 57
 00
@@ -43,27 +35,27 @@
 c0
 61
 80
-9d
+9e
 c0
 62
 00
-b2
+b6
 c0
 63
 80
-b9
+bd
 c0
 64
 80
-bf
+c3
 c0
 65
 01
-00
+03
 c0
 66
 00
-b5
+b9
 c0
 67
 00
@@ -71,19 +63,19 @@
 c0
 67
 82
-8e
+94
 c0
 68
 02
-60
+66
 c0
 68
 81
-c5
+c9
 c0
 6a
 01
-b0
+b4
 c0
 6b
 00
@@ -91,7 +83,7 @@
 c0
 6c
 81
-09
+0b
 c0
 6f
 00
@@ -99,23 +91,27 @@
 c0
 70
 83
-43
+49
 c0
 71
 03
-3f
+45
 c0
 6d
 05
-9f
+9b
+c0
+6d
+85
+c5
 c0
 4f
 83
-d1
+ac
 c0
 74
 06
-41
+46
 20
 20
 13
@@ -127,55 +123,59 @@
 c0
 19
 83
-ad
+88
 c0
 1a
 03
-b2
+8d
 c0
 43
 83
-cd
+a8
 c0
 6e
 84
-4b
+22
 c0
 6f
 03
-ff
+da
 c0
 70
 83
-df
+ba
 c0
 71
 04
-ff
+f2
 c0
 74
 85
-26
+19
 c0
 75
 04
-4f
+30
 c0
 76
 04
-b8
+9c
+c0
+0d
+06
+38
 c0
 50
 83
-d3
+ae
 c0
 51
 83
-dd
+b8
 c0
 60
 06
-17
+12
 20
 20
 13
@@ -184,10 +184,6 @@
 3f
 80
 34
-24
-55
-85
-cb
 20
 40
 6d
@@ -195,11 +191,11 @@
 20
 40
 00
-3d
+38
 24
 55
 80
-60
+63
 20
 40
 41
@@ -210,22 +206,6 @@
 00
 20
 40
-02
-be
-6f
-e1
-c8
-ad
-67
-e1
-cc
-64
-20
-40
-04
-fb
-20
-40
 40
 8e
 20
@@ -243,7 +223,7 @@
 20
 40
 01
-bc
+c0
 20
 20
 3b
@@ -270,8 +250,16 @@
 ff
 20
 40
-00
-6b
+04
+ee
+20
+40
+3f
+1e
+20
+40
+05
+c8
 20
 40
 3d
@@ -279,37 +267,61 @@
 20
 40
 00
-4c
+4f
+20
+40
+02
+c4
 20
 40
 01
-2c
+7a
 20
 40
-02
-86
+01
+6d
 20
 40
-02
-cb
-6f
-e4
-4b
-ab
-c3
-0c
-3b
-f5
+01
+2e
 20
 40
 02
-ce
+8c
+20
+40
+00
+49
 20
 20
 3b
 f5
 6f
 e0
+c1
+e8
+67
+e0
+cc
+a9
+20
+60
+00
+00
+6f
+e0
+cc
+a9
+67
+e0
+c1
+e8
+20
+60
+00
+00
+6f
+e0
 c9
 17
 c1
@@ -335,7 +347,7 @@
 20
 20
 80
-5a
+5d
 6f
 e0
 c9
@@ -359,11 +371,11 @@
 20
 20
 80
-5c
+5f
 20
 20
 00
-5e
+61
 70
 49
 28
@@ -395,11 +407,11 @@
 20
 3a
 00
-67
+6a
 20
 20
 00
-63
+66
 6f
 e4
 4b
@@ -432,22 +444,10 @@
 60
 00
 00
-6f
-e0
-cc
-40
-24
-5a
-01
-69
-20
-20
-3f
-1e
 58
 00
 02
-d1
+d4
 67
 e1
 48
@@ -455,7 +455,7 @@
 58
 00
 02
-ed
+f3
 67
 e1
 48
@@ -503,7 +503,7 @@
 20
 40
 01
-c3
+c7
 6f
 e0
 c8
@@ -527,18 +527,18 @@
 20
 40
 01
-ad
+b1
 20
 20
 45
 44
 70
 4c
-a8
+a4
 00
 70
 4c
-a9
+a5
 00
 20
 60
@@ -551,14 +551,14 @@
 6f
 e0
 cc
-a9
+a5
 24
 7a
 00
 00
 70
 4c
-a9
+a5
 64
 20
 60
@@ -574,12 +574,12 @@
 36
 20
 40
+02
 01
-fb
 20
 40
 02
-0f
+15
 20
 20
 46
@@ -599,35 +599,39 @@
 c0
 1e
 05
-5d
+52
 c0
 1c
 85
-56
+4b
 c0
 1d
 05
-68
+63
 c0
 19
-06
-03
-c0
-22
-06
-0a
+05
+fc
 c0
 0a
 85
-f9
+f6
 c0
 0a
 05
-f6
+f3
+c0
+22
+06
+03
+c0
+20
+06
+0d
 c0
 00
 86
-3d
+42
 20
 20
 43
@@ -647,7 +651,7 @@
 c0
 00
 00
-a2
+a3
 20
 20
 3d
@@ -667,7 +671,7 @@
 20
 34
 00
-ac
+b0
 6f
 e4
 4b
@@ -675,11 +679,11 @@
 c2
 98
 00
-af
+b3
 c3
 18
 80
-af
+b3
 20
 40
 41
@@ -688,10 +692,22 @@
 21
 7e
 07
+68
+48
+cb
+cb
+98
+46
+7c
+00
 20
+22
+c8
+27
 20
-47
-ff
+20
+00
+b3
 6f
 e0
 cc
@@ -699,7 +715,7 @@
 24
 5a
 01
-31
+33
 20
 20
 48
@@ -711,7 +727,7 @@
 24
 5a
 01
-31
+33
 20
 20
 48
@@ -723,7 +739,7 @@
 24
 5a
 01
-31
+33
 20
 20
 3d
@@ -739,7 +755,7 @@
 20
 40
 03
-b2
+8d
 20
 20
 3e
@@ -759,11 +775,11 @@
 20
 40
 01
-b7
+bb
 20
 40
 01
-bc
+c0
 20
 20
 3e
@@ -779,11 +795,11 @@
 20
 40
 01
-76
+7a
 20
 40
 01
-69
+6d
 20
 40
 40
@@ -808,14 +824,10 @@
 e0
 c9
 20
-d8
-40
-00
-3f
 20
 40
-60
-93
+01
+fb
 d8
 40
 00
@@ -843,19 +855,19 @@
 20
 40
 00
-d5
+d8
 20
 40
 00
-e0
+e3
 20
 40
 00
-ed
+f0
 20
 20
 00
-f4
+f7
 6f
 e0
 c9
@@ -871,11 +883,11 @@
 c0
 01
 80
-db
+de
 c0
 01
 00
-dd
+e0
 20
 60
 00
@@ -947,7 +959,7 @@
 c2
 00
 00
-e4
+e7
 20
 60
 00
@@ -1008,26 +1020,26 @@
 e0
 c9
 13
-d8
-40
-00
-80
 20
 40
-60
-93
+3f
+54
 6f
 e0
 c9
 14
-d8
+20
+20
+3f
+54
+20
 40
-00
-80
+7f
+dc
 20
 20
-60
-93
+15
+b1
 68
 48
 c9
@@ -1052,14 +1064,10 @@
 e0
 c9
 1f
-d8
-40
-00
-3f
 20
 40
-60
-93
+01
+fb
 20
 20
 3e
@@ -1071,7 +1079,7 @@
 20
 40
 01
-aa
+ae
 20
 40
 23
@@ -1091,15 +1099,15 @@
 20
 40
 01
-7c
+80
 20
 40
 01
-3a
+3c
 20
 40
 01
-6c
+70
 20
 40
 40
@@ -1111,7 +1119,7 @@
 20
 40
 01
-7f
+83
 20
 40
 44
@@ -1119,11 +1127,11 @@
 20
 40
 01
-9c
+a0
 20
 40
 01
-a2
+a6
 20
 40
 45
@@ -1135,13 +1143,17 @@
 20
 40
 05
-9c
+95
 20
 40
 45
 15
 20
 40
+05
+98
+20
+40
 45
 2a
 20
@@ -1163,11 +1175,11 @@
 20
 40
 01
-23
+26
 20
 20
 01
-96
+9a
 da
 60
 49
@@ -1175,7 +1187,7 @@
 da
 40
 01
-26
+29
 20
 20
 31
@@ -1188,18 +1200,14 @@
 e0
 ca
 c5
-24
-3a
-01
-2a
 20
-60
+7a
 00
 00
 20
 40
 03
-31
+37
 20
 20
 46
@@ -1275,7 +1283,7 @@
 c0
 00
 81
-4a
+4c
 6f
 e0
 cc
@@ -1283,7 +1291,7 @@
 24
 3a
 01
-42
+44
 70
 4c
 41
@@ -1299,7 +1307,7 @@
 20
 3a
 01
-47
+49
 1f
 e0
 ff
@@ -1311,7 +1319,7 @@
 20
 20
 01
-51
+53
 70
 4c
 45
@@ -1323,7 +1331,7 @@
 20
 20
 01
-5d
+5f
 da
 60
 4c
@@ -1331,7 +1339,7 @@
 da
 40
 01
-4d
+4f
 20
 20
 31
@@ -1351,7 +1359,7 @@
 c0
 00
 81
-5d
+5f
 70
 4c
 4d
@@ -1363,15 +1371,15 @@
 c0
 00
 01
-57
+59
 c0
 00
 81
-59
+5b
 c0
 01
 01
-5b
+5d
 20
 60
 00
@@ -1383,7 +1391,7 @@
 20
 20
 01
-5c
+5e
 68
 48
 cc
@@ -1391,7 +1399,7 @@
 20
 20
 01
-5c
+5e
 68
 48
 cc
@@ -1411,15 +1419,15 @@
 c0
 00
 01
-63
+65
 c0
 00
 81
-65
+69
 c0
 01
 01
-67
+6b
 20
 60
 00
@@ -1428,6 +1436,14 @@
 48
 cc
 48
+18
+46
+7c
+ff
+20
+62
+80
+00
 20
 20
 60
@@ -1438,28 +1454,28 @@
 49
 20
 20
-60
-7f
+01
+66
 68
 48
 cc
 4a
 20
 20
-60
-7f
+01
+66
 20
 40
 01
-63
+65
 20
 40
 01
-65
+69
 20
 20
 01
-67
+6b
 6f
 e0
 cb
@@ -1499,7 +1515,7 @@
 20
 21
 01
-7a
+7e
 68
 48
 cb
@@ -1510,8 +1526,8 @@
 40
 c0
 00
-e0
-7f
+81
+66
 20
 20
 60
@@ -1531,7 +1547,7 @@
 da
 40
 02
-71
+77
 20
 20
 31
@@ -1543,7 +1559,7 @@
 c0
 00
 01
-85
+89
 6f
 e4
 4b
@@ -1559,7 +1575,7 @@
 20
 20
 01
-88
+8c
 6f
 e4
 4b
@@ -1595,7 +1611,7 @@
 20
 22
 81
-8f
+93
 20
 20
 44
@@ -1603,7 +1619,7 @@
 20
 40
 01
-94
+98
 6f
 e0
 cb
@@ -1623,7 +1639,7 @@
 da
 40
 05
-7c
+77
 20
 20
 44
@@ -1635,7 +1651,7 @@
 da
 40
 01
-99
+9d
 20
 20
 31
@@ -1647,7 +1663,7 @@
 c0
 00
 05
-93
+8c
 20
 20
 43
@@ -1655,22 +1671,22 @@
 da
 40
 01
-9f
+a3
 da
 60
 4c
-a9
+a5
 20
 20
 31
 8a
 70
 4c
-a8
+a4
 01
 70
 4c
-aa
+a6
 0a
 20
 60
@@ -1679,11 +1695,11 @@
 da
 40
 01
-a5
+a9
 da
 60
 4c
-aa
+a6
 20
 20
 31
@@ -1711,7 +1727,7 @@
 6f
 e0
 cc
-a8
+a4
 20
 3a
 49
@@ -1743,7 +1759,7 @@
 c0
 05
 81
-b4
+b8
 20
 20
 42
@@ -1751,7 +1767,7 @@
 20
 40
 01
-ba
+be
 da
 60
 4b
@@ -1767,7 +1783,7 @@
 c0
 05
 81
-ba
+be
 20
 20
 42
@@ -1795,7 +1811,7 @@
 c0
 05
 81
-c1
+c5
 20
 20
 42
@@ -1811,7 +1827,7 @@
 20
 40
 01
-c5
+c9
 20
 20
 40
@@ -1831,23 +1847,23 @@
 20
 40
 01
-ce
+d2
 20
 40
 01
-d3
+d7
 20
 40
 01
-d8
+dc
 20
 40
 01
-dd
+e1
 20
 40
 01
-ea
+ee
 20
 20
 41
@@ -1859,7 +1875,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1879,7 +1895,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1899,7 +1915,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1943,7 +1959,7 @@
 c0
 7f
 81
-e6
+ea
 20
 20
 41
@@ -1955,7 +1971,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -1995,7 +2011,7 @@
 c0
 7f
 81
-f3
+f7
 20
 20
 41
@@ -2007,7 +2023,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -2016,6 +2032,10 @@
 20
 41
 64
+c1
+7f
+80
+00
 d8
 40
 00
@@ -2024,6 +2044,10 @@
 20
 60
 93
+c1
+7f
+80
+00
 d8
 40
 00
@@ -2063,7 +2087,7 @@
 20
 40
 02
-04
+0a
 20
 20
 40
@@ -2091,7 +2115,7 @@
 c0
 7f
 82
-0b
+11
 20
 20
 40
@@ -2103,7 +2127,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -2127,7 +2151,7 @@
 24
 3a
 02
-18
+1e
 6f
 e0
 cc
@@ -2135,11 +2159,11 @@
 20
 40
 01
-f7
+fb
 20
 40
 02
-28
+2e
 68
 48
 cc
@@ -2163,7 +2187,7 @@
 20
 40
 01
-f9
+fe
 70
 4c
 3f
@@ -2179,11 +2203,11 @@
 20
 40
 02
-41
+47
 20
 40
 02
-2c
+32
 68
 48
 cc
@@ -2227,7 +2251,7 @@
 20
 40
 02
-37
+3d
 67
 e0
 cc
@@ -2239,7 +2263,7 @@
 20
 3a
 02
-33
+39
 6f
 e0
 cc
@@ -2303,11 +2327,11 @@
 c0
 03
 82
-4c
+52
 c0
 00
 02
-4e
+54
 20
 60
 00
@@ -2347,11 +2371,11 @@
 c0
 03
 82
-4c
+52
 c0
 00
 02
-4e
+54
 20
 60
 00
@@ -2407,7 +2431,7 @@
 c0
 7f
 82
-5d
+63
 20
 40
 41
@@ -2435,7 +2459,7 @@
 20
 20
 02
-5a
+60
 20
 40
 40
@@ -2443,7 +2467,7 @@
 20
 40
 02
-63
+69
 20
 20
 40
@@ -2495,7 +2519,7 @@
 20
 3a
 02
-71
+77
 67
 e0
 cb
@@ -2555,11 +2579,11 @@
 20
 41
 02
-80
+86
 24
 41
 02
-84
+8a
 20
 20
 48
@@ -2603,7 +2627,7 @@
 c2
 83
 82
-8c
+92
 70
 4c
 3a
@@ -2643,7 +2667,7 @@
 c2
 9e
 82
-9a
+a0
 18
 42
 7e
@@ -2675,7 +2699,7 @@
 24
 3a
 02
-b7
+bd
 6f
 e4
 4b
@@ -2683,7 +2707,7 @@
 c2
 8e
 02
-ab
+b1
 18
 42
 7e
@@ -2695,11 +2719,11 @@
 c0
 00
 02
-a7
+ad
 c0
 01
 02
-a5
+ab
 20
 60
 00
@@ -2711,7 +2735,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2719,7 +2743,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2727,7 +2751,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2735,7 +2759,7 @@
 20
 20
 02
-97
+9d
 18
 42
 7e
@@ -2747,15 +2771,15 @@
 c0
 00
 02
-a7
+ad
 c0
 01
 02
-a9
+af
 c0
 01
 82
-a5
+ab
 20
 60
 00
@@ -2771,15 +2795,15 @@
 c0
 00
 02
-a9
+af
 c0
 00
 82
-a5
+ab
 c0
 01
 82
-a3
+a9
 20
 60
 00
@@ -2791,7 +2815,7 @@
 c2
 8e
 02
-b1
+b7
 18
 42
 7e
@@ -2803,47 +2827,23 @@
 c0
 00
 02
-a3
+a9
 c0
 00
 82
-a5
+ab
 20
 60
 00
 00
-58
-01
-77
-00
-67
-e1
-cc
-4e
-20
-40
-26
-13
-70
-48
-c6
-1e
 6f
 e4
 4b
 ab
-c4
+c3
 0c
-00
-00
-20
-40
-26
-0b
-70
-48
-c6
-0f
+02
+cd
 58
 00
 bb
@@ -2854,36 +2854,48 @@
 4e
 58
 00
-48
-00
+6c
+10
 67
 e1
 c8
 ad
+67
+e1
+cc
+64
+70
+48
+c6
+0f
 20
 60
 00
 00
 58
+01
+77
 00
-e2
-90
 67
 e1
-c8
-ad
-20
-60
-00
-00
+cc
+4e
 58
-00
-17
-70
+01
+0b
+60
 67
 e1
 c8
 ad
+67
+e1
+cc
+64
+70
+48
+c6
+1e
 20
 60
 00
@@ -2901,13 +2913,25 @@
 00
 00
 6f
+e0
+cc
+6a
+70
+4c
+6a
+00
+24
+5a
+01
+01
+6f
 e4
 4b
 ab
 c3
 0a
 82
-d8
+de
 6f
 e0
 cb
@@ -2927,7 +2951,7 @@
 c2
 80
 82
-e7
+ed
 68
 48
 c7
@@ -3067,7 +3091,7 @@
 24
 21
 03
-03
+09
 20
 40
 25
@@ -3075,15 +3099,15 @@
 20
 40
 04
-2a
+02
 24
 2c
 03
-09
+0f
 24
 37
 83
-09
+0f
 20
 40
 48
@@ -3107,7 +3131,7 @@
 c0
 08
 03
-0b
+11
 20
 60
 00
@@ -3119,7 +3143,7 @@
 20
 20
 02
-f9
+ff
 70
 4b
 a3
@@ -3151,7 +3175,7 @@
 20
 20
 01
-bc
+c0
 20
 80
 00
@@ -3159,7 +3183,7 @@
 24
 55
 83
-3c
+42
 20
 40
 30
@@ -3167,11 +3191,11 @@
 24
 55
 83
-47
+4d
 58
 00
 4c
-72
+6f
 67
 e1
 48
@@ -3195,7 +3219,7 @@
 c0
 0c
 03
-1f
+25
 70
 80
 42
@@ -3203,7 +3227,7 @@
 6f
 e0
 cc
-93
+8f
 67
 e0
 c1
@@ -3323,7 +3347,7 @@
 67
 e0
 cc
-93
+8f
 20
 60
 00
@@ -3383,7 +3407,7 @@
 c0
 04
 03
-4f
+55
 58
 00
 00
@@ -3395,7 +3419,7 @@
 70
 4c
 63
-8c
+fa
 20
 40
 12
@@ -3512,6 +3536,34 @@
 20
 12
 5d
+6f
+e0
+c1
+ea
+67
+e0
+89
+64
+20
+40
+11
+50
+70
+8a
+0a
+00
+6f
+e0
+89
+64
+67
+e0
+c1
+ea
+20
+60
+00
+00
 70
 89
 00
@@ -3540,114 +3592,18 @@
 20
 11
 7d
-20
-40
-11
-90
-58
-00
-76
-76
-67
-f1
-09
-68
-20
-60
-00
-00
-6f
-e0
-c9
-38
-c0
-80
-11
-a7
 6f
 e0
-cc
-92
-24
-3a
-03
-84
-20
-00
-01
-2c
-20
-40
-4c
-a7
-d8
+c1
+e8
 c0
-41
-eb
-98
+48
+83
+85
 c0
-8c
-00
-ef
-e0
-80
-06
-67
-f0
-89
-61
-70
-89
-60
-2e
-20
-20
-11
-b3
-6f
-f0
-89
-60
-1f
-e1
-fe
-01
-67
-f0
-89
-60
-70
-89
-61
-04
-20
-20
-11
-b3
-70
-4c
-92
-00
-20
-60
-00
-00
-70
-4c
-92
-01
-20
-60
-00
-00
-6f
-e0
-cc
-92
-24
-3a
-03
-90
+4a
+12
+44
 20
 20
 12
@@ -3664,110 +3620,6 @@
 20
 12
 2a
-6f
-f0
-89
-a2
-2f
-ef
-fe
-06
-79
-20
-fe
-07
-67
-e0
-c1
-e9
-6f
-f0
-89
-a3
-1f
-e1
-04
-0f
-18
-43
-84
-00
-1f
-f1
-fe
-00
-98
-40
-84
-00
-18
-4f
-a2
-03
-6f
-e0
-c1
-e9
-20
-40
-03
-a8
-1f
-e6
-7e
-00
-9a
-20
-fe
-00
-1f
-e0
-ff
-f7
-1f
-e1
-7f
-ff
-2f
-ef
-fe
-08
-24
-20
-83
-a6
-58
-00
-00
-00
-67
-e0
-80
-19
-20
-60
-00
-00
-2f
-ef
-fe
-07
-24
-60
-80
-00
-d8
-40
-ff
-00
-98
-41
-fe
-00
-20
-60
-00
-00
 da
 20
 09
@@ -4023,7 +3875,7 @@
 c5
 16
 83
-f3
+ce
 19
 31
 7e
@@ -4063,7 +3915,7 @@
 c2
 00
 03
-f5
+d0
 19
 31
 7e
@@ -4095,7 +3947,7 @@
 20
 20
 03
-f1
+cc
 6f
 e0
 c8
@@ -4128,26 +3980,14 @@
 40
 16
 c8
-6f
-f0
-89
-60
-79
-20
-7e
-03
-67
-f0
-89
-60
 20
 40
 21
 d5
 c5
 97
-84
-0f
+83
+e7
 78
 3c
 fc
@@ -4219,7 +4059,7 @@
 20
 40
 02
-50
+56
 6f
 e0
 c8
@@ -4251,7 +4091,7 @@
 20
 40
 04
-3b
+11
 6f
 e1
 4c
@@ -4267,7 +4107,7 @@
 20
 20
 04
-86
+6b
 78
 57
 fc
@@ -4309,33 +4149,25 @@
 11
 8f
 20
+00
+01
+2c
+20
 40
 11
 a6
 20
 40
-04
-0a
+03
+e2
 20
 57
-84
-38
+a2
+3f
 20
 60
 00
 00
-70
-8a
-0a
-00
-70
-8a
-0b
-00
-20
-20
-12
-9c
 68
 48
 c8
@@ -4350,8 +4182,8 @@
 00
 24
 21
-26
-9c
+04
+21
 18
 40
 84
@@ -4367,7 +4199,7 @@
 c0
 07
 84
-47
+1d
 6f
 e0
 c8
@@ -4400,6 +4232,10 @@
 60
 00
 00
+20
+20
+22
+cb
 c5
 13
 a4
@@ -4416,6 +4252,46 @@
 20
 26
 1d
+6f
+e2
+48
+91
+68
+4a
+48
+8d
+98
+46
+7c
+00
+20
+22
+84
+2b
+20
+20
+04
+2e
+70
+41
+ea
+00
+70
+41
+e8
+91
+20
+60
+00
+00
+70
+41
+ea
+ff
+20
+60
+00
+00
 20
 40
 26
@@ -4423,11 +4299,15 @@
 24
 34
 04
-9c
+7f
 20
 40
 04
-83
+68
+20
+40
+04
+26
 6f
 e0
 cb
@@ -4435,7 +4315,7 @@
 24
 3a
 04
-58
+3a
 6f
 e4
 48
@@ -4475,7 +4355,7 @@
 24
 22
 84
-7d
+45
 68
 49
 4c
@@ -4487,7 +4367,7 @@
 20
 22
 84
-73
+5c
 6f
 e2
 4c
@@ -4495,7 +4375,27 @@
 20
 3a
 04
-73
+5c
+68
+4a
+4c
+6b
+28
+4f
+fe
+1f
+20
+20
+84
+57
+6f
+e2
+4c
+59
+98
+40
+fe
+00
 68
 4a
 4c
@@ -4507,11 +4407,11 @@
 60
 4a
 4c
-6e
+6b
 24
 21
 04
-76
+5f
 6f
 e1
 c8
@@ -4523,7 +4423,7 @@
 24
 21
 04
-81
+66
 d8
 40
 06
@@ -4535,19 +4435,7 @@
 24
 21
 04
-81
-67
-e2
-4c
-6a
-20
-40
-04
-7a
-6f
-e2
-4c
-6a
+66
 20
 40
 7d
@@ -4559,11 +4447,31 @@
 20
 20
 03
-4b
+51
+df
+ff
+ff
+ff
+98
+46
+5e
+00
+6f
+e2
+4c
+59
+9d
+e6
+7e
+00
+20
+20
+04
+4a
 20
 40
 04
-7a
+63
 6f
 e1
 c8
@@ -4571,7 +4479,7 @@
 20
 20
 04
-6d
+54
 18
 46
 04
@@ -4587,7 +4495,7 @@
 20
 20
 04
-6d
+54
 58
 00
 00
@@ -4595,27 +4503,11 @@
 67
 e2
 4c
-6e
+6b
 20
 60
 00
 00
-6f
-e2
-4c
-59
-68
-4a
-4c
-6e
-98
-40
-fe
-00
-20
-20
-04
-63
 70
 4c
 69
@@ -4624,22 +4516,22 @@
 60
 00
 00
-70
-48
-a6
-00
 58
 00
 00
 00
 67
+e0
+c8
+a6
+67
 e1
 4c
 67
 20
 40
 04
-2a
+02
 6f
 e0
 c8
@@ -4650,16 +4542,16 @@
 51
 24
 2c
-04
-1b
+03
+f3
 24
 37
-84
-1b
+83
+f3
 20
 40
 04
-c3
+a7
 20
 40
 26
@@ -4667,7 +4559,7 @@
 20
 40
 04
-8f
+74
 20
 20
 26
@@ -4679,7 +4571,7 @@
 24
 5a
 04
-93
+78
 70
 4b
 e1
@@ -4704,26 +4596,18 @@
 e0
 c9
 13
-d8
-40
-00
-40
 20
 40
-60
-93
+3f
+56
 6f
 e0
 c9
 14
-d8
-40
-00
-40
 20
 20
-60
-93
+3f
+56
 6f
 e0
 c8
@@ -4731,7 +4615,7 @@
 20
 5a
 04
-aa
+8e
 6f
 e0
 c8
@@ -4760,10 +4644,14 @@
 4c
 69
 00
+70
+4c
+6a
+01
 20
 40
 04
-fb
+ee
 6f
 e0
 cb
@@ -4835,7 +4723,7 @@
 20
 20
 04
-51
+32
 6f
 e0
 cb
@@ -4887,7 +4775,7 @@
 c0
 00
 84
-f7
+ea
 6f
 e0
 cc
@@ -4895,7 +4783,7 @@
 20
 3a
 04
-f7
+ea
 1b
 22
 7e
@@ -4932,10 +4820,34 @@
 7a
 00
 00
-6f
-e2
-4c
-59
+6f
+e2
+4c
+6b
+24
+7a
+00
+00
+6f
+e2
+4c
+59
+68
+4a
+4c
+4e
+18
+43
+84
+00
+98
+46
+7c
+00
+20
+21
+04
+ee
 68
 4a
 cc
@@ -4963,7 +4875,7 @@
 20
 22
 84
-db
+c5
 18
 40
 84
@@ -5020,10 +4932,6 @@
 46
 04
 00
-18
-40
-85
-d8
 1a
 22
 7e
@@ -5035,7 +4943,7 @@
 20
 21
 04
-f0
+de
 1f
 e6
 7e
@@ -5052,6 +4960,26 @@
 40
 84
 00
+6f
+e1
+cc
+64
+da
+20
+18
+00
+9a
+20
+fe
+00
+98
+46
+7c
+00
+24
+21
+04
+e8
 60
 49
 c8
@@ -5072,6 +5000,26 @@
 46
 04
 00
+6f
+e1
+cc
+64
+da
+20
+18
+00
+9a
+26
+7e
+00
+98
+46
+7c
+00
+20
+21
+04
+e8
 60
 49
 c8
@@ -5159,19 +5107,19 @@
 c0
 00
 85
-0d
+00
 c0
 01
 05
-0f
+02
 c0
 01
 85
-15
+08
 c0
 02
 05
-1b
+0e
 20
 60
 00
@@ -5183,7 +5131,7 @@
 20
 20
 05
-1c
+0f
 6f
 e0
 c8
@@ -5191,7 +5139,7 @@
 20
 3a
 05
-13
+06
 6f
 e2
 48
@@ -5207,7 +5155,7 @@
 20
 20
 05
-1c
+0f
 70
 47
 c6
@@ -5219,7 +5167,7 @@
 20
 3a
 05
-1c
+0f
 6f
 e2
 48
@@ -5231,7 +5179,7 @@
 20
 20
 05
-1e
+11
 70
 47
 c6
@@ -5271,7 +5219,7 @@
 20
 40
 04
-2a
+02
 20
 20
 23
@@ -5291,7 +5239,7 @@
 20
 3a
 05
-2e
+21
 6f
 e1
 48
@@ -5315,15 +5263,15 @@
 20
 40
 04
-2a
+02
 24
 2c
 05
-47
+3a
 24
 37
 85
-47
+3a
 20
 40
 26
@@ -5359,7 +5307,7 @@
 20
 42
 85
-43
+36
 6f
 e0
 c8
@@ -5428,38 +5376,22 @@
 e1
 48
 89
-6f
-e0
-c8
-8a
 2f
 ef
 fe
-01
+09
 6f
 e0
 c8
 8b
 c0
-00
-a5
-ad
-c0
-01
-25
-af
-c0
-01
-a5
-b1
-c0
 02
 05
-54
+43
 20
 20
 25
-6e
+a8
 20
 20
 a5
@@ -5468,6 +5400,38 @@
 20
 23
 39
+6f
+e0
+cc
+40
+20
+3a
+48
+c6
+20
+20
+01
+38
+6f
+e0
+cc
+40
+20
+3a
+48
+cc
+20
+20
+01
+33
+20
+40
+04
+2e
+20
+40
+00
+4c
 20
 40
 45
@@ -5480,18 +5444,10 @@
 40
 46
 f4
-6f
-e0
-cc
-40
-c0
-00
-48
-59
 20
 40
-01
-36
+05
+45
 20
 20
 48
@@ -5512,34 +5468,66 @@
 40
 25
 7e
-6f
-e0
-cc
+20
 40
-c0
-00
 05
-65
+45
 20
 40
-01
-36
+45
+44
 20
+40
+42
+ca
+70
+4a
+ae
+00
+70
+48
+a1
+00
+70
+48
+8b
+00
+6f
+e2
+48
+91
+6f
+e2
+48
+8d
+98
+46
+7c
+00
 20
-05
-66
+62
+80
+00
 20
 40
-48
-c6
+04
+2e
 20
 40
-45
-44
+00
+4c
 20
 20
 48
-4e
+22
+20
+40
+04
+2e
+20
+40
+00
+4c
 6f
 e0
 c8
@@ -5547,7 +5535,7 @@
 24
 3a
 05
-93
+8c
 6f
 e0
 c8
@@ -5555,15 +5543,15 @@
 c0
 01
 05
-6f
+6c
 c0
 02
 05
-87
+80
 c0
 01
 85
-8c
+85
 20
 20
 48
@@ -5575,11 +5563,11 @@
 c2
 97
 85
-78
+75
 c2
 98
 05
-78
+75
 c3
 1d
 48
@@ -5599,23 +5587,15 @@
 20
 22
 85
-7c
+77
 20
 20
 48
 06
-6f
-e0
-cc
-40
-c0
-00
-48
-11
 20
 40
-01
-31
+05
+48
 20
 20
 48
@@ -5646,20 +5626,12 @@
 76
 20
 40
-49
-8e
-6f
-e0
-cc
-40
-c0
-00
-48
-2d
+49
+8e
 20
 40
-01
-31
+05
+48
 20
 20
 48
@@ -5671,7 +5643,7 @@
 c3
 17
 85
-91
+8a
 6f
 e0
 cb
@@ -5679,7 +5651,7 @@
 c0
 00
 85
-91
+8a
 20
 20
 48
@@ -5691,15 +5663,15 @@
 c3
 17
 85
-91
+8a
 c2
 89
 85
-91
+8a
 c2
 89
 05
-91
+8a
 20
 20
 48
@@ -5743,11 +5715,11 @@
 20
 40
 01
-bc
+c0
 20
 20
 04
-a1
+84
 6f
 e4
 4b
@@ -5760,6 +5732,18 @@
 20
 45
 1f
+da
+60
+4c
+a8
+da
+40
+43
+6c
+20
+20
+31
+8a
 6f
 e1
 47
@@ -5803,7 +5787,7 @@
 c2
 85
 85
-b2
+ae
 6f
 e4
 4b
@@ -5811,7 +5795,7 @@
 c3
 04
 05
-b2
+ae
 68
 49
 49
@@ -5924,18 +5908,22 @@
 40
 49
 8e
-6f
-e0
-cc
-40
-24
-3a
-01
-31
 20
 20
+05
 48
-cc
+58
+00
+00
+00
+67
+e1
+4a
+c2
+20
+20
+45
+77
 6f
 e4
 4c
@@ -5959,7 +5947,7 @@
 24
 21
 05
-dd
+da
 d8
 c0
 4c
@@ -6011,7 +5999,7 @@
 20
 40
 05
-f3
+f0
 6f
 e0
 cc
@@ -6115,7 +6103,7 @@
 24
 5a
 01
-36
+38
 20
 20
 43
@@ -6128,38 +6116,22 @@
 e1
 4a
 f2
-70
-4a
-c6
-00
-58
-00
-00
-06
 67
-e1
-43
-72
+e0
+cc
+a7
 67
-e1
-43
-74
-6f
-e4
-4b
-ab
-c2
-8d
-c3
-66
-58
-00
-00
-07
+e0
+cc
+a8
+67
+e0
+ca
+c6
 20
 20
 43
-64
+66
 6f
 e0
 ca
@@ -6167,7 +6139,7 @@
 c0
 00
 86
-07
+00
 70
 4b
 76
@@ -6183,7 +6155,7 @@
 70
 4b
 76
-05
+0a
 20
 20
 43
@@ -6200,22 +6172,10 @@
 21
 43
 84
-67
-e1
-43
-72
-67
-e1
-43
-74
 6f
 e0
 82
 c3
-20
-3a
-43
-9a
 68
 48
 cb
@@ -6234,12 +6194,32 @@
 c3
 67
 e0
-cb
-8a
+c1
+77
 20
 20
 43
 86
+6f
+e0
+cc
+a7
+24
+7a
+00
+00
+70
+4c
+a7
+01
+70
+4c
+a8
+1e
+20
+60
+00
+00
 ef
 e1
 00
@@ -6247,7 +6227,7 @@
 c0
 02
 06
-1a
+15
 20
 20
 19
@@ -6263,11 +6243,11 @@
 c0
 05
 06
-1f
+1a
 c0
 09
 06
-2e
+29
 20
 20
 1c
@@ -6295,7 +6275,7 @@
 c2
 81
 86
-29
+24
 6f
 e1
 44
@@ -6323,11 +6303,11 @@
 24
 22
 86
-25
+20
 24
 34
 06
-25
+20
 20
 20
 1e
@@ -6392,6 +6372,46 @@
 20
 1e
 10
+78
+54
+7c
+00
+20
+40
+59
+e6
+6f
+e0
+80
+49
+20
+7a
+00
+00
+c2
+83
+d7
+30
+c0
+03
+86
+3f
+20
+20
+57
+01
+20
+40
+58
+5d
+70
+00
+73
+78
+20
+60
+00
+00
 20
 40
 45
@@ -6403,7 +6423,7 @@
 24
 5a
 01
-36
+38
 20
 20
 43
@@ -6435,7 +6455,7 @@
 c0
 04
 86
-49
+4e
 20
 20
 4d
@@ -6488,8 +6508,8 @@
 20
 78
 71
-46
-84
+4c
+1f
 aa
 55
 40
@@ -6512,8 +6532,8 @@
 00
 00
 00
-38
-1c
+0c
+0c
 00
 80
 00
@@ -6523,7 +6543,7 @@
 98
 d6
 53
-46
+4e
 06
 01
 00
@@ -6531,7 +6551,7 @@
 00
 00
 00
-00
+04
 01
 00
 18
@@ -6583,7 +6603,7 @@
 00
 e8
 41
-01
+0a
 aa
 55
 01
@@ -6623,18 +6643,15 @@
 00
 aa
 55
-01
+05
 00
 ea
 41
 ff
-aa
-55
-01
+04
 00
-ee
-41
 00
+08
 aa
 55
 01
@@ -7239,7 +7256,7 @@
 40
 16
 a2
-c8
+c7
 62
 23
 51
@@ -7373,7 +7390,7 @@
 00
 99
 48
-72
+6f
 4c
 aa
 55
@@ -7520,9 +7537,9 @@
 00
 72
 43
-07
+06
 00
-07
+09
 00
 20
 00
@@ -7582,7 +7599,7 @@
 3b
 0e
 8e
-ef
+ed
 aa
 55
 02
@@ -7713,25 +7730,8 @@
 d8
 40
 01
-11
-d7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+55
+55
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-7b
-e4
+6a
+24
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/flash.dat	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/flash.dat	(working copy)
@@ -2,40 +2,32 @@
 02
 aa
 55
-56
+6a
 19
 c2
 84
 00
-1d
+1c
 c0
 00
 03
-13
+19
 c0
 41
-83
-6d
-c0
-42
 03
-74
+73
 c0
-42
+41
 83
-78
+7a
 c0
 45
 03
-8d
+81
 c0
 45
 83
-60
-c0
-46
-03
-93
+66
 c0
 57
 00
@@ -43,27 +35,27 @@
 c0
 61
 80
-9d
+9e
 c0
 62
 00
-b2
+b6
 c0
 63
 80
-b9
+bd
 c0
 64
 80
-bf
+c3
 c0
 65
 01
-00
+03
 c0
 66
 00
-b5
+b9
 c0
 67
 00
@@ -71,19 +63,19 @@
 c0
 67
 82
-8e
+94
 c0
 68
 02
-60
+66
 c0
 68
 81
-c5
+c9
 c0
 6a
 01
-b0
+b4
 c0
 6b
 00
@@ -91,7 +83,7 @@
 c0
 6c
 81
-09
+0b
 c0
 6f
 00
@@ -99,23 +91,27 @@
 c0
 70
 83
-43
+49
 c0
 71
 03
-3f
+45
 c0
 6d
 05
-9f
+9b
+c0
+6d
+85
+c5
 c0
 4f
 83
-d1
+ac
 c0
 74
 06
-41
+46
 20
 20
 13
@@ -127,55 +123,59 @@
 c0
 19
 83
-ad
+88
 c0
 1a
 03
-b2
+8d
 c0
 43
 83
-cd
+a8
 c0
 6e
 84
-4b
+22
 c0
 6f
 03
-ff
+da
 c0
 70
 83
-df
+ba
 c0
 71
 04
-ff
+f2
 c0
 74
 85
-26
+19
 c0
 75
 04
-4f
+30
 c0
 76
 04
-b8
+9c
+c0
+0d
+06
+38
 c0
 50
 83
-d3
+ae
 c0
 51
 83
-dd
+b8
 c0
 60
 06
-17
+12
 20
 20
 13
@@ -184,10 +184,6 @@
 3f
 80
 34
-24
-55
-85
-cb
 20
 40
 6d
@@ -195,11 +191,11 @@
 20
 40
 00
-3d
+38
 24
 55
 80
-60
+63
 20
 40
 41
@@ -210,22 +206,6 @@
 00
 20
 40
-02
-be
-6f
-e1
-c8
-ad
-67
-e1
-cc
-64
-20
-40
-04
-fb
-20
-40
 40
 8e
 20
@@ -243,7 +223,7 @@
 20
 40
 01
-bc
+c0
 20
 20
 3b
@@ -270,8 +250,16 @@
 ff
 20
 40
-00
-6b
+04
+ee
+20
+40
+3f
+1e
+20
+40
+05
+c8
 20
 40
 3d
@@ -279,37 +267,61 @@
 20
 40
 00
-4c
+4f
+20
+40
+02
+c4
 20
 40
 01
-2c
+7a
 20
 40
-02
-86
+01
+6d
 20
 40
-02
-cb
-6f
-e4
-4b
-ab
-c3
-0c
-3b
-f5
+01
+2e
 20
 40
 02
-ce
+8c
+20
+40
+00
+49
 20
 20
 3b
 f5
 6f
 e0
+c1
+e8
+67
+e0
+cc
+a9
+20
+60
+00
+00
+6f
+e0
+cc
+a9
+67
+e0
+c1
+e8
+20
+60
+00
+00
+6f
+e0
 c9
 17
 c1
@@ -335,7 +347,7 @@
 20
 20
 80
-5a
+5d
 6f
 e0
 c9
@@ -359,11 +371,11 @@
 20
 20
 80
-5c
+5f
 20
 20
 00
-5e
+61
 70
 49
 28
@@ -395,11 +407,11 @@
 20
 3a
 00
-67
+6a
 20
 20
 00
-63
+66
 6f
 e4
 4b
@@ -432,22 +444,10 @@
 60
 00
 00
-6f
-e0
-cc
-40
-24
-5a
-01
-69
-20
-20
-3f
-1e
 58
 00
 02
-d1
+d4
 67
 e1
 48
@@ -455,7 +455,7 @@
 58
 00
 02
-ed
+f3
 67
 e1
 48
@@ -503,7 +503,7 @@
 20
 40
 01
-c3
+c7
 6f
 e0
 c8
@@ -527,18 +527,18 @@
 20
 40
 01
-ad
+b1
 20
 20
 45
 44
 70
 4c
-a8
+a4
 00
 70
 4c
-a9
+a5
 00
 20
 60
@@ -551,14 +551,14 @@
 6f
 e0
 cc
-a9
+a5
 24
 7a
 00
 00
 70
 4c
-a9
+a5
 64
 20
 60
@@ -574,12 +574,12 @@
 36
 20
 40
+02
 01
-fb
 20
 40
 02
-0f
+15
 20
 20
 46
@@ -599,35 +599,39 @@
 c0
 1e
 05
-5d
+52
 c0
 1c
 85
-56
+4b
 c0
 1d
 05
-68
+63
 c0
 19
-06
-03
-c0
-22
-06
-0a
+05
+fc
 c0
 0a
 85
-f9
+f6
 c0
 0a
 05
-f6
+f3
+c0
+22
+06
+03
+c0
+20
+06
+0d
 c0
 00
 86
-3d
+42
 20
 20
 43
@@ -647,7 +651,7 @@
 c0
 00
 00
-a2
+a3
 20
 20
 3d
@@ -667,7 +671,7 @@
 20
 34
 00
-ac
+b0
 6f
 e4
 4b
@@ -675,11 +679,11 @@
 c2
 98
 00
-af
+b3
 c3
 18
 80
-af
+b3
 20
 40
 41
@@ -688,10 +692,22 @@
 21
 7e
 07
+68
+48
+cb
+cb
+98
+46
+7c
+00
 20
+22
+c8
+27
 20
-47
-ff
+20
+00
+b3
 6f
 e0
 cc
@@ -699,7 +715,7 @@
 24
 5a
 01
-31
+33
 20
 20
 48
@@ -711,7 +727,7 @@
 24
 5a
 01
-31
+33
 20
 20
 48
@@ -723,7 +739,7 @@
 24
 5a
 01
-31
+33
 20
 20
 3d
@@ -739,7 +755,7 @@
 20
 40
 03
-b2
+8d
 20
 20
 3e
@@ -759,11 +775,11 @@
 20
 40
 01
-b7
+bb
 20
 40
 01
-bc
+c0
 20
 20
 3e
@@ -779,11 +795,11 @@
 20
 40
 01
-76
+7a
 20
 40
 01
-69
+6d
 20
 40
 40
@@ -808,14 +824,10 @@
 e0
 c9
 20
-d8
-40
-00
-3f
 20
 40
-60
-93
+01
+fb
 d8
 40
 00
@@ -843,19 +855,19 @@
 20
 40
 00
-d5
+d8
 20
 40
 00
-e0
+e3
 20
 40
 00
-ed
+f0
 20
 20
 00
-f4
+f7
 6f
 e0
 c9
@@ -871,11 +883,11 @@
 c0
 01
 80
-db
+de
 c0
 01
 00
-dd
+e0
 20
 60
 00
@@ -947,7 +959,7 @@
 c2
 00
 00
-e4
+e7
 20
 60
 00
@@ -1008,26 +1020,26 @@
 e0
 c9
 13
-d8
-40
-00
-80
 20
 40
-60
-93
+3f
+54
 6f
 e0
 c9
 14
-d8
+20
+20
+3f
+54
+20
 40
-00
-80
+7f
+dc
 20
 20
-60
-93
+15
+b1
 68
 48
 c9
@@ -1052,14 +1064,10 @@
 e0
 c9
 1f
-d8
-40
-00
-3f
 20
 40
-60
-93
+01
+fb
 20
 20
 3e
@@ -1071,7 +1079,7 @@
 20
 40
 01
-aa
+ae
 20
 40
 23
@@ -1091,15 +1099,15 @@
 20
 40
 01
-7c
+80
 20
 40
 01
-3a
+3c
 20
 40
 01
-6c
+70
 20
 40
 40
@@ -1111,7 +1119,7 @@
 20
 40
 01
-7f
+83
 20
 40
 44
@@ -1119,11 +1127,11 @@
 20
 40
 01
-9c
+a0
 20
 40
 01
-a2
+a6
 20
 40
 45
@@ -1135,13 +1143,17 @@
 20
 40
 05
-9c
+95
 20
 40
 45
 15
 20
 40
+05
+98
+20
+40
 45
 2a
 20
@@ -1163,11 +1175,11 @@
 20
 40
 01
-23
+26
 20
 20
 01
-96
+9a
 da
 60
 49
@@ -1175,7 +1187,7 @@
 da
 40
 01
-26
+29
 20
 20
 31
@@ -1188,18 +1200,14 @@
 e0
 ca
 c5
-24
-3a
-01
-2a
 20
-60
+7a
 00
 00
 20
 40
 03
-31
+37
 20
 20
 46
@@ -1275,7 +1283,7 @@
 c0
 00
 81
-4a
+4c
 6f
 e0
 cc
@@ -1283,7 +1291,7 @@
 24
 3a
 01
-42
+44
 70
 4c
 41
@@ -1299,7 +1307,7 @@
 20
 3a
 01
-47
+49
 1f
 e0
 ff
@@ -1311,7 +1319,7 @@
 20
 20
 01
-51
+53
 70
 4c
 45
@@ -1323,7 +1331,7 @@
 20
 20
 01
-5d
+5f
 da
 60
 4c
@@ -1331,7 +1339,7 @@
 da
 40
 01
-4d
+4f
 20
 20
 31
@@ -1351,7 +1359,7 @@
 c0
 00
 81
-5d
+5f
 70
 4c
 4d
@@ -1363,15 +1371,15 @@
 c0
 00
 01
-57
+59
 c0
 00
 81
-59
+5b
 c0
 01
 01
-5b
+5d
 20
 60
 00
@@ -1383,7 +1391,7 @@
 20
 20
 01
-5c
+5e
 68
 48
 cc
@@ -1391,7 +1399,7 @@
 20
 20
 01
-5c
+5e
 68
 48
 cc
@@ -1411,15 +1419,15 @@
 c0
 00
 01
-63
+65
 c0
 00
 81
-65
+69
 c0
 01
 01
-67
+6b
 20
 60
 00
@@ -1428,6 +1436,14 @@
 48
 cc
 48
+18
+46
+7c
+ff
+20
+62
+80
+00
 20
 20
 60
@@ -1438,28 +1454,28 @@
 49
 20
 20
-60
-7f
+01
+66
 68
 48
 cc
 4a
 20
 20
-60
-7f
+01
+66
 20
 40
 01
-63
+65
 20
 40
 01
-65
+69
 20
 20
 01
-67
+6b
 6f
 e0
 cb
@@ -1499,7 +1515,7 @@
 20
 21
 01
-7a
+7e
 68
 48
 cb
@@ -1510,8 +1526,8 @@
 40
 c0
 00
-e0
-7f
+81
+66
 20
 20
 60
@@ -1531,7 +1547,7 @@
 da
 40
 02
-71
+77
 20
 20
 31
@@ -1543,7 +1559,7 @@
 c0
 00
 01
-85
+89
 6f
 e4
 4b
@@ -1559,7 +1575,7 @@
 20
 20
 01
-88
+8c
 6f
 e4
 4b
@@ -1595,7 +1611,7 @@
 20
 22
 81
-8f
+93
 20
 20
 44
@@ -1603,7 +1619,7 @@
 20
 40
 01
-94
+98
 6f
 e0
 cb
@@ -1623,7 +1639,7 @@
 da
 40
 05
-7c
+77
 20
 20
 44
@@ -1635,7 +1651,7 @@
 da
 40
 01
-99
+9d
 20
 20
 31
@@ -1647,7 +1663,7 @@
 c0
 00
 05
-93
+8c
 20
 20
 43
@@ -1655,22 +1671,22 @@
 da
 40
 01
-9f
+a3
 da
 60
 4c
-a9
+a5
 20
 20
 31
 8a
 70
 4c
-a8
+a4
 01
 70
 4c
-aa
+a6
 0a
 20
 60
@@ -1679,11 +1695,11 @@
 da
 40
 01
-a5
+a9
 da
 60
 4c
-aa
+a6
 20
 20
 31
@@ -1711,7 +1727,7 @@
 6f
 e0
 cc
-a8
+a4
 20
 3a
 49
@@ -1743,7 +1759,7 @@
 c0
 05
 81
-b4
+b8
 20
 20
 42
@@ -1751,7 +1767,7 @@
 20
 40
 01
-ba
+be
 da
 60
 4b
@@ -1767,7 +1783,7 @@
 c0
 05
 81
-ba
+be
 20
 20
 42
@@ -1795,7 +1811,7 @@
 c0
 05
 81
-c1
+c5
 20
 20
 42
@@ -1811,7 +1827,7 @@
 20
 40
 01
-c5
+c9
 20
 20
 40
@@ -1831,23 +1847,23 @@
 20
 40
 01
-ce
+d2
 20
 40
 01
-d3
+d7
 20
 40
 01
-d8
+dc
 20
 40
 01
-dd
+e1
 20
 40
 01
-ea
+ee
 20
 20
 41
@@ -1859,7 +1875,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1879,7 +1895,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1899,7 +1915,7 @@
 20
 40
 01
-f7
+fb
 20
 40
 41
@@ -1943,7 +1959,7 @@
 c0
 7f
 81
-e6
+ea
 20
 20
 41
@@ -1955,7 +1971,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -1995,7 +2011,7 @@
 c0
 7f
 81
-f3
+f7
 20
 20
 41
@@ -2007,7 +2023,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -2016,6 +2032,10 @@
 20
 41
 64
+c1
+7f
+80
+00
 d8
 40
 00
@@ -2024,6 +2044,10 @@
 20
 60
 93
+c1
+7f
+80
+00
 d8
 40
 00
@@ -2063,7 +2087,7 @@
 20
 40
 02
-04
+0a
 20
 20
 40
@@ -2091,7 +2115,7 @@
 c0
 7f
 82
-0b
+11
 20
 20
 40
@@ -2103,7 +2127,7 @@
 20
 40
 01
-f9
+fe
 68
 48
 c9
@@ -2127,7 +2151,7 @@
 24
 3a
 02
-18
+1e
 6f
 e0
 cc
@@ -2135,11 +2159,11 @@
 20
 40
 01
-f7
+fb
 20
 40
 02
-28
+2e
 68
 48
 cc
@@ -2163,7 +2187,7 @@
 20
 40
 01
-f9
+fe
 70
 4c
 3f
@@ -2179,11 +2203,11 @@
 20
 40
 02
-41
+47
 20
 40
 02
-2c
+32
 68
 48
 cc
@@ -2227,7 +2251,7 @@
 20
 40
 02
-37
+3d
 67
 e0
 cc
@@ -2239,7 +2263,7 @@
 20
 3a
 02
-33
+39
 6f
 e0
 cc
@@ -2303,11 +2327,11 @@
 c0
 03
 82
-4c
+52
 c0
 00
 02
-4e
+54
 20
 60
 00
@@ -2347,11 +2371,11 @@
 c0
 03
 82
-4c
+52
 c0
 00
 02
-4e
+54
 20
 60
 00
@@ -2407,7 +2431,7 @@
 c0
 7f
 82
-5d
+63
 20
 40
 41
@@ -2435,7 +2459,7 @@
 20
 20
 02
-5a
+60
 20
 40
 40
@@ -2443,7 +2467,7 @@
 20
 40
 02
-63
+69
 20
 20
 40
@@ -2495,7 +2519,7 @@
 20
 3a
 02
-71
+77
 67
 e0
 cb
@@ -2555,11 +2579,11 @@
 20
 41
 02
-80
+86
 24
 41
 02
-84
+8a
 20
 20
 48
@@ -2603,7 +2627,7 @@
 c2
 83
 82
-8c
+92
 70
 4c
 3a
@@ -2643,7 +2667,7 @@
 c2
 9e
 82
-9a
+a0
 18
 42
 7e
@@ -2675,7 +2699,7 @@
 24
 3a
 02
-b7
+bd
 6f
 e4
 4b
@@ -2683,7 +2707,7 @@
 c2
 8e
 02
-ab
+b1
 18
 42
 7e
@@ -2695,11 +2719,11 @@
 c0
 00
 02
-a7
+ad
 c0
 01
 02
-a5
+ab
 20
 60
 00
@@ -2711,7 +2735,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2719,7 +2743,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2727,7 +2751,7 @@
 20
 20
 02
-97
+9d
 58
 00
 00
@@ -2735,7 +2759,7 @@
 20
 20
 02
-97
+9d
 18
 42
 7e
@@ -2747,15 +2771,15 @@
 c0
 00
 02
-a7
+ad
 c0
 01
 02
-a9
+af
 c0
 01
 82
-a5
+ab
 20
 60
 00
@@ -2771,15 +2795,15 @@
 c0
 00
 02
-a9
+af
 c0
 00
 82
-a5
+ab
 c0
 01
 82
-a3
+a9
 20
 60
 00
@@ -2791,7 +2815,7 @@
 c2
 8e
 02
-b1
+b7
 18
 42
 7e
@@ -2803,47 +2827,23 @@
 c0
 00
 02
-a3
+a9
 c0
 00
 82
-a5
+ab
 20
 60
 00
 00
-58
-01
-77
-00
-67
-e1
-cc
-4e
-20
-40
-26
-13
-70
-48
-c6
-1e
 6f
 e4
 4b
 ab
-c4
+c3
 0c
-00
-00
-20
-40
-26
-0b
-70
-48
-c6
-0f
+02
+cd
 58
 00
 bb
@@ -2854,36 +2854,48 @@
 4e
 58
 00
-48
-00
+6c
+10
 67
 e1
 c8
 ad
+67
+e1
+cc
+64
+70
+48
+c6
+0f
 20
 60
 00
 00
 58
+01
+77
 00
-e2
-90
 67
 e1
-c8
-ad
-20
-60
-00
-00
+cc
+4e
 58
-00
-17
-70
+01
+0b
+60
 67
 e1
 c8
 ad
+67
+e1
+cc
+64
+70
+48
+c6
+1e
 20
 60
 00
@@ -2901,13 +2913,25 @@
 00
 00
 6f
+e0
+cc
+6a
+70
+4c
+6a
+00
+24
+5a
+01
+01
+6f
 e4
 4b
 ab
 c3
 0a
 82
-d8
+de
 6f
 e0
 cb
@@ -2927,7 +2951,7 @@
 c2
 80
 82
-e7
+ed
 68
 48
 c7
@@ -3067,7 +3091,7 @@
 24
 21
 03
-03
+09
 20
 40
 25
@@ -3075,15 +3099,15 @@
 20
 40
 04
-2a
+02
 24
 2c
 03
-09
+0f
 24
 37
 83
-09
+0f
 20
 40
 48
@@ -3107,7 +3131,7 @@
 c0
 08
 03
-0b
+11
 20
 60
 00
@@ -3119,7 +3143,7 @@
 20
 20
 02
-f9
+ff
 70
 4b
 a3
@@ -3151,7 +3175,7 @@
 20
 20
 01
-bc
+c0
 20
 80
 00
@@ -3159,7 +3183,7 @@
 24
 55
 83
-3c
+42
 20
 40
 30
@@ -3167,11 +3191,11 @@
 24
 55
 83
-47
+4d
 58
 00
 4c
-72
+6f
 67
 e1
 48
@@ -3195,7 +3219,7 @@
 c0
 0c
 03
-1f
+25
 70
 80
 42
@@ -3203,7 +3227,7 @@
 6f
 e0
 cc
-93
+8f
 67
 e0
 c1
@@ -3323,7 +3347,7 @@
 67
 e0
 cc
-93
+8f
 20
 60
 00
@@ -3383,7 +3407,7 @@
 c0
 04
 03
-4f
+55
 58
 00
 00
@@ -3395,7 +3419,7 @@
 70
 4c
 63
-8c
+fa
 20
 40
 12
@@ -3512,6 +3536,34 @@
 20
 12
 5d
+6f
+e0
+c1
+ea
+67
+e0
+89
+64
+20
+40
+11
+50
+70
+8a
+0a
+00
+6f
+e0
+89
+64
+67
+e0
+c1
+ea
+20
+60
+00
+00
 70
 89
 00
@@ -3540,114 +3592,18 @@
 20
 11
 7d
-20
-40
-11
-90
-58
-00
-76
-76
-67
-f1
-09
-68
-20
-60
-00
-00
-6f
-e0
-c9
-38
-c0
-80
-11
-a7
 6f
 e0
-cc
-92
-24
-3a
-03
-84
-20
-00
-01
-2c
-20
-40
-4c
-a7
-d8
+c1
+e8
 c0
-41
-eb
-98
+48
+83
+85
 c0
-8c
-00
-ef
-e0
-80
-06
-67
-f0
-89
-61
-70
-89
-60
-2e
-20
-20
-11
-b3
-6f
-f0
-89
-60
-1f
-e1
-fe
-01
-67
-f0
-89
-60
-70
-89
-61
-04
-20
-20
-11
-b3
-70
-4c
-92
-00
-20
-60
-00
-00
-70
-4c
-92
-01
-20
-60
-00
-00
-6f
-e0
-cc
-92
-24
-3a
-03
-90
+4a
+12
+44
 20
 20
 12
@@ -3664,110 +3620,6 @@
 20
 12
 2a
-6f
-f0
-89
-a2
-2f
-ef
-fe
-06
-79
-20
-fe
-07
-67
-e0
-c1
-e9
-6f
-f0
-89
-a3
-1f
-e1
-04
-0f
-18
-43
-84
-00
-1f
-f1
-fe
-00
-98
-40
-84
-00
-18
-4f
-a2
-03
-6f
-e0
-c1
-e9
-20
-40
-03
-a8
-1f
-e6
-7e
-00
-9a
-20
-fe
-00
-1f
-e0
-ff
-f7
-1f
-e1
-7f
-ff
-2f
-ef
-fe
-08
-24
-20
-83
-a6
-58
-00
-00
-00
-67
-e0
-80
-19
-20
-60
-00
-00
-2f
-ef
-fe
-07
-24
-60
-80
-00
-d8
-40
-ff
-00
-98
-41
-fe
-00
-20
-60
-00
-00
 da
 20
 09
@@ -4023,7 +3875,7 @@
 c5
 16
 83
-f3
+ce
 19
 31
 7e
@@ -4063,7 +3915,7 @@
 c2
 00
 03
-f5
+d0
 19
 31
 7e
@@ -4095,7 +3947,7 @@
 20
 20
 03
-f1
+cc
 6f
 e0
 c8
@@ -4128,26 +3980,14 @@
 40
 16
 c8
-6f
-f0
-89
-60
-79
-20
-7e
-03
-67
-f0
-89
-60
 20
 40
 21
 d5
 c5
 97
-84
-0f
+83
+e7
 78
 3c
 fc
@@ -4219,7 +4059,7 @@
 20
 40
 02
-50
+56
 6f
 e0
 c8
@@ -4251,7 +4091,7 @@
 20
 40
 04
-3b
+11
 6f
 e1
 4c
@@ -4267,7 +4107,7 @@
 20
 20
 04
-86
+6b
 78
 57
 fc
@@ -4309,33 +4149,25 @@
 11
 8f
 20
+00
+01
+2c
+20
 40
 11
 a6
 20
 40
-04
-0a
+03
+e2
 20
 57
-84
-38
+a2
+3f
 20
 60
 00
 00
-70
-8a
-0a
-00
-70
-8a
-0b
-00
-20
-20
-12
-9c
 68
 48
 c8
@@ -4350,8 +4182,8 @@
 00
 24
 21
-26
-9c
+04
+21
 18
 40
 84
@@ -4367,7 +4199,7 @@
 c0
 07
 84
-47
+1d
 6f
 e0
 c8
@@ -4400,6 +4232,10 @@
 60
 00
 00
+20
+20
+22
+cb
 c5
 13
 a4
@@ -4416,6 +4252,46 @@
 20
 26
 1d
+6f
+e2
+48
+91
+68
+4a
+48
+8d
+98
+46
+7c
+00
+20
+22
+84
+2b
+20
+20
+04
+2e
+70
+41
+ea
+00
+70
+41
+e8
+91
+20
+60
+00
+00
+70
+41
+ea
+ff
+20
+60
+00
+00
 20
 40
 26
@@ -4423,11 +4299,15 @@
 24
 34
 04
-9c
+7f
 20
 40
 04
-83
+68
+20
+40
+04
+26
 6f
 e0
 cb
@@ -4435,7 +4315,7 @@
 24
 3a
 04
-58
+3a
 6f
 e4
 48
@@ -4475,7 +4355,7 @@
 24
 22
 84
-7d
+45
 68
 49
 4c
@@ -4487,7 +4367,7 @@
 20
 22
 84
-73
+5c
 6f
 e2
 4c
@@ -4495,7 +4375,27 @@
 20
 3a
 04
-73
+5c
+68
+4a
+4c
+6b
+28
+4f
+fe
+1f
+20
+20
+84
+57
+6f
+e2
+4c
+59
+98
+40
+fe
+00
 68
 4a
 4c
@@ -4507,11 +4407,11 @@
 60
 4a
 4c
-6e
+6b
 24
 21
 04
-76
+5f
 6f
 e1
 c8
@@ -4523,7 +4423,7 @@
 24
 21
 04
-81
+66
 d8
 40
 06
@@ -4535,19 +4435,7 @@
 24
 21
 04
-81
-67
-e2
-4c
-6a
-20
-40
-04
-7a
-6f
-e2
-4c
-6a
+66
 20
 40
 7d
@@ -4559,11 +4447,31 @@
 20
 20
 03
-4b
+51
+df
+ff
+ff
+ff
+98
+46
+5e
+00
+6f
+e2
+4c
+59
+9d
+e6
+7e
+00
+20
+20
+04
+4a
 20
 40
 04
-7a
+63
 6f
 e1
 c8
@@ -4571,7 +4479,7 @@
 20
 20
 04
-6d
+54
 18
 46
 04
@@ -4587,7 +4495,7 @@
 20
 20
 04
-6d
+54
 58
 00
 00
@@ -4595,27 +4503,11 @@
 67
 e2
 4c
-6e
+6b
 20
 60
 00
 00
-6f
-e2
-4c
-59
-68
-4a
-4c
-6e
-98
-40
-fe
-00
-20
-20
-04
-63
 70
 4c
 69
@@ -4624,22 +4516,22 @@
 60
 00
 00
-70
-48
-a6
-00
 58
 00
 00
 00
 67
+e0
+c8
+a6
+67
 e1
 4c
 67
 20
 40
 04
-2a
+02
 6f
 e0
 c8
@@ -4650,16 +4542,16 @@
 51
 24
 2c
-04
-1b
+03
+f3
 24
 37
-84
-1b
+83
+f3
 20
 40
 04
-c3
+a7
 20
 40
 26
@@ -4667,7 +4559,7 @@
 20
 40
 04
-8f
+74
 20
 20
 26
@@ -4679,7 +4571,7 @@
 24
 5a
 04
-93
+78
 70
 4b
 e1
@@ -4704,26 +4596,18 @@
 e0
 c9
 13
-d8
-40
-00
-40
 20
 40
-60
-93
+3f
+56
 6f
 e0
 c9
 14
-d8
-40
-00
-40
 20
 20
-60
-93
+3f
+56
 6f
 e0
 c8
@@ -4731,7 +4615,7 @@
 20
 5a
 04
-aa
+8e
 6f
 e0
 c8
@@ -4760,10 +4644,14 @@
 4c
 69
 00
+70
+4c
+6a
+01
 20
 40
 04
-fb
+ee
 6f
 e0
 cb
@@ -4835,7 +4723,7 @@
 20
 20
 04
-51
+32
 6f
 e0
 cb
@@ -4887,7 +4775,7 @@
 c0
 00
 84
-f7
+ea
 6f
 e0
 cc
@@ -4895,7 +4783,7 @@
 20
 3a
 04
-f7
+ea
 1b
 22
 7e
@@ -4932,10 +4820,34 @@
 7a
 00
 00
-6f
-e2
-4c
-59
+6f
+e2
+4c
+6b
+24
+7a
+00
+00
+6f
+e2
+4c
+59
+68
+4a
+4c
+4e
+18
+43
+84
+00
+98
+46
+7c
+00
+20
+21
+04
+ee
 68
 4a
 cc
@@ -4963,7 +4875,7 @@
 20
 22
 84
-db
+c5
 18
 40
 84
@@ -5020,10 +4932,6 @@
 46
 04
 00
-18
-40
-85
-d8
 1a
 22
 7e
@@ -5035,7 +4943,7 @@
 20
 21
 04
-f0
+de
 1f
 e6
 7e
@@ -5052,6 +4960,26 @@
 40
 84
 00
+6f
+e1
+cc
+64
+da
+20
+18
+00
+9a
+20
+fe
+00
+98
+46
+7c
+00
+24
+21
+04
+e8
 60
 49
 c8
@@ -5072,6 +5000,26 @@
 46
 04
 00
+6f
+e1
+cc
+64
+da
+20
+18
+00
+9a
+26
+7e
+00
+98
+46
+7c
+00
+20
+21
+04
+e8
 60
 49
 c8
@@ -5159,19 +5107,19 @@
 c0
 00
 85
-0d
+00
 c0
 01
 05
-0f
+02
 c0
 01
 85
-15
+08
 c0
 02
 05
-1b
+0e
 20
 60
 00
@@ -5183,7 +5131,7 @@
 20
 20
 05
-1c
+0f
 6f
 e0
 c8
@@ -5191,7 +5139,7 @@
 20
 3a
 05
-13
+06
 6f
 e2
 48
@@ -5207,7 +5155,7 @@
 20
 20
 05
-1c
+0f
 70
 47
 c6
@@ -5219,7 +5167,7 @@
 20
 3a
 05
-1c
+0f
 6f
 e2
 48
@@ -5231,7 +5179,7 @@
 20
 20
 05
-1e
+11
 70
 47
 c6
@@ -5271,7 +5219,7 @@
 20
 40
 04
-2a
+02
 20
 20
 23
@@ -5291,7 +5239,7 @@
 20
 3a
 05
-2e
+21
 6f
 e1
 48
@@ -5315,15 +5263,15 @@
 20
 40
 04
-2a
+02
 24
 2c
 05
-47
+3a
 24
 37
 85
-47
+3a
 20
 40
 26
@@ -5359,7 +5307,7 @@
 20
 42
 85
-43
+36
 6f
 e0
 c8
@@ -5428,38 +5376,22 @@
 e1
 48
 89
-6f
-e0
-c8
-8a
 2f
 ef
 fe
-01
+09
 6f
 e0
 c8
 8b
 c0
-00
-a5
-ad
-c0
-01
-25
-af
-c0
-01
-a5
-b1
-c0
 02
 05
-54
+43
 20
 20
 25
-6e
+a8
 20
 20
 a5
@@ -5468,6 +5400,38 @@
 20
 23
 39
+6f
+e0
+cc
+40
+20
+3a
+48
+c6
+20
+20
+01
+38
+6f
+e0
+cc
+40
+20
+3a
+48
+cc
+20
+20
+01
+33
+20
+40
+04
+2e
+20
+40
+00
+4c
 20
 40
 45
@@ -5480,18 +5444,10 @@
 40
 46
 f4
-6f
-e0
-cc
-40
-c0
-00
-48
-59
 20
 40
-01
-36
+05
+45
 20
 20
 48
@@ -5512,34 +5468,66 @@
 40
 25
 7e
-6f
-e0
-cc
+20
 40
-c0
-00
 05
-65
+45
 20
 40
-01
-36
+45
+44
 20
+40
+42
+ca
+70
+4a
+ae
+00
+70
+48
+a1
+00
+70
+48
+8b
+00
+6f
+e2
+48
+91
+6f
+e2
+48
+8d
+98
+46
+7c
+00
 20
-05
-66
+62
+80
+00
 20
 40
-48
-c6
+04
+2e
 20
 40
-45
-44
+00
+4c
 20
 20
 48
-4e
+22
+20
+40
+04
+2e
+20
+40
+00
+4c
 6f
 e0
 c8
@@ -5547,7 +5535,7 @@
 24
 3a
 05
-93
+8c
 6f
 e0
 c8
@@ -5555,15 +5543,15 @@
 c0
 01
 05
-6f
+6c
 c0
 02
 05
-87
+80
 c0
 01
 85
-8c
+85
 20
 20
 48
@@ -5575,11 +5563,11 @@
 c2
 97
 85
-78
+75
 c2
 98
 05
-78
+75
 c3
 1d
 48
@@ -5599,23 +5587,15 @@
 20
 22
 85
-7c
+77
 20
 20
 48
 06
-6f
-e0
-cc
-40
-c0
-00
-48
-11
 20
 40
-01
-31
+05
+48
 20
 20
 48
@@ -5646,20 +5626,12 @@
 76
 20
 40
-49
-8e
-6f
-e0
-cc
-40
-c0
-00
-48
-2d
+49
+8e
 20
 40
-01
-31
+05
+48
 20
 20
 48
@@ -5671,7 +5643,7 @@
 c3
 17
 85
-91
+8a
 6f
 e0
 cb
@@ -5679,7 +5651,7 @@
 c0
 00
 85
-91
+8a
 20
 20
 48
@@ -5691,15 +5663,15 @@
 c3
 17
 85
-91
+8a
 c2
 89
 85
-91
+8a
 c2
 89
 05
-91
+8a
 20
 20
 48
@@ -5743,11 +5715,11 @@
 20
 40
 01
-bc
+c0
 20
 20
 04
-a1
+84
 6f
 e4
 4b
@@ -5760,6 +5732,18 @@
 20
 45
 1f
+da
+60
+4c
+a8
+da
+40
+43
+6c
+20
+20
+31
+8a
 6f
 e1
 47
@@ -5803,7 +5787,7 @@
 c2
 85
 85
-b2
+ae
 6f
 e4
 4b
@@ -5811,7 +5795,7 @@
 c3
 04
 05
-b2
+ae
 68
 49
 49
@@ -5924,18 +5908,22 @@
 40
 49
 8e
-6f
-e0
-cc
-40
-24
-3a
-01
-31
 20
 20
+05
 48
-cc
+58
+00
+00
+00
+67
+e1
+4a
+c2
+20
+20
+45
+77
 6f
 e4
 4c
@@ -5959,7 +5947,7 @@
 24
 21
 05
-dd
+da
 d8
 c0
 4c
@@ -6011,7 +5999,7 @@
 20
 40
 05
-f3
+f0
 6f
 e0
 cc
@@ -6115,7 +6103,7 @@
 24
 5a
 01
-36
+38
 20
 20
 43
@@ -6128,38 +6116,22 @@
 e1
 4a
 f2
-70
-4a
-c6
-00
-58
-00
-00
-06
 67
-e1
-43
-72
+e0
+cc
+a7
 67
-e1
-43
-74
-6f
-e4
-4b
-ab
-c2
-8d
-c3
-66
-58
-00
-00
-07
+e0
+cc
+a8
+67
+e0
+ca
+c6
 20
 20
 43
-64
+66
 6f
 e0
 ca
@@ -6167,7 +6139,7 @@
 c0
 00
 86
-07
+00
 70
 4b
 76
@@ -6183,7 +6155,7 @@
 70
 4b
 76
-05
+0a
 20
 20
 43
@@ -6200,22 +6172,10 @@
 21
 43
 84
-67
-e1
-43
-72
-67
-e1
-43
-74
 6f
 e0
 82
 c3
-20
-3a
-43
-9a
 68
 48
 cb
@@ -6234,12 +6194,32 @@
 c3
 67
 e0
-cb
-8a
+c1
+77
 20
 20
 43
 86
+6f
+e0
+cc
+a7
+24
+7a
+00
+00
+70
+4c
+a7
+01
+70
+4c
+a8
+1e
+20
+60
+00
+00
 ef
 e1
 00
@@ -6247,7 +6227,7 @@
 c0
 02
 06
-1a
+15
 20
 20
 19
@@ -6263,11 +6243,11 @@
 c0
 05
 06
-1f
+1a
 c0
 09
 06
-2e
+29
 20
 20
 1c
@@ -6295,7 +6275,7 @@
 c2
 81
 86
-29
+24
 6f
 e1
 44
@@ -6323,11 +6303,11 @@
 24
 22
 86
-25
+20
 24
 34
 06
-25
+20
 20
 20
 1e
@@ -6392,6 +6372,46 @@
 20
 1e
 10
+78
+54
+7c
+00
+20
+40
+59
+e6
+6f
+e0
+80
+49
+20
+7a
+00
+00
+c2
+83
+d7
+30
+c0
+03
+86
+3f
+20
+20
+57
+01
+20
+40
+58
+5d
+70
+00
+73
+78
+20
+60
+00
+00
 20
 40
 45
@@ -6403,7 +6423,7 @@
 24
 5a
 01
-36
+38
 20
 20
 43
@@ -6435,7 +6455,7 @@
 c0
 04
 86
-49
+4e
 20
 20
 4d
@@ -6488,8 +6508,8 @@
 20
 78
 71
-46
-84
+4c
+1f
 aa
 55
 40
@@ -6512,8 +6532,8 @@
 00
 00
 00
-38
-1c
+0c
+0c
 00
 80
 00
@@ -6523,7 +6543,7 @@
 98
 d6
 53
-46
+4e
 06
 01
 00
@@ -6531,7 +6551,7 @@
 00
 00
 00
-00
+04
 01
 00
 18
@@ -6583,7 +6603,7 @@
 00
 e8
 41
-01
+0a
 aa
 55
 01
@@ -6623,18 +6643,15 @@
 00
 aa
 55
-01
+05
 00
 ea
 41
 ff
-aa
-55
-01
+04
 00
-ee
-41
 00
+08
 aa
 55
 01
@@ -7239,7 +7256,7 @@
 40
 16
 a2
-c8
+c7
 62
 23
 51
@@ -7373,7 +7390,7 @@
 00
 99
 48
-72
+6f
 4c
 aa
 55
@@ -7520,9 +7537,9 @@
 00
 72
 43
-07
+06
 00
-07
+09
 00
 20
 00
@@ -7582,7 +7599,7 @@
 3b
 0e
 8e
-ef
+ed
 aa
 55
 02
@@ -7713,25 +7730,8 @@
 d8
 40
 01
-11
-d7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+55
+55
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-7b
-e4
+6a
+24
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/memmap.format	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/memmap.format	(working copy)
@@ -2284,27 +2284,29 @@
 0x4c64 mem_24g_short_sleep_set_init
 0x4c67 mem_retransmit
 0x4c69 mem_sleep_miss
-0x4c6a mem_sleep_time_temp
-0x4c6e mem_sleep_miss_temp
-0x4c72 mem_mouse_end
-0x4c72 mem_mouse_rssi_signal_buf_patch
-0x4c82 mem_mouse_rssi_signal_buf_temp
-0x4c92 mem_soft_agc_en
-0x4c93 mem_xtal_cache
-0x4c94 mem_device_uart_tx_gpio
-0x4c95 mem_device_uart_rx_gpio
-0x4c96 mem_device_uart_rx_buffer
-0x4c98 mem_device_uart_rx_buffer_end
-0x4c9a mem_device_uart_tx_buffer
-0x4c9c mem_device_uart_tx_buffer_end
-0x4c9e mem_device_uart_baud_rate
-0x4ca0 mem_24g_paccnt
-0x4ca1 mem_rssi_mouse
-0x4ca2 mem_clkn_bt_patch
-0x4ca6 mem_txpower_print
-0x4ca8 mem_low_power_led_flag
-0x4ca9 mem_24g_low_power_stop_blink
-0x4caa mem_24g_low_power_led_off
+0x4c6a mem_long_sleep_flag
+0x4c6b mem_sleep_miss_temp
+0x4c6f mem_mouse_end
+0x4c6f mem_mouse_rssi_signal_buf_patch
+0x4c7f mem_mouse_rssi_signal_buf_temp
+0x4c8f mem_xtal_cache
+0x4c90 mem_device_uart_tx_gpio
+0x4c91 mem_device_uart_rx_gpio
+0x4c92 mem_device_uart_rx_buffer
+0x4c94 mem_device_uart_rx_buffer_end
+0x4c96 mem_device_uart_tx_buffer
+0x4c98 mem_device_uart_tx_buffer_end
+0x4c9a mem_device_uart_baud_rate
+0x4c9c mem_24g_paccnt
+0x4c9d mem_rssi_mouse
+0x4c9e mem_clkn_bt_patch
+0x4ca2 mem_txpower_print
+0x4ca4 mem_low_power_led_flag
+0x4ca5 mem_24g_low_power_stop_blink
+0x4ca6 mem_24g_low_power_led_off
+0x4ca7 mem_mouse_le_send_conn_param_update
+0x4ca8 mem_mouse_le_send_conn_param_update_timer
+0x4ca9 mem_normal_tx_power
 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/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/program.lis	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/program.lis	(working copy)
@@ -1,142 +1,144 @@
               include "bt_format "
               org 0x0000
-0000 c284001d bbit1 8 ,pf_patch_ext 
-0001 c0000313 beq patch00_0 ,p_soft_reset 
-0002 c041836d beq patch10_3 ,p_set_sync_on 
-0003 c0420374 beq patch10_4 ,p_set_freq_rx 
-0004 c0428378 beq patch10_5 ,p_rf_rx_enable 
-0005 c045038d beq patch11_2 ,p_txon_next 
-0006 c0458360 beq patch11_3 ,p_initialize_radio_cont 
-0007 c0460393 beq patch11_4 ,p_save_rssi 
-0008 c057002c beq patch15_6 ,p_app_init 
-0009 c061809d beq patch18_3 ,p_mouse_start_work 
-000a c06200b2 beq patch18_4 ,p_mouse_start_reconnect_device 
-000b c06380b9 beq patch18_7 ,p_mouse_app_enter_hibernate 
-000c c06480bf beq patch19_1 ,p_mouse_setgpio_hibernate 
-000d c0650100 beq patch19_2 ,p_mouse_lpm_before_common 
-000e c06600b5 beq patch19_4 ,p_mouse_adc_read_start 
-000f c0670073 beq patch19_6 ,p_mouse_motion 
-0010 c067828e beq patch19_7 ,p_mouse_dpi_process 
-0011 c0680260 beq patch1a_0 ,p_mouse_seting_dpi 
-0012 c06881c5 beq patch1a_1 ,p_mouse_check_key_gpio 
-0013 c06a01b0 beq patch1a_4 ,p_mouse_sensor_poweron 
-0014 c06b0093 beq patch1a_6 ,p_mouse_priority_bb_event 
-0015 c06c8109 beq patch1b_1 ,p_mouse_bb_event_timer 
-0016 c06f008c beq patch1b_6 ,p_mouse_idle 
-0017 c0708343 beq patch1c_1 ,p_mouse_led_off 
-0018 c071033f beq patch1c_2 ,p_mouse_led_on 
-0019 c06d059f beq patch1b_2 ,p_mouse_start_discovery 
-001a c04f83d1 beq patch13_7 ,p_init_param 
-001b c0740641 beq patch1d_0 ,p_hid_rx_process 
-001c 2020137c branch loop 
+0000 c284001c bbit1 8 ,pf_patch_ext 
+0001 c0000319 beq patch00_0 ,p_soft_reset 
+0002 c0410373 beq patch10_2 ,p_shutdown_radio 
+0003 c041837a beq patch10_3 ,p_set_sync_on 
+0004 c0450381 beq patch11_2 ,p_txon_next 
+0005 c0458366 beq patch11_3 ,p_initialize_radio_cont 
+0006 c057002c beq patch15_6 ,p_app_init 
+0007 c061809e beq patch18_3 ,p_mouse_start_work 
+0008 c06200b6 beq patch18_4 ,p_mouse_start_reconnect_device 
+0009 c06380bd beq patch18_7 ,p_mouse_app_enter_hibernate 
+000a c06480c3 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000b c0650103 beq patch19_2 ,p_mouse_lpm_before_common 
+000c c06600b9 beq patch19_4 ,p_mouse_adc_read_start 
+000d c0670073 beq patch19_6 ,p_mouse_motion 
+000e c0678294 beq patch19_7 ,p_mouse_dpi_process 
+000f c0680266 beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c06881c9 beq patch1a_1 ,p_mouse_check_key_gpio 
+0011 c06a01b4 beq patch1a_4 ,p_mouse_sensor_poweron 
+0012 c06b0093 beq patch1a_6 ,p_mouse_priority_bb_event 
+0013 c06c810b beq patch1b_1 ,p_mouse_bb_event_timer 
+0014 c06f008c beq patch1b_6 ,p_mouse_idle 
+0015 c0708349 beq patch1c_1 ,p_mouse_led_off 
+0016 c0710345 beq patch1c_2 ,p_mouse_led_on 
+0017 c06d059b beq patch1b_2 ,p_mouse_start_discovery 
+0018 c06d85c5 beq patch1b_3 ,p_mouse_stop_discovery 
+0019 c04f83ac beq patch13_7 ,p_init_param 
+001a c0740646 beq patch1d_0 ,p_hid_rx_process 
+001b 2020137c branch loop 
 
 pf_patch_ext:
-001d c0100091 beq patch24_0 ,p_twspi_reset 
-001e c01983ad beq patch26_3 ,p_adc_init_data 
-001f c01a03b2 beq patch26_4 ,p_enable_adc 
-0020 c04383cd beq patch30_7 ,p_ui_timer_check 
-0021 c06e844b beq patch3b_5 ,p_g24_dispatch 
-0022 c06f03ff beq patch3b_6 ,p_g24_receive_packet 
-0023 c07083df beq patch3c_1 ,p_g24_transmit 
-0024 c07104ff beq patch3c_2 ,p_g24_pair_dispatch 
-0025 c0748526 beq patch3d_1 ,p_g24_reconn_dispatch 
-0026 c075044f beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0027 c07604b8 beq patch3d_4 ,p_g24_lpm_wait 
-0028 c05083d3 beq patch34_1 ,p_le_slave_match 
-0029 c05183dd beq patch34_3 ,p_le_slave_unsync 
-002a c0600617 beq patch38_0 ,p_le_parse_l2cap 
+001c c0100091 beq patch24_0 ,p_twspi_reset 
+001d c0198388 beq patch26_3 ,p_adc_init_data 
+001e c01a038d beq patch26_4 ,p_enable_adc 
+001f c04383a8 beq patch30_7 ,p_ui_timer_check 
+0020 c06e8422 beq patch3b_5 ,p_g24_dispatch 
+0021 c06f03da beq patch3b_6 ,p_g24_receive_packet 
+0022 c07083ba beq patch3c_1 ,p_g24_transmit 
+0023 c07104f2 beq patch3c_2 ,p_g24_pair_dispatch 
+0024 c0748519 beq patch3d_1 ,p_g24_reconn_dispatch 
+0025 c0750430 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0026 c076049c beq patch3d_4 ,p_g24_lpm_wait 
+0027 c00d0638 beq patch23_2 ,p_send_lmp 
+0028 c05083ae beq patch34_1 ,p_le_slave_match 
+0029 c05183b8 beq patch34_3 ,p_le_slave_unsync 
+002a c0600612 beq patch38_0 ,p_le_parse_l2cap 
 002b 2020137c branch loop 
 
 p_app_init:
 002c 793f8034 set0 mark_adc_enable ,mark 
-002d 245585cb ncall p_mouse_le_name_load ,wake 
-002e 20406df3 call enable_authrom 
-002f 2040003d call p_mouse_setting_config 
-0030 24558060 ncall p_mouse_judge_current_mode ,wake 
-0031 204041a7 call mouse_init_sunt 
-0032 20758000 rtn wake 
-0033 204002be call p_g24_report 
-0034 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0035 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
-0036 204004fb call p_send_time_long_wake 
-0037 2040408e call mouse_dpi_config 
-0038 20403d8a call mouse_usb_check_enable 
-0039 20404728 call mouse_drawing_optima_init 
-003a 2040006e call p_mouse_cb_fuction 
-003b 204001bc call p_mouse_sensor_powerdown 
-003c 20203bc9 branch mouse_init + 8 
+002d 20406df3 call enable_authrom 
+002e 20400038 call p_mouse_setting_config 
+002f 24558063 ncall p_mouse_judge_current_mode ,wake 
+0030 204041a7 call mouse_init_sunt 
+0031 20758000 rtn wake 
+0032 2040408e call mouse_dpi_config 
+0033 20403d8a call mouse_usb_check_enable 
+0034 20404728 call mouse_drawing_optima_init 
+0035 2040006e call p_mouse_cb_fuction 
+0036 204001c0 call p_mouse_sensor_powerdown 
+0037 20203bc9 branch mouse_init + 8 
 
 p_mouse_setting_config:
-003d 20758000 rtn wake 
-003e 20402607 call g24_transmit_init 
-003f d8400358 arg 0x358 ,temp 
-0040 60494838 storet 2 ,mem_24g_rx_window 
-0041 204022ff call g24_chmap_param_init 
-0042 2040006b call p_mouse_gpio_init 
-0043 20403d13 call mouse_param_init 
-0044 2040004c call p_mouse_select_angle 
-0045 2040012c call p_mouse_device_multi_led_poweron2s_init 
-0046 20400286 call p_mouse_double_dpi_judge 
-0047 204002cb call p_g24_short_sleep_set_8ms 
-0048 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0049 c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
-004a 204002ce call p_g24_short_sleep_set_4ms 
-004b 20203bf5 branch mouse_setting_config_next 
+0038 20758000 rtn wake 
+0039 20402607 call g24_transmit_init 
+003a d8400358 arg 0x358 ,temp 
+003b 60494838 storet 2 ,mem_24g_rx_window 
+003c 204022ff call g24_chmap_param_init 
+003d 204004ee call p_send_time_long_wake 
+003e 20403f1e call mouse_gpio_init 
+003f 204005c8 call p_mouse_le_name_load 
+0040 20403d13 call mouse_param_init 
+0041 2040004f call p_mouse_select_angle 
+0042 204002c4 call p_mouse_g24_report_setting 
+0043 2040017a call p_mouse_logo_led_off 
+0044 2040016d call p_mouse_1io2led_all_off 
+0045 2040012e call p_mouse_device_multi_led_poweron2s_init 
+0046 2040028c call p_mouse_double_dpi_judge 
+0047 20400049 call p_mouse_store_normal_tx_power 
+0048 20203bf5 branch mouse_setting_config + 5 
+
+p_mouse_store_normal_tx_power:
+0049 6fe0c1e8 fetch 1 ,mem_tx_power 
+004a 67e0cca9 store 1 ,mem_normal_tx_power 
+004b 20600000 rtn 
+
+p_mouse_fetch_normal_tx_power:
+004c 6fe0cca9 fetch 1 ,mem_normal_tx_power 
+004d 67e0c1e8 store 1 ,mem_tx_power 
+004e 20600000 rtn 
 
 p_mouse_select_angle:
-004c 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-004d c17f8000 rtneq gpio_disable 
-004e d8400040 arg gpcfg_pullup ,temp 
-004f 20406093 call gpio_config_function_int 
-0050 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0051 20406059 call gpio_get_bit 
-0052 2020805a branch p_mouse_set_sensor_angle_gnd ,true 
-0053 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0054 d8400080 arg gpcfg_pulldown ,temp 
-0055 20406093 call gpio_config_function_int 
-0056 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0057 20406059 call gpio_get_bit 
-0058 2020805c branch p_mouse_set_sensor_angle_float ,true 
-0059 2020005e branch p_mouse_set_sensor_angle_vin 
+004f 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0050 c17f8000 rtneq gpio_disable 
+0051 d8400040 arg gpcfg_pullup ,temp 
+0052 20406093 call gpio_config_function_int 
+0053 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+0054 20406059 call gpio_get_bit 
+0055 2020805d branch p_mouse_set_sensor_angle_gnd ,true 
+0056 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+0057 d8400080 arg gpcfg_pulldown ,temp 
+0058 20406093 call gpio_config_function_int 
+0059 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+005a 20406059 call gpio_get_bit 
+005b 2020805f branch p_mouse_set_sensor_angle_float ,true 
+005c 20200061 branch p_mouse_set_sensor_angle_vin 
 
 p_mouse_set_sensor_angle_gnd:
-005a 70492803 jam mouse_3clk_angle ,mem_config_sensor_angle 
-005b 20600000 rtn 
+005d 70492803 jam mouse_3clk_angle ,mem_config_sensor_angle 
+005e 20600000 rtn 
 
 p_mouse_set_sensor_angle_float:
-005c 70492800 jam mouse_6clk_angle ,mem_config_sensor_angle 
-005d 20600000 rtn 
+005f 70492800 jam mouse_6clk_angle ,mem_config_sensor_angle 
+0060 20600000 rtn 
 
 p_mouse_set_sensor_angle_vin:
-005e 70492802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-005f 20600000 rtn 
+0061 70492802 jam mouse_12clk_angle ,mem_config_sensor_angle 
+0062 20600000 rtn 
 
 p_mouse_judge_current_mode:
-0060 6fe0c938 fetch 1 ,mem_device_flag 
-0061 203a0067 branch p_mouse_current_24g_mode ,blank 
-0062 20200063 branch p_mouse_current_bt_mode 
+0063 6fe0c938 fetch 1 ,mem_device_flag 
+0064 203a006a branch p_mouse_current_24g_mode ,blank 
+0065 20200066 branch p_mouse_current_bt_mode 
 
 p_mouse_current_bt_mode:
-0063 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0064 79207e20 set1 mouse_enable_power_on_led ,pdata 
-0065 67e44bab store mouse_flag_len ,mem_mouse_flag 
-0066 20600000 rtn 
+0066 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0067 79207e20 set1 mouse_enable_power_on_led ,pdata 
+0068 67e44bab store mouse_flag_len ,mem_mouse_flag 
+0069 20600000 rtn 
 
 p_mouse_current_24g_mode:
-0067 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0068 793ffe20 set0 mouse_enable_power_on_led ,pdata 
-0069 67e44bab store mouse_flag_len ,mem_mouse_flag 
-006a 20600000 rtn 
-
-p_mouse_gpio_init:
-006b 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-006c 245a0169 ncall p_mouse_1io2led_all_off ,blank 
-006d 20203f1e branch mouse_gpio_init 
+006a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+006b 793ffe20 set0 mouse_enable_power_on_led ,pdata 
+006c 67e44bab store mouse_flag_len ,mem_mouse_flag 
+006d 20600000 rtn 
 
 p_mouse_cb_fuction:
-006e 580002d1 setarg p_mouse_24g_package_data 
+006e 580002d4 setarg p_mouse_24g_package_data 
 006f 67e1489b store 2 ,mem_cb_24g_transmit_data 
-0070 580002ed setarg p_mouse_24g_search_dongle 
+0070 580002f3 setarg p_mouse_24g_search_dongle 
 0071 67e1489d store 2 ,mem_cb_24g_search_receiver 
 0072 20203bd3 branch mouse_cb_fuction + 4 
 
@@ -150,32 +152,32 @@
 0079 2040408e call mouse_dpi_config 
 007a 20403f7e call mouse_zwheel 
 007b 20403f83 call mouse_t_zwheel 
-007c 204001c3 call p_mouse_key 
+007c 204001c7 call p_mouse_key 
 007d 6fe0c8d0 fetch 1 ,mem_mouse_key 
 007e 1fe17e1f and_into 0x1f ,pdata 
 007f 67e0c8d0 store 1 ,mem_mouse_key 
 0080 24340087 nbranch p_mouse_low_power_led_delay_off ,user 
 0081 20400084 call p_mouse_work_state_flag 
-0082 204001ad call p_mouse_drawing_optima 
+0082 204001b1 call p_mouse_drawing_optima 
 0083 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_work_state_flag:
-0084 704ca800 jam 0 ,mem_low_power_led_flag 
-0085 704ca900 jam 0 ,mem_24g_low_power_stop_blink 
+0084 704ca400 jam 0 ,mem_low_power_led_flag 
+0085 704ca500 jam 0 ,mem_24g_low_power_stop_blink 
 0086 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
 0087 20404728 call mouse_drawing_optima_init 
-0088 6fe0cca9 fetch 1 ,mem_24g_low_power_stop_blink 
+0088 6fe0cca5 fetch 1 ,mem_24g_low_power_stop_blink 
 0089 247a0000 nrtn blank 
-008a 704ca964 jam 0x64 ,mem_24g_low_power_stop_blink 
+008a 704ca564 jam 0x64 ,mem_24g_low_power_stop_blink 
 008b 20600000 rtn 
 
 p_mouse_idle:
 008c 20404990 call mouse_low_voltage_led_no_enter_lpm 
 008d 20407936 call ui_check_paring_button 
-008e 204001fb call p_mouse_dpi_check 
-008f 2040020f call p_mouse_dpi_another_gpio_check 
+008e 20400201 call p_mouse_dpi_check 
+008f 20400215 call p_mouse_dpi_another_gpio_check 
 0090 2020464f branch mouse_idle + 4 
 
 p_twspi_reset:
@@ -184,1951 +186,1968 @@
 
 p_mouse_priority_bb_event:
 0093 1a627e00 copy regc ,pdata 
-0094 c01e055d beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0095 c01c8556 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0096 c01d0568 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0097 c0190603 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0098 c022060a beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-0099 c00a85f9 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-009a c00a05f6 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-009b c000863d beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-009c 20204336 branch mouse_priority_bb_event + 2 
+0094 c01e0552 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0095 c01c854b beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0096 c01d0563 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0097 c01905fc beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0098 c00a85f6 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0099 c00a05f3 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+009a c0220603 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+009b c020060d beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+009c c0008642 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+009d 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_start_work:
-009d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-009e c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-009f 6fe0c938 fetch 1 ,mem_device_flag 
-00a0 c00000a2 beq mode_24g_device ,p_mouse_24g_start_mode 
-00a1 20203d57 branch mouse_start_work + 5 
+009e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+009f c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00a0 6fe0c938 fetch 1 ,mem_device_flag 
+00a1 c00000a3 beq mode_24g_device ,p_mouse_24g_start_mode 
+00a2 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-00a2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a3 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00a4 20403d65 call mouse_wakeup_from_power_check 
-00a5 203400ac branch p_mouse_24g_reconn_dongle_start ,user 
-00a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a7 c29800af bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-00a8 c31880af bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
-00a9 20404110 call mouse_key_check_once 
-00aa 1a217e07 and rega ,0x07 ,pdata 
-00ab 202047ff branch mouse_24g_start_mode + 9 
+00a3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00a4 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00a5 20403d65 call mouse_wakeup_from_power_check 
+00a6 203400b0 branch p_mouse_24g_reconn_dongle_start ,user 
+00a7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00a8 c29800b3 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+00a9 c31880b3 bbit0 mouse_enable_24g_power_on_pairing ,p_mouse_24g_reconn_general_dongle 
+00aa 20404110 call mouse_key_check_once 
+00ab 1a217e07 and rega ,0x07 ,pdata 
+00ac 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00ad 98467c00 isub temp ,null 
+00ae 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00af 202000b3 branch p_mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_reconn_dongle_start:
-00ac 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-00ad 245a0131 ncall p_mouse_multi_led_blink_enable ,blank 
-00ae 20204806 branch mouse_24g_reconn_dongle_start 
+00b0 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+00b1 245a0133 ncall p_mouse_multi_led_blink_enable ,blank 
+00b2 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_reconn_general_dongle:
-00af 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-00b0 245a0131 ncall p_mouse_multi_led_blink_enable ,blank 
-00b1 2020480c branch mouse_24g_reconn_general_dongle 
+00b3 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+00b4 245a0133 ncall p_mouse_multi_led_blink_enable ,blank 
+00b5 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_start_reconnect_device:
-00b2 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-00b3 245a0131 ncall p_mouse_multi_led_blink_enable ,blank 
-00b4 20203d5a branch mouse_start_reconnect_device + 1 
+00b6 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
+00b7 245a0133 ncall p_mouse_multi_led_blink_enable ,blank 
+00b8 20203d5a branch mouse_start_reconnect_device + 1 
 
 p_mouse_adc_read_start:
-00b5 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-00b6 247a0000 nrtn blank 
-00b7 204003b2 call p_enable_adc 
-00b8 20203ebb branch mouse_adc_read_start + 3 
+00b9 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+00ba 247a0000 nrtn blank 
+00bb 2040038d call p_enable_adc 
+00bc 20203ebb branch mouse_adc_read_start + 3 
 
 p_mouse_app_enter_hibernate:
-00b9 58000006 setarg pan_reg_config 
-00ba 20405b0d call twspi_read 
-00bb c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-00bc 204001b7 call p_mouse_sensor_reset 
-00bd 204001bc call p_mouse_sensor_powerdown 
-00be 20203e23 branch mouse_app_enter_hibernate + 3 
+00bd 58000006 setarg pan_reg_config 
+00be 20405b0d call twspi_read 
+00bf c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+00c0 204001bb call p_mouse_sensor_reset 
+00c1 204001c0 call p_mouse_sensor_powerdown 
+00c2 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
-00bf 204042e9 call mouse_set_sdio_high 
-00c0 20407fdc call clear_wake 
-00c1 20400176 call p_mouse_logo_led_off 
-00c2 20400169 call p_mouse_1io2led_all_off 
-00c3 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00c4 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00c5 20406069 call gpio_out_active 
-00c6 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00c7 20406042 call gpio_clr_wake 
-00c8 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00c9 d840003f arg gpcfg_output_high ,temp 
-00ca 20406093 call gpio_config_function_int 
-00cb d8400003 arg 3 ,temp 
-00cc 20403f56 call mouse_gpio_config_input_pu 
-00cd 20403e40 call mouse_lpm_before_common 
-00ce 20406082 call gpio_pd_idle 
-00cf d8400013 arg 19 ,temp 
-00d0 20403f56 call mouse_gpio_config_input_pu 
-00d1 204000d5 call p_mouse_set_sensor_gpio_sleep 
-00d2 204000e0 call p_mouse_gpio_set_high_impedance 
-00d3 204000ed call p_mouse_adc_gpio_set_before_hibernate 
-00d4 202000f4 branch p_mouse_wheel_gpio_set_before_hibernate 
+00c3 204042e9 call mouse_set_sdio_high 
+00c4 20407fdc call clear_wake 
+00c5 2040017a call p_mouse_logo_led_off 
+00c6 2040016d call p_mouse_1io2led_all_off 
+00c7 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00c8 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00c9 20406069 call gpio_out_active 
+00ca 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00cb 20406042 call gpio_clr_wake 
+00cc 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00cd 204001fb call p_mouse_gpio_config_output_high 
+00ce d8400003 arg 3 ,temp 
+00cf 20403f56 call mouse_gpio_config_input_pu 
+00d0 20403e40 call mouse_lpm_before_common 
+00d1 20406082 call gpio_pd_idle 
+00d2 d8400013 arg 19 ,temp 
+00d3 20403f56 call mouse_gpio_config_input_pu 
+00d4 204000d8 call p_mouse_set_sensor_gpio_sleep 
+00d5 204000e3 call p_mouse_gpio_set_high_impedance 
+00d6 204000f0 call p_mouse_adc_gpio_set_before_hibernate 
+00d7 202000f7 branch p_mouse_wheel_gpio_set_before_hibernate 
 
 p_mouse_set_sensor_gpio_sleep:
-00d5 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-00d6 c17f8000 rtneq gpio_disable 
-00d7 6fe0c928 fetch 1 ,mem_config_sensor_angle 
-00d8 c00180db beq mouse_3clk_angle ,p_mouse_set_sensor_gnd_low_level 
-00d9 c00100dd beq mouse_12clk_angle ,p_mouse_set_sensor_float_high_level 
-00da 20600000 rtn 
+00d8 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00d9 c17f8000 rtneq gpio_disable 
+00da 6fe0c928 fetch 1 ,mem_config_sensor_angle 
+00db c00180de beq mouse_3clk_angle ,p_mouse_set_sensor_gnd_low_level 
+00dc c00100e0 beq mouse_12clk_angle ,p_mouse_set_sensor_float_high_level 
+00dd 20600000 rtn 
 
 p_mouse_set_sensor_gnd_low_level:
-00db 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00dc 20206069 branch gpio_out_active 
+00de 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00df 20206069 branch gpio_out_active 
 
 p_mouse_set_sensor_float_high_level:
-00dd 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-00de 1fe18480 or pdata ,0x80 ,temp 
-00df 20206069 branch gpio_out_active 
+00e0 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00e1 1fe18480 or pdata ,0x80 ,temp 
+00e2 20206069 branch gpio_out_active 
 
 p_mouse_gpio_set_high_impedance:
-00e0 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-00e1 67e1895c store 3 ,mem_pdatatemp 
-00e2 df200014 arg 20 ,loopcnt 
-00e3 d8400000 arg 0 ,temp 
+00e3 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+00e4 67e1895c store 3 ,mem_pdatatemp 
+00e5 df200014 arg 20 ,loopcnt 
+00e6 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-00e4 6fe1895c fetch 3 ,mem_pdatatemp 
-00e5 2feffe00 isolate1 0 ,pdata 
-00e6 2040e07f call gpio_set_high_impedance ,true 
 00e7 6fe1895c fetch 3 ,mem_pdatatemp 
-00e8 1fe37e00 rshift pdata ,pdata 
-00e9 67e1895c store 3 ,mem_pdatatemp 
-00ea 18408401 increase 1 ,temp 
-00eb c20000e4 loop p_mouse_gpio_set_high_impedance_bit_loop 
-00ec 20600000 rtn 
+00e8 2feffe00 isolate1 0 ,pdata 
+00e9 2040e07f call gpio_set_high_impedance ,true 
+00ea 6fe1895c fetch 3 ,mem_pdatatemp 
+00eb 1fe37e00 rshift pdata ,pdata 
+00ec 67e1895c store 3 ,mem_pdatatemp 
+00ed 18408401 increase 1 ,temp 
+00ee c20000e7 loop p_mouse_gpio_set_high_impedance_bit_loop 
+00ef 20600000 rtn 
 
 p_mouse_adc_gpio_set_before_hibernate:
-00ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ee c40a0000 rtnbit0 mouse_enable_adc 
-00ef 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
-00f0 c1810000 rtnne adc_config_gpio 
-00f1 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
-00f2 d84000c0 arg gpcfg_no_ie ,temp 
-00f3 20206093 branch gpio_config_function_int 
+00f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00f1 c40a0000 rtnbit0 mouse_enable_adc 
+00f2 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+00f3 c1810000 rtnne adc_config_gpio 
+00f4 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+00f5 d84000c0 arg gpcfg_no_ie ,temp 
+00f6 20206093 branch gpio_config_function_int 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-00f4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f5 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+00f7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00f8 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-00f6 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-00f7 20406042 call gpio_clr_wake 
-00f8 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-00f9 20406042 call gpio_clr_wake 
-00fa 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-00fb d8400080 arg gpcfg_pulldown ,temp 
-00fc 20406093 call gpio_config_function_int 
-00fd 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-00fe d8400080 arg gpcfg_pulldown ,temp 
-00ff 20206093 branch gpio_config_function_int 
+00f9 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+00fa 20406042 call gpio_clr_wake 
+00fb 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+00fc 20406042 call gpio_clr_wake 
+00fd 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+00fe 20403f54 call mouse_gpio_config_input_pd 
+00ff 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0100 20203f54 branch mouse_gpio_config_input_pd 
+
+p_mouse_short_sleep_clear_wake:
+0101 20407fdc call clear_wake 
+0102 202015b1 branch lpm_write_gpio_wakeup 
 
 p_mouse_lpm_before_common:
-0100 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-0101 20406050 call gpio_config_input 
-0102 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0103 20406050 call gpio_config_input 
-0104 20403f88 call mouse_wheel_check 
-0105 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0106 d840003f arg gpcfg_output_high ,temp 
-0107 20406093 call gpio_config_function_int 
-0108 20203e44 branch mouse_lpm_before_common_next 
+0103 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0104 20406050 call gpio_config_input 
+0105 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0106 20406050 call gpio_config_input 
+0107 20403f88 call mouse_wheel_check 
+0108 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0109 204001fb call p_mouse_gpio_config_output_high 
+010a 20203e44 branch mouse_lpm_before_common + 4 
 
 p_mouse_bb_event_timer:
-0109 20403e9b call mouse_adc_read 
-010a 204001aa call p_mouse_low_power_timer 
-010b 2040232b call g24_pair_timeout_timer 
-010c 20402556 call g24_reconn_timeout_timer 
-010d 204047cd call mouse_24g_long_sleep_param_update_timer 
-010e 204048be call mouse_device_poweron_timer 
-010f 2040017c call p_mouse_dpi_led_blink_delay_timer 
-0110 2040013a call p_mouse_led_multi_timer 
-0111 2040016c call p_mouse_logo_led_on_timer 
-0112 2040407c call mouse_dpi_key_check_long_press 
-0113 204044cc call mouse_bt_discovery_check 
-0114 2040017f call p_mouse_commbination_key_process 
-0115 204044ff call mouse_check_discovery_timeout_timer 
-0116 2040019c call p_mouse_24g_low_power_stop_blink_timer 
-0117 204001a2 call p_mouse_24g_low_power_led_off_timer 
-0118 20404504 call mouse_check_direct_timeout_timer 
-0119 20404512 call mouse_le_enable_att_list_timer 
-011a 2040059c call p_mouse_le_battery_updata_timer 
-011b 20404515 call mouse_le_send_smp_security_request_timer 
-011c 2040452a call mouse_check_hid_handshake_timer 
-011d 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-011e 20404532 call mouse_check_reconnect_delay_long_sleep 
-011f 20404535 call mouse_current_mult_update_timer 
-0120 20404022 call mouse_wheel_trigger_timer 
-0121 20400123 call p_mouse_store_information_delay_timer 
-0122 20200196 branch p_mouse_check_no_data_timeout_timer 
+010b 20403e9b call mouse_adc_read 
+010c 204001ae call p_mouse_low_power_timer 
+010d 2040232b call g24_pair_timeout_timer 
+010e 20402556 call g24_reconn_timeout_timer 
+010f 204047cd call mouse_24g_long_sleep_param_update_timer 
+0110 204048be call mouse_device_poweron_timer 
+0111 20400180 call p_mouse_dpi_led_blink_delay_timer 
+0112 2040013c call p_mouse_led_multi_timer 
+0113 20400170 call p_mouse_logo_led_on_timer 
+0114 2040407c call mouse_dpi_key_check_long_press 
+0115 204044cc call mouse_bt_discovery_check 
+0116 20400183 call p_mouse_commbination_key_process 
+0117 204044ff call mouse_check_discovery_timeout_timer 
+0118 204001a0 call p_mouse_24g_low_power_stop_blink_timer 
+0119 204001a6 call p_mouse_24g_low_power_led_off_timer 
+011a 20404504 call mouse_check_direct_timeout_timer 
+011b 20404512 call mouse_le_enable_att_list_timer 
+011c 20400595 call p_mouse_le_battery_updata_timer 
+011d 20404515 call mouse_le_send_smp_security_request_timer 
+011e 20400598 call p_mouse_le_send_conn_param_update_timer 
+011f 2040452a call mouse_check_hid_handshake_timer 
+0120 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0121 20404532 call mouse_check_reconnect_delay_long_sleep 
+0122 20404535 call mouse_current_mult_update_timer 
+0123 20404022 call mouse_wheel_trigger_timer 
+0124 20400126 call p_mouse_store_information_delay_timer 
+0125 2020019a branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_store_information_delay_timer:
-0123 da6049bf arg mem_store_information_delay_timer ,regc 
-0124 da400126 arg p_mouse_store_device_info_check ,regb 
-0125 2020318a branch timer_single_step 
+0126 da6049bf arg mem_store_information_delay_timer ,regc 
+0127 da400129 arg p_mouse_store_device_info_check ,regb 
+0128 2020318a branch timer_single_step 
 
 p_mouse_store_device_info_check:
-0126 204045f1 call mouse_store_device_info 
-0127 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
-0128 243a012a nbranch p_mouse_soft_reset ,blank 
-0129 20600000 rtn 
+0129 204045f1 call mouse_store_device_info 
+012a 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
+012b 207a0000 rtn blank 
 
 p_mouse_soft_reset:
-012a 20400331 call p_enable_rc_clock 
-012b 202046c0 branch mouse_soft_reset 
+012c 20400337 call p_enable_rc_clock 
+012d 202046c0 branch mouse_soft_reset 
 
 p_mouse_device_multi_led_poweron2s_init:
-012c 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
-012d 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-012e 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
-012f 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
-0130 20600000 rtn 
+012e 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
+012f 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+0130 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
+0131 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
+0132 20600000 rtn 
 
 p_mouse_multi_led_blink_enable:
-0131 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-0132 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-0133 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0134 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-0135 20600000 rtn 
+0133 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+0134 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+0135 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0136 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+0137 20600000 rtn 
 
 p_mouse_multi_led_on_enable:
-0136 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-0137 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
-0138 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-0139 20600000 rtn 
+0138 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+0139 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
+013a 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+013b 20600000 rtn 
 
 p_mouse_led_multi_timer:
-013a 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-013b 207a0000 rtn blank 
-013c 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-013d c000814a beq multi_led_blink ,p_mouse_multi_led_type_blink 
+013c 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+013d 207a0000 rtn blank 
+013e 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+013f c000814c beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-013e 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
-013f 243a0142 nbranch p_mouse_device_multi_led_poweron2s ,blank 
-0140 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-0141 20600000 rtn 
+0140 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
+0141 243a0144 nbranch p_mouse_device_multi_led_poweron2s ,blank 
+0142 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+0143 20600000 rtn 
 
 p_mouse_device_multi_led_poweron2s:
-0142 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
-0143 203a0147 branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
-0144 1fe0ffff increase -1 
-0145 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-0146 20200151 branch p_mouse_device_multi_led_on 
+0144 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
+0145 203a0149 branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
+0146 1fe0ffff increase -1 
+0147 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+0148 20200153 branch p_mouse_device_multi_led_on 
 
 p_mouse_multi_led_poweron2s_and_flag_off:
-0147 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
-0148 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-0149 2020015d branch p_mouse_device_multi_led_off 
+0149 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
+014a 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+014b 2020015f branch p_mouse_device_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-014a da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
-014b da40014d arg p_mouse_multi_led_type_blink_timeout ,regb 
-014c 2020318a branch timer_single_step 
+014c da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
+014d da40014f arg p_mouse_multi_led_type_blink_timeout ,regb 
+014e 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-014d 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-014e 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-014f 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
-0150 c000815d beq on ,p_mouse_device_multi_led_off 
+014f 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0150 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+0151 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
+0152 c000815f beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-0151 704c4d01 jam on ,mem_mouse_multi_led_state 
-0152 6fe0c938 fetch 1 ,mem_device_flag 
-0153 c0000157 beq mode_24g_device ,p_mouse_device_24g_led_on 
-0154 c0008159 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-0155 c001015b beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-0156 20600000 rtn 
+0153 704c4d01 jam on ,mem_mouse_multi_led_state 
+0154 6fe0c938 fetch 1 ,mem_device_flag 
+0155 c0000159 beq mode_24g_device ,p_mouse_device_24g_led_on 
+0156 c000815b beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0157 c001015d beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0158 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-0157 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-0158 2020015c branch p_mouse_device_led_on 
+0159 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+015a 2020015e branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-0159 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-015a 2020015c branch p_mouse_device_led_on 
+015b 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+015c 2020015e branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-015b 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+015d 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-015c 20206069 branch gpio_out_active 
+015e 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-015d 704c4d00 jam off ,mem_mouse_multi_led_state 
-015e 6fe0c938 fetch 1 ,mem_device_flag 
-015f c0000163 beq mode_24g_device ,p_mouse_device_24g_led_off 
-0160 c0008165 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0161 c0010167 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0162 20600000 rtn 
+015f 704c4d00 jam off ,mem_mouse_multi_led_state 
+0160 6fe0c938 fetch 1 ,mem_device_flag 
+0161 c0000165 beq mode_24g_device ,p_mouse_device_24g_led_off 
+0162 c0008169 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+0163 c001016b beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+0164 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-0163 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-0164 2020607f branch gpio_set_high_impedance 
+0165 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+
+p_gpio_set_high_impedance:
+0166 18467cff sub temp ,gpio_disable ,null 
+0167 20628000 rtn zero 
+0168 2020607f branch gpio_set_high_impedance 
 
 p_mouse_device_bt1_led_off:
-0165 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-0166 2020607f branch gpio_set_high_impedance 
+0169 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+016a 20200166 branch p_gpio_set_high_impedance 
 
 p_mouse_device_bt2_led_off:
-0167 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-0168 2020607f branch gpio_set_high_impedance 
+016b 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+016c 20200166 branch p_gpio_set_high_impedance 
 
 p_mouse_1io2led_all_off:
-0169 20400163 call p_mouse_device_24g_led_off 
-016a 20400165 call p_mouse_device_bt1_led_off 
-016b 20200167 branch p_mouse_device_bt2_led_off 
+016d 20400165 call p_mouse_device_24g_led_off 
+016e 20400169 call p_mouse_device_bt1_led_off 
+016f 2020016b branch p_mouse_device_bt2_led_off 
 
 p_mouse_logo_led_on_timer:
-016c 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-016d c17f8000 rtneq gpio_disable 
-016e 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-016f 207a0000 rtn blank 
-0170 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-0171 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-0172 98460400 isub temp ,temp 
-0173 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-0174 98467e00 isub temp ,pdata 
-0175 2021017a branch p_mouse_logo_led_on ,positive 
+0170 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+0171 c17f8000 rtneq gpio_disable 
+0172 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0173 207a0000 rtn blank 
+0174 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+0175 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+0176 98460400 isub temp ,temp 
+0177 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+0178 98467e00 isub temp ,pdata 
+0179 2021017e branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-0176 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-0177 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0178 c000e07f beq 1 ,gpio_set_high_impedance 
-0179 20206065 branch gpio_out_inactive 
+017a 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+017b 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+017c c0008166 beq 1 ,p_gpio_set_high_impedance 
+017d 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-017a 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-017b 20206069 branch gpio_out_active 
+017e 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+017f 20206069 branch gpio_out_active 
 
 p_mouse_dpi_led_blink_delay_timer:
-017c da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-017d da400271 arg p_mouse_dpi_led_blink_init ,regb 
-017e 2020318a branch timer_single_step 
+0180 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0181 da400277 arg p_mouse_dpi_led_blink_init ,regb 
+0182 2020318a branch timer_single_step 
 
 p_mouse_commbination_key_process:
-017f 6fe0c938 fetch 1 ,mem_device_flag 
-0180 c0000185 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0181 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0182 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0183 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0184 20200188 branch p_mouse_commbination_key_start 
+0183 6fe0c938 fetch 1 ,mem_device_flag 
+0184 c0000189 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0185 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0186 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0187 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0188 2020018c branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0185 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0186 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0187 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0189 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+018a c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+018b 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0188 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0189 20404115 call mouse_check_key_gpio 
-018a 1fe17e07 and pdata ,0x07 ,pdata 
-018b 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-018c 98467c00 isub temp ,null 
-018d 2022818f branch p_mouse_commbination_key_down ,zero 
-018e 202044eb branch mouse_commbination_key_up 
+018c 6048cb9d storet 1 ,mem_mouse_commbination_key 
+018d 20404115 call mouse_check_key_gpio 
+018e 1fe17e07 and pdata ,0x07 ,pdata 
+018f 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+0190 98467c00 isub temp ,null 
+0191 20228193 branch p_mouse_commbination_key_down ,zero 
+0192 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-018f 20400194 call p_mouse_combination_ui_timer 
-0190 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0191 c1008000 rtneq commbination_key_state_down 
-0192 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0193 20600000 rtn 
+0193 20400198 call p_mouse_combination_ui_timer 
+0194 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0195 c1008000 rtneq commbination_key_state_down 
+0196 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0197 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0194 da40057c arg p_mouse_24g_start_pair_mode ,regb 
-0195 202044f7 branch mouse_combination_ui_timer + 1 
+0198 da400577 arg p_mouse_24g_start_pair_mode ,regb 
+0199 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
-0196 da604ab2 arg mem_mouse_no_data_timer ,regc 
-0197 da400199 arg p_mouse_check_no_data_timeout ,regb 
-0198 20203191 branch timer_single_step_2b 
+019a da604ab2 arg mem_mouse_no_data_timer ,regc 
+019b da40019d arg p_mouse_check_no_data_timeout ,regb 
+019c 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-0199 6fe0c938 fetch 1 ,mem_device_flag 
-019a c0000593 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-019b 2020431b branch mouse_disconnect 
+019d 6fe0c938 fetch 1 ,mem_device_flag 
+019e c000058c beq mode_24g_device ,p_mouse_24g_hibernate_set 
+019f 2020431b branch mouse_disconnect 
 
 p_mouse_24g_low_power_stop_blink_timer:
-019c da40019f arg p_mouse_24g_low_power_stop_blink_timeout ,regb 
-019d da604ca9 arg mem_24g_low_power_stop_blink ,regc 
-019e 2020318a branch timer_single_step 
+01a0 da4001a3 arg p_mouse_24g_low_power_stop_blink_timeout ,regb 
+01a1 da604ca5 arg mem_24g_low_power_stop_blink ,regc 
+01a2 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_stop_blink_timeout:
-019f 704ca801 jam 0x01 ,mem_low_power_led_flag 
-01a0 704caa0a jam 0x0a ,mem_24g_low_power_led_off 
-01a1 20600000 rtn 
+01a3 704ca401 jam 0x01 ,mem_low_power_led_flag 
+01a4 704ca60a jam 0x0a ,mem_24g_low_power_led_off 
+01a5 20600000 rtn 
 
 p_mouse_24g_low_power_led_off_timer:
-01a2 da4001a5 arg p_mouse_24g_low_power_led_off_timeout ,regb 
-01a3 da604caa arg mem_24g_low_power_led_off ,regc 
-01a4 2020318a branch timer_single_step 
+01a6 da4001a9 arg p_mouse_24g_low_power_led_off_timeout ,regb 
+01a7 da604ca6 arg mem_24g_low_power_led_off ,regc 
+01a8 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-01a5 6fe0c921 fetch 1 ,mem_config_low_voltage_alarm_gpio 
-01a6 c17f8000 rtneq gpio_disable 
-01a7 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-01a8 793f8407 set0 7 ,temp 
-01a9 2020492b branch mouse_led_off 
+01a9 6fe0c921 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+01aa c17f8000 rtneq gpio_disable 
+01ab 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+01ac 793f8407 set0 7 ,temp 
+01ad 2020492b branch mouse_led_off 
 
 p_mouse_low_power_timer:
-01aa 6fe0cca8 fetch 1 ,mem_low_power_led_flag 
-01ab 203a4956 branch mouse_low_voltage_led_timer ,blank 
-01ac 20600000 rtn 
+01ae 6fe0cca4 fetch 1 ,mem_low_power_led_flag 
+01af 203a4956 branch mouse_low_voltage_led_timer ,blank 
+01b0 20600000 rtn 
 
 p_mouse_drawing_optima:
-01ad 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01ae c1018000 rtneq p3212 
-01af 2020471a branch mouse_drawing_optima 
+01b1 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01b2 c1018000 rtneq p3212 
+01b3 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-01b0 20403f65 call mouse_sensor_spi_init 
-01b1 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01b2 c00581b4 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-01b3 20204238 branch mouse_sensor_poweron_next 
+01b4 20403f65 call mouse_sensor_spi_init 
+01b5 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01b6 c00581b8 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+01b7 20204238 branch mouse_sensor_poweron_next 
 
 p_mouse_ka8g2_sensor_init:
-01b4 204001ba call p_mouse_ka8g2_sensor_reset 
-01b5 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-01b6 2020423a branch mouse_sensor_poweron_end 
+01b8 204001be call p_mouse_ka8g2_sensor_reset 
+01b9 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+01ba 2020423a branch mouse_sensor_poweron_end 
 
 p_mouse_sensor_reset:
-01b7 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01b8 c00581ba beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-01b9 20204232 branch mouse_sensor_reset 
+01bb 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01bc c00581be beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+01bd 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-01ba 58009706 setarg 0x9706 
-01bb 20204233 branch mouse_sensor_reset_end 
+01be 58009706 setarg 0x9706 
+01bf 20204233 branch mouse_sensor_reset_end 
 
 p_mouse_sensor_powerdown:
-01bc 204041a7 call mouse_init_sunt 
-01bd 20403f65 call mouse_sensor_spi_init 
-01be 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01bf c00581c1 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-01c0 2020423e branch mouse_sensor_powerdown_end 
+01c0 204041a7 call mouse_init_sunt 
+01c1 20403f65 call mouse_sensor_spi_init 
+01c2 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01c3 c00581c5 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+01c4 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-01c1 58001f06 setarg 0x1f06 
-01c2 20205b0c branch twspi_write 
+01c5 58001f06 setarg 0x1f06 
+01c6 20205b0c branch twspi_write 
 
 p_mouse_key:
-01c3 204001c5 call p_mouse_check_key_gpio 
-01c4 202040dd branch mouse_key + 1 
+01c7 204001c9 call p_mouse_check_key_gpio 
+01c8 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-01c5 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01c6 245a4121 ncall mouse_check_key_gpio_once ,blank 
-01c7 da200000 arg 0 ,rega 
-01c8 204001ce call p_mouse_check_lkey_gpio 
-01c9 204001d3 call p_mouse_check_rkey_gpio 
-01ca 204001d8 call p_mouse_check_mkey_gpio 
-01cb 204001dd call p_mouse_check_bkkey_gpio 
-01cc 204001ea call p_mouse_check_fwkey_gpio 
-01cd 2020411e branch mouse_check_key_gpio_next 
+01c9 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+01ca 245a4121 ncall mouse_check_key_gpio_once ,blank 
+01cb da200000 arg 0 ,rega 
+01cc 204001d2 call p_mouse_check_lkey_gpio 
+01cd 204001d7 call p_mouse_check_rkey_gpio 
+01ce 204001dc call p_mouse_check_mkey_gpio 
+01cf 204001e1 call p_mouse_check_bkkey_gpio 
+01d0 204001ee call p_mouse_check_fwkey_gpio 
+01d1 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-01ce 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-01cf 204001f7 call p_mouse_gpio_config_output_high 
-01d0 20404124 call mouse_check_lkey_gpio 
-01d1 6848c918 fetcht 1 ,mem_lbutton_gpio 
-01d2 20203f56 branch mouse_gpio_config_input_pu 
+01d2 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+01d3 204001fb call p_mouse_gpio_config_output_high 
+01d4 20404124 call mouse_check_lkey_gpio 
+01d5 6848c918 fetcht 1 ,mem_lbutton_gpio 
+01d6 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-01d3 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-01d4 204001f7 call p_mouse_gpio_config_output_high 
-01d5 2040412a call mouse_check_rkey_gpio 
-01d6 6848c919 fetcht 1 ,mem_rbutton_gpio 
-01d7 20203f56 branch mouse_gpio_config_input_pu 
+01d7 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+01d8 204001fb call p_mouse_gpio_config_output_high 
+01d9 2040412a call mouse_check_rkey_gpio 
+01da 6848c919 fetcht 1 ,mem_rbutton_gpio 
+01db 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-01d8 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-01d9 204001f7 call p_mouse_gpio_config_output_high 
-01da 20404130 call mouse_check_mkey_gpio 
-01db 6848c91a fetcht 1 ,mem_mbutton_gpio 
-01dc 20203f56 branch mouse_gpio_config_input_pu 
+01dc 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+01dd 204001fb call p_mouse_gpio_config_output_high 
+01de 20404130 call mouse_check_mkey_gpio 
+01df 6848c91a fetcht 1 ,mem_mbutton_gpio 
+01e0 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-01dd 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-01de c17f8000 rtneq gpio_disable 
-01df 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-01e0 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-01e1 1fe22600 copy pdata ,regc 
-01e2 6848c90d fetcht 1 ,mem_bk_button_gpio 
-01e3 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-01e4 c07f81e6 beq gpio_disable ,p_mouse_3io6key_bk_check 
-01e5 2020413e branch mouse_check_bkkey_gpio_next 
+01e1 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+01e2 c17f8000 rtneq gpio_disable 
+01e3 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+01e4 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+01e5 1fe22600 copy pdata ,regc 
+01e6 6848c90d fetcht 1 ,mem_bk_button_gpio 
+01e7 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+01e8 c07f81ea beq gpio_disable ,p_mouse_3io6key_bk_check 
+01e9 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-01e6 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-01e7 204001f9 call p_mouse_gpio_config_output_low 
-01e8 6848c90d fetcht 1 ,mem_bk_button_gpio 
-01e9 2020414b branch mouse_3io6key_bk_check 
+01ea 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+01eb 204001fe call p_mouse_gpio_config_output_low 
+01ec 6848c90d fetcht 1 ,mem_bk_button_gpio 
+01ed 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-01ea 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-01eb c17f8000 rtneq gpio_disable 
-01ec 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-01ed 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-01ee 1fe22600 copy pdata ,regc 
-01ef 6848c90e fetcht 1 ,mem_fw_button_gpio 
-01f0 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-01f1 c07f81f3 beq gpio_disable ,p_mouse_3io6key_fw_check 
-01f2 20204157 branch mouse_check_fwkey_gpio_next 
+01ee 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+01ef c17f8000 rtneq gpio_disable 
+01f0 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+01f1 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+01f2 1fe22600 copy pdata ,regc 
+01f3 6848c90e fetcht 1 ,mem_fw_button_gpio 
+01f4 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+01f5 c07f81f7 beq gpio_disable ,p_mouse_3io6key_fw_check 
+01f6 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-01f3 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-01f4 204001f9 call p_mouse_gpio_config_output_low 
-01f5 6848c90e fetcht 1 ,mem_fw_button_gpio 
-01f6 20204164 branch mouse_3io6key_fw_check 
+01f7 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+01f8 204001fe call p_mouse_gpio_config_output_low 
+01f9 6848c90e fetcht 1 ,mem_fw_button_gpio 
+01fa 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-01f7 d840003f arg gpcfg_output_high ,temp 
-01f8 20206093 branch gpio_config_function_int 
+01fb c17f8000 rtneq gpio_disable 
+01fc d840003f arg gpcfg_output_high ,temp 
+01fd 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-01f9 d840003e arg gpcfg_output_low ,temp 
-01fa 20206093 branch gpio_config_function_int 
+01fe c17f8000 rtneq gpio_disable 
+01ff d840003e arg gpcfg_output_low ,temp 
+0200 20206093 branch gpio_config_function_int 
 
 p_mouse_dpi_check:
-01fb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01fc c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-01fd 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-01fe c17f8000 rtneq gpio_disable 
-01ff da200000 arg 0 ,rega 
-0200 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-0201 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0202 20400204 call p_mouse_dpi_key_check 
-0203 2020402f branch mouse_dpi_check_next 
+0201 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0202 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0203 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0204 c17f8000 rtneq gpio_disable 
+0205 da200000 arg 0 ,rega 
+0206 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0207 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0208 2040020a call p_mouse_dpi_key_check 
+0209 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0204 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0205 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0206 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0207 1fe22600 copy pdata ,regc 
-0208 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0209 c07f820b beq gpio_disable ,p_mouse_3io6key_dpi_check 
-020a 2020403f branch mouse_dpi_key_check_next 
+020a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+020b c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+020c 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+020d 1fe22600 copy pdata ,regc 
+020e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+020f c07f8211 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0210 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-020b 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-020c 204001f9 call p_mouse_gpio_config_output_low 
-020d 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-020e 20204195 branch mouse_3io6key_check 
+0211 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0212 204001fe call p_mouse_gpio_config_output_low 
+0213 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0214 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-020f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0210 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0211 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-0212 243a0218 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0215 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0216 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+0217 6fe0cc3a fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+0218 243a021e nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-0213 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0214 204001f7 call p_mouse_gpio_config_output_high 
-0215 20400228 call p_mouse_dpi_another_check 
-0216 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0217 20203f56 branch mouse_gpio_config_input_pu 
+0219 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+021a 204001fb call p_mouse_gpio_config_output_high 
+021b 2040022e call p_mouse_dpi_another_check 
+021c 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+021d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0218 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0219 793ffe07 set0 gpio_active_bit ,pdata 
-021a 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
-021b 204001f9 call p_mouse_gpio_config_output_low 
-021c 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-021d 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-021e 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-021f 20400241 call p_mouse_check_key_connect_vin_new 
-0220 2040022c call p_mouse_dpi_another_state_check 
-0221 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-0222 20203f56 branch mouse_gpio_config_input_pu 
+021e 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+021f 793ffe07 set0 gpio_active_bit ,pdata 
+0220 67e0cc3b store 1 ,mem_dpi_another_button_gpio 
+0221 204001fe call p_mouse_gpio_config_output_low 
+0222 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0223 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0224 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0225 20400247 call p_mouse_check_key_connect_vin_new 
+0226 20400232 call p_mouse_dpi_another_state_check 
+0227 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0228 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-0223 20403f56 call mouse_gpio_config_input_pu 
-0224 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0225 c1008000 rtneq dpi_button_state_down 
-0226 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0227 20204069 branch mouse_dpi_process 
+0229 20403f56 call mouse_gpio_config_input_pu 
+022a 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+022b c1008000 rtneq dpi_button_state_down 
+022c 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+022d 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-0228 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0229 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
-022a 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
-022b 20400237 call p_mouse_check_key_connect_gnd_new 
+022e 704c3f00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+022f 6848cc3b fetcht 1 ,mem_dpi_another_button_gpio 
+0230 6fe0cc3c fetch 1 ,mem_dpi_another_press_status 
+0231 2040023d call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-022c 67e0cc3c store 1 ,mem_dpi_another_press_status 
-022d 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-022e 203a0233 branch p_mouse_dpi_another_up ,blank 
+0232 67e0cc3c store 1 ,mem_dpi_another_press_status 
+0233 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+0234 203a0239 branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-022f 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0230 c1008000 rtneq dpi_button_state_down 
-0231 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0232 20204069 branch mouse_dpi_process 
+0235 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+0236 c1008000 rtneq dpi_button_state_down 
+0237 704c3d01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0238 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-0233 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
-0234 c1000000 rtneq dpi_button_state_up 
-0235 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0236 20600000 rtn 
+0239 6fe0cc3d fetch 1 ,mem_dpi_another_button_state 
+023a c1000000 rtneq dpi_button_state_up 
+023b 704c3d00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+023c 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-0237 1fe3fe00 lshift pdata ,pdata 
-0238 1fe22400 copy pdata ,regb 
-0239 20406059 call gpio_get_bit 
-023a 7920a400 setflag true ,0 ,regb 
-023b 1a417e07 and regb ,0x07 ,pdata 
-023c 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-023d 18420e00 copy temp ,queue 
-023e c003824c beq 0x07 ,p_mouse_key_press 
-023f c000024e beq 0x00 ,p_mouse_key_release 
-0240 20600000 rtn 
+023d 1fe3fe00 lshift pdata ,pdata 
+023e 1fe22400 copy pdata ,regb 
+023f 20406059 call gpio_get_bit 
+0240 7920a400 setflag true ,0 ,regb 
+0241 1a417e07 and regb ,0x07 ,pdata 
+0242 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+0243 18420e00 copy temp ,queue 
+0244 c0038252 beq 0x07 ,p_mouse_key_press 
+0245 c0000254 beq 0x00 ,p_mouse_key_release 
+0246 20600000 rtn 
 
 p_mouse_check_key_connect_vin_new:
-0241 1fe3fe00 lshift pdata ,pdata 
-0242 1fe22400 copy pdata ,regb 
-0243 20403f54 call mouse_gpio_config_input_pd 
-0244 20406059 call gpio_get_bit 
-0245 7920a400 setflag true ,0 ,regb 
-0246 1a417e07 and regb ,0x07 ,pdata 
-0247 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
-0248 18420e00 copy temp ,queue 
-0249 c003824c beq 0x07 ,p_mouse_key_press 
-024a c000024e beq 0x00 ,p_mouse_key_release 
-024b 20600000 rtn 
+0247 1fe3fe00 lshift pdata ,pdata 
+0248 1fe22400 copy pdata ,regb 
+0249 20403f54 call mouse_gpio_config_input_pd 
+024a 20406059 call gpio_get_bit 
+024b 7920a400 setflag true ,0 ,regb 
+024c 1a417e07 and regb ,0x07 ,pdata 
+024d 6848cc3f fetcht 1 ,mem_mouse_key_temp_patch 
+024e 18420e00 copy temp ,queue 
+024f c0038252 beq 0x07 ,p_mouse_key_press 
+0250 c0000254 beq 0x00 ,p_mouse_key_release 
+0251 20600000 rtn 
 
 p_mouse_key_press:
-024c 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
-024d 20600000 rtn 
+0252 704c3e01 jam 1 ,mem_dpi_another_button_down_enable 
+0253 20600000 rtn 
 
 p_mouse_key_release:
-024e 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
-024f 20600000 rtn 
+0254 704c3e00 jam 0 ,mem_dpi_another_button_down_enable 
+0255 20600000 rtn 
 
 p_mouse_select_device_by_pb_button:
-0250 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
-0251 c17f8000 rtneq gpio_disable 
-0252 da200000 arg 0 ,rega 
-0253 704b9606 jam mouse_pb_key ,mem_mouse_key_temp 
-0254 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
-0255 2040466a call mouse_pb_button_check 
-0256 67e0cb94 store 1 ,mem_mouse_pbkey_press_status 
-0257 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0258 c07f825d beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
-0259 20404168 call mouse_matrix_public_gpio_reset 
+0256 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
+0257 c17f8000 rtneq gpio_disable 
+0258 da200000 arg 0 ,rega 
+0259 704b9606 jam mouse_pb_key ,mem_mouse_key_temp 
+025a 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
+025b 2040466a call mouse_pb_button_check 
+025c 67e0cb94 store 1 ,mem_mouse_pbkey_press_status 
+025d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+025e c07f8263 beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
+025f 20404168 call mouse_matrix_public_gpio_reset 
 
 p_mouse_select_device_by_pb_button_exit:
-025a 1a227e00 copy rega ,pdata 
-025b c283468d bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
-025c 20204680 branch mouse_select_device_button_up 
+0260 1a227e00 copy rega ,pdata 
+0261 c283468d bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
+0262 20204680 branch mouse_select_device_button_up 
 
 p_mouse_3io6key_pb_button_check_end:
-025d 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
-025e 20403f56 call mouse_gpio_config_input_pu 
-025f 2020025a branch p_mouse_select_device_by_pb_button_exit 
+0263 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
+0264 20403f56 call mouse_gpio_config_input_pu 
+0265 20200260 branch p_mouse_select_device_by_pb_button_exit 
 
 p_mouse_seting_dpi:
-0260 2040408f call mouse_setting_dpi_4_level 
-0261 20400263 call p_mouse_dpi_led_blink_delay 
-0262 20204098 branch mouse_seting_sensor_type 
+0266 2040408f call mouse_setting_dpi_4_level 
+0267 20400269 call p_mouse_dpi_led_blink_delay 
+0268 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-0263 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0264 c17f8000 rtneq gpio_disable 
-0265 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0266 247a0000 nrtn blank 
-0267 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0268 247a0000 nrtn blank 
-0269 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-026a 247a0000 nrtn blank 
-026b 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0269 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+026a c17f8000 rtneq gpio_disable 
+026b 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
 026c 247a0000 nrtn blank 
-026d 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-026e 203a0271 branch p_mouse_dpi_led_blink_init ,blank 
-026f 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0270 20600000 rtn 
+026d 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+026e 247a0000 nrtn blank 
+026f 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0270 247a0000 nrtn blank 
+0271 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0272 247a0000 nrtn blank 
+0273 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0274 203a0277 branch p_mouse_dpi_led_blink_init ,blank 
+0275 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0276 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-0271 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0272 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0273 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0274 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0275 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0276 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0277 67e14930 store 2 ,mem_mouse_on_time 
-0278 67e14932 store 2 ,mem_mouse_off_time 
-0279 da200000 arg 0 ,rega 
-027a 6848c992 fetcht 1 ,mem_mouse_dpi 
-027b 18408402 increase 2 ,temp 
-027c 18467c03 sub temp ,3 ,null 
-027d 20410280 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-027e 24410284 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-027f 202048ff branch mouse_dpi_led_blink_init_end 
+0277 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0278 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+0279 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+027a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+027b 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+027c 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+027d 67e14930 store 2 ,mem_mouse_on_time 
+027e 67e14932 store 2 ,mem_mouse_off_time 
+027f da200000 arg 0 ,rega 
+0280 6848c992 fetcht 1 ,mem_mouse_dpi 
+0281 18408402 increase 2 ,temp 
+0282 18467c03 sub temp ,3 ,null 
+0283 20410286 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0284 2441028a ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0285 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0280 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0281 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0282 18408401 increase 1 ,temp 
-0283 20600000 rtn 
+0286 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0287 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0288 18408401 increase 1 ,temp 
+0289 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0284 184085fd increase -3 ,temp 
-0285 20600000 rtn 
+028a 184085fd increase -3 ,temp 
+028b 20600000 rtn 
 
 p_mouse_double_dpi_judge:
-0286 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0287 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-0288 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
-0289 c283828c bbit1 gpio_active_bit ,p_mouse_another_dpi_connect_vin 
+028c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+028d c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+028e 6fe0cc3b fetch 1 ,mem_dpi_another_button_gpio 
+028f c2838292 bbit1 gpio_active_bit ,p_mouse_another_dpi_connect_vin 
 
 p_mouse_another_dpi_connect_gnd:
-028a 704c3a00 jam 0 ,mem_mouse_another_dpi_connect_vin_flag 
-028b 20600000 rtn 
+0290 704c3a00 jam 0 ,mem_mouse_another_dpi_connect_vin_flag 
+0291 20600000 rtn 
 
 p_mouse_another_dpi_connect_vin:
-028c 704c3a01 jam 1 ,mem_mouse_another_dpi_connect_vin_flag 
-028d 20600000 rtn 
+0292 704c3a01 jam 1 ,mem_mouse_another_dpi_connect_vin_flag 
+0293 20600000 rtn 
 
 p_mouse_dpi_process:
-028e 20404072 call mouse_dpi_ghost_check 
-028f 20740000 rtn user 
-0290 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0291 1fe20400 copy pdata ,temp 
-0292 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0293 c29e829a bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0294 18427e00 copy temp ,pdata 
-0295 1fe0fe01 increase 1 ,pdata 
-0296 1fe17e03 and pdata ,0x03 ,pdata 
+0294 20404072 call mouse_dpi_ghost_check 
+0295 20740000 rtn user 
+0296 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0297 1fe20400 copy pdata ,temp 
+0298 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0299 c29e82a0 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+029a 18427e00 copy temp ,pdata 
+029b 1fe0fe01 increase 1 ,pdata 
+029c 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0297 67e0c992 store 1 ,mem_mouse_dpi 
-0298 20404095 call mouse_seting_dpi 
-0299 202045ee branch mouse_store_device_info_delay 
+029d 67e0c992 store 1 ,mem_mouse_dpi 
+029e 20404095 call mouse_seting_dpi 
+029f 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-029a 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
-029b 243a02b7 nbranch p_mouse_another_dpi_button_down ,blank 
+02a0 6fe0cc3e fetch 1 ,mem_dpi_another_button_down_enable 
+02a1 243a02bd nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-029c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-029d c28e02ab bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-029e 18427e00 copy temp ,pdata 
-029f c1008000 rtneq mouse_dpi_level2 
+02a2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02a3 c28e02b1 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+02a4 18427e00 copy temp ,pdata 
+02a5 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-02a0 c00002a7 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-02a1 c00102a5 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-02a2 20600000 rtn 
+02a6 c00002ad beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+02a7 c00102ab beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+02a8 20600000 rtn 
 
 p_mouse_dpi_level_1:
-02a3 58000002 setarg 2 
-02a4 20200297 branch p_mouse_dpi_store 
+02a9 58000002 setarg 2 
+02aa 2020029d branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-02a5 58000000 setarg 0 
-02a6 20200297 branch p_mouse_dpi_store 
+02ab 58000000 setarg 0 
+02ac 2020029d branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-02a7 58000001 setarg 1 
-02a8 20200297 branch p_mouse_dpi_store 
+02ad 58000001 setarg 1 
+02ae 2020029d branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-02a9 58000003 setarg 3 
-02aa 20200297 branch p_mouse_dpi_store 
+02af 58000003 setarg 3 
+02b0 2020029d branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-02ab 18427e00 copy temp ,pdata 
-02ac c1008000 rtneq mouse_dpi_level2 
-02ad c00002a7 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-02ae c00102a9 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-02af c00182a5 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-02b0 20600000 rtn 
-
-p_mouse_dpi_decrease_level_4:
 02b1 18427e00 copy temp ,pdata 
-02b2 c1010000 rtneq mouse_dpi_level3 
-02b3 c00002a9 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-02b4 c00082a5 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-02b5 c00182a3 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+02b2 c1008000 rtneq mouse_dpi_level2 
+02b3 c00002ad beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+02b4 c00102af beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+02b5 c00182ab beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
 02b6 20600000 rtn 
 
+p_mouse_dpi_decrease_level_4:
+02b7 18427e00 copy temp ,pdata 
+02b8 c1010000 rtneq mouse_dpi_level3 
+02b9 c00002af beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+02ba c00082ab beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+02bb c00182a9 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+02bc 20600000 rtn 
+
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-02b7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02b8 c28e02b1 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-02b9 18427e00 copy temp ,pdata 
-02ba c1010000 rtneq mouse_dpi_level3 
+02bd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02be c28e02b7 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+02bf 18427e00 copy temp ,pdata 
+02c0 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-02bb c00002a3 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-02bc c00082a5 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-02bd 20600000 rtn 
-
-p_g24_report:
-02be 58017700 setarg 0x17700 
-02bf 67e1cc4e store 3 ,mem_24g_tsniff 
-02c0 20402613 call g24_interval_param_8ms 
-02c1 7048c61e jam 30 ,mem_24g_fast_hop_count 
-02c2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02c3 c40c0000 rtnbit0 mouse_enable_24g_250hz 
-02c4 2040260b call g24_interval_param_4ms 
-02c5 7048c60f jam 15 ,mem_24g_fast_hop_count 
+02c1 c00002a9 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+02c2 c00082ab beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+02c3 20600000 rtn 
+
+p_mouse_g24_report_setting:
+02c4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02c5 c30c02cd bbit0 mouse_enable_24g_250hz ,p_mouse_g24_report_125hz 
+
+p_mouse_g24_report_250hz:
 02c6 5800bb80 setarg 0xbb80 
 02c7 67e1cc4e store 3 ,mem_24g_tsniff 
-02c8 58004800 setarg 0x4800 
+02c8 58006c10 setarg 0x6c10 
 02c9 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-02ca 20600000 rtn 
-
-p_g24_short_sleep_set_8ms:
-02cb 5800e290 setarg 58000 
-02cc 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-02cd 20600000 rtn 
-
-p_g24_short_sleep_set_4ms:
-02ce 58001770 setarg 6000 
-02cf 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-02d0 20600000 rtn 
+02ca 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
+02cb 7048c60f jam 15 ,mem_24g_fast_hop_count 
+02cc 20600000 rtn 
+
+p_mouse_g24_report_125hz:
+02cd 58017700 setarg 0x17700 
+02ce 67e1cc4e store 3 ,mem_24g_tsniff 
+02cf 58010b60 setarg 0x10b60 
+02d0 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+02d1 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
+02d2 7048c61e jam 30 ,mem_24g_fast_hop_count 
+02d3 20600000 rtn 
 
 p_mouse_24g_package_data:
-02d1 c6930000 rtnmark0 mark_24g 
-02d2 20403f70 call mouse_motion 
-02d3 24740000 nrtn user 
-02d4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02d5 c30a82d8 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-02d6 6fe0cb8b fetch 1 ,mem_customer_key 
-02d7 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+02d4 c6930000 rtnmark0 mark_24g 
+02d5 20403f70 call mouse_motion 
+02d6 24740000 nrtn user 
+02d7 6fe0cc6a fetch 1 ,mem_long_sleep_flag 
+02d8 704c6a00 jam 0 ,mem_long_sleep_flag 
+02d9 245a0101 ncall p_mouse_short_sleep_clear_wake ,blank 
+02da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02db c30a82de bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+02dc 6fe0cb8b fetch 1 ,mem_customer_key 
+02dd 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-02d8 204042cb call mouse_data_xy_release 
-02d9 6fe0c836 fetch 1 ,mem_24g_data_type 
-02da c28082e7 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-02db 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-02dc 6fe0c8d0 fetch 1 ,mem_mouse_key 
-02dd 9841fe00 ior temp ,pdata 
-02de 67e0c8d0 store 1 ,mem_mouse_key 
-02df 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-02e0 6fe0c8d5 fetch 1 ,mem_mouse_z 
-02e1 9840fe00 iadd temp ,pdata 
-02e2 67e0c8d5 store 1 ,mem_mouse_z 
-02e3 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-02e4 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-02e5 9840fe00 iadd temp ,pdata 
-02e6 67e0c8d6 store 1 ,mem_mouse_tz 
+02de 204042cb call mouse_data_xy_release 
+02df 6fe0c836 fetch 1 ,mem_24g_data_type 
+02e0 c28082ed bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+02e1 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+02e2 6fe0c8d0 fetch 1 ,mem_mouse_key 
+02e3 9841fe00 ior temp ,pdata 
+02e4 67e0c8d0 store 1 ,mem_mouse_key 
+02e5 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+02e6 6fe0c8d5 fetch 1 ,mem_mouse_z 
+02e7 9840fe00 iadd temp ,pdata 
+02e8 67e0c8d5 store 1 ,mem_mouse_z 
+02e9 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+02ea 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+02eb 9840fe00 iadd temp ,pdata 
+02ec 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-02e7 70483601 jam type_ms ,mem_24g_data_type 
-02e8 da200007 arg 7 ,rega 
-02e9 da4048d0 arg mem_mouse_key ,regb 
-02ea 6fe148d5 fetch 2 ,mem_mouse_z 
-02eb 207a0000 rtn blank 
-02ec 202026e1 branch g24_transmit_by_interrupt_enable 
+02ed 70483601 jam type_ms ,mem_24g_data_type 
+02ee da200007 arg 7 ,rega 
+02ef da4048d0 arg mem_mouse_key ,regb 
+02f0 6fe148d5 fetch 2 ,mem_mouse_z 
+02f1 207a0000 rtn blank 
+02f2 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_mouse_24g_search_dongle:
-02ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ee c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
-02ef 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
-02f0 207a0000 rtn blank 
-02f1 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-02f2 207a0000 rtn blank 
-02f3 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
-02f4 1fe0fe01 increase 1 ,pdata 
-02f5 1fe17e03 and_into 3 ,pdata 
-02f6 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
-02f7 247a0000 nrtn blank 
-02f8 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
+02f3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02f4 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+02f5 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
+02f6 207a0000 rtn blank 
+02f7 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+02f8 207a0000 rtn blank 
+02f9 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
+02fa 1fe0fe01 increase 1 ,pdata 
+02fb 1fe17e03 and_into 3 ,pdata 
+02fc 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
+02fd 247a0000 nrtn blank 
+02fe 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
 
 p_mouse_24g_search_dongle_loop:
-02f9 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
-02fa 1fe0fe01 increase 1 ,pdata 
-02fb 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
-02fc 1fe67c08 sub pdata ,g24_ch_number ,null 
-02fd 24210303 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
-02fe 2040259a call g24_reconn_data_prep 
-02ff 2040042a call p_g24_transmit_receive_ack 
-0300 242c0309 nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
-0301 24378309 nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
-0302 204048b5 call mouse_24g_search_dongle_success 
+02ff 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
+0300 1fe0fe01 increase 1 ,pdata 
+0301 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
+0302 1fe67c08 sub pdata ,g24_ch_number ,null 
+0303 24210309 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+0304 2040259a call g24_reconn_data_prep 
+0305 20400402 call p_g24_transmit_receive_ack 
+0306 242c030f nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+0307 2437830f nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+0308 204048b5 call mouse_24g_search_dongle_success 
 
 p_mouse_24g_search_dongle_loop_end:
-0303 20402597 call g24_txbuf_clear 
-0304 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
-0305 1fe0fe01 increase 1 ,pdata 
-0306 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
-0307 c008030b beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
-0308 20600000 rtn 
+0309 20402597 call g24_txbuf_clear 
+030a 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
+030b 1fe0fe01 increase 1 ,pdata 
+030c 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
+030d c0080311 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+030e 20600000 rtn 
 
 p_mouse_24g_search_dongle_loop_retry:
-0309 204022cb call g24_ch 
-030a 202002f9 branch p_mouse_24g_search_dongle_loop 
+030f 204022cb call g24_ch 
+0310 202002ff branch p_mouse_24g_search_dongle_loop 
 
 p_mouse_24g_search_dongle_check:
-030b 704ba300 jam 0 ,mem_mouse_search_dongle_count 
-030c 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
-030d c3800000 rtnbit1 g24_disconn_state 
-030e 79207e00 set1 g24_disconn_state ,pdata 
-030f 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
-0310 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
-0311 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0312 202001bc branch p_mouse_sensor_powerdown 
+0311 704ba300 jam 0 ,mem_mouse_search_dongle_count 
+0312 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+0313 c3800000 rtnbit1 g24_disconn_state 
+0314 79207e00 set1 g24_disconn_state ,pdata 
+0315 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
+0316 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+0317 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+0318 202001c0 branch p_mouse_sensor_powerdown 
 
 p_soft_reset:
-0313 20800000 clear_stack 
-0314 2455833c ncall p_set_mem_xtal_cache ,wake 
-0315 204030f3 call app_param_init 
-0316 24558347 ncall p_led_num_check ,wake 
-0317 58004c72 setarg mem_mouse_rssi_signal_buf_patch 
-0318 67e14899 store 2 ,mem_rssi_signal_buf_ptr 
-0319 20403bfd call mouse_xtal_init 
-031a 2040124a call initialize_radio 
-031b 70804204 jam clksel_xtal ,core_clksel 
-031c 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-031d c00c031f beq xtal_24m ,p_soft_reset_next 
-031e 70804205 jam clksel_dpll ,core_clksel 
+0319 20800000 clear_stack 
+031a 24558342 ncall p_set_mem_xtal_cache ,wake 
+031b 204030f3 call app_param_init 
+031c 2455834d ncall p_led_num_check ,wake 
+031d 58004c6f setarg mem_mouse_rssi_signal_buf_patch 
+031e 67e14899 store 2 ,mem_rssi_signal_buf_ptr 
+031f 20403bfd call mouse_xtal_init 
+0320 2040124a call initialize_radio 
+0321 70804204 jam clksel_xtal ,core_clksel 
+0322 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0323 c00c0325 beq xtal_24m ,p_soft_reset_next 
+0324 70804205 jam clksel_dpll ,core_clksel 
 
 p_soft_reset_next:
-031f 6fe0cc93 fetch 1 ,mem_xtal_cache 
-0320 67e0c17b store 1 ,mem_lpm_config + 1 
-0321 58000f0f setarg 0xf0f 
-0322 d8a00fff arg 0xfff ,contw 
-0323 98a10a00 iand contw ,contw 
-0324 6fe0c17a fetch 1 ,mem_lpm_config 
-0325 1fe17ef0 and_into 0xf0 ,pdata 
-0326 1fed7e00 lshift8 pdata ,pdata 
-0327 98a1fe00 ior contw ,pdata 
-0328 793ffe02 set0 2 ,pdata 
-0329 67f1004c store 2 ,core_lpm_reg 
-032a efe10006 ifetch 2 ,contr 
-032b e7e10005 istore 2 ,contw 
-032c 58000001 setarg lpmreg_sel_ctrl 
-032d 37d98200 until null ,lpo_edge 
-032e 67f08005 store 1 ,core_lpm_wr 
-032f 70417b08 jam 0x08 ,mem_lpm_config + 1 
-0330 20200805 branch soft_reset + 4 
+0325 6fe0cc8f fetch 1 ,mem_xtal_cache 
+0326 67e0c17b store 1 ,mem_lpm_config + 1 
+0327 58000f0f setarg 0xf0f 
+0328 d8a00fff arg 0xfff ,contw 
+0329 98a10a00 iand contw ,contw 
+032a 6fe0c17a fetch 1 ,mem_lpm_config 
+032b 1fe17ef0 and_into 0xf0 ,pdata 
+032c 1fed7e00 lshift8 pdata ,pdata 
+032d 98a1fe00 ior contw ,pdata 
+032e 793ffe02 set0 2 ,pdata 
+032f 67f1004c store 2 ,core_lpm_reg 
+0330 efe10006 ifetch 2 ,contr 
+0331 e7e10005 istore 2 ,contw 
+0332 58000001 setarg lpmreg_sel_ctrl 
+0333 37d98200 until null ,lpo_edge 
+0334 67f08005 store 1 ,core_lpm_wr 
+0335 70417b08 jam 0x08 ,mem_lpm_config + 1 
+0336 20200805 branch soft_reset + 4 
 
 p_enable_rc_clock:
-0331 6ff20138 fetch 4 ,core_lpm_ctrl 
-0332 79207e02 set1 2 ,pdata 
-0333 67f2004c store 4 ,core_lpm_reg 
-0334 58000001 setarg lpmreg_sel_ctrl 
-0335 37d98200 until null ,lpo_edge 
-0336 67f08005 store 1 ,core_lpm_wr 
-0337 37d98200 until null ,lpo_edge 
-0338 37d98200 until null ,lpo_edge 
-0339 37d98200 until null ,lpo_edge 
-033a 20002710 nop 10000 
-033b 20600000 rtn 
+0337 6ff20138 fetch 4 ,core_lpm_ctrl 
+0338 79207e02 set1 2 ,pdata 
+0339 67f2004c store 4 ,core_lpm_reg 
+033a 58000001 setarg lpmreg_sel_ctrl 
+033b 37d98200 until null ,lpo_edge 
+033c 67f08005 store 1 ,core_lpm_wr 
+033d 37d98200 until null ,lpo_edge 
+033e 37d98200 until null ,lpo_edge 
+033f 37d98200 until null ,lpo_edge 
+0340 20002710 nop 10000 
+0341 20600000 rtn 
 
 p_set_mem_xtal_cache:
-033c 6fe0c17b fetch 1 ,mem_lpm_config + 1 
-033d 67e0cc93 store 1 ,mem_xtal_cache 
-033e 20600000 rtn 
+0342 6fe0c17b fetch 1 ,mem_lpm_config + 1 
+0343 67e0cc8f store 1 ,mem_xtal_cache 
+0344 20600000 rtn 
 
 p_mouse_led_on:
-033f 18427e00 copy temp ,pdata 
-0340 c17f8000 rtneq gpio_disable 
-0341 1fe20400 copy pdata ,temp 
-0342 20204930 branch mouse_led_on + 1 
+0345 18427e00 copy temp ,pdata 
+0346 c17f8000 rtneq gpio_disable 
+0347 1fe20400 copy pdata ,temp 
+0348 20204930 branch mouse_led_on + 1 
 
 p_mouse_led_off:
-0343 18427e00 copy temp ,pdata 
-0344 c17f8000 rtneq gpio_disable 
-0345 1fe20400 copy pdata ,temp 
-0346 2020492c branch mouse_led_off + 1 
+0349 18427e00 copy temp ,pdata 
+034a c17f8000 rtneq gpio_disable 
+034b 1fe20400 copy pdata ,temp 
+034c 2020492c branch mouse_led_off + 1 
 
 p_led_num_check:
-0347 6fe0cbaf fetch 1 ,mem_mouse_flag + 4 
-0348 247a0000 nrtn blank 
-0349 70448c00 jam 0 ,mem_ui_led_struct_num 
-034a 20600000 rtn 
+034d 6fe0cbaf fetch 1 ,mem_mouse_flag + 4 
+034e 247a0000 nrtn blank 
+034f 70448c00 jam 0 ,mem_ui_led_struct_num 
+0350 20600000 rtn 
 
 p_lpm_short_sleep:
-034b 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-034c c004034f beq xtal_16m ,p_lpm_short_sleep_skip_pll_set 
-034d 58000000 setarg 0 
-034e 67f18a00 store 3 ,core_clkpll_ctrl0 
+0351 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0352 c0040355 beq xtal_16m ,p_lpm_short_sleep_skip_pll_set 
+0353 58000000 setarg 0 
+0354 67f18a00 store 3 ,core_clkpll_ctrl0 
 
 p_lpm_short_sleep_skip_pll_set:
-034f 704c638c jam 140 ,mem_tx_time_offset 
-0350 204012cf call xtal_fast_wake 
-0351 6fe24164 fetch 4 ,mem_sleep_counter_all 
-0352 9840fe00 iadd temp ,pdata 
-0353 67e24164 store 4 ,mem_sleep_counter_all 
-0354 18027e00 deposit mark 
-0355 67e4419d store 8 ,mem_saved_mark 
-0356 d8c08070 arg core_gpio_conf ,contr 
-0357 d8a04186 arg mem_saved_gpio ,contw 
-0358 20407d01 call memcpy20 
-0359 6ff08086 fetch 1 ,core_spid_ctrl 
-035a 67e0c1a5 store 1 ,mem_saved_spidctrl 
-035b 2040143f call lpm_ctrl3_cfg_dig_vsel 
-035c 6ff08042 fetch 1 ,core_clksel 
-035d 1fe1fe14 or_into 0x14 ,pdata 
-035e 67f08042 store 1 ,core_clksel 
-035f 2020149e branch lpm_sleep + 7 
+0355 704c63fa jam 250 ,mem_tx_time_offset 
+0356 204012cf call xtal_fast_wake 
+0357 6fe24164 fetch 4 ,mem_sleep_counter_all 
+0358 9840fe00 iadd temp ,pdata 
+0359 67e24164 store 4 ,mem_sleep_counter_all 
+035a 18027e00 deposit mark 
+035b 67e4419d store 8 ,mem_saved_mark 
+035c d8c08070 arg core_gpio_conf ,contr 
+035d d8a04186 arg mem_saved_gpio ,contw 
+035e 20407d01 call memcpy20 
+035f 6ff08086 fetch 1 ,core_spid_ctrl 
+0360 67e0c1a5 store 1 ,mem_saved_spidctrl 
+0361 2040143f call lpm_ctrl3_cfg_dig_vsel 
+0362 6ff08042 fetch 1 ,core_clksel 
+0363 1fe1fe14 or_into 0x14 ,pdata 
+0364 67f08042 store 1 ,core_clksel 
+0365 2020149e branch lpm_sleep + 7 
 
 p_initialize_radio_cont:
-0360 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0361 2040126a call initialize_syn_afc_cfg1 
-0362 20401271 call initialize_rf_ldo_cfg1 
-0363 20401277 call initialize_rc_cal 
-0364 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0365 708a0305 jam 5 ,core_clkpll_cfg0 
-0366 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0367 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0368 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0369 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-036a 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-036b 70892140 jam 0x40 ,core_rx_ctrl1 
-036c 2020125d branch initialize_radio_cont + 8 
+0366 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0367 2040126a call initialize_syn_afc_cfg1 
+0368 20401271 call initialize_rf_ldo_cfg1 
+0369 20401277 call initialize_rc_cal 
+036a 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+036b 708a0305 jam 5 ,core_clkpll_cfg0 
+036c 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+036d 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+036e 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+036f 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0370 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0371 70892140 jam 0x40 ,core_rx_ctrl1 
+0372 2020125d branch initialize_radio_cont + 8 
+
+p_shutdown_radio:
+0373 6fe0c1ea fetch 1 ,mem_gain_fix 
+0374 67e08964 store 1 ,mem_temp 
+0375 20401150 call shutdown_radio + 1 
+0376 708a0a00 jam 0 ,core_rf_ldo_en0 
+0377 6fe08964 fetch 1 ,mem_temp 
+0378 67e0c1ea store 1 ,mem_gain_fix 
+0379 20600000 rtn 
 
 p_set_sync_on:
-036d 70890005 jam 0x5 ,modem_en 
-036e 20000002 nop 2 
-036f 70890000 jam 0x0 ,modem_en 
-0370 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0371 c00c1168 beq xtal_24m ,set_sync_on_24m 
+037a 70890005 jam 0x5 ,modem_en 
+037b 20000002 nop 2 
+037c 70890000 jam 0x0 ,modem_en 
+037d 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+037e c00c1168 beq xtal_24m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-0372 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-0373 2020117d branch set_sync_on_16m 
-
-p_set_freq_rx:
-0374 20401190 call set_freq_rx + 1 
-0375 58007676 setarg 0x7676 
-0376 67f10968 store 2 ,0x8968 
-0377 20600000 rtn 
-
-p_rf_rx_enable:
-0378 6fe0c938 fetch 1 ,mem_device_flag 
-0379 c08011a7 bne mode_24g_device ,rf_rx_enable + 1 
-037a 6fe0cc92 fetch 1 ,mem_soft_agc_en 
-037b 243a0384 nbranch p_rf_rx_enable_soft_agc ,blank 
-037c 2000012c nop 300 
-037d 20404ca7 call rf_debug_rx_gpio_high 
-037e d8c041eb arg mem_gain_table ,contr 
-037f 98c08c00 iadd contr ,contr 
-0380 efe08006 ifetch 1 ,contr 
-0381 67f08961 store 1 ,core_rf_rx_gain_fix 
-0382 7089602e jam 0x2e ,core_rf_rx_agc_ctrl 
-0383 202011b3 branch rf_rx_enable_no_soft_agc_next 
-
-p_rf_rx_enable_soft_agc:
-0384 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
-0385 1fe1fe01 or pdata ,0x01 ,pdata 
-0386 67f08960 store 1 ,core_rf_rx_agc_ctrl 
-0387 70896104 jam 0x04 ,core_rf_rx_gain_fix 
-0388 202011b3 branch rf_rx_enable_no_soft_agc_next 
-
-p_soft_agc_en_false:
-0389 704c9200 jam 0 ,mem_soft_agc_en 
-038a 20600000 rtn 
-
-p_soft_agc_en_true:
-038b 704c9201 jam 1 ,mem_soft_agc_en 
-038c 20600000 rtn 
+037f 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+0380 2020117d branch set_sync_on_16m 
 
 p_txon_next:
-038d 6fe0cc92 fetch 1 ,mem_soft_agc_en 
-038e 243a0390 nbranch p_set_tx_power_f17db ,blank 
-038f 2020123b branch set_tx_power_10db 
+0381 6fe0c1e8 fetch 1 ,mem_tx_power 
+0382 c0488385 beq tx_power_f17db ,p_set_tx_power_f17db 
+0383 c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
+0384 2020123b branch set_tx_power_10db 
 
 p_set_tx_power_f17db:
-0390 708a395b jam 0x5b ,core_tx_pwr_ctrl0 
-0391 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
-0392 2020122a branch set_rf_ldo_cfg89 
-
-p_save_rssi:
-0393 6ff089a2 fetch 1 ,modem_nb_pow 
-0394 2feffe06 isolate1 6 ,pdata 
-0395 7920fe07 setflag true ,7 ,pdata 
-0396 67e0c1e9 store 1 ,mem_modem_rssi 
-0397 6ff089a3 fetch 1 ,modem_gain 
-0398 1fe1040f and pdata ,0x0f ,temp 
-0399 18438400 lshift temp ,temp 
-039a 1ff1fe00 rshift4 pdata ,pdata 
-039b 98408400 iadd temp ,temp 
-039c 184fa203 mul32 temp ,3 ,rega 
-039d 6fe0c1e9 fetch 1 ,mem_modem_rssi 
-039e 204003a8 call p_byte_sign_extern 
-039f 1fe67e00 sub pdata ,0 ,pdata 
-03a0 9a20fe00 iadd rega ,pdata 
-03a1 1fe0fff7 increase -9 ,pdata 
-03a2 1fe17fff and pdata ,0x1ff ,pdata 
-03a3 2feffe08 isolate1 8 ,pdata 
-03a4 242083a6 nbranch p_save_rssi_store ,true 
-03a5 58000000 setarg 0 
-
-p_save_rssi_store:
-03a6 67e08019 store 1 ,mem_rssi_hex 
-03a7 20600000 rtn 
-
-p_byte_sign_extern:
-03a8 2feffe07 isolate1 7 ,pdata 
-03a9 24608000 nrtn true 
-03aa d840ff00 arg 0xff00 ,temp 
-03ab 9841fe00 ior temp ,pdata 
-03ac 20600000 rtn 
+0385 708a395b jam 0x5b ,core_tx_pwr_ctrl0 
+0386 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
+0387 2020122a branch set_rf_ldo_cfg89 
 
 p_adc_init_data:
-03ad da20099e arg mem_temp_block2 ,rega 
-03ae d840000c arg 12 ,temp 
-03af 58000030 setarg efuse_offset_adc_param 
-03b0 20405e63 call efuse_read_data 
-03b1 202060bf branch adc_init_data + 6 
+0388 da20099e arg mem_temp_block2 ,rega 
+0389 d840000c arg 12 ,temp 
+038a 58000030 setarg efuse_offset_adc_param 
+038b 20405e63 call efuse_read_data 
+038c 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-03b2 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-03b3 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-03b4 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-03b5 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-03b6 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-03b7 79207e07 set1 7 ,pdata 
-03b8 67f08a09 store 1 ,core_clkpll_cfg6 
-03b9 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-03ba 2000003c nop 60 
-03bb 708a1600 jam 0 ,core_syn_en 
-03bc 708a1706 jam 6 ,core_rx_en0 
-03bd 2040611a call read_adc_mode 
-03be 67f08a97 store 1 ,core_gpadc_ctrl 
-03bf 7080dc03 jam 0x03 ,core_sum_ctrl 
-03c0 2000003c nop 60 
-03c1 6ff08053 fetch 1 ,core_sum_en 
-03c2 79207e07 set1 7 ,pdata 
-03c3 67f08053 store 1 ,core_sum_en 
-03c4 200003e8 nop 1000 
-03c5 6ff10150 fetch 2 ,core_adc_sum 
-03c6 67e144a2 store 2 ,mem_adc_current_value 
-03c7 6ff08053 fetch 1 ,core_sum_en 
-03c8 793ffe07 set0 7 ,pdata 
-03c9 67f08053 store 1 ,core_sum_en 
-03ca 708a9700 jam 0 ,core_gpadc_ctrl 
-03cb 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-03cc 20600000 rtn 
+038d 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+038e 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+038f 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0390 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0391 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0392 79207e07 set1 7 ,pdata 
+0393 67f08a09 store 1 ,core_clkpll_cfg6 
+0394 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0395 2000003c nop 60 
+0396 708a1600 jam 0 ,core_syn_en 
+0397 708a1706 jam 6 ,core_rx_en0 
+0398 2040611a call read_adc_mode 
+0399 67f08a97 store 1 ,core_gpadc_ctrl 
+039a 7080dc03 jam 0x03 ,core_sum_ctrl 
+039b 2000003c nop 60 
+039c 6ff08053 fetch 1 ,core_sum_en 
+039d 79207e07 set1 7 ,pdata 
+039e 67f08053 store 1 ,core_sum_en 
+039f 200003e8 nop 1000 
+03a0 6ff10150 fetch 2 ,core_adc_sum 
+03a1 67e144a2 store 2 ,mem_adc_current_value 
+03a2 6ff08053 fetch 1 ,core_sum_en 
+03a3 793ffe07 set0 7 ,pdata 
+03a4 67f08053 store 1 ,core_sum_en 
+03a5 708a9700 jam 0 ,core_gpadc_ctrl 
+03a6 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+03a7 20600000 rtn 
 
 p_ui_timer_check:
-03cd 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-03ce 245a7861 ncall ui_timer_init ,blank 
-03cf 704be200 jam 0 ,mem_power_on_flag 
-03d0 20207851 branch ui_timer_check + 1 
+03a8 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+03a9 245a7861 ncall ui_timer_init ,blank 
+03aa 704be200 jam 0 ,mem_power_on_flag 
+03ab 20207851 branch ui_timer_check + 1 
 
 p_init_param:
-03d1 70008000 jam 0 ,mem_lmo_tid2 
-03d2 202013b7 branch init_param_next + 1 
+03ac 70008000 jam 0 ,mem_lmo_tid2 
+03ad 202013b7 branch init_param_next + 1 
 
 p_le_slave_match:
-03d3 6fe0c3dd fetch 1 ,mem_le_md_count 
-03d4 1fe0fe01 pincrease 1 
-03d5 67e0c3dd store 1 ,mem_le_md_count 
-03d6 c006165a beq le_md_max_count ,le_slave_cont 
-03d7 2040191b call le_acknowledge 
-03d8 2040196a call le_prepare_tx 
-03d9 6fe082bd fetch 1 ,mem_le_tx_phy 
-03da 2040168b call le_enable_phy_by_pdata 
-03db 20401838 call le_transmit 
-03dc 20201655 branch le_slave_match + 10 
+03ae 6fe0c3dd fetch 1 ,mem_le_md_count 
+03af 1fe0fe01 pincrease 1 
+03b0 67e0c3dd store 1 ,mem_le_md_count 
+03b1 c006165a beq le_md_max_count ,le_slave_cont 
+03b2 2040191b call le_acknowledge 
+03b3 2040196a call le_prepare_tx 
+03b4 6fe082bd fetch 1 ,mem_le_tx_phy 
+03b5 2040168b call le_enable_phy_by_pdata 
+03b6 20401838 call le_transmit 
+03b7 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-03dd 20400e80 call end_of_packet 
-03de 20201661 branch le_slave_unsync + 1 
+03b8 20400e80 call end_of_packet 
+03b9 20201661 branch le_slave_unsync + 1 
 
 p_g24_transmit:
-03df 6fe0c865 fetch 1 ,mem_24g_tx_phy 
-03e0 2040168b call le_enable_phy_by_pdata 
-03e1 6fe2483c fetch 4 ,mem_24g_addr 
-03e2 98001200 iforce access 
-03e3 204021d5 call g24_prep 
-03e4 20402243 call g24_set_freq_tx 
-03e5 79202a00 set1 txgfsk ,radio_ctrl 
-03e6 782efc00 enable encode_fec0 
-03e7 78307c00 enable is_tx 
-03e8 7850fc00 disable is_rx 
-03e9 20404cb5 call rf_debug_tx_on_line 
-03ea 785d7c00 disable lr_s2en 
-03eb c517a273 bmark1 mark_ble_lr ,g24_transmit_lr 
-03ec c51683f3 bmark1 mark_ble_2m ,p_g24_transmit_2m 
-03ed 19317e00 rshift16 access ,pdata 
-03ee 1fecfe00 rshift8 pdata ,pdata 
-03ef 1ff1fe00 rshift4 pdata ,pdata 
-03f0 08008628 inject mod ,40 
+03ba 6fe0c865 fetch 1 ,mem_24g_tx_phy 
+03bb 2040168b call le_enable_phy_by_pdata 
+03bc 6fe2483c fetch 4 ,mem_24g_addr 
+03bd 98001200 iforce access 
+03be 204021d5 call g24_prep 
+03bf 20402243 call g24_set_freq_tx 
+03c0 79202a00 set1 txgfsk ,radio_ctrl 
+03c1 782efc00 enable encode_fec0 
+03c2 78307c00 enable is_tx 
+03c3 7850fc00 disable is_rx 
+03c4 20404cb5 call rf_debug_tx_on_line 
+03c5 785d7c00 disable lr_s2en 
+03c6 c517a273 bmark1 mark_ble_lr ,g24_transmit_lr 
+03c7 c51683ce bmark1 mark_ble_2m ,p_g24_transmit_2m 
+03c8 19317e00 rshift16 access ,pdata 
+03c9 1fecfe00 rshift8 pdata ,pdata 
+03ca 1ff1fe00 rshift4 pdata ,pdata 
+03cb 08008628 inject mod ,40 
 
 p_g24_transmit_packet:
-03f1 c517a25c bmark1 mark_ble_lr ,g24_transmit_nolr 
-03f2 2020225c branch g24_transmit_nolr 
+03cc c517a25c bmark1 mark_ble_lr ,g24_transmit_nolr 
+03cd 2020225c branch g24_transmit_nolr 
 
 p_g24_transmit_2m:
-03f3 6fe0c1f0 fetch 1 ,mem_system_clk 
-03f4 1fe37200 rshift pdata ,loopcnt 
+03ce 6fe0c1f0 fetch 1 ,mem_system_clk 
+03cf 1fe37200 rshift pdata ,loopcnt 
 
 p_g24_transmit_2m_dealy:
-03f5 20000002 nop 2 
-03f6 c20003f5 loop p_g24_transmit_2m_dealy 
-03f7 19317e00 rshift16 access ,pdata 
-03f8 1fecfe00 rshift8 pdata ,pdata 
-03f9 1ff18400 rshift4 pdata ,temp 
-03fa 18427e00 copy temp ,pdata 
-03fb 08008608 inject mod ,8 
-03fc 18427e00 copy temp ,pdata 
-03fd 08008628 inject mod ,40 
-03fe 202003f1 branch p_g24_transmit_packet 
+03d0 20000002 nop 2 
+03d1 c20003d0 loop p_g24_transmit_2m_dealy 
+03d2 19317e00 rshift16 access ,pdata 
+03d3 1fecfe00 rshift8 pdata ,pdata 
+03d4 1ff18400 rshift4 pdata ,temp 
+03d5 18427e00 copy temp ,pdata 
+03d6 08008608 inject mod ,8 
+03d7 18427e00 copy temp ,pdata 
+03d8 08008628 inject mod ,40 
+03d9 202003cc branch p_g24_transmit_packet 
 
 p_g24_receive_packet:
-03ff 6fe0c864 fetch 1 ,mem_24g_rx_phy 
-0400 2040168b call le_enable_phy_by_pdata 
-0401 6fe2483c fetch 4 ,mem_24g_addr 
-0402 98001200 iforce access 
-0403 204010b0 call calc_mod_value_scale_le 
-0404 20401161 call set_sync_on 
-0405 6848c83a fetcht 1 ,mem_24g_ch 
-0406 204016c8 call le_rf_rx_enable 
-0407 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
-0408 79207e03 set1 3 ,pdata 
-0409 67f08960 store 1 ,core_rf_rx_agc_ctrl 
+03da 6fe0c864 fetch 1 ,mem_24g_rx_phy 
+03db 2040168b call le_enable_phy_by_pdata 
+03dc 6fe2483c fetch 4 ,mem_24g_addr 
+03dd 98001200 iforce access 
+03de 204010b0 call calc_mod_value_scale_le 
+03df 20401161 call set_sync_on 
+03e0 6848c83a fetcht 1 ,mem_24g_ch 
+03e1 204016c8 call le_rf_rx_enable 
 
 p_g24_receive_rxon:
-040a 204021d5 call g24_prep 
-040b c597840f bmark0 mark_ble_lr ,p_g24_receive_nolr 
-040c 783cfc00 pulse dewhiten_code_calc 
-040d 2000001e nop 30 
-040e 204021d5 call g24_prep 
+03e2 204021d5 call g24_prep 
+03e3 c59783e7 bmark0 mark_ble_lr ,p_g24_receive_nolr 
+03e4 783cfc00 pulse dewhiten_code_calc 
+03e5 2000001e nop 30 
+03e6 204021d5 call g24_prep 
 
 p_g24_receive_nolr:
-040f 7857fc00 disable user3 
-0410 7826fc00 enable decode_fec0 
-0411 7830fc00 enable is_rx 
-0412 78507c00 disable is_tx 
-0413 78287c00 enable swfine 
-0414 6fe14838 fetch 2 ,mem_24g_rx_window 
-0415 98003600 iforce stop_watch 
-0416 37c18400 correlate null ,timeout 
-0417 242c223d nbranch g24_sync_timeout ,sync 
-0418 20404caf call rf_debug_rx_sync_line 
-0419 c517a1f6 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
-041a 202021f6 branch g24_receive_skip_fec1 
+03e7 7857fc00 disable user3 
+03e8 7826fc00 enable decode_fec0 
+03e9 7830fc00 enable is_rx 
+03ea 78507c00 disable is_tx 
+03eb 78287c00 enable swfine 
+03ec 6fe14838 fetch 2 ,mem_24g_rx_window 
+03ed 98003600 iforce stop_watch 
+03ee 37c18400 correlate null ,timeout 
+03ef 242c223d nbranch g24_sync_timeout ,sync 
+03f0 20404caf call rf_debug_rx_sync_line 
+03f1 c517a1f6 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
+03f2 202021f6 branch g24_receive_skip_fec1 
 
 p_g24_retransmit:
-041b 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
-041c 247a0000 nrtn blank 
-041d 20400250 call p_mouse_select_device_by_pb_button 
-041e 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-041f 247a0000 nrtn blank 
-0420 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0421 1fe0fe01 increase 1 ,pdata 
-0422 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0423 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0424 c2822679 bbit1 4 ,g24_tx_attempt_fail 
-0425 2040043b call p_g24_transmit_hop_process 
-0426 6fe14c67 fetch 2 ,mem_retransmit 
-0427 1fe0fe01 increase 1 ,pdata 
-0428 67e14c67 store 2 ,mem_retransmit 
-0429 20200486 branch p_g24_transmit_loop 
+03f3 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
+03f4 247a0000 nrtn blank 
+03f5 20400256 call p_mouse_select_device_by_pb_button 
+03f6 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+03f7 247a0000 nrtn blank 
+03f8 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+03f9 1fe0fe01 increase 1 ,pdata 
+03fa 67e148a3 store 2 ,mem_24g_txfail_cnt 
+03fb 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+03fc c2822679 bbit1 4 ,g24_tx_attempt_fail 
+03fd 20400411 call p_g24_transmit_hop_process 
+03fe 6fe14c67 fetch 2 ,mem_retransmit 
+03ff 1fe0fe01 increase 1 ,pdata 
+0400 67e14c67 store 2 ,mem_retransmit 
+0401 2020046b branch p_g24_transmit_loop 
 
 p_g24_transmit_receive_ack:
-042a 7857fc00 disable user3 
-042b 20402246 call g24_transmit 
-042c 6fe0c82c fetch 1 ,mem_24g_no_ack 
-042d c000a23f beq no_ack_24g ,g24_end_of_packet 
-042e 18002a00 force 0 ,radio_ctrl 
-042f 6fe2483c fetch 4 ,mem_24g_addr 
-0430 98001200 iforce access 
-0431 204010b0 call calc_mod_value_scale_le 
-0432 68488017 fetcht 1 ,mem_last_freq 
-0433 2040118f call set_freq_rx 
-0434 204011a6 call rf_rx_enable 
-0435 2040040a call p_g24_receive_rxon 
-0436 20578438 call p_g24_end_of_packet ,user3 
-0437 20600000 rtn 
-
-p_g24_end_of_packet:
-0438 708a0a00 jam 0 ,core_rf_ldo_en0 
-0439 708a0b00 jam 0 ,core_rf_ldo_en1 
-043a 2020129c branch gain_control 
+0402 7857fc00 disable user3 
+0403 20402246 call g24_transmit 
+0404 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0405 c000a23f beq no_ack_24g ,g24_end_of_packet 
+0406 18002a00 force 0 ,radio_ctrl 
+0407 6fe2483c fetch 4 ,mem_24g_addr 
+0408 98001200 iforce access 
+0409 204010b0 call calc_mod_value_scale_le 
+040a 68488017 fetcht 1 ,mem_last_freq 
+040b 2040118f call set_freq_rx 
+040c 2000012c nop 300 
+040d 204011a6 call rf_rx_enable 
+040e 204003e2 call p_g24_receive_rxon 
+040f 2057a23f call g24_end_of_packet ,user3 
+0410 20600000 rtn 
 
 p_g24_transmit_hop_process:
-043b 6848c8a6 fetcht 1 ,mem_24g_retry 
-043c 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
-043d 98467c00 isub temp ,null 
-043e 2421269c nbranch g24_tx_fast_hop ,positive 
-043f 18408401 increase 1 ,temp 
-0440 6048c8a6 storet 1 ,mem_24g_retry 
-0441 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
-0442 c0078447 beq 15 ,p_g24_transmit_hop_process_4ms 
-0443 6fe0c8a6 fetch 1 ,mem_24g_retry 
-0444 c00a2696 beq 20 ,g24_hop_ch_disable 
-0445 c00f2696 beq 30 ,g24_hop_ch_disable 
-0446 20600000 rtn 
+0411 6848c8a6 fetcht 1 ,mem_24g_retry 
+0412 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
+0413 98467c00 isub temp ,null 
+0414 24210421 nbranch p_g24_tx_fast_hop ,positive 
+0415 18408401 increase 1 ,temp 
+0416 6048c8a6 storet 1 ,mem_24g_retry 
+0417 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
+0418 c007841d beq 15 ,p_g24_transmit_hop_process_4ms 
+0419 6fe0c8a6 fetch 1 ,mem_24g_retry 
+041a c00a2696 beq 20 ,g24_hop_ch_disable 
+041b c00f2696 beq 30 ,g24_hop_ch_disable 
+041c 20600000 rtn 
 
 p_g24_transmit_hop_process_4ms:
-0447 6fe0c8a6 fetch 1 ,mem_24g_retry 
-0448 c0052696 beq 10 ,g24_hop_ch_disable 
-0449 c007a696 beq 15 ,g24_hop_ch_disable 
-044a 20600000 rtn 
+041d 6fe0c8a6 fetch 1 ,mem_24g_retry 
+041e c0052696 beq 10 ,g24_hop_ch_disable 
+041f c007a696 beq 15 ,g24_hop_ch_disable 
+0420 20600000 rtn 
+
+p_g24_tx_fast_hop:
+0421 202022cb branch g24_ch 
 
 p_g24_dispatch:
-044b c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0422 c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-044c c6930000 rtnmark0 mark_24g 
-044d 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-044e 2020261d branch g24_transmit_dispatch + 2 
+0423 c6930000 rtnmark0 mark_24g 
+0424 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+0425 2020261d branch g24_transmit_dispatch + 2 
+
+p_mouse_24g_fast_conn_mode_check:
+0426 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+0427 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+0428 98467c00 isub temp ,null 
+0429 2022842b branch p_mouse_soft_agc_enable ,zero 
+042a 2020042e branch p_mouse_soft_agc_disable 
+
+p_mouse_soft_agc_enable:
+042b 7041ea00 jam 0 ,mem_gain_fix 
+042c 7041e891 jam tx_power_f17db ,mem_tx_power 
+042d 20600000 rtn 
+
+p_mouse_soft_agc_disable:
+042e 7041eaff jam 0xff ,mem_gain_fix 
+042f 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-044f 20402631 call g24_txdata_prep 
-0450 2434049c nbranch p_g24_nodata_transmit ,user 
+0430 20402631 call g24_txdata_prep 
+0431 2434047f nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0451 20400483 call p_g24_transmit_process 
-0452 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0453 243a0458 nbranch p_g24_short_sleep ,blank 
-0454 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0455 67e4485c store 8 ,mem_24g_enter_hibernate 
-0456 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0457 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0432 20400468 call p_g24_transmit_process 
+0433 20400426 call p_mouse_24g_fast_conn_mode_check 
+0434 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0435 243a043a nbranch p_g24_short_sleep ,blank 
+0436 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0437 67e4485c store 8 ,mem_24g_enter_hibernate 
+0438 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0439 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0458 204026bb call g24_lpm_wait 
-0459 24740000 nrtn user 
-045a 6fe0cc69 fetch 1 ,mem_sleep_miss 
-045b 704c6900 jam 0 ,mem_sleep_miss 
-045c 1fe67c00 sub pdata ,0 ,null 
-045d 2422847d nbranch p_g24_short_sleep_last_miss ,zero 
-045e 68494c67 fetcht 2 ,mem_retransmit 
-045f 18467c00 sub temp ,0 ,null 
-0460 20228473 branch p_g24_short_sleep_default ,zero 
-0461 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-0462 203a0473 branch p_g24_short_sleep_default ,blank 
+043a 204026bb call g24_lpm_wait 
+043b 24740000 nrtn user 
+043c 6fe0cc69 fetch 1 ,mem_sleep_miss 
+043d 704c6900 jam 0 ,mem_sleep_miss 
+043e 1fe67c00 sub pdata ,0 ,null 
+043f 24228445 nbranch p_g24_short_sleep_last_miss ,zero 
+0440 68494c67 fetcht 2 ,mem_retransmit 
+0441 18467c00 sub temp ,0 ,null 
+0442 2022845c branch p_g24_short_sleep_default ,zero 
+0443 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+0444 203a045c branch p_g24_short_sleep_default ,blank 
+
+p_g24_short_sleep_last_miss:
+0445 684a4c6b fetcht 4 ,mem_sleep_miss_temp 
+0446 284ffe1f isolate1 31 ,temp 
+0447 20208457 branch p_sub_miss_temp ,true 
+0448 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+0449 9840fe00 iadd temp ,pdata 
 
 p_g24_short_sleep_notify:
-0463 684a4c4e fetcht 4 ,mem_24g_tsniff 
-0464 98460400 isub temp ,temp 
-0465 604a4c6e storet 4 ,mem_sleep_miss_temp 
-0466 24210476 nbranch p_g24_short_sleep_long ,positive 
-0467 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0468 98467e00 isub temp ,pdata 
-0469 24210481 nbranch p_g24_short_sleep_2 ,positive 
-046a d8400600 arg 0x600 ,temp 
-046b 98467c00 isub temp ,null 
-046c 24210481 nbranch p_g24_short_sleep_2 ,positive 
+044a 684a4c4e fetcht 4 ,mem_24g_tsniff 
+044b 98460400 isub temp ,temp 
+044c 604a4c6b storet 4 ,mem_sleep_miss_temp 
+044d 2421045f nbranch p_g24_short_sleep_long ,positive 
+044e 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+044f 98467e00 isub temp ,pdata 
+0450 24210466 nbranch p_g24_short_sleep_2 ,positive 
+0451 d8400600 arg 0x600 ,temp 
+0452 98467c00 isub temp ,null 
+0453 24210466 nbranch p_g24_short_sleep_2 ,positive 
 
 p_g24_short_sleep2:
-046d 67e24c6a store 4 ,mem_sleep_time_temp 
-046e 2040047a call p_g24_miss_temp_clear 
-046f 6fe24c6a fetch 4 ,mem_sleep_time_temp 
-0470 20407daa call clk2lpo 
-0471 604a4160 storet 4 ,mem_sleep_counter 
-0472 2020034b branch p_lpm_short_sleep 
+0454 20407daa call clk2lpo 
+0455 604a4160 storet 4 ,mem_sleep_counter 
+0456 20200351 branch p_lpm_short_sleep 
+
+p_sub_miss_temp:
+0457 dfffffff arg -1 ,pdata 
+0458 98465e00 isub temp ,regext 
+0459 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+045a 9de67e00 isub regext ,pdata 
+045b 2020044a branch p_g24_short_sleep_notify 
 
 p_g24_short_sleep_default:
-0473 2040047a call p_g24_miss_temp_clear 
-0474 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0475 2020046d branch p_g24_short_sleep2 
+045c 20400463 call p_g24_miss_temp_clear 
+045d 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+045e 20200454 branch p_g24_short_sleep2 
 
 p_g24_short_sleep_long:
-0476 18460400 sub temp ,0 ,temp 
-0477 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0478 9840fe00 iadd temp ,pdata 
-0479 2020046d branch p_g24_short_sleep2 
+045f 18460400 sub temp ,0 ,temp 
+0460 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0461 9840fe00 iadd temp ,pdata 
+0462 20200454 branch p_g24_short_sleep2 
 
 p_g24_miss_temp_clear:
-047a 58000000 setarg 0 
-047b 67e24c6e store 4 ,mem_sleep_miss_temp 
-047c 20600000 rtn 
-
-p_g24_short_sleep_last_miss:
-047d 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-047e 684a4c6e fetcht 4 ,mem_sleep_miss_temp 
-047f 9840fe00 iadd temp ,pdata 
-0480 20200463 branch p_g24_short_sleep_notify 
+0463 58000000 setarg 0 
+0464 67e24c6b store 4 ,mem_sleep_miss_temp 
+0465 20600000 rtn 
 
 p_g24_short_sleep_2:
-0481 704c6901 jam 1 ,mem_sleep_miss 
-0482 20600000 rtn 
+0466 704c6901 jam 1 ,mem_sleep_miss 
+0467 20600000 rtn 
 
 p_g24_transmit_process:
-0483 7048a600 jam 0 ,mem_24g_retry 
-0484 58000000 setarg 0 
-0485 67e14c67 store 2 ,mem_retransmit 
+0468 58000000 setarg 0 
+0469 67e0c8a6 store 1 ,mem_24g_retry 
+046a 67e14c67 store 2 ,mem_retransmit 
 
 p_g24_transmit_loop:
-0486 2040042a call p_g24_transmit_receive_ack 
-0487 6fe0c82c fetch 1 ,mem_24g_no_ack 
-0488 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-0489 242c041b nbranch p_g24_retransmit ,sync 
-048a 2437841b nbranch p_g24_retransmit ,user3 
-048b 204004c3 call p_send_time_check 
-048c 20402672 call g24_ackpayload_parse 
-048d 2040048f call p_mouse_wakeup_24g 
-048e 20202651 branch g24_transmit_no_ack 
+046b 20400402 call p_g24_transmit_receive_ack 
+046c 6fe0c82c fetch 1 ,mem_24g_no_ack 
+046d c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+046e 242c03f3 nbranch p_g24_retransmit ,sync 
+046f 243783f3 nbranch p_g24_retransmit ,user3 
+0470 204004a7 call p_send_time_check 
+0471 20402672 call g24_ackpayload_parse 
+0472 20400474 call p_mouse_wakeup_24g 
+0473 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-048f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0490 245a0493 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-0491 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0492 20600000 rtn 
+0474 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0475 245a0478 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0476 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0477 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-0493 204041aa call mouse_init_sensor_wakeup 
-0494 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0495 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0478 204041aa call mouse_init_sensor_wakeup 
+0479 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+047a c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-0496 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0497 d8400040 arg gpcfg_pullup ,temp 
-0498 20406093 call gpio_config_function_int 
-0499 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-049a d8400040 arg gpcfg_pullup ,temp 
-049b 20206093 branch gpio_config_function_int 
+047b 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+047c 20403f56 call mouse_gpio_config_input_pu 
+047d 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+047e 20203f56 branch mouse_gpio_config_input_pu 
 
 p_g24_nodata_transmit:
-049c 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-049d 205a04aa call p_g24_send_abort_packet ,blank 
-049e 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-049f c1008000 rtneq g24_tx_timer_int_enable 
-04a0 2040269f call g24_search_receiver 
+047f 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0480 205a048e call p_g24_send_abort_packet ,blank 
+0481 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0482 c1008000 rtneq g24_tx_timer_int_enable 
+0483 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-04a1 204026bb call g24_lpm_wait 
-04a2 24740000 nrtn user 
-04a3 204026c4 call g24_setgpio_lpm_before 
-04a4 704c6900 jam 0 ,mem_sleep_miss 
-04a5 204004fb call p_send_time_long_wake 
-04a6 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-04a7 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-04a8 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-04a9 202026b8 branch g24_long_sleep + 3 
+0484 204026bb call g24_lpm_wait 
+0485 24740000 nrtn user 
+0486 204026c4 call g24_setgpio_lpm_before 
+0487 704c6900 jam 0 ,mem_sleep_miss 
+0488 704c6a01 jam 1 ,mem_long_sleep_flag 
+0489 204004ee call p_send_time_long_wake 
+048a 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+048b 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+048c 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+048d 202026b8 branch g24_long_sleep + 3 
 
 p_g24_send_abort_packet:
-04aa 70483601 jam type_ms ,mem_24g_data_type 
-04ab 7048a701 jam 1 ,mem_24g_abort_pac 
-04ac 20402642 call g24_transmit_rf_ctrl_clear 
-04ad 67e0c7c6 store 1 ,mem_24g_txbuf 
-04ae 58000000 setarg 0 
-04af 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-04b0 6fe248a9 fetch 4 ,mem_24g_device_addr 
-04b1 67e247ce store 4 ,mem_24g_txbuf + 8 
-04b2 7048350c jam 12 ,mem_24g_datalen 
-04b3 6fe0c836 fetch 1 ,mem_24g_data_type 
-04b4 79207e03 set1 bit_abort ,pdata 
-04b5 67e0c836 store 1 ,mem_24g_data_type 
-04b6 20402291 call g24_transmit_prep 
-04b7 20200451 branch p_g24_transmit_start 
+048e 70483601 jam type_ms ,mem_24g_data_type 
+048f 7048a701 jam 1 ,mem_24g_abort_pac 
+0490 20402642 call g24_transmit_rf_ctrl_clear 
+0491 67e0c7c6 store 1 ,mem_24g_txbuf 
+0492 58000000 setarg 0 
+0493 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+0494 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0495 67e247ce store 4 ,mem_24g_txbuf + 8 
+0496 7048350c jam 12 ,mem_24g_datalen 
+0497 6fe0c836 fetch 1 ,mem_24g_data_type 
+0498 79207e03 set1 bit_abort ,pdata 
+0499 67e0c836 store 1 ,mem_24g_data_type 
+049a 20402291 call g24_transmit_prep 
+049b 20200432 branch p_g24_transmit_start 
 
 p_g24_lpm_wait:
-04b8 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-04b9 243a7e56 nbranch disable_user ,blank 
-04ba 78347c00 enable user 
-04bb 20401465 call lpo_calibration 
-04bc 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-04bd 203a7e56 branch disable_user ,blank 
-04be 6fe0c099 fetch 1 ,mem_lpm_mode 
-04bf 203a7e56 branch disable_user ,blank 
-04c0 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04c1 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-04c2 20600000 rtn 
+049c 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+049d 243a7e56 nbranch disable_user ,blank 
+049e 78347c00 enable user 
+049f 20401465 call lpo_calibration 
+04a0 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04a1 203a7e56 branch disable_user ,blank 
+04a2 6fe0c099 fetch 1 ,mem_lpm_mode 
+04a3 203a7e56 branch disable_user ,blank 
+04a4 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04a5 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+04a6 20600000 rtn 
 
 p_send_time_check:
-04c3 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04c4 c00084f7 beq g24_tx_timer_int_enable ,p_send_timer_first 
-04c5 6fe0cc52 fetch 1 ,mem_tx_count 
-04c6 203a04f7 branch p_send_timer_first ,blank 
-04c7 1b227e00 copy clkn ,pdata 
-04c8 684b4c53 fetcht 6 ,mem_tx_time_last 
-04c9 67e34c53 store 6 ,mem_tx_time_last 
-04ca 20407d95 call clk_diff_rt 
-04cb 67e24c59 store 4 ,mem_tx_time_last_delt 
-04cc 6fe0cc69 fetch 1 ,mem_sleep_miss 
-04cd 247a0000 nrtn blank 
-04ce 6fe14c67 fetch 2 ,mem_retransmit 
-04cf 247a0000 nrtn blank 
-04d0 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-04d1 684acc5d fetcht 5 ,mem_tx_time_sum 
-04d2 9840fe00 iadd temp ,pdata 
-04d3 67e2cc5d store 5 ,mem_tx_time_sum 
-04d4 6848cc52 fetcht 1 ,mem_tx_count 
-04d5 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
-04d6 98467c00 isub temp ,null 
-04d7 202284db branch p_send_time_check_average ,zero 
-04d8 18408401 increase 1 ,temp 
-04d9 6048cc52 storet 1 ,mem_tx_count 
-04da 20600000 rtn 
+04a7 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04a8 c00084ea beq g24_tx_timer_int_enable ,p_send_timer_first 
+04a9 6fe0cc52 fetch 1 ,mem_tx_count 
+04aa 203a04ea branch p_send_timer_first ,blank 
+04ab 1b227e00 copy clkn ,pdata 
+04ac 684b4c53 fetcht 6 ,mem_tx_time_last 
+04ad 67e34c53 store 6 ,mem_tx_time_last 
+04ae 20407d95 call clk_diff_rt 
+04af 67e24c59 store 4 ,mem_tx_time_last_delt 
+04b0 6fe0cc69 fetch 1 ,mem_sleep_miss 
+04b1 247a0000 nrtn blank 
+04b2 6fe14c67 fetch 2 ,mem_retransmit 
+04b3 247a0000 nrtn blank 
+04b4 6fe24c6b fetch 4 ,mem_sleep_miss_temp 
+04b5 247a0000 nrtn blank 
+04b6 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+04b7 684a4c4e fetcht 4 ,mem_24g_tsniff 
+04b8 18438400 lshift temp ,temp 
+04b9 98467c00 isub temp ,null 
+04ba 202104ee branch p_send_time_long_wake ,positive 
+04bb 684acc5d fetcht 5 ,mem_tx_time_sum 
+04bc 9840fe00 iadd temp ,pdata 
+04bd 67e2cc5d store 5 ,mem_tx_time_sum 
+04be 6848cc52 fetcht 1 ,mem_tx_count 
+04bf 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
+04c0 98467c00 isub temp ,null 
+04c1 202284c5 branch p_send_time_check_average ,zero 
+04c2 18408401 increase 1 ,temp 
+04c3 6048cc52 storet 1 ,mem_tx_count 
+04c4 20600000 rtn 
 
 p_send_time_check_average:
-04db 704c5201 jam 1 ,mem_tx_count 
-04dc d8400000 arg 0 ,temp 
-04dd 6fe2cc5d fetch 5 ,mem_tx_time_sum 
-04de 604acc5d storet 5 ,mem_tx_time_sum 
-04df 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
-04e0 9846fc00 idiv temp 
-04e1 20407def call wait_div_end 
-04e2 1807a200 quotient rega 
-04e3 6fe24c4e fetch 4 ,mem_24g_tsniff 
-04e4 6848cc63 fetcht 1 ,mem_tx_time_offset 
-04e5 98460400 isub temp ,temp 
-04e6 184085d8 increase -40 ,temp 
-04e7 1a227e00 copy rega ,pdata 
-04e8 98467e00 isub temp ,pdata 
-04e9 202104f0 branch p_send_time_check_average_late ,positive 
-04ea 1fe67e00 sub pdata ,0 ,pdata 
-04eb 1feb7e00 rshift2 pdata ,pdata 
-04ec 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
-04ed 98408400 iadd temp ,temp 
-04ee 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-04ef 20600000 rtn 
+04c5 704c5201 jam 1 ,mem_tx_count 
+04c6 d8400000 arg 0 ,temp 
+04c7 6fe2cc5d fetch 5 ,mem_tx_time_sum 
+04c8 604acc5d storet 5 ,mem_tx_time_sum 
+04c9 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
+04ca 9846fc00 idiv temp 
+04cb 20407def call wait_div_end 
+04cc 1807a200 quotient rega 
+04cd 6fe24c4e fetch 4 ,mem_24g_tsniff 
+04ce 6848cc63 fetcht 1 ,mem_tx_time_offset 
+04cf 98460400 isub temp ,temp 
+04d0 1a227e00 copy rega ,pdata 
+04d1 98467e00 isub temp ,pdata 
+04d2 202104de branch p_send_time_check_average_late ,positive 
+04d3 1fe67e00 sub pdata ,0 ,pdata 
+04d4 1feb7e00 rshift2 pdata ,pdata 
+04d5 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
+04d6 98408400 iadd temp ,temp 
+04d7 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+04d8 da201800 arg 0x1800 ,rega 
+04d9 9a20fe00 iadd rega ,pdata 
+04da 98467c00 isub temp ,null 
+04db 242104e8 nbranch p_send_time_check_average_min ,positive 
+04dc 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+04dd 20600000 rtn 
 
 p_send_time_check_average_late:
-04f0 1feb0400 rshift2 pdata ,temp 
-04f1 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-04f2 98460400 isub temp ,temp 
-04f3 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-04f4 20600000 rtn 
+04de 1feb0400 rshift2 pdata ,temp 
+04df 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+04e0 98460400 isub temp ,temp 
+04e1 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+04e2 da201800 arg 0x1800 ,rega 
+04e3 9a267e00 isub rega ,pdata 
+04e4 98467c00 isub temp ,null 
+04e5 202104e8 branch p_send_time_check_average_min ,positive 
+04e6 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+04e7 20600000 rtn 
 
 p_send_time_check_average_min:
-04f5 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-04f6 20600000 rtn 
+04e8 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+04e9 20600000 rtn 
 
 p_send_timer_first:
-04f7 704c5201 jam 1 ,mem_tx_count 
-04f8 1b227e00 copy clkn ,pdata 
-04f9 67e34c53 store 6 ,mem_tx_time_last 
-04fa 20600000 rtn 
+04ea 704c5201 jam 1 ,mem_tx_count 
+04eb 1b227e00 copy clkn ,pdata 
+04ec 67e34c53 store 6 ,mem_tx_time_last 
+04ed 20600000 rtn 
 
 p_send_time_long_wake:
-04fb 58000000 setarg 0 
-04fc 67e0cc52 store 1 ,mem_tx_count 
-04fd 67e2cc5d store 5 ,mem_tx_time_sum 
-04fe 20600000 rtn 
+04ee 58000000 setarg 0 
+04ef 67e0cc52 store 1 ,mem_tx_count 
+04f0 67e2cc5d store 5 ,mem_tx_time_sum 
+04f1 20600000 rtn 
 
 p_g24_pair_dispatch:
-04ff 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-0500 6fe14beb fetch 2 ,mem_24g_pair_count 
-0501 1fe0fe01 increase 1 ,pdata 
-0502 67e14beb store 2 ,mem_24g_pair_count 
-0503 6fe0cbeb fetch 1 ,mem_24g_pair_count 
-0504 1fe17eff and pdata ,0xff ,pdata 
-0505 247a0000 nrtn blank 
-0506 6fe0c87f fetch 1 ,mem_24g_pair_sm 
-0507 c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
-0508 c000850d beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-0509 c001050f beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-050a c0018515 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-050b c002051b beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-050c 20600000 rtn 
+04f2 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+04f3 6fe14beb fetch 2 ,mem_24g_pair_count 
+04f4 1fe0fe01 increase 1 ,pdata 
+04f5 67e14beb store 2 ,mem_24g_pair_count 
+04f6 6fe0cbeb fetch 1 ,mem_24g_pair_count 
+04f7 1fe17eff and pdata ,0xff ,pdata 
+04f8 247a0000 nrtn blank 
+04f9 6fe0c87f fetch 1 ,mem_24g_pair_sm 
+04fa c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
+04fb c0008500 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+04fc c0010502 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+04fd c0018508 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+04fe c002050e beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+04ff 20600000 rtn 
 
 p_g24_pair_sm_1:
-050d 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
-050e 2020051c branch p_g24_pair_sm_prep 
+0500 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
+0501 2020050f branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-050f 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-0510 203a0513 branch p_g24_pair_sm_2_skip ,blank 
-0511 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0512 204022dc call g24_update_addr_and_synccrc8 
+0502 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+0503 203a0506 branch p_g24_pair_sm_2_skip ,blank 
+0504 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0505 204022dc call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-0513 7047c6aa jam datatype_bind ,mem_24g_txbuf 
-0514 2020051c branch p_g24_pair_sm_prep 
+0506 7047c6aa jam datatype_bind ,mem_24g_txbuf 
+0507 2020050f branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-0515 7047c655 jam datatype_config ,mem_24g_txbuf 
-0516 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-0517 203a051c branch p_g24_pair_sm_prep ,blank 
-0518 6fe24891 fetch 4 ,mem_24g_receiver_addr 
-0519 67e247c8 store 4 ,mem_24g_txbuf + 2 
-051a 2020051e branch p_g24_pair_sm_common 
+0508 7047c655 jam datatype_config ,mem_24g_txbuf 
+0509 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+050a 203a050f branch p_g24_pair_sm_prep ,blank 
+050b 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+050c 67e247c8 store 4 ,mem_24g_txbuf + 2 
+050d 20200511 branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-051b 7047c622 jam datatype_ok ,mem_24g_txbuf 
+050e 7047c622 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-051c 6fe248a9 fetch 4 ,mem_24g_device_addr 
-051d 67e247c8 store 4 ,mem_24g_txbuf + 2 
+050f 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0510 67e247c8 store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-051e 6fe0c836 fetch 1 ,mem_24g_data_type 
-051f 1fe17e07 and_into bits_data ,pdata 
-0520 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
-0521 7047cc00 jam 0 ,mem_24g_txbuf + 6 
-0522 70483507 jam 7 ,mem_24g_datalen 
-0523 20402291 call g24_transmit_prep 
-0524 2040042a call p_g24_transmit_receive_ack 
-0525 20202360 branch g24_pair_sm_common + 7 
+0511 6fe0c836 fetch 1 ,mem_24g_data_type 
+0512 1fe17e07 and_into bits_data ,pdata 
+0513 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
+0514 7047cc00 jam 0 ,mem_24g_txbuf + 6 
+0515 70483507 jam 7 ,mem_24g_datalen 
+0516 20402291 call g24_transmit_prep 
+0517 20400402 call p_g24_transmit_receive_ack 
+0518 20202360 branch g24_pair_sm_common + 7 
 
 p_g24_reconn_dispatch:
-0526 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0527 d84001f8 arg 0x01f8 ,temp 
-0528 98417e00 iand temp ,pdata 
-0529 203a052e branch p_g24_reconn_dispatch_next ,blank 
-052a 6fe14889 fetch 2 ,mem_24g_reconn_count 
-052b 1fe0fe01 increase 1 ,pdata 
-052c 67e14889 store 2 ,mem_24g_reconn_count 
-052d 20600000 rtn 
+0519 6fe14889 fetch 2 ,mem_24g_reconn_count 
+051a d84001f8 arg 0x01f8 ,temp 
+051b 98417e00 iand temp ,pdata 
+051c 203a0521 branch p_g24_reconn_dispatch_next ,blank 
+051d 6fe14889 fetch 2 ,mem_24g_reconn_count 
+051e 1fe0fe01 increase 1 ,pdata 
+051f 67e14889 store 2 ,mem_24g_reconn_count 
+0520 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-052e 2040259a call g24_reconn_data_prep 
-052f 2040042a call p_g24_transmit_receive_ack 
-0530 242c0547 nbranch p_g24_reconn_device_fail ,sync 
-0531 24378547 nbranch p_g24_reconn_device_fail ,user3 
-0532 20402672 call g24_ackpayload_parse 
-0533 6fe24877 fetch 4 ,mem_24g_pair_addr 
-0534 684a483c fetcht 4 ,mem_24g_addr 
-0535 98467c00 isub temp ,null 
-0536 2022a32e branch g24_pair_start ,zero 
-0537 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0538 684a483c fetcht 4 ,mem_24g_addr 
-0539 98467c00 isub temp ,null 
-053a 20428543 call p_g24_store_receiver_addr ,zero 
-053b 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-053c 793ffe02 set0 state_24g_reconn ,pdata 
-053d 67e0c8a1 store 1 ,mem_24g_conn_sm 
-053e 58000000 setarg 0 
-053f 67e14883 store 2 ,mem_24g_pair_timeout 
-0540 67e14889 store 2 ,mem_24g_reconn_count 
-0541 67e14887 store 2 ,mem_24g_reconn_timeout 
-0542 20202595 branch g24_reconn_attempt_success 
+0521 2040259a call g24_reconn_data_prep 
+0522 20400402 call p_g24_transmit_receive_ack 
+0523 242c053a nbranch p_g24_reconn_device_fail ,sync 
+0524 2437853a nbranch p_g24_reconn_device_fail ,user3 
+0525 20402672 call g24_ackpayload_parse 
+0526 6fe24877 fetch 4 ,mem_24g_pair_addr 
+0527 684a483c fetcht 4 ,mem_24g_addr 
+0528 98467c00 isub temp ,null 
+0529 2022a32e branch g24_pair_start ,zero 
+052a 6fe248a9 fetch 4 ,mem_24g_device_addr 
+052b 684a483c fetcht 4 ,mem_24g_addr 
+052c 98467c00 isub temp ,null 
+052d 20428536 call p_g24_store_receiver_addr ,zero 
+052e 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+052f 793ffe02 set0 state_24g_reconn ,pdata 
+0530 67e0c8a1 store 1 ,mem_24g_conn_sm 
+0531 58000000 setarg 0 
+0532 67e14883 store 2 ,mem_24g_pair_timeout 
+0533 67e14889 store 2 ,mem_24g_reconn_count 
+0534 67e14887 store 2 ,mem_24g_reconn_timeout 
+0535 20202595 branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0543 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
-0544 207a0000 rtn blank 
-0545 67e24891 store 4 ,mem_24g_receiver_addr 
-0546 2020257e branch g24_ch_syncword_crc8_init 
+0536 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
+0537 207a0000 rtn blank 
+0538 67e24891 store 4 ,mem_24g_receiver_addr 
+0539 2020257e branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-0547 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-0548 203a22cb branch g24_ch ,blank 
-0549 6fe14889 fetch 2 ,mem_24g_reconn_count 
-054a 1fe0fe01 increase 1 ,pdata 
-054b 67e14889 store 2 ,mem_24g_reconn_count 
-054c 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
-054d 2feffe01 isolate1 1 ,pdata 
-054e 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-054f c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
-0550 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
-0551 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
-0552 c0020554 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0553 2020256e branch g24_reconn_receiver_addr 
+053a 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+053b 203a22cb branch g24_ch ,blank 
+053c 6fe14889 fetch 2 ,mem_24g_reconn_count 
+053d 1fe0fe01 increase 1 ,pdata 
+053e 67e14889 store 2 ,mem_24g_reconn_count 
+053f 2feffe09 isolate1 9 ,pdata 
+0540 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0541 c0020543 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+0542 202025a8 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_pair_and_3_0:
-0554 2020a575 branch g24_reconn_device_3_0_addr ,true 
-0555 20202339 branch g24_pair_init_param 
+0543 2020a575 branch g24_reconn_device_3_0_addr ,true 
+0544 20202339 branch g24_pair_init_param 
+
+p_mouse_device_poweron_led_config:
+0545 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0546 203a48c6 branch mouse_device_poweron_timer_init ,blank 
+0547 20200138 branch p_mouse_multi_led_on_enable 
+
+p_mouse_device_discover_led_config:
+0548 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0549 203a48cc branch mouse_discover_setting_led_gpio ,blank 
+054a 20200133 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_24g_pairing_complete:
-0556 20404544 call mouse_no_data_timer_init 
-0557 d8e00001 arg mouse_24g_pairing_flag ,queue 
-0558 204046f4 call mouse_disable_function_flag 
-0559 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-055a c0004859 beq 0 ,mouse_24g_pairing_complete_enable_poweron_timer 
-055b 20400136 call p_mouse_multi_led_on_enable 
-055c 2020485a branch mouse_24g_pairing_complete_skip_poweron_timer 
+054b 2040042e call p_mouse_soft_agc_disable 
+054c 2040004c call p_mouse_fetch_normal_tx_power 
+054d 20404544 call mouse_no_data_timer_init 
+054e d8e00001 arg mouse_24g_pairing_flag ,queue 
+054f 204046f4 call mouse_disable_function_flag 
+0550 20400545 call p_mouse_device_poweron_led_config 
+0551 2020485a branch mouse_24g_pairing_complete + 3 
 
 p_mouse_24g_attempt_success:
-055d 6fe2483c fetch 4 ,mem_24g_addr 
-055e 67e24891 store 4 ,mem_24g_receiver_addr 
-055f 67e24993 store 4 ,mem_mouse_24g_addr 
-0560 2040257e call g24_ch_syncword_crc8_init 
-0561 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0562 c0000565 beq 0 ,p_mouse_24g_attempt_success_next 
-0563 20400136 call p_mouse_multi_led_on_enable 
-0564 20200566 branch p_mouse_24g_attempt_success_next + 1 
-
-p_mouse_24g_attempt_success_next:
-0565 204048c6 call mouse_device_poweron_timer_init 
-0566 20404544 call mouse_no_data_timer_init 
-0567 2020484e branch mouse_24g_attempt_success 
+0552 6fe2483c fetch 4 ,mem_24g_addr 
+0553 67e24891 store 4 ,mem_24g_receiver_addr 
+0554 67e24993 store 4 ,mem_mouse_24g_addr 
+0555 2040257e call g24_ch_syncword_crc8_init 
+0556 20400545 call p_mouse_device_poweron_led_config 
+0557 20404544 call mouse_no_data_timer_init 
+0558 204042ca call mouse_init_sensor_reset 
+0559 704aae00 jam 0 ,mem_mouse_long_mult_flag 
+055a 7048a100 jam 0 ,mem_24g_conn_sm 
+055b 70488b00 jam 0 ,mem_24g_reconn_type 
+055c 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+055d 6fe2488d fetch 4 ,mem_24g_fast_conn_addr 
+055e 98467c00 isub temp ,null 
+055f 20628000 rtn zero 
+0560 2040042e call p_mouse_soft_agc_disable 
+0561 2040004c call p_mouse_fetch_normal_tx_power 
+0562 20204822 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-0568 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-0569 243a0593 nbranch p_mouse_24g_hibernate_set ,blank 
-056a 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-056b c001056f beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-056c c0020587 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-056d c001858c beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-056e 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+0563 2040042e call p_mouse_soft_agc_disable 
+0564 2040004c call p_mouse_fetch_normal_tx_power 
+0565 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+0566 243a058c nbranch p_mouse_24g_hibernate_set ,blank 
+0567 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0568 c001056c beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0569 c0020580 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+056a c0018585 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+056b 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-056f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0570 c2978578 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0571 c2980578 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0572 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0573 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-0574 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-0575 98467c00 isub temp ,null 
-0576 2022857c branch p_mouse_24g_start_pair_mode ,zero 
-0577 20204806 branch mouse_24g_reconn_dongle_start 
+056c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+056d c2978575 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+056e c2980575 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+056f c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0570 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+0571 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+0572 98467c00 isub temp ,null 
+0573 20228577 branch p_mouse_24g_start_pair_mode ,zero 
+0574 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0578 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0579 c0004811 beq 0 ,mouse_24g_start_auto_pair 
-057a 20400131 call p_mouse_multi_led_blink_enable 
-057b 20204812 branch mouse_24g_start_auto_pair + 1 
+0575 20400548 call p_mouse_device_discover_led_config 
+0576 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-057c 70488b00 jam 0 ,mem_24g_reconn_type 
-057d d8e00001 arg mouse_24g_pairing_flag ,queue 
-057e 204046f0 call mouse_enable_function_flag 
-057f 58000000 setarg 0 
-0580 67e14887 store 2 ,mem_24g_reconn_timeout 
-0581 20404576 call mouse_stop_discovery 
-0582 2040498e call mouse_low_voltage_led_blink_disable 
-0583 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-0584 c000482d beq 0 ,mouse_24g_start_pair_mode_enable_blink_timer 
-0585 20400131 call p_mouse_multi_led_blink_enable 
-0586 2020482e branch mouse_24g_start_pair_mode_skip_blink_timer 
+0577 70488b00 jam 0 ,mem_24g_reconn_type 
+0578 d8e00001 arg mouse_24g_pairing_flag ,queue 
+0579 204046f0 call mouse_enable_function_flag 
+057a 58000000 setarg 0 
+057b 67e14887 store 2 ,mem_24g_reconn_timeout 
+057c 20404576 call mouse_stop_discovery 
+057d 2040498e call mouse_low_voltage_led_blink_disable 
+057e 20400548 call p_mouse_device_discover_led_config 
+057f 2020482e branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0587 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0588 c3178591 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-0589 6fe0cbb4 fetch 1 ,mem_device_number 
-058a c0008591 beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
-058b 2020481a branch mouse_24g_first_bluetooth_reconnect 
+0580 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0581 c317858a bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0582 6fe0cbb4 fetch 1 ,mem_device_number 
+0583 c000858a beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
+0584 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-058c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-058d c3178591 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-058e c2898591 bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
-058f c2890591 bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
-0590 20204812 branch mouse_24g_start_auto_pair + 1 
+0585 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0586 c317858a bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0587 c289858a bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
+0588 c289058a bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
+0589 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0591 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0592 c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+058a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+058b c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_hibernate_set:
-0593 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-0594 20402652 call g24_transmit_next_packet 
-0595 5fffffff setarg -1 
-0596 67e2485c store 4 ,mem_24g_enter_hibernate 
-0597 58000000 setarg 0 
-0598 67e3c8d0 store 7 ,mem_mouse_key 
-0599 704be101 jam 1 ,mem_sensor_shutdown_flag 
-059a 204001bc call p_mouse_sensor_powerdown 
-059b 202004a1 branch p_g24_long_sleep 
+058c 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+058d 20402652 call g24_transmit_next_packet 
+058e 5fffffff setarg -1 
+058f 67e2485c store 4 ,mem_24g_enter_hibernate 
+0590 58000000 setarg 0 
+0591 67e3c8d0 store 7 ,mem_mouse_key 
+0592 704be101 jam 1 ,mem_sensor_shutdown_flag 
+0593 204001c0 call p_mouse_sensor_powerdown 
+0594 20200484 branch p_g24_long_sleep 
 
 p_mouse_le_battery_updata_timer:
-059c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-059d c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-059e 2020451f branch mouse_le_battery_updata_timer 
+0595 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0596 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0597 2020451f branch mouse_le_battery_updata_timer 
+
+p_mouse_le_send_conn_param_update_timer:
+0598 da604ca8 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0599 da40436c arg mouse_updata_le_param ,regb 
+059a 2020318a branch timer_single_step 
 
 p_mouse_start_discovery:
-059f 6fe1478c fetch 2 ,mem_ui_state_map 
-05a0 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-05a1 2040c581 call mouse_stop_le_adv ,true 
-05a2 6fe1478c fetch 2 ,mem_ui_state_map 
-05a3 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-05a4 2040c322 call mouse_cancel_reconnect ,true 
-05a5 58000000 setarg 0 
-05a6 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-05a7 20404314 call mouse_bluetooth_fast_conn_disable 
-05a8 6fe1478c fetch 2 ,mem_ui_state_map 
-05a9 c28585b2 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-05aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05ab c30405b2 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-05ac 68494997 fetcht 2 ,mem_random_addr_increase_count 
-05ad 18408401 increase 1 ,temp 
-05ae 60494997 storet 2 ,mem_random_addr_increase_count 
-05af 6049437b storet 2 ,mem_le_lap + 1 
-05b0 180a7e00 random pdata 
-05b1 67e0c37a store 1 ,mem_le_lap 
+059b 6fe1478c fetch 2 ,mem_ui_state_map 
+059c 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+059d 2040c581 call mouse_stop_le_adv ,true 
+059e 6fe1478c fetch 2 ,mem_ui_state_map 
+059f 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+05a0 2040c322 call mouse_cancel_reconnect ,true 
+05a1 58000000 setarg 0 
+05a2 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+05a3 20404314 call mouse_bluetooth_fast_conn_disable 
+05a4 6fe1478c fetch 2 ,mem_ui_state_map 
+05a5 c28585ae bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+05a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05a7 c30405ae bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+05a8 68494997 fetcht 2 ,mem_random_addr_increase_count 
+05a9 18408401 increase 1 ,temp 
+05aa 60494997 storet 2 ,mem_random_addr_increase_count 
+05ab 6049437b storet 2 ,mem_le_lap + 1 
+05ac 180a7e00 random pdata 
+05ad 67e0c37a store 1 ,mem_le_lap 
 
 p_mouse_start_discovery_norandom:
-05b2 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
-05b3 67e1c37d store 3 ,mem_le_lap + 3 
-05b4 20403225 call app_lpm_mult_disable 
-05b5 6fe14791 fetch 2 ,mem_discovery_timeout 
-05b6 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-05b7 7000bd06 jam 6 ,mem_connection_options 
-05b8 58000000 setarg 0 
-05b9 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-05ba 67e0cb77 store 1 ,mem_mouse_direct_timer 
-05bb 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
-05bc 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-05bd 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
-05be d8e00002 arg mouse_store_eeprom_flag ,queue 
-05bf 204046f0 call mouse_enable_function_flag 
-05c0 204046e4 call mouse_bt_discovery_button_down_disable 
-05c1 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-05c2 2feffe01 isolate1 mode_4_mouse ,pdata 
-05c3 2040c3df call mouse_check_51cmd_adv ,true 
-05c4 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
-05c5 2feffe00 isolate1 mode_3_mouse ,pdata 
-05c6 2040f8c4 call check_51cmd_start_discovery ,true 
-05c7 2040498e call mouse_low_voltage_led_blink_disable 
-05c8 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-05c9 243a0131 nbranch p_mouse_multi_led_blink_enable ,blank 
-05ca 202048cc branch mouse_discover_setting_led_gpio 
+05ae 6fe1cac9 fetch 3 ,mem_mouse_le_lap_temp 
+05af 67e1c37d store 3 ,mem_le_lap + 3 
+05b0 20403225 call app_lpm_mult_disable 
+05b1 6fe14791 fetch 2 ,mem_discovery_timeout 
+05b2 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+05b3 7000bd06 jam 6 ,mem_connection_options 
+05b4 58000000 setarg 0 
+05b5 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+05b6 67e0cb77 store 1 ,mem_mouse_direct_timer 
+05b7 67e0cac4 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+05b8 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+05b9 67e0caac store 1 ,mem_mouse_clear_sensor_data_flag 
+05ba d8e00002 arg mouse_store_eeprom_flag ,queue 
+05bb 204046f0 call mouse_enable_function_flag 
+05bc 204046e4 call mouse_bt_discovery_button_down_disable 
+05bd 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+05be 2feffe01 isolate1 mode_4_mouse ,pdata 
+05bf 2040c3df call mouse_check_51cmd_adv ,true 
+05c0 6fe0cbb3 fetch 1 ,mem_mouse_bluetooth_type 
+05c1 2feffe00 isolate1 mode_3_mouse ,pdata 
+05c2 2040f8c4 call check_51cmd_start_discovery ,true 
+05c3 2040498e call mouse_low_voltage_led_blink_disable 
+05c4 20200548 branch p_mouse_device_discover_led_config 
+
+p_mouse_stop_discovery:
+05c5 58000000 setarg 0 
+05c6 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+05c7 20204577 branch mouse_stop_discovery + 1 
 
 p_mouse_le_name_load:
-05cb 6fe44c1f fetch 8 ,mem_le_name_patch 
-05cc 207a0000 rtn blank 
-05cd 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05ce 1fe22200 copy pdata ,rega 
-05cf 1fe67c0b sub pdata ,11 ,null 
-05d0 242105dd nbranch p_mouse_le_name_patch_len_overflow ,positive 
-05d1 d8c04c1f arg mem_le_name_patch ,contr 
-05d2 d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
-05d3 1a227200 copy rega ,loopcnt 
-05d4 20407d5f call memcpy 
-05d5 d8c04c1f arg mem_le_name_patch ,contr 
-05d6 d8a0440a arg mem_le_scan_data + 2 ,contw 
-05d7 1a227200 copy rega ,loopcnt 
-05d8 20407d5f call memcpy 
-05d9 d8c04c1f arg mem_le_name_patch ,contr 
-05da d8a042f8 arg mem_le_name ,contw 
-05db 1a227200 copy rega ,loopcnt 
-05dc 20207d5f branch memcpy 
+05c8 6fe44c1f fetch 8 ,mem_le_name_patch 
+05c9 207a0000 rtn blank 
+05ca 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+05cb 1fe22200 copy pdata ,rega 
+05cc 1fe67c0b sub pdata ,11 ,null 
+05cd 242105da nbranch p_mouse_le_name_patch_len_overflow ,positive 
+05ce d8c04c1f arg mem_le_name_patch ,contr 
+05cf d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
+05d0 1a227200 copy rega ,loopcnt 
+05d1 20407d5f call memcpy 
+05d2 d8c04c1f arg mem_le_name_patch ,contr 
+05d3 d8a0440a arg mem_le_scan_data + 2 ,contw 
+05d4 1a227200 copy rega ,loopcnt 
+05d5 20407d5f call memcpy 
+05d6 d8c04c1f arg mem_le_name_patch ,contr 
+05d7 d8a042f8 arg mem_le_name ,contw 
+05d8 1a227200 copy rega ,loopcnt 
+05d9 20207d5f branch memcpy 
 
 p_mouse_le_name_patch_len_overflow:
-05dd 204005f3 call p_mouse_le_swift_pair_disable 
-05de 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05df 1fe0fe01 increase 1 ,pdata 
-05e0 67e0cad2 store 1 ,mem_le_adv_swift_pair 
-05e1 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
-05e2 d8c04c1f arg mem_le_name_patch ,contr 
-05e3 d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
-05e4 1a227200 copy rega ,loopcnt 
-05e5 20407d5f call memcpy 
-05e6 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05e7 1fe0fe01 increase 1 ,pdata 
-05e8 67e0c408 store 1 ,mem_le_scan_data 
-05e9 70440909 jam 9 ,mem_le_scan_data + 1 
-05ea d8c04c1f arg mem_le_name_patch ,contr 
-05eb d8a0440a arg mem_le_scan_data + 2 ,contw 
-05ec 1a227200 copy rega ,loopcnt 
-05ed 20407d5f call memcpy 
-05ee d8c04c1e arg mem_le_name_patch_len ,contr 
-05ef d8a042f7 arg mem_le_name_len ,contw 
-05f0 1a227200 copy rega ,loopcnt 
-05f1 1f20f201 increase 1 ,loopcnt 
-05f2 20207d5f branch memcpy 
+05da 204005f0 call p_mouse_le_swift_pair_disable 
+05db 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+05dc 1fe0fe01 increase 1 ,pdata 
+05dd 67e0cad2 store 1 ,mem_le_adv_swift_pair 
+05de 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
+05df d8c04c1f arg mem_le_name_patch ,contr 
+05e0 d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
+05e1 1a227200 copy rega ,loopcnt 
+05e2 20407d5f call memcpy 
+05e3 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+05e4 1fe0fe01 increase 1 ,pdata 
+05e5 67e0c408 store 1 ,mem_le_scan_data 
+05e6 70440909 jam 9 ,mem_le_scan_data + 1 
+05e7 d8c04c1f arg mem_le_name_patch ,contr 
+05e8 d8a0440a arg mem_le_scan_data + 2 ,contw 
+05e9 1a227200 copy rega ,loopcnt 
+05ea 20407d5f call memcpy 
+05eb d8c04c1e arg mem_le_name_patch_len ,contr 
+05ec d8a042f7 arg mem_le_name_len ,contw 
+05ed 1a227200 copy rega ,loopcnt 
+05ee 1f20f201 increase 1 ,loopcnt 
+05ef 20207d5f branch memcpy 
 
 p_mouse_le_swift_pair_disable:
-05f3 d8a04ad2 arg mem_le_adv_swift_pair ,contw 
-05f4 df200014 arg 20 ,loopcnt 
-05f5 20207d26 branch clear_mem 
+05f0 d8a04ad2 arg mem_le_adv_swift_pair ,contw 
+05f1 df200014 arg 20 ,loopcnt 
+05f2 20207d26 branch clear_mem 
 
 p_mouse_le_bb_event_connected:
-05f6 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-05f7 245a0136 ncall p_mouse_multi_led_on_enable ,blank 
-05f8 20204350 branch mouse_le_bb_event_connected 
+05f3 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+05f4 245a0138 ncall p_mouse_multi_led_on_enable ,blank 
+05f5 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-05f9 58000000 setarg 0 
-05fa 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-05fb 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
-05fc 58000006 setarg le_interval_7_5ms 
-05fd 67e14372 store 2 ,mem_le_interval_min 
-05fe 67e14374 store 2 ,mem_le_interval_min + 2 
-05ff 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0600 c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
-0601 58000007 setarg le_interval_8_75ms 
-0602 20204364 branch mouse_le_bb_disconnected_next 
+05f6 58000000 setarg 0 
+05f7 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+05f8 67e0cca7 store 1 ,mem_mouse_le_send_conn_param_update 
+05f9 67e0cca8 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+05fa 67e0cac6 store 1 ,mem_mouse_le_bb_connected_flag 
+05fb 20204366 branch mouse_le_bb_disconnected + 7 
 
 p_mouse_le_ll_start_encryt:
-0603 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0604 c0008607 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0605 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0606 20204373 branch mouse_le_ll_enable_start_enc_flag 
+05fc 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+05fd c0008600 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+05fe 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+05ff 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0607 2040436c call mouse_updata_le_param 
-0608 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-0609 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0600 2040436c call mouse_updata_le_param 
+0601 704b760a jam 10 ,mem_le_start_encrypt_timer 
+0602 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-060a 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-060b 1fe67c0c sub pdata ,le_interval_15ms ,null 
-060c 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-060d 67e14372 store 2 ,mem_le_interval_min 
-060e 67e14374 store 2 ,mem_le_interval_min + 2 
-060f 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0610 203a439a branch mouse_le_lpm_mult_reinit ,blank 
-0611 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-0612 98467c00 isub temp ,null 
-0613 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-0614 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0615 67e0cb8a store 1 ,mem_lpm_mult_init 
-0616 20204386 branch mouse_le_conn_param_lpm_enable 
+0603 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+0604 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0605 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+0606 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0607 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0608 98467c00 isub temp ,null 
+0609 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+060a 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+060b 67e0c177 store 1 ,mem_lpm_mult 
+060c 20204386 branch mouse_le_conn_param_lpm_enable 
+
+p_mouse_le_conn_param_update_rsp_recieved:
+060d 6fe0cca7 fetch 1 ,mem_mouse_le_send_conn_param_update 
+060e 247a0000 nrtn blank 
+060f 704ca701 jam 1 ,mem_mouse_le_send_conn_param_update 
+0610 704ca81e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0611 20600000 rtn 
 
 p_le_parse_l2cap:
-0617 efe10006 ifetch 2 ,contr 
-0618 c002061a beq le_l2cap_cid_att ,p_le_parse_att 
-0619 202019e4 branch le_parse_l2cap + 10 
+0612 efe10006 ifetch 2 ,contr 
+0613 c0020615 beq le_l2cap_cid_att ,p_le_parse_att 
+0614 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-061a efe18006 ifetch 3 ,contr 
-061b 67e1c436 store 3 ,mem_le_att_opcode 
-061c c005061f beq attop_read_request ,p_le_parse_att_read_request 
-061d c009062e beq attop_write_request ,p_le_parse_att_write_request 
-061e 20201cd3 branch le_parse_att + 2 
+0615 efe18006 ifetch 3 ,contr 
+0616 67e1c436 store 3 ,mem_le_att_opcode 
+0617 c005061a beq attop_read_request ,p_le_parse_att_read_request 
+0618 c0090629 beq attop_write_request ,p_le_parse_att_write_request 
+0619 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-061f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0620 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0621 20401e8d call le_check_encrypt_state 
-0622 68494437 fetcht 2 ,mem_le_att_handle 
-0623 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0624 c2818629 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+061a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+061b c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+061c 20401e8d call le_check_encrypt_state 
+061d 68494437 fetcht 2 ,mem_le_att_handle 
+061e 6fe0c3c0 fetch 1 ,mem_le_configuration 
+061f c2818624 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0625 6fe14437 fetch 2 ,mem_le_att_handle 
-0626 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-0627 68494437 fetcht 2 ,mem_le_att_handle 
-0628 20201deb branch le_send_att_read_response 
+0620 6fe14437 fetch 2 ,mem_le_att_handle 
+0621 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+0622 68494437 fetcht 2 ,mem_le_att_handle 
+0623 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0629 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-062a 98467c00 isub temp ,null 
-062b 24228625 nbranch p_le_send_att_read_response ,zero 
-062c 24340625 nbranch p_le_send_att_read_response ,user 
-062d 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0624 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0625 98467c00 isub temp ,null 
+0626 24228620 nbranch p_le_send_att_read_response ,zero 
+0627 24340620 nbranch p_le_send_att_read_response ,user 
+0628 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-062e 18c22200 copy contr ,rega 
-062f 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0630 1fe0a5fd add pdata ,-3 ,regb 
-0631 20401a25 call le_writeatt_cb 
-0632 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0633 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0634 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0635 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0636 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0637 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0638 5800001a setarg 0x001a 
-0639 68494437 fetcht 2 ,mem_le_att_handle 
-063a 98467c00 isub temp ,null 
-063b 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-063c 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0629 18c22200 copy contr ,rega 
+062a 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+062b 1fe0a5fd add pdata ,-3 ,regb 
+062c 20401a25 call le_writeatt_cb 
+062d 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+062e c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+062f 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0630 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0631 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0632 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0633 5800001a setarg 0x001a 
+0634 68494437 fetcht 2 ,mem_le_att_handle 
+0635 98467c00 isub temp ,null 
+0636 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0637 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+
+p_send_lmp:
+0638 78547c00 disable user 
+0639 204059e6 call lmo_fifo_process 
+063a 6fe08049 fetch 1 ,mem_lmp_to_send 
+063b 207a0000 rtn blank 
+063c c283d730 bbit1 7 ,send_lmp_escape 
+
+p_send_lmp0:
+063d c003863f beq lmp_detach ,p_send_lmp_detach 
+063e 20205701 branch send_lmp0 
+
+p_send_lmp_detach:
+063f 2040585d call send_lmp_detach 
+0640 70007378 jam 120 ,mem_conn_timer 
+0641 20600000 rtn 
 
 p_mouse_bb_event_connected:
-063d 20404544 call mouse_no_data_timer_init 
-063e 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
-063f 245a0136 ncall p_mouse_multi_led_on_enable ,blank 
-0640 202043fa branch mouse_bb_event_connected 
+0642 20404544 call mouse_no_data_timer_init 
+0643 6fe0cc40 fetch 1 ,mem_mouse_1io2led_led_enable 
+0644 245a0138 ncall p_mouse_multi_led_on_enable ,blank 
+0645 202043fa branch mouse_bb_event_connected 
 
 p_hid_rx_process:
-0641 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0642 1fe20c00 copy pdata ,contr 
-0643 efe08006 ifetch 1 ,contr 
-0644 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0645 1fe1040f and pdata ,0x0f ,temp 
-0646 1ff1fe00 rshift4 pdata ,pdata 
-0647 c0048649 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0648 20204d93 branch hid_rx_process + 7 
+0646 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0647 1fe20c00 copy pdata ,contr 
+0648 efe08006 ifetch 1 ,contr 
+0649 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+064a 1fe1040f and pdata ,0x0f ,temp 
+064b 1ff1fe00 rshift4 pdata ,pdata 
+064c c004864e beq hid_type_set_idle ,p_hid_rx_process_handshake 
+064d 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0649 da200001 arg 1 ,rega 
-064a 20404dc0 call hid_malloc_tx_buff 
-064b 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-064c e7e10005 istore 2 ,contw 
-064d 58000000 setarg 0 
-064e e7e08005 istore 1 ,contw 
-064f 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0650 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0651 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0652 67e0c4e2 store 1 ,mem_hid_control_state 
-0653 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0654 20207871 branch ui_ipc_send_event 
+064e da200001 arg 1 ,rega 
+064f 20404dc0 call hid_malloc_tx_buff 
+0650 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0651 e7e10005 istore 2 ,contw 
+0652 58000000 setarg 0 
+0653 e7e08005 istore 1 ,contw 
+0654 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0655 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0656 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0657 67e0c4e2 store 1 ,mem_hid_control_state 
+0658 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0659 20207871 branch ui_ipc_send_event 
               org 0x800
 
 start:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/ramcode.rom	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/ramcode.rom	(working copy)
@@ -1,93 +1,96 @@
-c284001d
-c0000313
-c041836d
-c0420374
-c0428378
-c045038d
-c0458360
-c0460393
+c284001c
+c0000319
+c0410373
+c041837a
+c0450381
+c0458366
 c057002c
-c061809d
-c06200b2
-c06380b9
-c06480bf
-c0650100
-c06600b5
+c061809e
+c06200b6
+c06380bd
+c06480c3
+c0650103
+c06600b9
 c0670073
-c067828e
-c0680260
-c06881c5
-c06a01b0
+c0678294
+c0680266
+c06881c9
+c06a01b4
 c06b0093
-c06c8109
+c06c810b
 c06f008c
-c0708343
-c071033f
-c06d059f
-c04f83d1
-c0740641
+c0708349
+c0710345
+c06d059b
+c06d85c5
+c04f83ac
+c0740646
 2020137c
 c0100091
-c01983ad
-c01a03b2
-c04383cd
-c06e844b
-c06f03ff
-c07083df
-c07104ff
-c0748526
-c075044f
-c07604b8
-c05083d3
-c05183dd
-c0600617
+c0198388
+c01a038d
+c04383a8
+c06e8422
+c06f03da
+c07083ba
+c07104f2
+c0748519
+c0750430
+c076049c
+c00d0638
+c05083ae
+c05183b8
+c0600612
 2020137c
 793f8034
-245585cb
 20406df3
-2040003d
-24558060
+20400038
+24558063
 204041a7
 20758000
-204002be
-6fe1c8ad
-67e1cc64
-204004fb
 2040408e
 20403d8a
 20404728
 2040006e
-204001bc
+204001c0
 20203bc9
 20758000
 20402607
 d8400358
 60494838
 204022ff
-2040006b
+204004ee
+20403f1e
+204005c8
 20403d13
-2040004c
-2040012c
-20400286
-204002cb
-6fe44bab
-c30c3bf5
-204002ce
+2040004f
+204002c4
+2040017a
+2040016d
+2040012e
+2040028c
+20400049
 20203bf5
+6fe0c1e8
+67e0cca9
+20600000
+6fe0cca9
+67e0c1e8
+20600000
 6fe0c917
 c17f8000
 d8400040
 20406093
 6848c917
 20406059
-2020805a
+2020805d
 6fe0c917
 d8400080
 20406093
 6848c917
 20406059
-2020805c
-2020005e
+2020805f
+20200061
 70492803
 20600000
 70492800
@@ -95,8 +98,8 @@
 70492802
 20600000
 6fe0c938
-203a0067
-20200063
+203a006a
+20200066
 6fe44bab
 79207e20
 67e44bab
@@ -105,12 +108,9 @@
 793ffe20
 67e44bab
 20600000
-6fe0cc40
-245a0169
-20203f1e
-580002d1
+580002d4
 67e1489b
-580002ed
+580002f3
 67e1489d
 20203bd3
 78547c00
@@ -122,100 +122,103 @@
 2040408e
 20403f7e
 20403f83
-204001c3
+204001c7
 6fe0c8d0
 1fe17e1f
 67e0c8d0
 24340087
 20400084
-204001ad
+204001b1
 20204544
-704ca800
-704ca900
+704ca400
+704ca500
 20600000
 20404728
-6fe0cca9
+6fe0cca5
 247a0000
-704ca964
+704ca564
 20600000
 20404990
 20407936
-204001fb
-2040020f
+20400201
+20400215
 2020464f
 6fe0c91f
 20205af8
 1a627e00
-c01e055d
-c01c8556
-c01d0568
-c0190603
-c022060a
-c00a85f9
-c00a05f6
-c000863d
+c01e0552
+c01c854b
+c01d0563
+c01905fc
+c00a85f6
+c00a05f3
+c0220603
+c020060d
+c0008642
 20204336
 6fe44bab
 c297c80a
 6fe0c938
-c00000a2
+c00000a3
 20203d57
 6fe44bab
 c308c803
 20403d65
-203400ac
+203400b0
 6fe44bab
-c29800af
-c31880af
+c29800b3
+c31880b3
 20404110
 1a217e07
-202047ff
+6848cbcb
+98467c00
+2022c827
+202000b3
 6fe0cc40
-245a0131
+245a0133
 20204806
 6fe0cc40
-245a0131
+245a0133
 2020480c
 6fe0cc42
-245a0131
+245a0133
 20203d5a
 6fe0cbaa
 247a0000
-204003b2
+2040038d
 20203ebb
 58000006
 20405b0d
 c281be23
-204001b7
-204001bc
+204001bb
+204001c0
 20203e23
 204042e9
 20407fdc
-20400176
-20400169
+2040017a
+2040016d
 20404015
 6848c910
 20406069
 6848c910
 20406042
 6fe0c920
-d840003f
-20406093
+204001fb
 d8400003
 20403f56
 20403e40
 20406082
 d8400013
 20403f56
-204000d5
-204000e0
-204000ed
-202000f4
+204000d8
+204000e3
+204000f0
+202000f7
 6fe0c917
 c17f8000
 6fe0c928
-c00180db
-c00100dd
+c00180de
+c00100e0
 20600000
 6848c917
 20206069
@@ -233,7 +236,7 @@
 1fe37e00
 67e1895c
 18408401
-c20000e4
+c20000e7
 20600000
 6fe44bab
 c40a0000
@@ -249,54 +252,53 @@
 6848c914
 20406042
 6fe0c913
-d8400080
-20406093
+20403f54
 6fe0c914
-d8400080
-20206093
+20203f54
+20407fdc
+202015b1
 6848c913
 20406050
 6848c914
 20406050
 20403f88
 6fe0c91f
-d840003f
-20406093
+204001fb
 20203e44
 20403e9b
-204001aa
+204001ae
 2040232b
 20402556
 204047cd
 204048be
-2040017c
-2040013a
-2040016c
+20400180
+2040013c
+20400170
 2040407c
 204044cc
-2040017f
+20400183
 204044ff
-2040019c
-204001a2
+204001a0
+204001a6
 20404504
 20404512
-2040059c
+20400595
 20404515
+20400598
 2040452a
 2040452d
 20404532
 20404535
 20404022
-20400123
-20200196
+20400126
+2020019a
 da6049bf
-da400126
+da400129
 2020318a
 204045f1
 6fe0cac5
-243a012a
-20600000
-20400331
+207a0000
+20400337
 202046c0
 6fe0cc46
 67e0cc47
@@ -315,53 +317,55 @@
 6fe0cc41
 207a0000
 6fe0cc43
-c000814a
+c000814c
 6fe0cc45
-243a0142
+243a0144
 704c4100
 20600000
 6fe0cc47
-203a0147
+203a0149
 1fe0ffff
 67e0cc47
-20200151
+20200153
 704c4500
 704c4100
-2020015d
+2020015f
 da604c4c
-da40014d
+da40014f
 2020318a
 6fe0cc4b
 67e0cc4c
 6fe0cc4d
-c000815d
+c000815f
 704c4d01
 6fe0c938
-c0000157
-c0008159
-c001015b
+c0000159
+c000815b
+c001015d
 20600000
 6848cc48
-2020015c
+2020015e
 6848cc49
-2020015c
+2020015e
 6848cc4a
 20206069
 704c4d00
 6fe0c938
-c0000163
-c0008165
-c0010167
+c0000165
+c0008169
+c001016b
 20600000
 6848cc48
+18467cff
+20628000
 2020607f
 6848cc49
-2020607f
+20200166
 6848cc4a
-2020607f
-20400163
+20200166
 20400165
-20200167
+20400169
+2020016b
 6fe0cbed
 c17f8000
 6fe14ab2
@@ -371,22 +375,22 @@
 98460400
 6fe14bee
 98467e00
-2021017a
+2021017e
 6848cbed
 6fe0cc40
-c000e07f
+c0008166
 20206065
 6848cbed
 20206069
 da604ba8
-da400271
+da400277
 2020318a
 6fe0c938
-c0000185
+c0000189
 6fe44bab
 c41a8000
 6848cbca
-20200188
+2020018c
 6fe44bab
 c4190000
 6848cbcb
@@ -395,36 +399,36 @@
 1fe17e07
 6848cb9d
 98467c00
-2022818f
+20228193
 202044eb
-20400194
+20400198
 6fe0cb9f
 c1008000
 704b9f01
 20600000
-da40057c
+da400577
 202044f7
 da604ab2
-da400199
+da40019d
 20203191
 6fe0c938
-c0000593
+c000058c
 2020431b
-da40019f
-da604ca9
+da4001a3
+da604ca5
 2020318a
-704ca801
-704caa0a
+704ca401
+704ca60a
 20600000
-da4001a5
-da604caa
+da4001a9
+da604ca6
 2020318a
 6fe0c921
 c17f8000
 6848c921
 793f8407
 2020492b
-6fe0cca8
+6fe0cca4
 203a4956
 20600000
 6fe0c927
@@ -432,46 +436,46 @@
 2020471a
 20403f65
 6fe0c927
-c00581b4
+c00581b8
 20204238
-204001ba
+204001be
 da604be3
 2020423a
 6fe0c927
-c00581ba
+c00581be
 20204232
 58009706
 20204233
 204041a7
 20403f65
 6fe0c927
-c00581c1
+c00581c5
 2020423e
 58001f06
 20205b0c
-204001c5
+204001c9
 202040dd
 6fe0cbe1
 245a4121
 da200000
-204001ce
-204001d3
-204001d8
-204001dd
-204001ea
+204001d2
+204001d7
+204001dc
+204001e1
+204001ee
 2020411e
 6fe0c918
-204001f7
+204001fb
 20404124
 6848c918
 20203f56
 6fe0c919
-204001f7
+204001fb
 2040412a
 6848c919
 20203f56
 6fe0c91a
-204001f7
+204001fb
 20404130
 6848c91a
 20203f56
@@ -482,10 +486,10 @@
 1fe22600
 6848c90d
 6fe0c910
-c07f81e6
+c07f81ea
 2020413e
 6fe0c90d
-204001f9
+204001fe
 6848c90d
 2020414b
 6fe0c90e
@@ -495,14 +499,16 @@
 1fe22600
 6848c90e
 6fe0c910
-c07f81f3
+c07f81f7
 20204157
 6fe0c90e
-204001f9
+204001fe
 6848c90e
 20204164
+c17f8000
 d840003f
 20206093
+c17f8000
 d840003e
 20206093
 6fe44bab
@@ -512,37 +518,37 @@
 da200000
 704b9605
 6848c90f
-20400204
+2040020a
 2020402f
 6fe44bab
 c2964048
 6fe0cb93
 1fe22600
 6fe0c910
-c07f820b
+c07f8211
 2020403f
 6fe0c90f
-204001f9
+204001fe
 6848c90f
 20204195
 6fe44bab
 c41e8000
 6fe0cc3a
-243a0218
+243a021e
 6fe0cc3b
-204001f7
-20400228
+204001fb
+2040022e
 6848cc3b
 20203f56
 6fe0cc3b
 793ffe07
 67e0cc3b
-204001f9
+204001fe
 704c3f00
 6848cc3b
 6fe0cc3c
-20400241
-2040022c
+20400247
+20400232
 6848cc3b
 20203f56
 20403f56
@@ -553,10 +559,10 @@
 704c3f00
 6848cc3b
 6fe0cc3c
-20400237
+2040023d
 67e0cc3c
 6fe0cc3e
-203a0233
+203a0239
 6fe0cc3d
 c1008000
 704c3d01
@@ -572,8 +578,8 @@
 1a417e07
 6848cc3f
 18420e00
-c003824c
-c000024e
+c0038252
+c0000254
 20600000
 1fe3fe00
 1fe22400
@@ -583,8 +589,8 @@
 1a417e07
 6848cc3f
 18420e00
-c003824c
-c000024e
+c0038252
+c0000254
 20600000
 704c3e01
 20600000
@@ -598,16 +604,16 @@
 2040466a
 67e0cb94
 6fe0c910
-c07f825d
+c07f8263
 20404168
 1a227e00
 c283468d
 20204680
 6848c91b
 20403f56
-2020025a
+20200260
 2040408f
-20400263
+20400269
 20204098
 6fe0c923
 c17f8000
@@ -620,7 +626,7 @@
 6fe0cba7
 247a0000
 6fe0cbc1
-203a0271
+203a0277
 67e0cba8
 20600000
 6fe0c927
@@ -635,8 +641,8 @@
 6848c992
 18408402
 18467c03
-20410280
-24410284
+20410286
+2441028a
 202048ff
 6fe44bab
 c40e0000
@@ -647,7 +653,7 @@
 6fe44bab
 c41e8000
 6fe0cc3b
-c283828c
+c2838292
 704c3a00
 20600000
 704c3a01
@@ -657,7 +663,7 @@
 6fe0c992
 1fe20400
 6fe44bab
-c29e829a
+c29e82a0
 18427e00
 1fe0fe01
 1fe17e03
@@ -665,70 +671,70 @@
 20404095
 202045ee
 6fe0cc3e
-243a02b7
+243a02bd
 6fe44bab
-c28e02ab
+c28e02b1
 18427e00
 c1008000
-c00002a7
-c00102a5
+c00002ad
+c00102ab
 20600000
 58000002
-20200297
+2020029d
 58000000
-20200297
+2020029d
 58000001
-20200297
+2020029d
 58000003
-20200297
+2020029d
 18427e00
 c1008000
-c00002a7
-c00102a9
-c00182a5
+c00002ad
+c00102af
+c00182ab
 20600000
 18427e00
 c1010000
-c00002a9
-c00082a5
-c00182a3
+c00002af
+c00082ab
+c00182a9
 20600000
 6fe44bab
-c28e02b1
+c28e02b7
 18427e00
 c1010000
-c00002a3
-c00082a5
+c00002a9
+c00082ab
 20600000
-58017700
-67e1cc4e
-20402613
-7048c61e
 6fe44bab
-c40c0000
-2040260b
-7048c60f
+c30c02cd
 5800bb80
 67e1cc4e
-58004800
-67e1c8ad
-20600000
-5800e290
+58006c10
 67e1c8ad
+67e1cc64
+7048c60f
 20600000
-58001770
+58017700
+67e1cc4e
+58010b60
 67e1c8ad
+67e1cc64
+7048c61e
 20600000
 c6930000
 20403f70
 24740000
+6fe0cc6a
+704c6a00
+245a0101
 6fe44bab
-c30a82d8
+c30a82de
 6fe0cb8b
 243a4884
 204042cb
 6fe0c836
-c28082e7
+c28082ed
 6848c7c7
 6fe0c8d0
 9841fe00
@@ -763,20 +769,20 @@
 1fe0fe01
 67e0cba2
 1fe67c08
-24210303
+24210309
 2040259a
-2040042a
-242c0309
-24378309
+20400402
+242c030f
+2437830f
 204048b5
 20402597
 6fe0cba3
 1fe0fe01
 67e0cba3
-c008030b
+c0080311
 20600000
 204022cb
-202002f9
+202002ff
 704ba300
 6fe0cba4
 c3800000
@@ -784,20 +790,20 @@
 67e0cba4
 6fe14bbc
 67e14ab2
-202001bc
+202001c0
 20800000
-2455833c
+24558342
 204030f3
-24558347
-58004c72
+2455834d
+58004c6f
 67e14899
 20403bfd
 2040124a
 70804204
 6fe0c0c5
-c00c031f
+c00c0325
 70804205
-6fe0cc93
+6fe0cc8f
 67e0c17b
 58000f0f
 d8a00fff
@@ -827,7 +833,7 @@
 20002710
 20600000
 6fe0c17b
-67e0cc93
+67e0cc8f
 20600000
 18427e00
 c17f8000
@@ -842,10 +848,10 @@
 70448c00
 20600000
 6fe0c0c5
-c004034f
+c0040355
 58000000
 67f18a00
-704c638c
+704c63fa
 204012cf
 6fe24164
 9840fe00
@@ -875,6 +881,13 @@
 708a8500
 70892140
 2020125d
+6fe0c1ea
+67e08964
+20401150
+708a0a00
+6fe08964
+67e0c1ea
+20600000
 70890005
 20000002
 70890000
@@ -882,63 +895,13 @@
 c00c1168
 708a8729
 2020117d
-20401190
-58007676
-67f10968
-20600000
-6fe0c938
-c08011a7
-6fe0cc92
-243a0384
-2000012c
-20404ca7
-d8c041eb
-98c08c00
-efe08006
-67f08961
-7089602e
-202011b3
-6ff08960
-1fe1fe01
-67f08960
-70896104
-202011b3
-704c9200
-20600000
-704c9201
-20600000
-6fe0cc92
-243a0390
+6fe0c1e8
+c0488385
+c04a1244
 2020123b
 708a395b
 708a3a01
 2020122a
-6ff089a2
-2feffe06
-7920fe07
-67e0c1e9
-6ff089a3
-1fe1040f
-18438400
-1ff1fe00
-98408400
-184fa203
-6fe0c1e9
-204003a8
-1fe67e00
-9a20fe00
-1fe0fff7
-1fe17fff
-2feffe08
-242083a6
-58000000
-67e08019
-20600000
-2feffe07
-24608000
-d840ff00
-9841fe00
-20600000
 da20099e
 d840000c
 58000030
@@ -1002,7 +965,7 @@
 20404cb5
 785d7c00
 c517a273
-c51683f3
+c51683ce
 19317e00
 1fecfe00
 1ff1fe00
@@ -1012,7 +975,7 @@
 6fe0c1f0
 1fe37200
 20000002
-c20003f5
+c20003d0
 19317e00
 1fecfe00
 1ff18400
@@ -1020,7 +983,7 @@
 08008608
 18427e00
 08008628
-202003f1
+202003cc
 6fe0c864
 2040168b
 6fe2483c
@@ -1029,11 +992,8 @@
 20401161
 6848c83a
 204016c8
-6ff08960
-79207e03
-67f08960
 204021d5
-c597840f
+c59783e7
 783cfc00
 2000001e
 204021d5
@@ -1051,7 +1011,7 @@
 202021f6
 6fe0cac5
 247a0000
-20400250
+20400256
 6fe0c8a7
 247a0000
 6fe148a3
@@ -1059,11 +1019,11 @@
 67e148a3
 6fe0c8a4
 c2822679
-2040043b
+20400411
 6fe14c67
 1fe0fe01
 67e14c67
-20200486
+2020046b
 7857fc00
 20402246
 6fe0c82c
@@ -1074,21 +1034,19 @@
 204010b0
 68488017
 2040118f
+2000012c
 204011a6
-2040040a
-20578438
+204003e2
+2057a23f
 20600000
-708a0a00
-708a0b00
-2020129c
 6848c8a6
 6fe0c8c6
 98467c00
-2421269c
+24210421
 18408401
 6048c8a6
 6fe0c8c6
-c0078447
+c007841d
 6fe0c8a6
 c00a2696
 c00f2696
@@ -1097,15 +1055,27 @@
 c0052696
 c007a696
 20600000
+202022cb
 c513a40e
 c6930000
 6fe0c8a1
 2020261d
+6fe24891
+684a488d
+98467c00
+2022842b
+2020042e
+7041ea00
+7041e891
+20600000
+7041eaff
+20600000
 20402631
-2434049c
-20400483
+2434047f
+20400468
+20400426
 6fe0cbe1
-243a0458
+243a043a
 6fe448b0
 67e4485c
 6fe148c2
@@ -1115,71 +1085,72 @@
 6fe0cc69
 704c6900
 1fe67c00
-2422847d
+24228445
 68494c67
 18467c00
-20228473
+2022845c
+6fe24c59
+203a045c
+684a4c6b
+284ffe1f
+20208457
 6fe24c59
-203a0473
+9840fe00
 684a4c4e
 98460400
-604a4c6e
-24210476
+604a4c6b
+2421045f
 6fe1c8ad
 98467e00
-24210481
+24210466
 d8400600
 98467c00
-24210481
-67e24c6a
-2040047a
-6fe24c6a
+24210466
 20407daa
 604a4160
-2020034b
-2040047a
+20200351
+dfffffff
+98465e00
+6fe24c59
+9de67e00
+2020044a
+20400463
 6fe1c8ad
-2020046d
+20200454
 18460400
 6fe1c8ad
 9840fe00
-2020046d
+20200454
 58000000
-67e24c6e
+67e24c6b
 20600000
-6fe24c59
-684a4c6e
-9840fe00
-20200463
 704c6901
 20600000
-7048a600
 58000000
+67e0c8a6
 67e14c67
-2040042a
+20400402
 6fe0c82c
 c000a651
-242c041b
-2437841b
-204004c3
+242c03f3
+243783f3
+204004a7
 20402672
-2040048f
+20400474
 20202651
 6fe0cbe1
-245a0493
+245a0478
 704be100
 20600000
 204041aa
 6fe44bab
 c41e0000
 6fe0c913
-d8400040
-20406093
+20403f56
 6fe0c914
-d8400040
-20206093
+20203f56
 6fe0c8a7
-205a04aa
+205a048e
 6fe0c8bd
 c1008000
 2040269f
@@ -1187,7 +1158,8 @@
 24740000
 204026c4
 704c6900
-204004fb
+704c6a01
+204004ee
 6fe0cbe1
 245a3e33
 6fe2485c
@@ -1205,7 +1177,7 @@
 79207e03
 67e0c836
 20402291
-20200451
+20200432
 6fe0cbaa
 243a7e56
 78347c00
@@ -1218,9 +1190,9 @@
 c000fe56
 20600000
 6fe0c8bd
-c00084f7
+c00084ea
 6fe0cc52
-203a04f7
+203a04ea
 1b227e00
 684b4c53
 67e34c53
@@ -1230,14 +1202,20 @@
 247a0000
 6fe14c67
 247a0000
+6fe24c6b
+247a0000
 6fe24c59
+684a4c4e
+18438400
+98467c00
+202104ee
 684acc5d
 9840fe00
 67e2cc5d
 6848cc52
 6fe0cc62
 98467c00
-202284db
+202284c5
 18408401
 6048cc52
 20600000
@@ -1252,19 +1230,28 @@
 6fe24c4e
 6848cc63
 98460400
-184085d8
 1a227e00
 98467e00
-202104f0
+202104de
 1fe67e00
 1feb7e00
 6849c8ad
 98408400
+6fe1cc64
+da201800
+9a20fe00
+98467c00
+242104e8
 6049c8ad
 20600000
 1feb0400
 6fe1c8ad
 98460400
+6fe1cc64
+da201800
+9a267e00
+98467c00
+202104e8
 6049c8ad
 20600000
 67e1c8ad
@@ -1286,25 +1273,25 @@
 247a0000
 6fe0c87f
 c07fa38e
-c000850d
-c001050f
-c0018515
-c002051b
+c0008500
+c0010502
+c0018508
+c002050e
 20600000
 7047c6ff
-2020051c
+2020050f
 6fe0c85b
-203a0513
+203a0506
 6fe248a9
 204022dc
 7047c6aa
-2020051c
+2020050f
 7047c655
 6fe0c85b
-203a051c
+203a050f
 6fe24891
 67e247c8
-2020051e
+20200511
 7047c622
 6fe248a9
 67e247c8
@@ -1314,20 +1301,20 @@
 7047cc00
 70483507
 20402291
-2040042a
+20400402
 20202360
 6fe14889
 d84001f8
 98417e00
-203a052e
+203a0521
 6fe14889
 1fe0fe01
 67e14889
 20600000
 2040259a
-2040042a
-242c0547
-24378547
+20400402
+242c053a
+2437853a
 20402672
 6fe24877
 684a483c
@@ -1336,7 +1323,7 @@
 6fe248a9
 684a483c
 98467c00
-20428543
+20428536
 6fe0c8a1
 793ffe02
 67e0c8a1
@@ -1354,53 +1341,61 @@
 6fe14889
 1fe0fe01
 67e14889
-6fe0c88a
-2feffe01
+2feffe09
 6fe0c88b
-c000a5ad
-c00125af
-c001a5b1
-c0020554
-2020256e
+c0020543
+202025a8
 2020a575
 20202339
+6fe0cc40
+203a48c6
+20200138
+6fe0cc40
+203a48cc
+20200133
+2040042e
+2040004c
 20404544
 d8e00001
 204046f4
-6fe0cc40
-c0004859
-20400136
+20400545
 2020485a
 6fe2483c
 67e24891
 67e24993
 2040257e
-6fe0cc40
-c0000565
-20400136
-20200566
-204048c6
+20400545
 20404544
-2020484e
+204042ca
+704aae00
+7048a100
+70488b00
+6fe24891
+6fe2488d
+98467c00
+20628000
+2040042e
+2040004c
+20204822
+2040042e
+2040004c
 6fe0c8a5
-243a0593
+243a058c
 6fe0c88b
-c001056f
-c0020587
-c001858c
+c001056c
+c0020580
+c0018585
 20204839
 6fe44bab
-c2978578
-c2980578
+c2978575
+c2980575
 c31d4806
 6fe24993
 684a4974
 98467c00
-2022857c
+20228577
 20204806
-6fe0cc40
-c0004811
-20400131
+20400548
 20204812
 70488b00
 d8e00001
@@ -1409,19 +1404,17 @@
 67e14887
 20404576
 2040498e
-6fe0cc40
-c000482d
-20400131
+20400548
 2020482e
 6fe44bab
-c3178591
+c317858a
 6fe0cbb4
-c0008591
+c000858a
 2020481a
 6fe44bab
-c3178591
-c2898591
-c2890591
+c317858a
+c289858a
+c289058a
 20204812
 6fe44bab
 c31e4839
@@ -1432,11 +1425,14 @@
 58000000
 67e3c8d0
 704be101
-204001bc
-202004a1
+204001c0
+20200484
 6fe44bab
 c39d8000
 2020451f
+da604ca8
+da40436c
+2020318a
 6fe1478c
 2feffe0b
 2040c581
@@ -1447,9 +1443,9 @@
 67e14af2
 20404314
 6fe1478c
-c28585b2
+c28585ae
 6fe44bab
-c30405b2
+c30405ae
 68494997
 18408401
 60494997
@@ -1478,15 +1474,16 @@
 2feffe00
 2040f8c4
 2040498e
-6fe0cc40
-243a0131
-202048cc
+20200548
+58000000
+67e14ac2
+20204577
 6fe44c1f
 207a0000
 6fe0cc1e
 1fe22200
 1fe67c0b
-242105dd
+242105da
 d8c04c1f
 d8a04adb
 1a227200
@@ -1499,7 +1496,7 @@
 d8a042f8
 1a227200
 20207d5f
-204005f3
+204005f0
 6fe0cc1e
 1fe0fe01
 67e0cad2
@@ -1525,60 +1522,58 @@
 df200014
 20207d26
 6fe0cc40
-245a0136
+245a0138
 20204350
 58000000
 67e14af2
-704ac600
-58000006
-67e14372
-67e14374
-6fe44bab
-c28dc366
-58000007
-20204364
+67e0cca7
+67e0cca8
+67e0cac6
+20204366
 6fe0cac7
-c0008607
+c0008600
 704b7614
 20204373
 2040436c
-704b7605
+704b760a
 20204373
 6fe082c1
 1fe67c0c
 24214384
-67e14372
-67e14374
 6fe082c3
-203a439a
 6848cb8a
 98467c00
 2021439a
 6fe082c3
-67e0cb8a
+67e0c177
 20204386
+6fe0cca7
+247a0000
+704ca701
+704ca81e
+20600000
 efe10006
-c002061a
+c0020615
 202019e4
 efe18006
 67e1c436
-c005061f
-c009062e
+c005061a
+c0090629
 20201cd3
 6fe44bab
 c31d9de7
 20401e8d
 68494437
 6fe0c3c0
-c2818629
+c2818624
 6fe14437
 c0181ec8
 68494437
 20201deb
 6fe143d1
 98467c00
-24228625
-24340625
+24228620
+24340620
 20201e10
 18c22200
 6fe143d4
@@ -1595,9 +1590,19 @@
 98467c00
 24229e73
 20201e10
+78547c00
+204059e6
+6fe08049
+207a0000
+c283d730
+c003863f
+20205701
+2040585d
+70007378
+20600000
 20404544
 6fe0cc40
-245a0136
+245a0138
 202043fa
 6fe10315
 1fe20c00
@@ -1605,7 +1610,7 @@
 67e0c5f5
 1fe1040f
 1ff1fe00
-c0048649
+c004864e
 20204d93
 da200001
 20404dc0
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/sched.rom	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/sched.rom	(working copy)
@@ -15,8 +15,8 @@
 00   #mem_patch0d
 00   #mem_patch0e
 00   #mem_patch0f
-38   #mem_patch10
-1c   #mem_patch11
+0c   #mem_patch10
+0c   #mem_patch11
 00   #mem_patch12
 80   #mem_patch13
 00   #mem_patch14
@@ -26,7 +26,7 @@
 98   #mem_patch18
 d6   #mem_patch19
 53   #mem_patch1a
-46   #mem_patch1b
+4e   #mem_patch1b
 06   #mem_patch1c
 01   #mem_patch1d
 00   #mem_patch1e
@@ -34,7 +34,7 @@
 00   #mem_patch20
 00   #mem_patch21
 00   #mem_patch22
-00   #mem_patch23
+04   #mem_patch23
 01   #mem_patch24
 00   #mem_patch25
 18   #mem_patch26
@@ -69,7 +69,7 @@
 mem_lpm_xtalcnt:38
 mem_fcomp_div:18
 
-mem_tx_power:01#3dbm
+mem_tx_power:0a#10dbm
 mem_rf_init_data:ff
 mem_rf_init_ptr:mem_rf_init_data
 
@@ -79,7 +79,8 @@
 
 mem_dig_aon_vsel:00
 mem_gain_fix:ff
-mem_gain_second_agc_en:00
+mem_gain_table:04 00 00
+mem_gain_second_agc_en:08	#00-disbale,08-enable
 
 mem_spi_ncs_gpio:ff
 
@@ -88,6 +89,11 @@
 #mem_lpm_mult_init:20
 
 
+#mem_rf_debug_rx_gpio:8b
+#mem_rf_debug_tx_gpio:8c
+
+
+
 mem_device_option:08	#08 mouse
 
 #app_param_init already did this.
@@ -470,7 +476,7 @@
 
 
 #24g init
-mem_lap:16 a2 c8 62 23 51
+mem_lap:16 a2 c7 62 23 51
 mem_24g_tx_phy:02#0x01:1M/0x02:2M/0x04:S2/0x84:S8
 mem_24g_rx_phy:02#0x01:1M/0x02:2M/0x04:S2/0x84:S8
 mem_24g_data_type:01        #mouse 1,kb 2
@@ -533,8 +539,8 @@
 'BT5.2 Mouse
 
 mem_le_interval_min:
-07 00 #min interval
-07 00 #max interval
+06 00 #min interval
+09 00 #max interval
 20 00 #latency
 2c 01 #timeout
 
@@ -548,7 +554,7 @@
 mem_le_adv_channel_map:07 
 mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
 
-mem_le_lap:8e b1 3b 0e 8e ef
+mem_le_lap:8e b1 3b 0e 8e ed
 
 
 mem_le_keyboard_handle:15 00
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program/patch.prog	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program/patch.prog	(working copy)
@@ -5,16 +5,18 @@
 //define FCC
 //define FIRE_KEY
 //define UART_LOG
+//define RSSI_PATCH
+//define RSSI_SORT
 define SELECT_ANGLE
+define DISABLE_24G_LED
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
+	beq patch10_2,p_shutdown_radio
 	beq patch10_3,p_set_sync_on
-	beq patch10_4,p_set_freq_rx
-	beq patch10_5,p_rf_rx_enable
 	beq patch11_2,p_txon_next
 	beq patch11_3,p_initialize_radio_cont
-	beq patch11_4,p_save_rssi
+//	beq patch11_4,p_save_rssi	/**RSSI PATCH**/
 	beq patch15_6,p_app_init
 	beq patch18_3,p_mouse_start_work
 	beq patch18_4,p_mouse_start_reconnect_device
@@ -33,6 +35,7 @@
 	beq patch1c_1,p_mouse_led_off
 	beq patch1c_2,p_mouse_led_on
 	beq patch1b_2,p_mouse_start_discovery	/**BLE PATCH**/
+	beq patch1b_3,p_mouse_stop_discovery	/**BT PATCH,APPLY TO 3.0/4.0**/
 	beq patch13_7,p_init_param				/**CLASSIC PATCH**/
 	beq patch1d_0,p_hid_rx_process			/**CLASSIC PATCH**/
 	branch loop
@@ -50,36 +53,25 @@
 	beq patch3d_2,p_g24_transmit_no_interrupt
 	beq patch3d_4,p_g24_lpm_wait
 //	beq patch3d_5,p_power_ctrl_start
+	beq patch23_2,p_send_lmp		/**CLASSIC PATCH**/
 	beq patch34_1,p_le_slave_match	/**BLE PATCH**/
 	beq patch34_3,p_le_slave_unsync	/**BLE PATCH**/
 	beq patch38_0,p_le_parse_l2cap	/**BLE PATCH**/
 	branch loop
 
 
-
-
-
-
 p_app_init:
-	set0 mark_adc_enable,mark
-ifdef G24_OTA
-	ncall p_g24_load_ota_config_poweron,wake
-endif
-ifdef BLE
-	ncall p_mouse_le_name_load,wake
+ifdef UART_LOG
+	call p_device_hardware_init
 endif
+	set0 mark_adc_enable,mark
 	call enable_authrom
 	call p_mouse_setting_config
+ifdef DISABLE_24G_LED
 	ncall p_mouse_judge_current_mode,wake
-	call mouse_init_sunt
-ifdef UART_LOG
-	call p_device_hardware_init
 endif
+	call mouse_init_sunt
 	rtn wake
-	call p_g24_report
-	fetch 3,mem_24g_short_sleep_set
-	store 3,mem_24g_short_sleep_set_init
-	call p_send_time_long_wake
 	call mouse_dpi_config
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
@@ -89,30 +81,55 @@
 
 p_mouse_setting_config:
 	rtn wake
+/**************************************pay attention***********************************************/	
+	//before 24g param init
+ifdef G24_OTA
+	call p_g24_load_ota_config_poweron
+endif
+/**************************************pay attention***********************************************/
 	call g24_transmit_init
 	arg 0x358,temp
 	storet 2,mem_24g_rx_window
 	call g24_chmap_param_init
-	call p_mouse_gpio_init
+	call p_send_time_long_wake
+	call mouse_gpio_init
+/**************************************pay attention***********************************************/
+	//before mouse_param_init
+ifdef BLE
+	call p_mouse_le_name_load
+endif
 ifdef FCC
 	call mouse_key_check_once
 	and rega,0x07,pdata
 	beq MOUSE_LMR_BUTTON,p_fcc_mode_start
 endif
 	call mouse_param_init
-ifdef SELECT_ANGLE	
+	//after mouse_param_init
+ifdef SELECT_ANGLE
 	call p_mouse_select_angle
 endif
+	call p_mouse_g24_report_setting
+/**************************************pay attention***********************************************/
+	call p_mouse_logo_led_off
+	call p_mouse_1io2led_all_off
+	call p_mouse_device_multi_led_poweron2s_init
 ifdef FIRE_KEY
 	call p_mouse_firebutton_connect_state_check
 endif
-	call p_mouse_device_multi_led_poweron2s_init
 	call p_mouse_double_dpi_judge
-	call p_g24_short_sleep_set_8ms
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_24G_250Hz,mouse_setting_config_next
-	call p_g24_short_sleep_set_4ms
-	branch mouse_setting_config_next
+	call p_mouse_store_normal_tx_power
+	branch mouse_setting_config+5
+
+
+p_mouse_store_normal_tx_power:
+	fetch 1,mem_tx_power
+	store 1,mem_normal_tx_power
+	rtn
+
+p_mouse_fetch_normal_tx_power:
+	fetch 1,mem_normal_tx_power
+	store 1,mem_tx_power
+	rtn
 
 ifdef SELECT_ANGLE	
 p_mouse_select_angle:
@@ -146,6 +163,9 @@
 	rtn
 endif
 
+ifdef DISABLE_24G_LED
+//if 24g led  and MOUSE_ENABLE_POWER_ON_LED disable, toggle bt adv mode,led no blink,
+//so bt mode MOUSE_ENABLE_POWER_ON_LED set1
 p_mouse_judge_current_mode:
 	fetch 1,mem_device_flag
 	branch p_mouse_current_24g_mode,blank
@@ -161,11 +181,7 @@
 	set0 MOUSE_ENABLE_POWER_ON_LED,pdata
 	store MOUSE_FLAG_LEN,mem_mouse_flag
 	rtn
-
-p_mouse_gpio_init:
-	fetch 1,mem_mouse_1io2led_led_enable
-	ncall p_mouse_1io2led_all_off,blank
-	branch mouse_gpio_init
+endif
 
 p_mouse_cb_fuction:
 	setarg p_mouse_24g_package_data
@@ -224,9 +240,10 @@
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 ifdef BLE
 	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
-	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
 	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
 	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved	
 endif
 ifdef CLASSIC
 	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
@@ -251,7 +268,10 @@
 	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,p_mouse_24g_reconn_general_dongle
 	call mouse_key_check_once		// pdata output:00
 	and rega,0x07,pdata
-	branch mouse_24g_start_mode+9
+	fetcht 1,mem_mouse_commbination_key_24g
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch p_mouse_24g_reconn_general_dongle
 	
 p_mouse_24g_reconn_dongle_start:
 	fetch 1,mem_mouse_1io2led_led_enable
@@ -297,8 +317,7 @@
 	fetcht 1,mem_matrix_public_gpio
 	call gpio_clr_wake
 	fetch 1,mem_mouse_sensor_sdio_gpio
-	arg gpcfg_output_high,temp
-	call gpio_config_function_int
+	call p_mouse_gpio_config_output_high
 	arg 3,temp
 	call mouse_gpio_config_input_pu
 	call mouse_lpm_before_common
@@ -367,11 +386,15 @@
 	call gpio_clr_wake
 		
 	fetch 1,mem_whee_a_data_gpio
-	arg gpcfg_pulldown,temp
-	call gpio_config_function_int
+	call mouse_gpio_config_input_pd
 	fetch 1,mem_whee_b_data_gpio
-	arg gpcfg_pulldown,temp
-	branch gpio_config_function_int
+	branch mouse_gpio_config_input_pd
+
+p_mouse_short_sleep_clear_wake:
+	call clear_wake
+	branch lpm_write_gpio_wakeup
+	
+	
 
 p_mouse_lpm_before_common:
 	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
@@ -381,9 +404,9 @@
 	
 	call mouse_wheel_check
 	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
-	arg gpcfg_output_high,temp
- 	call gpio_config_function_int
-	branch mouse_lpm_before_common_next
+	call p_mouse_gpio_config_output_high
+
+	branch mouse_lpm_before_common+4
 
 //////////////////////////////LPM FUNC END////////////////////////////////////////
 
@@ -418,6 +441,7 @@
 	call mouse_le_enable_att_list_timer
 	call p_mouse_le_battery_updata_timer
 	call mouse_le_send_smp_security_request_timer
+	call p_mouse_le_send_conn_param_update_timer	
 endif
 ifdef CLASSIC
 	//bt
@@ -437,9 +461,7 @@
 p_mouse_store_device_info_check:
 	call mouse_store_device_info
 	fetch 1,mem_mouse_need_soft_reset
-	nbranch p_mouse_soft_reset,blank
-	rtn
-
+	rtn blank
 p_mouse_soft_reset:
 	call p_enable_rc_clock
 	branch mouse_soft_reset
@@ -521,13 +543,16 @@
 
 p_mouse_device_24g_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_24gled
+p_gpio_set_high_impedance:
+	sub temp,GPIO_DISABLE,null
+	rtn zero
 	branch gpio_set_high_impedance
 p_mouse_device_bt1_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_bt1led
-	branch gpio_set_high_impedance
+	branch p_gpio_set_high_impedance
 p_mouse_device_bt2_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_bt2led
-	branch gpio_set_high_impedance
+	branch p_gpio_set_high_impedance
 
 p_mouse_1io2led_all_off:
 	call p_mouse_device_24g_led_off
@@ -549,7 +574,7 @@
 p_mouse_logo_led_off:
 	fetcht 1,mem_mouse_logo_led_gpio
 	fetch 1,mem_mouse_1io2led_led_enable
-	beq 1,gpio_set_high_impedance
+	beq 1,p_gpio_set_high_impedance
 	branch gpio_out_inactive
 p_mouse_logo_led_on:
 	fetcht 1,mem_mouse_logo_led_gpio
@@ -755,13 +780,15 @@
 
 //input:pdata gpio number
 p_mouse_gpio_config_output_high:
+	rtneq GPIO_DISABLE
 	arg gpcfg_output_high,temp
 	branch gpio_config_function_int
 		
 //input:pdata gpio number
 p_mouse_gpio_config_output_low:
+	rtneq GPIO_DISABLE
 	arg gpcfg_output_low,temp
-	branch gpio_config_function_int	
+	branch gpio_config_function_int
 
 
 p_mouse_dpi_check:
@@ -1142,31 +1169,24 @@
 
 //////////////////////////////24G FUNC////////////////////////////////////////
 
-p_g24_report:
-	setarg 0x17700
-	store 3,mem_24g_tsniff
-	call g24_interval_param_8ms
-	jam 30,mem_24g_fast_hop_count
-//	setarg 73500
-//	store 3,mem_24g_short_sleep_set
+p_mouse_g24_report_setting:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	rtnbit0 MOUSE_ENABLE_24G_250Hz
-	call g24_interval_param_4ms
-	jam 15,mem_24g_fast_hop_count
+	bbit0 MOUSE_ENABLE_24G_250Hz,p_mouse_g24_report_125hz
+p_mouse_g24_report_250hz:
 	setarg 0xbb80
 	store 3,mem_24g_tsniff
-	setarg 0x4800
-	store 3,mem_24g_short_sleep_set
-	rtn
-
-
-p_g24_short_sleep_set_8ms:
-	setarg 58000
+	setarg 0x6c10
 	store 3,mem_24g_short_sleep_set
+	store 3,mem_24g_short_sleep_set_init
+	jam 15,mem_24g_fast_hop_count
 	rtn
-p_g24_short_sleep_set_4ms:
-	setarg 6000
+p_mouse_g24_report_125hz:
+	setarg 0x17700
+	store 3,mem_24g_tsniff
+	setarg 0x10b60
 	store 3,mem_24g_short_sleep_set
+	store 3,mem_24g_short_sleep_set_init
+	jam 30,mem_24g_fast_hop_count
 	rtn
 
 
@@ -1178,6 +1198,9 @@
 endif
 	call mouse_motion
 	nrtn user
+	fetch 1,mem_long_sleep_flag
+	jam 0,mem_long_sleep_flag
+	ncall p_mouse_short_sleep_clear_wake,blank
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_KEYBOARD,p_mouse_24g_mouse_package_data
 	fetch 1,mem_customer_key
@@ -1261,24 +1284,19 @@
 	fetch 2,mem_ui_state_map
 	rtnbit1 UI_STATE_BLE_ADV
 	rtnbit1 UI_STATE_BT_RECONNECT
-	rtnbit1 UI_STATE_BT_DISCOVERY	
-	call p_rssi_sort	
+	rtnbit1 UI_STATE_BT_DISCOVERY
+ifdef RSSI_SORT
+	call p_rssi_sort	//affects bluetooth timing
 	call p_rssi_average
+else
+	fetchr rega,2,mem_rssi_signal_buf_ptr
+	call rssi_average
+endif
 	storet 1,mem_rssi_avg_received
-	call p_g24_fast_conn_mode_check
-	fetch 1,mem_soft_agc_en
-	nrtn blank
-	fetcht 1,mem_rssi_avg_received
 	branch power_ctrl_rssi_avg_compare
 
-p_g24_fast_conn_mode_check:
-	rtnmark0 mark_24g
-	fetch 4,mem_24g_receiver_addr
-	fetcht 4,mem_24g_fast_conn_addr
-	isub temp,null
-	branch p_soft_agc_en_true,zero
-	branch p_soft_agc_en_false
-	
+
+ifdef RSSI_SORT
 p_rssi_average:
 	arg mem_mouse_rssi_signal_buf_temp+6,rega
 	arg 10,pdata
@@ -1322,6 +1340,8 @@
 	istoret 1,contw
 	istore 1,contw
 	rtn
+endif
+	
 
 endif
 
@@ -1406,7 +1426,7 @@
 	setarg 0
 	store 3,core_clkpll_ctrl0// close pll
 p_lpm_short_sleep_skip_pll_set:
-	jam 140,mem_tx_time_offset
+	jam 250,mem_tx_time_offset
 	call xtal_fast_wake
 	fetch 4,mem_sleep_counter_all
 	iadd temp,pdata
@@ -1442,6 +1462,16 @@
 	branch initialize_radio_cont+8
 
 
+p_shutdown_radio:
+	fetch 1,mem_gain_fix	//filter gain_control
+	store 1,mem_temp
+	call shutdown_radio+1
+	jam 0,core_rf_ldo_en0	//RFPLL vco_LDO disable
+	fetch 1,mem_temp
+	store 1,mem_gain_fix
+	rtn
+
+
 p_set_sync_on:
 	jam 0x5,modem_en
 	nop 2
@@ -1453,77 +1483,20 @@
 	branch set_sync_on_16m
 
 
-p_set_freq_rx:
-	call set_freq_rx+1
-	setarg 0x7676
-	store 2,0x8968
-	rtn
-
-
-p_rf_rx_enable:
-	fetch 1,mem_device_flag
-	bne MODE_24G_DEVICE,rf_rx_enable+1
-
-	fetch 1,mem_soft_agc_en
-	nbranch p_rf_rx_enable_soft_agc,blank
-	nop 300
-	call rf_debug_rx_gpio_high
-	arg mem_gain_table,contr
-	iadd contr,contr
-	ifetch 1,contr
-	store 1,core_rf_rx_gain_fix
-	jam 0x2e,core_rf_rx_agc_ctrl
-	branch rf_rx_enable_no_soft_agc_next
-	
-p_rf_rx_enable_soft_agc:
-	fetch 1,core_rf_rx_agc_ctrl
-	or pdata,0x01,pdata					//disable agc		
-	store 1,core_rf_rx_agc_ctrl
-	jam 0x04,core_rf_rx_gain_fix		//set agc level
-	branch rf_rx_enable_no_soft_agc_next
-
-p_soft_agc_en_false:
-	jam 0,mem_soft_agc_en
-	rtn
-p_soft_agc_en_true:
-	jam 1,mem_soft_agc_en
-	rtn
-
-
 p_txon_next:
-	fetch 1,mem_soft_agc_en
-	nbranch p_set_tx_power_f17db,blank
-	branch set_tx_power_10db
-	//fetch 1,mem_tx_power
-	//beq TX_POWER_F30DB,p_set_tx_power_f30db
-	//beq TX_POWER_F40DB,p_set_tx_power_f40db
-	//beq TX_POWER_F50DB,p_set_tx_power_f50db
-	//beq TX_POWER_F60DB,p_set_tx_power_f60db
-	//branch txon_next+1
-/*
-p_set_tx_power_f30db:
-	jam 0x4c,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f40db:
-	jam 0x45,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f50db:
-	jam 0x42,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f60db:
-	jam 0x41,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-*/
-p_set_tx_power_f17db:	//F17dbm
+	fetch 1,mem_tx_power
+	beq TX_POWER_F17DB,p_set_tx_power_f17db	//fast conn
+	beq TX_POWER_F20DB,set_tx_power_f20db	//pair mode
+	branch set_tx_power_10db	//others
+
+p_set_tx_power_f17db:
 	jam 0x5b,core_tx_pwr_ctrl0
 	jam 0x01,core_tx_pwr_ctrl1
 	branch set_rf_ldo_cfg89
 
 
+ifdef RSSI_PATCH
+
 p_save_rssi:
 	// bit6 is signed bit. 
 	fetch 1,modem_nb_pow 
@@ -1557,6 +1530,7 @@
 	ior temp,pdata
 	rtn
 
+endif
 
 
 p_adc_init_data:
@@ -1605,9 +1579,6 @@
 
 
 
-
-
-
 ifdef CLASSIC
 
 p_init_param:
@@ -1693,9 +1664,6 @@
 	call set_sync_on
 	fetcht 1,mem_24g_ch
 	call le_rf_rx_enable
-	fetch 1,core_rf_rx_agc_ctrl
-	set1 3,pdata
-	store 1,core_rf_rx_agc_ctrl
 p_g24_receive_rxon:
 	call g24_prep
 	bmark0 mark_ble_lr,p_g24_receive_nolr
@@ -1745,22 +1713,18 @@
 	call calc_mod_value_scale_le	
 	fetcht 1,mem_last_freq
 	call set_freq_rx
+	nop 300	
 	call rf_rx_enable
 	call p_g24_receive_rxon
-	call p_g24_end_of_packet,user3
+	call g24_end_of_packet,user3
 	rtn
 
-p_g24_end_of_packet:
-	jam 0,core_rf_ldo_en0
-	jam 0,core_rf_ldo_en1
-	branch gain_control
-
 
 p_g24_transmit_hop_process:
 	fetcht 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
 	isub temp,null
-	nbranch g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
+	nbranch p_g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
 	increase 1,temp
 	storet 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count
@@ -1775,6 +1739,13 @@
 	beq 15,g24_hop_ch_disable
 	rtn
 
+p_g24_tx_fast_hop:
+ifdef PW_CTRL
+	call power_ctrl_txpower_incrs
+	call power_ctrl_pac_succ_decrs
+endif	
+	branch g24_ch
+
 
 p_g24_dispatch:
 	bmark1 mark_24g_rxmode,g24_receive_dispatch
@@ -1787,6 +1758,21 @@
 	branch g24_transmit_dispatch+2
 
 
+p_mouse_24g_fast_conn_mode_check:
+	fetch 4,mem_24g_receiver_addr
+	fetcht 4,mem_24g_fast_conn_addr
+	isub temp,null
+	branch p_mouse_soft_agc_enable,zero
+	branch p_mouse_soft_agc_disable
+
+p_mouse_soft_agc_enable:
+	jam 0,mem_gain_fix
+	jam TX_POWER_F17DB,mem_tx_power
+	rtn
+p_mouse_soft_agc_disable:
+	jam 0xff,mem_gain_fix
+	rtn
+
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch p_g24_nodata_transmit,user
@@ -1795,6 +1781,7 @@
 ifdef PW_CTRL
 	call power_ctrl_start
 endif
+	call p_mouse_24g_fast_conn_mode_check
 	fetch 1,mem_sensor_shutdown_flag
 	nbranch p_g24_short_sleep,blank
 	fetch 8,mem_24g_long_sleep_set
@@ -1814,6 +1801,12 @@
 
 	fetch 4,mem_tx_time_last_delt
 	branch p_g24_short_sleep_default,blank
+p_g24_short_sleep_last_miss:
+	fetcht 4,mem_sleep_miss_temp
+	isolate1 31,temp
+	branch p_sub_miss_temp,true
+	fetch 4,mem_tx_time_last_delt
+	iadd temp,pdata	
 p_g24_short_sleep_notify:
 	fetcht 4,mem_24g_tsniff
 	isub temp,temp
@@ -1826,13 +1819,17 @@
 	isub temp,null
 	nbranch p_g24_short_sleep_2,positive
 p_g24_short_sleep2:
-	store 4,mem_sleep_time_temp
-	call p_g24_miss_temp_clear
-	fetch 4,mem_sleep_time_temp
 	call clk2lpo
 	storet 4,mem_sleep_counter
 	branch p_lpm_short_sleep
 
+p_sub_miss_temp:
+	arg -1,pdata
+	isub temp,regext
+	fetch 4,mem_tx_time_last_delt
+	isub  regext,pdata	
+	branch p_g24_short_sleep_notify
+
 p_g24_short_sleep_default:
 	call p_g24_miss_temp_clear
 	fetch 3,mem_24g_short_sleep_set
@@ -1849,19 +1846,15 @@
 	store 4,mem_sleep_miss_temp
 	rtn
 	
-p_g24_short_sleep_last_miss:
-	fetch 4,mem_tx_time_last_delt
-	fetcht 4,mem_sleep_miss_temp
-	iadd temp,pdata
-	branch p_g24_short_sleep_notify
+
 	
 p_g24_short_sleep_2:
 	jam 1,mem_sleep_miss
 	rtn
 
 p_g24_transmit_process:
-	jam 0,mem_24g_retry
 	setarg 0
+	store 1,mem_24g_retry	
 	store 2,mem_retransmit
 p_g24_transmit_loop:
 	call p_g24_transmit_receive_ack
@@ -1870,7 +1863,7 @@
 	nbranch p_g24_retransmit,sync
 	nbranch p_g24_retransmit,user3
 	call p_send_time_check
-	call g24_ackpayload_parse		
+	call g24_ackpayload_parse	
 ifdef G24_OTA
 	call p_g24_mouse_parse_rx
 endif
@@ -1889,11 +1882,9 @@
 	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 p_mouse_wheel_set_wakeup:
 	fetch 1,mem_whee_a_data_gpio
-	arg gpcfg_pullup,temp
- 	call gpio_config_function_int
+ 	call mouse_gpio_config_input_pu
 	fetch 1,mem_whee_b_data_gpio
-	arg gpcfg_pullup,temp
- 	branch gpio_config_function_int
+ 	branch mouse_gpio_config_input_pu
 
 p_g24_nodata_transmit:
 	fetch 1,mem_24g_abort_pac
@@ -1906,6 +1897,7 @@
 	nrtn user
 	call g24_setgpio_lpm_before
 	jam 0,mem_sleep_miss
+	jam 1,mem_long_sleep_flag
 	call p_send_time_long_wake
 	fetch 1,mem_sensor_shutdown_flag
 	ncall mouse_setgpio_hibernate,blank
@@ -1958,7 +1950,13 @@
 	nrtn blank
 	fetch 2,mem_retransmit
 	nrtn blank
+	fetch 4,mem_sleep_miss_temp
+	nrtn blank
 	fetch 4,mem_tx_time_last_delt
+	fetcht 4,mem_24g_tsniff
+	lshift temp,temp
+	isub temp,null
+	branch p_send_time_long_wake,positive
 	fetcht 5,mem_tx_time_sum
 	iadd temp,pdata
 	store 5,mem_tx_time_sum	
@@ -1983,7 +1981,6 @@
 	fetch 4,mem_24g_tsniff
 	fetcht 1,mem_tx_time_offset
 	isub temp,temp
-	increase -40,temp
 
 	copy rega,pdata
 	isub temp,pdata
@@ -1993,13 +1990,13 @@
 	rshift2 pdata,pdata
 	fetcht 3,mem_24g_short_sleep_set
 	iadd temp,temp
-/*
+
 	fetch 3,mem_24g_short_sleep_set_init
 	arg 0x1800,rega
 	iadd rega,pdata
 	isub temp,null
 	nbranch p_send_time_check_average_min,positive
-*/
+
 	storet 3,mem_24g_short_sleep_set
 	rtn
 
@@ -2007,13 +2004,13 @@
 	rshift2 pdata,temp
 	fetch 3,mem_24g_short_sleep_set
 	isub temp,temp
-/*
+
 	fetch 3,mem_24g_short_sleep_set_init
 	arg 0x1800,rega
 	isub rega,pdata
 	isub temp,null
 	branch p_send_time_check_average_min,positive
-*/
+
 	storet 3,mem_24g_short_sleep_set
 	rtn
 p_send_time_check_average_min:
@@ -2036,10 +2033,6 @@
 
 
 
-
-
-
-
 p_g24_pair_dispatch:
 	jam DEFAULT_24G_DEVICE,mem_24g_reconn_type
 	fetch 2,mem_24g_pair_count
@@ -2137,14 +2130,10 @@
 	fetch 2,mem_24g_reconn_count
 	increase 1,pdata
 	store 2,mem_24g_reconn_count
-	fetch 1,mem_24g_reconn_count+1
-	isolate1 1,pdata	// each 8 times switch
+	isolate1 9,pdata
 	fetch 1,mem_24g_reconn_type
-	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn_and_receiver
-	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn_and_3_0
-	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
 	beq PAIR_AND_3_0_ADDR,p_g24_reconn_pair_and_3_0
-	branch g24_reconn_receiver_addr
+	branch g24_reconn_device_fail+7
 
 p_g24_reconn_pair_and_3_0:
 	branch g24_reconn_device_3_0_addr,true
@@ -2154,36 +2143,48 @@
 
 
 
+p_mouse_device_poweron_led_config:
+	fetch 1,mem_mouse_1io2led_led_enable
+	branch mouse_device_poweron_timer_init,blank
+	branch p_mouse_multi_led_on_enable
 
-
+p_mouse_device_discover_led_config:
+	fetch 1,mem_mouse_1io2led_led_enable
+	branch mouse_discover_setting_led_gpio,blank
+	branch p_mouse_multi_led_blink_enable
 
 
 p_mouse_24g_pairing_complete:
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power
 	call mouse_no_data_timer_init
 	arg MOUSE_24G_PAIRING_FLAG,queue
 	call mouse_disable_function_flag
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_pairing_complete_enable_poweron_timer
-	call p_mouse_multi_led_on_enable
-	branch mouse_24g_pairing_complete_skip_poweron_timer
+	call p_mouse_device_poweron_led_config
+	branch mouse_24g_pairing_complete+3
 
 p_mouse_24g_attempt_success:
 	fetch 4,mem_24g_addr
 	store 4,mem_24g_receiver_addr
 	store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
 	call g24_ch_syncword_crc8_init
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,p_mouse_24g_attempt_success_next
-	call p_mouse_multi_led_on_enable
-	branch p_mouse_24g_attempt_success_next+1
-
-p_mouse_24g_attempt_success_next:
-	call mouse_device_poweron_timer_init
+	call p_mouse_device_poweron_led_config
 	call mouse_no_data_timer_init
-	branch mouse_24g_attempt_success
-
+	call mouse_init_sensor_reset
+	jam 0,mem_mouse_long_mult_flag
+	jam 0,mem_24g_conn_sm
+	jam 0,mem_24g_reconn_type
+	fetch 4,mem_24g_receiver_addr
+	fetch 4,mem_24g_fast_conn_addr
+	isub temp,null
+	rtn zero
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power
+	branch mouse_24g_first_store_reconn_info
 
 p_mouse_24g_attempt_fail:
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power	
 	fetch 1,mem_24g_attempt_fail_flag
 	nbranch p_mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
@@ -2204,9 +2205,7 @@
 	branch mouse_24g_reconn_dongle_start
 
 p_mouse_24g_start_auto_pair:
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_start_auto_pair
-	call p_mouse_multi_led_blink_enable
+	call p_mouse_device_discover_led_config
 	branch mouse_24g_start_auto_pair+1
 	
 p_mouse_24g_start_pair_mode:
@@ -2214,13 +2213,11 @@
 	arg MOUSE_24G_PAIRING_FLAG,queue
 	call mouse_enable_function_flag
 	setarg 0
-	store 2,mem_24g_reconn_timeout	
+	store 2,mem_24g_reconn_timeout
 	call mouse_stop_discovery
 	call mouse_low_voltage_led_blink_disable
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_start_pair_mode_enable_blink_timer
-	call p_mouse_multi_led_blink_enable
-	branch mouse_24g_start_pair_mode_skip_blink_timer
+	call p_mouse_device_discover_led_config
+	branch mouse_24g_start_pair_mode+7
 
 p_mouse_24g_auto_pair_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
@@ -2780,6 +2777,11 @@
 	rtnbit1 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 	branch mouse_le_battery_updata_timer
 
+p_mouse_le_send_conn_param_update_timer:
+	arg mem_mouse_le_send_conn_param_update_timer,regc
+	arg mouse_updata_le_param,regb
+	branch timer_single_step
+
 
 p_mouse_start_discovery:
 	fetch 2,mem_ui_state_map
@@ -2824,11 +2826,13 @@
 	isolate1 MODE_3_MOUSE,pdata
 	call check_51cmd_start_discovery,true
 	call mouse_low_voltage_led_blink_disable
-	fetch 1,mem_mouse_1io2led_led_enable
-	nbranch p_mouse_multi_led_blink_enable,blank
-	branch mouse_discover_setting_led_gpio
+	branch p_mouse_device_discover_led_config
 
 
+p_mouse_stop_discovery:
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	branch mouse_stop_discovery+1
 
 p_mouse_le_name_load:
 	fetch 8,mem_le_name_patch
@@ -2893,14 +2897,10 @@
 p_mouse_le_bb_disconnected:
 	setarg 0
 	store 2,mem_le_battery_level_updata_timer
-	jam 0,mem_mouse_le_bb_connected_flag
-	setarg LE_INTERVAL_7_5MS
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next+2
-	setarg LE_INTERVAL_8_75MS
-	branch mouse_le_bb_disconnected_next
+	store 1,mem_mouse_le_send_conn_param_update
+	store 1,mem_mouse_le_send_conn_param_update_timer
+	store 1,mem_mouse_le_bb_connected_flag	
+	branch mouse_le_bb_disconnected+7
 
 p_mouse_le_ll_start_encryt:
 	fetch 1,mem_mouse_le_reconnect_flag
@@ -2909,24 +2909,29 @@
 	branch mouse_le_ll_enable_start_enc_flag
 p_mouse_le_ll_reconn_start_encryt:
 	call mouse_updata_le_param
-	jam 5,mem_le_start_encrypt_timer
+	jam 10,mem_le_start_encrypt_timer
 	branch mouse_le_ll_enable_start_enc_flag
 
 p_mouse_le_parse_conn_param_accepted:
 	fetch 1,mem_le_new_conninterval
 	sub pdata,LE_INTERVAL_15MS,null
 	nbranch mouse_le_conn_param_lpm_disable,positive
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
 	fetch 1,mem_le_new_connslavelatency
-	branch mouse_le_lpm_mult_reinit,blank
 	fetcht 1,mem_lpm_mult_init
 	isub temp,null
 	branch mouse_le_lpm_mult_reinit,positive
 	fetch 1,mem_le_new_connslavelatency
-	store 1,mem_lpm_mult_init						// mouse_le_lpm_mult_reinit function will reinit mem_lpm_mult
+	store 1,mem_lpm_mult
 	branch mouse_le_conn_param_lpm_enable
 
+
+p_mouse_le_conn_param_update_rsp_recieved:
+	fetch 1,mem_mouse_le_send_conn_param_update
+	nrtn blank
+	jam 1,mem_mouse_le_send_conn_param_update
+	jam 30,mem_mouse_le_send_conn_param_update_timer
+	rtn
+
 endif
 
 
@@ -2991,6 +2996,24 @@
 	
 ifdef CLASSIC
 
+p_send_lmp:
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+/* lmp message to be processed. this will either be because host??? */
+/* wants to send a lmp message or because one resulted from the LMP */
+/* processing section */
+/********* outgoing lmp lookup table *************/
+	bbit1 7,send_lmp_escape
+p_send_lmp0:
+	beq LMP_DETACH,p_send_lmp_detach
+	branch send_lmp0
+
+p_send_lmp_detach:
+	call send_lmp_detach
+	jam 120,mem_conn_timer
+	rtn
 
 endif
 
Index: program_patch/24g_spec_code/patch_24g.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g.prog	(working copy)
@@ -48,9 +48,6 @@
 	call set_sync_on
 	fetcht 1,mem_24g_ch
 	call le_rf_rx_enable
-	fetch 1,core_rf_rx_agc_ctrl
-	set1 3,pdata
-	store 1,core_rf_rx_agc_ctrl
 p_g24_receive_rxon:
 	call g24_prep
 	bmark0 mark_ble_lr,p_g24_receive_nolr
@@ -100,22 +97,18 @@
 	call calc_mod_value_scale_le	
 	fetcht 1,mem_last_freq
 	call set_freq_rx
+	nop 300	
 	call rf_rx_enable
 	call p_g24_receive_rxon
-	call p_g24_end_of_packet,user3
+	call g24_end_of_packet,user3
 	rtn
 
-p_g24_end_of_packet:
-	jam 0,core_rf_ldo_en0
-	jam 0,core_rf_ldo_en1
-	branch gain_control
-
 
 p_g24_transmit_hop_process:
 	fetcht 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
 	isub temp,null
-	nbranch g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
+	nbranch p_g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
 	increase 1,temp
 	storet 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count
@@ -130,6 +123,13 @@
 	beq 15,g24_hop_ch_disable
 	rtn
 
+p_g24_tx_fast_hop:
+ifdef PW_CTRL
+	call power_ctrl_txpower_incrs
+	call power_ctrl_pac_succ_decrs
+endif	
+	branch g24_ch
+
 
 p_g24_dispatch:
 	bmark1 mark_24g_rxmode,g24_receive_dispatch
@@ -142,6 +142,21 @@
 	branch g24_transmit_dispatch+2
 
 
+p_mouse_24g_fast_conn_mode_check:
+	fetch 4,mem_24g_receiver_addr
+	fetcht 4,mem_24g_fast_conn_addr
+	isub temp,null
+	branch p_mouse_soft_agc_enable,zero
+	branch p_mouse_soft_agc_disable
+
+p_mouse_soft_agc_enable:
+	jam 0,mem_gain_fix
+	jam TX_POWER_F17DB,mem_tx_power
+	rtn
+p_mouse_soft_agc_disable:
+	jam 0xff,mem_gain_fix
+	rtn
+
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch p_g24_nodata_transmit,user
@@ -150,6 +165,7 @@
 ifdef PW_CTRL
 	call power_ctrl_start
 endif
+	call p_mouse_24g_fast_conn_mode_check
 	fetch 1,mem_sensor_shutdown_flag
 	nbranch p_g24_short_sleep,blank
 	fetch 8,mem_24g_long_sleep_set
@@ -169,6 +185,12 @@
 
 	fetch 4,mem_tx_time_last_delt
 	branch p_g24_short_sleep_default,blank
+p_g24_short_sleep_last_miss:
+	fetcht 4,mem_sleep_miss_temp
+	isolate1 31,temp
+	branch p_sub_miss_temp,true
+	fetch 4,mem_tx_time_last_delt
+	iadd temp,pdata	
 p_g24_short_sleep_notify:
 	fetcht 4,mem_24g_tsniff
 	isub temp,temp
@@ -181,13 +203,17 @@
 	isub temp,null
 	nbranch p_g24_short_sleep_2,positive
 p_g24_short_sleep2:
-	store 4,mem_sleep_time_temp
-	call p_g24_miss_temp_clear
-	fetch 4,mem_sleep_time_temp
 	call clk2lpo
 	storet 4,mem_sleep_counter
 	branch p_lpm_short_sleep
 
+p_sub_miss_temp:
+	arg -1,pdata
+	isub temp,regext
+	fetch 4,mem_tx_time_last_delt
+	isub  regext,pdata	
+	branch p_g24_short_sleep_notify
+
 p_g24_short_sleep_default:
 	call p_g24_miss_temp_clear
 	fetch 3,mem_24g_short_sleep_set
@@ -204,19 +230,15 @@
 	store 4,mem_sleep_miss_temp
 	rtn
 	
-p_g24_short_sleep_last_miss:
-	fetch 4,mem_tx_time_last_delt
-	fetcht 4,mem_sleep_miss_temp
-	iadd temp,pdata
-	branch p_g24_short_sleep_notify
+
 	
 p_g24_short_sleep_2:
 	jam 1,mem_sleep_miss
 	rtn
 
 p_g24_transmit_process:
-	jam 0,mem_24g_retry
 	setarg 0
+	store 1,mem_24g_retry	
 	store 2,mem_retransmit
 p_g24_transmit_loop:
 	call p_g24_transmit_receive_ack
@@ -225,7 +247,7 @@
 	nbranch p_g24_retransmit,sync
 	nbranch p_g24_retransmit,user3
 	call p_send_time_check
-	call g24_ackpayload_parse		
+	call g24_ackpayload_parse	
 ifdef G24_OTA
 	call p_g24_mouse_parse_rx
 endif
@@ -244,11 +266,9 @@
 	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 p_mouse_wheel_set_wakeup:
 	fetch 1,mem_whee_a_data_gpio
-	arg gpcfg_pullup,temp
- 	call gpio_config_function_int
+ 	call mouse_gpio_config_input_pu
 	fetch 1,mem_whee_b_data_gpio
-	arg gpcfg_pullup,temp
- 	branch gpio_config_function_int
+ 	branch mouse_gpio_config_input_pu
 
 p_g24_nodata_transmit:
 	fetch 1,mem_24g_abort_pac
@@ -261,6 +281,7 @@
 	nrtn user
 	call g24_setgpio_lpm_before
 	jam 0,mem_sleep_miss
+	jam 1,mem_long_sleep_flag
 	call p_send_time_long_wake
 	fetch 1,mem_sensor_shutdown_flag
 	ncall mouse_setgpio_hibernate,blank
@@ -313,7 +334,13 @@
 	nrtn blank
 	fetch 2,mem_retransmit
 	nrtn blank
+	fetch 4,mem_sleep_miss_temp
+	nrtn blank
 	fetch 4,mem_tx_time_last_delt
+	fetcht 4,mem_24g_tsniff
+	lshift temp,temp
+	isub temp,null
+	branch p_send_time_long_wake,positive
 	fetcht 5,mem_tx_time_sum
 	iadd temp,pdata
 	store 5,mem_tx_time_sum	
@@ -338,7 +365,6 @@
 	fetch 4,mem_24g_tsniff
 	fetcht 1,mem_tx_time_offset
 	isub temp,temp
-	increase -40,temp
 
 	copy rega,pdata
 	isub temp,pdata
@@ -348,13 +374,13 @@
 	rshift2 pdata,pdata
 	fetcht 3,mem_24g_short_sleep_set
 	iadd temp,temp
-/*
+
 	fetch 3,mem_24g_short_sleep_set_init
 	arg 0x1800,rega
 	iadd rega,pdata
 	isub temp,null
 	nbranch p_send_time_check_average_min,positive
-*/
+
 	storet 3,mem_24g_short_sleep_set
 	rtn
 
@@ -362,13 +388,13 @@
 	rshift2 pdata,temp
 	fetch 3,mem_24g_short_sleep_set
 	isub temp,temp
-/*
+
 	fetch 3,mem_24g_short_sleep_set_init
 	arg 0x1800,rega
 	isub rega,pdata
 	isub temp,null
 	branch p_send_time_check_average_min,positive
-*/
+
 	storet 3,mem_24g_short_sleep_set
 	rtn
 p_send_time_check_average_min:
@@ -391,10 +417,6 @@
 
 
 
-
-
-
-
 p_g24_pair_dispatch:
 	jam DEFAULT_24G_DEVICE,mem_24g_reconn_type
 	fetch 2,mem_24g_pair_count
@@ -492,14 +514,10 @@
 	fetch 2,mem_24g_reconn_count
 	increase 1,pdata
 	store 2,mem_24g_reconn_count
-	fetch 1,mem_24g_reconn_count+1
-	isolate1 1,pdata	// each 8 times switch
+	isolate1 9,pdata
 	fetch 1,mem_24g_reconn_type
-	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn_and_receiver
-	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn_and_3_0
-	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
 	beq PAIR_AND_3_0_ADDR,p_g24_reconn_pair_and_3_0
-	branch g24_reconn_receiver_addr
+	branch g24_reconn_device_fail+7
 
 p_g24_reconn_pair_and_3_0:
 	branch g24_reconn_device_3_0_addr,true
@@ -507,8 +525,3 @@
 
 
 
-
-
-
-
-
Index: program_patch/24g_spec_code/patch_24g_event_deal.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g_event_deal.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g_event_deal.prog	(working copy)
@@ -1,30 +1,47 @@
 
+
+p_mouse_device_poweron_led_config:
+	fetch 1,mem_mouse_1io2led_led_enable
+	branch mouse_device_poweron_timer_init,blank
+	branch p_mouse_multi_led_on_enable
+
+p_mouse_device_discover_led_config:
+	fetch 1,mem_mouse_1io2led_led_enable
+	branch mouse_discover_setting_led_gpio,blank
+	branch p_mouse_multi_led_blink_enable
+
+
 p_mouse_24g_pairing_complete:
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power
 	call mouse_no_data_timer_init
 	arg MOUSE_24G_PAIRING_FLAG,queue
 	call mouse_disable_function_flag
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_pairing_complete_enable_poweron_timer
-	call p_mouse_multi_led_on_enable
-	branch mouse_24g_pairing_complete_skip_poweron_timer
+	call p_mouse_device_poweron_led_config
+	branch mouse_24g_pairing_complete+3
 
 p_mouse_24g_attempt_success:
 	fetch 4,mem_24g_addr
 	store 4,mem_24g_receiver_addr
 	store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
 	call g24_ch_syncword_crc8_init
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,p_mouse_24g_attempt_success_next
-	call p_mouse_multi_led_on_enable
-	branch p_mouse_24g_attempt_success_next+1
-
-p_mouse_24g_attempt_success_next:
-	call mouse_device_poweron_timer_init
+	call p_mouse_device_poweron_led_config
 	call mouse_no_data_timer_init
-	branch mouse_24g_attempt_success
-
+	call mouse_init_sensor_reset
+	jam 0,mem_mouse_long_mult_flag
+	jam 0,mem_24g_conn_sm
+	jam 0,mem_24g_reconn_type
+	fetch 4,mem_24g_receiver_addr
+	fetch 4,mem_24g_fast_conn_addr
+	isub temp,null
+	rtn zero
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power
+	branch mouse_24g_first_store_reconn_info
 
 p_mouse_24g_attempt_fail:
+	call p_mouse_soft_agc_disable
+	call p_mouse_fetch_normal_tx_power	
 	fetch 1,mem_24g_attempt_fail_flag
 	nbranch p_mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
@@ -45,9 +62,7 @@
 	branch mouse_24g_reconn_dongle_start
 
 p_mouse_24g_start_auto_pair:
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_start_auto_pair
-	call p_mouse_multi_led_blink_enable
+	call p_mouse_device_discover_led_config
 	branch mouse_24g_start_auto_pair+1
 	
 p_mouse_24g_start_pair_mode:
@@ -55,13 +70,11 @@
 	arg MOUSE_24G_PAIRING_FLAG,queue
 	call mouse_enable_function_flag
 	setarg 0
-	store 2,mem_24g_reconn_timeout	
+	store 2,mem_24g_reconn_timeout
 	call mouse_stop_discovery
 	call mouse_low_voltage_led_blink_disable
-	fetch 1,mem_mouse_1io2led_led_enable
-	beq 0,mouse_24g_start_pair_mode_enable_blink_timer
-	call p_mouse_multi_led_blink_enable
-	branch mouse_24g_start_pair_mode_skip_blink_timer
+	call p_mouse_device_discover_led_config
+	branch mouse_24g_start_pair_mode+7
 
 p_mouse_24g_auto_pair_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
Index: program_patch/ble_spec_code/patch_ble.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble.prog	(working copy)
@@ -6,6 +6,11 @@
 	rtnbit1 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
 	branch mouse_le_battery_updata_timer
 
+p_mouse_le_send_conn_param_update_timer:
+	arg mem_mouse_le_send_conn_param_update_timer,regc
+	arg mouse_updata_le_param,regb
+	branch timer_single_step
+
 
 p_mouse_start_discovery:
 	fetch 2,mem_ui_state_map
@@ -50,11 +55,13 @@
 	isolate1 MODE_3_MOUSE,pdata
 	call check_51cmd_start_discovery,true
 	call mouse_low_voltage_led_blink_disable
-	fetch 1,mem_mouse_1io2led_led_enable
-	nbranch p_mouse_multi_led_blink_enable,blank
-	branch mouse_discover_setting_led_gpio
+	branch p_mouse_device_discover_led_config
 
 
+p_mouse_stop_discovery:
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	branch mouse_stop_discovery+1
 
 p_mouse_le_name_load:
 	fetch 8,mem_le_name_patch
Index: program_patch/ble_spec_code/patch_ble_event_deal.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble_event_deal.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble_event_deal.prog	(working copy)
@@ -9,14 +9,10 @@
 p_mouse_le_bb_disconnected:
 	setarg 0
 	store 2,mem_le_battery_level_updata_timer
-	jam 0,mem_mouse_le_bb_connected_flag
-	setarg LE_INTERVAL_7_5MS
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next+2
-	setarg LE_INTERVAL_8_75MS
-	branch mouse_le_bb_disconnected_next
+	store 1,mem_mouse_le_send_conn_param_update
+	store 1,mem_mouse_le_send_conn_param_update_timer
+	store 1,mem_mouse_le_bb_connected_flag	
+	branch mouse_le_bb_disconnected+7
 
 p_mouse_le_ll_start_encryt:
 	fetch 1,mem_mouse_le_reconnect_flag
@@ -25,24 +21,29 @@
 	branch mouse_le_ll_enable_start_enc_flag
 p_mouse_le_ll_reconn_start_encryt:
 	call mouse_updata_le_param
-	jam 5,mem_le_start_encrypt_timer
+	jam 10,mem_le_start_encrypt_timer
 	branch mouse_le_ll_enable_start_enc_flag
 
 p_mouse_le_parse_conn_param_accepted:
 	fetch 1,mem_le_new_conninterval
 	sub pdata,LE_INTERVAL_15MS,null
 	nbranch mouse_le_conn_param_lpm_disable,positive
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
 	fetch 1,mem_le_new_connslavelatency
-	branch mouse_le_lpm_mult_reinit,blank
 	fetcht 1,mem_lpm_mult_init
 	isub temp,null
 	branch mouse_le_lpm_mult_reinit,positive
 	fetch 1,mem_le_new_connslavelatency
-	store 1,mem_lpm_mult_init						// mouse_le_lpm_mult_reinit function will reinit mem_lpm_mult
+	store 1,mem_lpm_mult
 	branch mouse_le_conn_param_lpm_enable
 
+
+p_mouse_le_conn_param_update_rsp_recieved:
+	fetch 1,mem_mouse_le_send_conn_param_update
+	nrtn blank
+	jam 1,mem_mouse_le_send_conn_param_update
+	jam 30,mem_mouse_le_send_conn_param_update_timer
+	rtn
+
 endif
 
 
Index: program_patch/bt_spec_code/patch_bt.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/bt_spec_code/patch_bt.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/bt_spec_code/patch_bt.prog	(working copy)
@@ -1,5 +1,23 @@
 ifdef CLASSIC
 
+p_send_lmp:
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+/* lmp message to be processed. this will either be because host??? */
+/* wants to send a lmp message or because one resulted from the LMP */
+/* processing section */
+/********* outgoing lmp lookup table *************/
+	bbit1 7,send_lmp_escape
+p_send_lmp0:
+	beq LMP_DETACH,p_send_lmp_detach
+	branch send_lmp0
+
+p_send_lmp_detach:
+	call send_lmp_detach
+	jam 120,mem_conn_timer
+	rtn
 
 endif
 
Index: program_patch/main_patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/main_patch.prog	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/main_patch.prog	(working copy)
@@ -5,16 +5,18 @@
 //define FCC
 //define FIRE_KEY
 //define UART_LOG
+//define RSSI_PATCH
+//define RSSI_SORT
 define SELECT_ANGLE
+define DISABLE_24G_LED
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
+	beq patch10_2,p_shutdown_radio
 	beq patch10_3,p_set_sync_on
-	beq patch10_4,p_set_freq_rx
-	beq patch10_5,p_rf_rx_enable
 	beq patch11_2,p_txon_next
 	beq patch11_3,p_initialize_radio_cont
-	beq patch11_4,p_save_rssi
+//	beq patch11_4,p_save_rssi	/**RSSI PATCH**/
 	beq patch15_6,p_app_init
 	beq patch18_3,p_mouse_start_work
 	beq patch18_4,p_mouse_start_reconnect_device
@@ -33,6 +35,7 @@
 	beq patch1c_1,p_mouse_led_off
 	beq patch1c_2,p_mouse_led_on
 	beq patch1b_2,p_mouse_start_discovery	/**BLE PATCH**/
+	beq patch1b_3,p_mouse_stop_discovery	/**BT PATCH,APPLY TO 3.0/4.0**/
 	beq patch13_7,p_init_param				/**CLASSIC PATCH**/
 	beq patch1d_0,p_hid_rx_process			/**CLASSIC PATCH**/
 	branch loop
@@ -50,36 +53,25 @@
 	beq patch3d_2,p_g24_transmit_no_interrupt
 	beq patch3d_4,p_g24_lpm_wait
 //	beq patch3d_5,p_power_ctrl_start
+	beq patch23_2,p_send_lmp		/**CLASSIC PATCH**/
 	beq patch34_1,p_le_slave_match	/**BLE PATCH**/
 	beq patch34_3,p_le_slave_unsync	/**BLE PATCH**/
 	beq patch38_0,p_le_parse_l2cap	/**BLE PATCH**/
 	branch loop
 
 
-
-
-
-
 p_app_init:
-	set0 mark_adc_enable,mark
-ifdef G24_OTA
-	ncall p_g24_load_ota_config_poweron,wake
-endif
-ifdef BLE
-	ncall p_mouse_le_name_load,wake
+ifdef UART_LOG
+	call p_device_hardware_init
 endif
+	set0 mark_adc_enable,mark
 	call enable_authrom
 	call p_mouse_setting_config
+ifdef DISABLE_24G_LED
 	ncall p_mouse_judge_current_mode,wake
-	call mouse_init_sunt
-ifdef UART_LOG
-	call p_device_hardware_init
 endif
+	call mouse_init_sunt
 	rtn wake
-	call p_g24_report
-	fetch 3,mem_24g_short_sleep_set
-	store 3,mem_24g_short_sleep_set_init
-	call p_send_time_long_wake
 	call mouse_dpi_config
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
@@ -89,30 +81,55 @@
 
 p_mouse_setting_config:
 	rtn wake
+/**************************************pay attention***********************************************/	
+	//before 24g param init
+ifdef G24_OTA
+	call p_g24_load_ota_config_poweron
+endif
+/**************************************pay attention***********************************************/
 	call g24_transmit_init
 	arg 0x358,temp
 	storet 2,mem_24g_rx_window
 	call g24_chmap_param_init
-	call p_mouse_gpio_init
+	call p_send_time_long_wake
+	call mouse_gpio_init
+/**************************************pay attention***********************************************/
+	//before mouse_param_init
+ifdef BLE
+	call p_mouse_le_name_load
+endif
 ifdef FCC
 	call mouse_key_check_once
 	and rega,0x07,pdata
 	beq MOUSE_LMR_BUTTON,p_fcc_mode_start
 endif
 	call mouse_param_init
-ifdef SELECT_ANGLE	
+	//after mouse_param_init
+ifdef SELECT_ANGLE
 	call p_mouse_select_angle
 endif
+	call p_mouse_g24_report_setting
+/**************************************pay attention***********************************************/
+	call p_mouse_logo_led_off
+	call p_mouse_1io2led_all_off
+	call p_mouse_device_multi_led_poweron2s_init
 ifdef FIRE_KEY
 	call p_mouse_firebutton_connect_state_check
 endif
-	call p_mouse_device_multi_led_poweron2s_init
 	call p_mouse_double_dpi_judge
-	call p_g24_short_sleep_set_8ms
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_24G_250Hz,mouse_setting_config_next
-	call p_g24_short_sleep_set_4ms
-	branch mouse_setting_config_next
+	call p_mouse_store_normal_tx_power
+	branch mouse_setting_config+5
+
+
+p_mouse_store_normal_tx_power:
+	fetch 1,mem_tx_power
+	store 1,mem_normal_tx_power
+	rtn
+
+p_mouse_fetch_normal_tx_power:
+	fetch 1,mem_normal_tx_power
+	store 1,mem_tx_power
+	rtn
 
 ifdef SELECT_ANGLE	
 p_mouse_select_angle:
@@ -146,6 +163,9 @@
 	rtn
 endif
 
+ifdef DISABLE_24G_LED
+//if 24g led  and MOUSE_ENABLE_POWER_ON_LED disable, toggle bt adv mode,led no blink,
+//so bt mode MOUSE_ENABLE_POWER_ON_LED set1
 p_mouse_judge_current_mode:
 	fetch 1,mem_device_flag
 	branch p_mouse_current_24g_mode,blank
@@ -161,11 +181,7 @@
 	set0 MOUSE_ENABLE_POWER_ON_LED,pdata
 	store MOUSE_FLAG_LEN,mem_mouse_flag
 	rtn
-
-p_mouse_gpio_init:
-	fetch 1,mem_mouse_1io2led_led_enable
-	ncall p_mouse_1io2led_all_off,blank
-	branch mouse_gpio_init
+endif
 
 p_mouse_cb_fuction:
 	setarg p_mouse_24g_package_data
@@ -224,9 +240,10 @@
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 ifdef BLE
 	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
-	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
 	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
 	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved	
 endif
 ifdef CLASSIC
 	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
@@ -251,7 +268,10 @@
 	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,p_mouse_24g_reconn_general_dongle
 	call mouse_key_check_once		// pdata output:00
 	and rega,0x07,pdata
-	branch mouse_24g_start_mode+9
+	fetcht 1,mem_mouse_commbination_key_24g
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch p_mouse_24g_reconn_general_dongle
 	
 p_mouse_24g_reconn_dongle_start:
 	fetch 1,mem_mouse_1io2led_led_enable
@@ -297,8 +317,7 @@
 	fetcht 1,mem_matrix_public_gpio
 	call gpio_clr_wake
 	fetch 1,mem_mouse_sensor_sdio_gpio
-	arg gpcfg_output_high,temp
-	call gpio_config_function_int
+	call p_mouse_gpio_config_output_high
 	arg 3,temp
 	call mouse_gpio_config_input_pu
 	call mouse_lpm_before_common
@@ -367,11 +386,15 @@
 	call gpio_clr_wake
 		
 	fetch 1,mem_whee_a_data_gpio
-	arg gpcfg_pulldown,temp
-	call gpio_config_function_int
+	call mouse_gpio_config_input_pd
 	fetch 1,mem_whee_b_data_gpio
-	arg gpcfg_pulldown,temp
-	branch gpio_config_function_int
+	branch mouse_gpio_config_input_pd
+
+p_mouse_short_sleep_clear_wake:
+	call clear_wake
+	branch lpm_write_gpio_wakeup
+	
+	
 
 p_mouse_lpm_before_common:
 	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
@@ -381,9 +404,9 @@
 	
 	call mouse_wheel_check
 	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
-	arg gpcfg_output_high,temp
- 	call gpio_config_function_int
-	branch mouse_lpm_before_common_next
+	call p_mouse_gpio_config_output_high
+
+	branch mouse_lpm_before_common+4
 
 //////////////////////////////LPM FUNC END////////////////////////////////////////
 
@@ -418,6 +441,7 @@
 	call mouse_le_enable_att_list_timer
 	call p_mouse_le_battery_updata_timer
 	call mouse_le_send_smp_security_request_timer
+	call p_mouse_le_send_conn_param_update_timer	
 endif
 ifdef CLASSIC
 	//bt
@@ -437,9 +461,7 @@
 p_mouse_store_device_info_check:
 	call mouse_store_device_info
 	fetch 1,mem_mouse_need_soft_reset
-	nbranch p_mouse_soft_reset,blank
-	rtn
-
+	rtn blank
 p_mouse_soft_reset:
 	call p_enable_rc_clock
 	branch mouse_soft_reset
@@ -521,13 +543,16 @@
 
 p_mouse_device_24g_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_24gled
+p_gpio_set_high_impedance:
+	sub temp,GPIO_DISABLE,null
+	rtn zero
 	branch gpio_set_high_impedance
 p_mouse_device_bt1_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_bt1led
-	branch gpio_set_high_impedance
+	branch p_gpio_set_high_impedance
 p_mouse_device_bt2_led_off:
 	fetcht 1,mem_mouse_1io2led_multi_bt2led
-	branch gpio_set_high_impedance
+	branch p_gpio_set_high_impedance
 
 p_mouse_1io2led_all_off:
 	call p_mouse_device_24g_led_off
@@ -549,7 +574,7 @@
 p_mouse_logo_led_off:
 	fetcht 1,mem_mouse_logo_led_gpio
 	fetch 1,mem_mouse_1io2led_led_enable
-	beq 1,gpio_set_high_impedance
+	beq 1,p_gpio_set_high_impedance
 	branch gpio_out_inactive
 p_mouse_logo_led_on:
 	fetcht 1,mem_mouse_logo_led_gpio
@@ -755,13 +780,15 @@
 
 //input:pdata gpio number
 p_mouse_gpio_config_output_high:
+	rtneq GPIO_DISABLE
 	arg gpcfg_output_high,temp
 	branch gpio_config_function_int
 		
 //input:pdata gpio number
 p_mouse_gpio_config_output_low:
+	rtneq GPIO_DISABLE
 	arg gpcfg_output_low,temp
-	branch gpio_config_function_int	
+	branch gpio_config_function_int
 
 
 p_mouse_dpi_check:
@@ -1142,31 +1169,24 @@
 
 //////////////////////////////24G FUNC////////////////////////////////////////
 
-p_g24_report:
-	setarg 0x17700
-	store 3,mem_24g_tsniff
-	call g24_interval_param_8ms
-	jam 30,mem_24g_fast_hop_count
-//	setarg 73500
-//	store 3,mem_24g_short_sleep_set
+p_mouse_g24_report_setting:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	rtnbit0 MOUSE_ENABLE_24G_250Hz
-	call g24_interval_param_4ms
-	jam 15,mem_24g_fast_hop_count
+	bbit0 MOUSE_ENABLE_24G_250Hz,p_mouse_g24_report_125hz
+p_mouse_g24_report_250hz:
 	setarg 0xbb80
 	store 3,mem_24g_tsniff
-	setarg 0x4800
-	store 3,mem_24g_short_sleep_set
-	rtn
-
-
-p_g24_short_sleep_set_8ms:
-	setarg 58000
+	setarg 0x6c10
 	store 3,mem_24g_short_sleep_set
+	store 3,mem_24g_short_sleep_set_init
+	jam 15,mem_24g_fast_hop_count
 	rtn
-p_g24_short_sleep_set_4ms:
-	setarg 6000
+p_mouse_g24_report_125hz:
+	setarg 0x17700
+	store 3,mem_24g_tsniff
+	setarg 0x10b60
 	store 3,mem_24g_short_sleep_set
+	store 3,mem_24g_short_sleep_set_init
+	jam 30,mem_24g_fast_hop_count
 	rtn
 
 
@@ -1178,6 +1198,9 @@
 endif
 	call mouse_motion
 	nrtn user
+	fetch 1,mem_long_sleep_flag
+	jam 0,mem_long_sleep_flag
+	ncall p_mouse_short_sleep_clear_wake,blank
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_KEYBOARD,p_mouse_24g_mouse_package_data
 	fetch 1,mem_customer_key
@@ -1261,24 +1284,19 @@
 	fetch 2,mem_ui_state_map
 	rtnbit1 UI_STATE_BLE_ADV
 	rtnbit1 UI_STATE_BT_RECONNECT
-	rtnbit1 UI_STATE_BT_DISCOVERY	
-	call p_rssi_sort	
+	rtnbit1 UI_STATE_BT_DISCOVERY
+ifdef RSSI_SORT
+	call p_rssi_sort	//affects bluetooth timing
 	call p_rssi_average
+else
+	fetchr rega,2,mem_rssi_signal_buf_ptr
+	call rssi_average
+endif
 	storet 1,mem_rssi_avg_received
-	call p_g24_fast_conn_mode_check
-	fetch 1,mem_soft_agc_en
-	nrtn blank
-	fetcht 1,mem_rssi_avg_received
 	branch power_ctrl_rssi_avg_compare
 
-p_g24_fast_conn_mode_check:
-	rtnmark0 mark_24g
-	fetch 4,mem_24g_receiver_addr
-	fetcht 4,mem_24g_fast_conn_addr
-	isub temp,null
-	branch p_soft_agc_en_true,zero
-	branch p_soft_agc_en_false
-	
+
+ifdef RSSI_SORT
 p_rssi_average:
 	arg mem_mouse_rssi_signal_buf_temp+6,rega
 	arg 10,pdata
@@ -1322,6 +1340,8 @@
 	istoret 1,contw
 	istore 1,contw
 	rtn
+endif
+	
 
 endif
 
Index: program_patch/patch_chip_common_bugfix.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/patch_chip_common_bugfix.prog	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/patch_chip_common_bugfix.prog	(working copy)
@@ -78,7 +78,7 @@
 	setarg 0
 	store 3,core_clkpll_ctrl0// close pll
 p_lpm_short_sleep_skip_pll_set:
-	jam 140,mem_tx_time_offset
+	jam 250,mem_tx_time_offset
 	call xtal_fast_wake
 	fetch 4,mem_sleep_counter_all
 	iadd temp,pdata
@@ -114,6 +114,16 @@
 	branch initialize_radio_cont+8
 
 
+p_shutdown_radio:
+	fetch 1,mem_gain_fix	//filter gain_control
+	store 1,mem_temp
+	call shutdown_radio+1
+	jam 0,core_rf_ldo_en0	//RFPLL vco_LDO disable
+	fetch 1,mem_temp
+	store 1,mem_gain_fix
+	rtn
+
+
 p_set_sync_on:
 	jam 0x5,modem_en
 	nop 2
@@ -125,77 +135,20 @@
 	branch set_sync_on_16m
 
 
-p_set_freq_rx:
-	call set_freq_rx+1
-	setarg 0x7676
-	store 2,0x8968
-	rtn
-
-
-p_rf_rx_enable:
-	fetch 1,mem_device_flag
-	bne MODE_24G_DEVICE,rf_rx_enable+1
-
-	fetch 1,mem_soft_agc_en
-	nbranch p_rf_rx_enable_soft_agc,blank
-	nop 300
-	call rf_debug_rx_gpio_high
-	arg mem_gain_table,contr
-	iadd contr,contr
-	ifetch 1,contr
-	store 1,core_rf_rx_gain_fix
-	jam 0x2e,core_rf_rx_agc_ctrl
-	branch rf_rx_enable_no_soft_agc_next
-	
-p_rf_rx_enable_soft_agc:
-	fetch 1,core_rf_rx_agc_ctrl
-	or pdata,0x01,pdata					//disable agc		
-	store 1,core_rf_rx_agc_ctrl
-	jam 0x04,core_rf_rx_gain_fix		//set agc level
-	branch rf_rx_enable_no_soft_agc_next
-
-p_soft_agc_en_false:
-	jam 0,mem_soft_agc_en
-	rtn
-p_soft_agc_en_true:
-	jam 1,mem_soft_agc_en
-	rtn
-
-
 p_txon_next:
-	fetch 1,mem_soft_agc_en
-	nbranch p_set_tx_power_f17db,blank
-	branch set_tx_power_10db
-	//fetch 1,mem_tx_power
-	//beq TX_POWER_F30DB,p_set_tx_power_f30db
-	//beq TX_POWER_F40DB,p_set_tx_power_f40db
-	//beq TX_POWER_F50DB,p_set_tx_power_f50db
-	//beq TX_POWER_F60DB,p_set_tx_power_f60db
-	//branch txon_next+1
-/*
-p_set_tx_power_f30db:
-	jam 0x4c,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f40db:
-	jam 0x45,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f50db:
-	jam 0x42,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-p_set_tx_power_f60db:
-	jam 0x41,core_tx_pwr_ctrl0
-	jam 0x00,core_tx_pwr_ctrl1
-	branch set_rf_ldo_cfg89
-*/
-p_set_tx_power_f17db:	//F17dbm
+	fetch 1,mem_tx_power
+	beq TX_POWER_F17DB,p_set_tx_power_f17db	//fast conn
+	beq TX_POWER_F20DB,set_tx_power_f20db	//pair mode
+	branch set_tx_power_10db	//others
+
+p_set_tx_power_f17db:
 	jam 0x5b,core_tx_pwr_ctrl0
 	jam 0x01,core_tx_pwr_ctrl1
 	branch set_rf_ldo_cfg89
 
 
+ifdef RSSI_PATCH
+
 p_save_rssi:
 	// bit6 is signed bit. 
 	fetch 1,modem_nb_pow 
@@ -229,6 +182,7 @@
 	ior temp,pdata
 	rtn
 
+endif
 
 
 p_adc_init_data:
@@ -277,9 +231,6 @@
 
 
 
-
-
-
 ifdef CLASSIC
 
 p_init_param:
Index: sched/ble.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/ble.dat	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/ble.dat	(working copy)
@@ -28,8 +28,8 @@
 'BT5.2 Mouse
 
 mem_le_interval_min:
-07 00 #min interval
-07 00 #max interval
+06 00 #min interval
+09 00 #max interval
 20 00 #latency
 2c 01 #timeout
 
@@ -43,7 +43,7 @@
 mem_le_adv_channel_map:07 
 mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
 
-mem_le_lap:8e b1 3b 0e 8e ef
+mem_le_lap:8e b1 3b 0e 8e ed
 
 
 mem_le_keyboard_handle:15 00
Index: sched/common.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/common.dat	(revision 1399)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/common.dat	(working copy)
@@ -2,7 +2,7 @@
 mem_lpm_xtalcnt:38
 mem_fcomp_div:18
 
-mem_tx_power:01#3dbm
+mem_tx_power:0a#10dbm
 mem_rf_init_data:ff
 mem_rf_init_ptr:mem_rf_init_data
 
@@ -12,7 +12,8 @@
 
 mem_dig_aon_vsel:00
 mem_gain_fix:ff
-mem_gain_second_agc_en:00
+mem_gain_table:04 00 00
+mem_gain_second_agc_en:08	#00-disbale,08-enable
 
 mem_spi_ncs_gpio:ff
 
@@ -21,3 +22,8 @@
 #mem_lpm_mult_init:20
 
 
+#mem_rf_debug_rx_gpio:8b
+#mem_rf_debug_tx_gpio:8c
+
+
+
Index: sched/g24.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/g24.dat	(revision 1418)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/g24.dat	(working copy)
@@ -1,5 +1,5 @@
 #24g init
-mem_lap:16 a2 c8 62 23 51
+mem_lap:16 a2 c7 62 23 51
 mem_24g_tx_phy:02#0x01:1M/0x02:2M/0x04:S2/0x84:S8
 mem_24g_rx_phy:02#0x01:1M/0x02:2M/0x04:S2/0x84:S8
 mem_24g_data_type:01        #mouse 1,kb 2
