Index: format/app_mouse.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/app_mouse.format	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/app_mouse.format	(working copy)
@@ -283,6 +283,9 @@
 1 mem_mouse_dpikey_press_status
 
 2 mem_firmware_version
+
+1 mem_mouse_data_xtemp
+1 mem_mouse_data_ytemp
 )
 
 (
Index: format/app_usb.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/app_usb.format	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/app_usb.format	(working copy)
@@ -185,6 +185,7 @@
 (
 0x01 BIND_ACKPAYLOAD
 0x08 BIND_ACKPAYLOAD_LENGTH
+0x07 BIND_ACKPAYLOAD_LENGTH_YC1131
 0x02 USER_ACKPAYLOAD
 0x1F USER_ACKPAYLOAD_LENGTH
 
Index: format/utility.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/utility.format	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/format/utility.format	(working copy)
@@ -149,8 +149,7 @@
 2 mem_data_pre
 2 mem_data_current
 3 mem_data_sum
-1 mem_data_value
-1 mem_data_value_temp
+2 mem_data_value
 
 ifdef DEBUGLOG
 1   mem_debuglog_temp
@@ -162,6 +161,43 @@
 8	mem_debuglog_pdata
 endif
 
+ifdef TEST_MODE
+0 mem_test_mode_start
+0 mem_fcc_param_new
+1 mem_fcc_ch_new
+1 mem_fcc_mod_new
+1 mem_fcc_txrx_new
+1 mem_fcc_btble_new
+1 mem_fcc_data_new
+1 mem_fcc_data_length_new
+1 mem_fcc_hop_new
+	
+0 mem_fcc_param
+1 mem_fcc_ch
+1 mem_fcc_mod
+1 mem_fcc_txrx
+1 mem_fcc_btble
+1 mem_fcc_data
+1 mem_fcc_data_length
+1 mem_fcc_hop
+
+1 mem_random_ch
+256 mem_pn9
+
+1 mem_test_mode_switch
+1 mem_test_mode_switch_enable
+1 mem_test_ch_switch
+1 mem_test_ch_switch_incre_enable
+1 mem_test_ch_switch_decre_enable
+0 mem_test_mode_end
+endif
+)
+
+(
+1 TEST_MODE_CARRY
+2 TEST_MODE_CARRY_DATA
+3 TEST_MODE_RX
+4 TEST_MODE_MAX_COUNT
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/eeprom.dat	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/eeprom.dat	(working copy)
@@ -2,136 +2,80 @@
 02
 aa
 55
-e6
-1c
+72
+1d
 c2
 84
 00
-13
+0f
 c0
 00
 00
-20
+12
 c0
 00
 80
-23
+15
 c0
 01
 00
-2b
+1d
 c0
 42
-85
-a9
+84
+c3
 c0
 44
-85
-66
+84
+96
 c0
 45
-05
-ab
-c0
-50
-80
-34
+04
+c5
 c0
-58
-80
-39
+53
+84
+c8
 c0
 59
 00
-47
+26
 c0
 62
-01
-15
+00
+f4
 c0
 64
 81
-bd
+73
 c0
 65
 01
-c1
+77
 c0
 71
-83
-4f
+82
+c0
 c0
 73
 02
-9c
-c0
-75
-03
-7d
-c0
-75
-83
-8a
-c0
-76
-03
-b3
+0e
 20
 20
 2a
 8e
 c0
 1f
-83
-b7
+82
+ee
 c0
 46
-03
-c2
+02
+f9
 20
 20
 2a
 8e
-1f
-e2
-22
-00
-68
-08
-cc
-d1
-58
-00
-4c
-d8
-98
-40
-8a
-00
-1a
-22
-7e
-00
-e0
-a0
-80
-00
-18
-40
-84
-01
-18
-41
-04
-07
-60
-08
-cc
-d1
-20
-60
-00
-00
 68
 10
 81
@@ -207,87 +151,11 @@
 20
 3a
 00
-2e
-20
-20
-20
-12
-58
-00
-0a
-06
-60
-01
-c5
-10
-58
-00
-1d
-87
-60
-01
-45
-13
-20
 20
-2a
-a2
-c6
-13
-00
-00
-68
-00
-cb
-15
-24
-3a
-7f
-ef
-68
-00
-cb
-0f
-24
-3a
-7f
-ef
-68
-00
-c7
-a2
 20
-3a
-7f
-ef
-68
-00
-c7
-ca
-c0
-00
-ff
-ef
-68
-01
-42
-48
-24
-3a
-7f
-ef
-68
-00
-c8
-0c
-24
-3a
-7f
-ef
 20
 20
-7f
-f1
+12
 c6
 93
 00
@@ -295,67 +163,79 @@
 68
 00
 cd
-62
+64
 c2
 80
 80
-5a
+3c
 c2
 81
 00
-76
+5c
 68
 00
 cd
-56
+58
 c0
 00
 80
-8c
+6a
 20
 40
-04
-29
+03
+6a
 24
 34
 00
-ac
+85
 20
 40
-04
-0e
+03
+4f
 20
 40
-04
-56
+03
+95
 68
 00
 cc
-26
+28
 c1
 ff
 80
 00
 20
 40
-04
-b5
-20
-40
+03
+e8
+58
+01
+77
 00
-85
+60
+01
+cc
+47
+58
+00
+01
+2c
+60
+01
+48
+10
 20
 40
 00
-b7
+90
 24
 74
 00
 00
 20
 40
-01
-05
+00
+f1
 58
 00
 f8
@@ -370,36 +250,36 @@
 42
 c0
 00
-84
-8e
+ad
+d4
 20
 40
-05
-1a
+04
+59
 20
 40
-04
-74
+03
+ae
 24
 2c
-05
-30
-24
+04
+66
+24
 37
-85
-30
+84
+66
 20
 40
-04
-9d
+03
+d4
 68
 02
 4c
-3e
+40
 68
 0a
 4d
-5b
+5d
 98
 46
 7c
@@ -407,19 +287,19 @@
 20
 22
 80
-67
-68
+49
+20
+40
 00
-cc
-14
-c1
-84
+56
+24
+74
 00
 00
 68
 00
 cd
-62
+64
 79
 3f
 fe
@@ -427,19 +307,19 @@
 60
 00
 cd
-62
+64
 20
 40
-02
-25
+01
+d3
 68
 02
 4c
-3e
+40
 68
 0a
 4c
-22
+24
 98
 46
 7c
@@ -447,15 +327,15 @@
 20
 22
 84
-df
+10
 68
 02
 4c
-3e
+40
 68
 0a
 4c
-4d
+4f
 98
 46
 7c
@@ -463,47 +343,63 @@
 20
 42
 80
-74
+5a
 20
 20
 00
+65
+68
+00
+cc
+16
+c0
+04
+7f
+e7
+c0
+03
+ff
+e7
+20
+20
 7f
+e9
 68
 02
 4b
-f6
+f8
 20
 20
-05
-dc
+04
+18
 68
 00
 cb
 42
 c0
 00
-84
-8e
+ad
+d4
 20
 40
-05
-1a
+04
+59
 20
 40
-04
-74
+03
+ae
 24
 2c
-05
-23
+03
+17
 24
 37
-85
-23
+83
+17
 68
 00
 cd
-62
+64
 79
 3f
 fe
@@ -511,7 +407,7 @@
 60
 00
 cd
-62
+64
 79
 20
 00
@@ -520,54 +416,22 @@
 48
 0e
 00
-70
-0a
-99
-3c
 20
 40
-7d
-86
+2f
+20
 20
 40
-04
-6c
+03
+ab
 20
 20
-00
-a8
-68
-00
-c6
-f5
-c3
-83
-80
-00
-58
-01
-77
-00
-60
-01
-cc
-45
-58
-00
-01
-2c
-60
 01
-48
-10
-20
-60
-00
-00
+a2
 20
 40
-05
-ae
+04
+ca
 24
 74
 00
@@ -575,11 +439,11 @@
 20
 40
 00
-a2
+7f
 68
 01
 4d
-57
+59
 1f
 e0
 fe
@@ -587,11 +451,11 @@
 60
 01
 4d
-57
+59
 68
 09
 4d
-59
+5b
 98
 46
 7c
@@ -599,14 +463,14 @@
 20
 42
 80
-96
+74
 20
 20
 00
-4d
+2c
 70
 4d
-56
+58
 00
 58
 00
@@ -615,7 +479,7 @@
 60
 01
 4d
-57
+59
 58
 00
 00
@@ -623,19 +487,19 @@
 60
 01
 4d
-59
+5b
 70
 4c
-51
+53
 00
 68
 00
 cc
-3c
+3e
 60
 00
 cc
-3b
+3d
 20
 60
 00
@@ -643,19 +507,15 @@
 68
 00
 cc
-3d
-60
-00
-cc
-3b
+3f
+20
 20
-60
-00
 00
+7b
 68
 00
 cc
-51
+53
 1f
 e0
 fe
@@ -663,31 +523,15 @@
 60
 00
 cc
-51
+53
 c0
 02
 00
-9f
+7d
 c0
 02
 80
-9b
-20
-60
-00
-00
-70
-4d
-56
-01
-58
-00
-00
-00
-60
-01
-4d
-57
+79
 20
 60
 00
@@ -695,15 +539,15 @@
 68
 00
 cc
-42
+44
 20
 5a
 00
-c0
+a5
 68
 00
 cd
-56
+58
 c1
 00
 80
@@ -711,11 +555,11 @@
 20
 40
 00
-d2
+b6
 20
 40
 00
-b7
+90
 24
 74
 00
@@ -723,7 +567,7 @@
 68
 01
 cc
-45
+47
 20
 40
 7f
@@ -763,55 +607,103 @@
 68
 00
 cd
-56
+58
 c0
 00
 ff
 e9
 20
+40
+00
+a2
 20
-01
-08
-70
-4c
-42
-01
-70
-4d
-4b
+40
 00
+f1
 20
 40
-03
-d4
-60
+3e
+bf
+20
+40
+01
+eb
+68
+12
 00
-cb
-b2
-58
+70
+68
+1a
 00
+78
+98
+41
+84
 00
+18
+44
+04
 00
 60
-03
-cb
-b3
-68
-02
-4c
-4d
+1a
+00
+7c
+20
+60
+00
+00
+68
+00
+cb
+0a
+20
+7a
+00
+00
+20
+20
+02
+c0
+70
+4c
+44
+01
+70
+4d
+4d
+00
+20
+40
+03
+07
+60
+00
+cb
+b4
+58
+00
+00
+00
+60
+03
+cb
+b5
+68
+02
+4c
+4f
 60
 02
 4b
-ba
+bc
 70
 4c
-16
+18
 0c
 68
 00
 cc
-17
+19
 79
 20
 7e
@@ -819,27 +711,23 @@
 60
 00
 cc
-17
+19
 20
 40
-04
-2c
+03
+6d
 20
 20
 00
-50
-70
-4d
-5f
+2f
+58
 00
-70
-4d
-60
 00
-70
-4d
-61
 00
+60
+01
+cd
+61
 20
 60
 00
@@ -855,7 +743,7 @@
 68
 00
 cc
-42
+44
 20
 7a
 00
@@ -882,12 +770,12 @@
 00
 70
 4d
-61
+63
 00
 68
 00
 cd
-61
+63
 1f
 e0
 fe
@@ -895,7 +783,7 @@
 60
 00
 cd
-61
+63
 1f
 e6
 7c
@@ -903,35 +791,35 @@
 24
 21
 00
-e6
+ca
 20
 40
-05
-1a
+04
+59
 20
 40
-04
-74
+03
+ae
 24
 2c
 00
-ec
+d0
 24
 37
 80
-ec
+d0
 20
 40
 00
-f6
+da
 20
 40
-04
-6c
+03
+ab
 68
 00
 cd
-60
+62
 1f
 e0
 fe
@@ -939,31 +827,31 @@
 60
 00
 cd
-60
+62
 c0
 08
 00
-ee
+d2
 20
 60
 00
 00
 20
 40
-05
-fc
+03
+17
 20
 20
 00
-dc
+c0
 70
 4d
-60
+62
 00
 68
 00
 cd
-5f
+61
 c3
 80
 00
@@ -975,7 +863,7 @@
 60
 00
 cd
-5f
+61
 58
 00
 07
@@ -987,23 +875,23 @@
 20
 20
 01
-8b
+f4
 68
 00
 cc
-42
+44
 20
 3a
 00
-ce
+b3
 70
 4d
-60
+62
 00
 68
 00
 cd
-5f
+61
 c4
 00
 00
@@ -1015,31 +903,63 @@
 60
 00
 cd
-5f
+61
 20
 40
 3f
 8d
+70
+4b
+0a
+01
+20
+40
+01
+24
 20
+40
+40
+c0
 20
+40
+40
+d9
+c0
+18
 01
-5d
+26
+c0
+18
+81
+4a
+20
+40
+40
+d1
+20
+00
+03
+e8
+20
+20
+00
+e5
 c6
 13
 00
 00
 20
 40
-01
-08
+00
+98
 68
 00
 c0
 40
 c3
 00
-01
-05
+00
+f1
 68
 00
 80
@@ -1062,72 +982,16 @@
 00
 20
 40
-01
-12
-20
-40
-01
-05
-20
-40
-3e
-bf
-20
-40
-02
-4a
-68
-12
-00
-70
-68
-1a
-00
-78
-98
-41
-84
-00
-18
-44
-04
-00
-60
-1a
-00
-7c
-20
-60
-00
-00
-68
-00
-cb
-0a
-20
-7a
-00
-00
-20
-20
-03
-4f
-20
-40
 34
 16
 20
 35
-81
-1f
+80
+fd
 70
 80
 78
 20
-20
-40
-07
-1f
 68
 00
 c1
@@ -1135,11 +999,11 @@
 60
 00
 cc
-cd
+cf
 20
 40
-04
-a4
+03
+db
 68
 00
 c6
@@ -1154,8 +1018,8 @@
 ca
 20
 40
-01
-21
+00
+ff
 20
 20
 74
@@ -1163,23 +1027,23 @@
 24
 55
 81
-91
+4f
 20
 40
 01
-53
+24
 20
 75
 80
 00
 20
 40
-06
-86
+05
+77
 20
 40
 01
-dc
+92
 68
 00
 cb
@@ -1187,95 +1051,23 @@
 c2
 81
 01
-2a
+09
 20
 40
 02
-bb
+2b
 c0
 01
 81
-3e
-20
-20
-01
-c8
-20
-40
-02
-25
-68
-00
-c2
-10
-c0
-1a
-01
-2f
-20
-60
-00
-00
-70
-47
-a5
-01
-68
-01
-46
-a8
-60
-01
-46
-ae
-20
-40
-34
-18
-20
-40
-01
-37
-58
-00
-00
-04
-e0
-c0
-80
-00
-20
-20
-7d
-f4
-da
-20
-43
-70
-ea
-20
-80
-00
-20
-7a
-00
-00
-98
-c0
-a2
-00
-e8
+0a
 c0
-80
-00
-c1
-00
-80
-00
+03
+86
+16
 20
 20
 01
-38
+7e
 68
 02
 46
@@ -1292,10 +1084,6 @@
 13
 00
 00
-20
-40
-44
-82
 d8
 e0
 00
@@ -1319,35 +1107,59 @@
 60
 01
 4c
-43
+45
 20
 40
 42
 ca
+79
 20
-20
-05
-24
+00
+26
 68
-02
-46
-d3
-c3
-0a
-3d
-66
+00
+cd
+64
+79
+20
+7e
+01
+60
+00
+cd
+64
+58
+00
+07
+08
+60
+01
+4b
+43
+70
+4b
+42
+00
+20
+60
+00
+00
+da
+60
+4b
+7f
+20
+40
+01
+35
 68
 00
 c7
 7a
 c0
-7f
-81
-50
-20
-20
-03
-4f
+ff
+82
+c0
 68
 00
 c6
@@ -1358,8 +1170,8 @@
 7a
 20
 20
-03
-4f
+02
+c0
 70
 42
 12
@@ -1371,47 +1183,7 @@
 20
 40
 01
-53
-20
-40
-40
-c0
-20
-40
-40
-d9
-c0
-18
-01
-5f
-c0
-18
-81
-83
-20
-40
-40
-d1
-20
-00
-03
-e8
-20
-20
-01
-57
-70
-4b
-0a
-01
-20
-20
-01
-55
-20
-40
-01
-88
+1d
 68
 00
 c6
@@ -1419,15 +1191,15 @@
 c0
 2d
 01
-65
+2c
 c0
 2a
 01
-6c
+33
 c0
 6c
 01
-74
+3b
 20
 20
 40
@@ -1455,11 +1227,11 @@
 20
 40
 01
-6e
+35
 20
 20
 01
-4b
+1f
 70
 46
 e0
@@ -1491,7 +1263,7 @@
 20
 20
 01
-6e
+35
 58
 00
 00
@@ -1506,8 +1278,8 @@
 bd
 24
 22
-81
-57
+80
+e5
 58
 00
 00
@@ -1522,8 +1294,8 @@
 55
 24
 22
-81
-57
+80
+e5
 58
 00
 00
@@ -1538,8 +1310,8 @@
 1d
 24
 22
-81
-57
+80
+e5
 70
 46
 e0
@@ -1551,11 +1323,11 @@
 20
 20
 01
-6e
+35
 20
 40
 01
-88
+1d
 68
 00
 c6
@@ -1572,78 +1344,38 @@
 60
 00
 00
-da
+20
+40
+68
+a8
+68
+02
+40
+a0
 60
-4b
-7f
+02
+4c
+4f
 20
 40
-01
+3e
 6e
 20
-20
-01
-4b
+40
+3e
+1e
 58
 00
-08
-06
-20
-40
-64
-14
-1f
-e1
-fe
-08
-1f
-ed
-7e
-00
-1f
-e0
-fe
-06
-20
-20
-64
-13
-20
-40
-03
-ce
-68
-10
-8a
-00
-79
-3f
-fe
-04
-60
-10
-8a
-00
-20
-40
-3e
-6e
-20
-40
-3e
-1e
-58
-00
-00
-00
-60
-01
-41
-54
+00
+00
+60
+01
+41
+54
 20
 40
 01
-a9
+63
 58
 00
 18
@@ -1654,10 +1386,6 @@
 bd
 20
 40
-3e
-54
-20
-40
 58
 10
 20
@@ -1676,17 +1404,9 @@
 40
 65
 9c
-68
-02
-46
-d3
-2f
-ef
-fe
-19
-24
+20
 40
-e5
+65
 c2
 20
 40
@@ -1694,12 +1414,12 @@
 3f
 20
 40
-01
-b9
+3d
+c9
 20
 40
-02
-21
+01
+cf
 20
 20
 65
@@ -1719,7 +1439,7 @@
 20
 40
 01
-b1
+6b
 68
 10
 80
@@ -1768,22 +1488,6 @@
 60
 00
 00
-20
-40
-33
-c4
-20
-22
-c3
-16
-20
-40
-03
-82
-20
-20
-3d
-cb
 d8
 40
 00
@@ -1823,7 +1527,7 @@
 60
 01
 4d
-59
+5b
 20
 60
 00
@@ -1835,11 +1539,11 @@
 60
 01
 4d
-59
+5b
 24
 55
 81
-c5
+7b
 68
 00
 c7
@@ -1850,8 +1554,8 @@
 1e
 20
 40
-05
-12
+04
+51
 68
 00
 cb
@@ -1866,12 +1570,12 @@
 14
 20
 40
-01
-5d
+00
+e2
 20
 20
 01
-50
+21
 df
 20
 00
@@ -1879,7 +1583,7 @@
 d8
 c0
 4c
-3e
+40
 20
 40
 7f
@@ -1903,7 +1607,7 @@
 c2
 00
 01
-d7
+8d
 20
 60
 00
@@ -1911,23 +1615,23 @@
 58
 00
 01
-eb
+9f
 60
 01
 4d
-47
+49
 58
 00
 00
-ff
+eb
 60
 01
 41
 ed
 58
 00
-02
-0c
+01
+c0
 60
 01
 41
@@ -1935,35 +1639,27 @@
 58
 00
 01
-f2
+a6
 60
 01
 41
 f3
 58
 00
-02
-3e
+01
+e1
 60
 01
 41
 eb
 58
 00
-02
-54
+01
+fa
 60
 01
 41
 fd
-58
-00
-3d
-36
-60
-01
-42
-01
 20
 60
 00
@@ -1980,22 +1676,22 @@
 7a
 00
 00
-20
-20
-00
-a8
-20
-40
-58
-14
 70
-47
-a2
+4d
+58
 01
-20
-20
+58
+00
+00
+00
+60
 01
-5d
+4d
+59
+20
+60
+00
+00
 20
 40
 7e
@@ -2018,8 +1714,8 @@
 e7
 20
 40
-03
-2e
+02
+a2
 68
 08
 c6
@@ -2027,7 +1723,7 @@
 20
 40
 02
-c8
+3c
 1a
 42
 04
@@ -2039,11 +1735,11 @@
 c0
 00
 01
-ff
+b3
 c0
 03
-82
-09
+81
+bd
 20
 60
 00
@@ -2054,8 +1750,8 @@
 e7
 20
 40
-03
-37
+02
+a8
 68
 00
 c6
@@ -2094,8 +1790,8 @@
 e7
 20
 40
-03
-37
+02
+a8
 20
 20
 3d
@@ -2106,16 +1802,16 @@
 00
 c0
 1c
-82
-11
-c0
-1d
-02
-28
+81
+c5
 c0
 1e
-02
-38
+01
+db
+c0
+1d
+01
+d6
 20
 20
 41
@@ -2126,16 +1822,12 @@
 00
 20
 40
-05
-2c
+04
+62
 20
 40
-01
-5d
-70
-47
-8b
-01
+00
+e2
 d8
 e0
 00
@@ -2144,42 +1836,22 @@
 40
 43
 d2
-58
-00
-00
-00
-60
-01
-47
-07
 70
 46
 a7
 00
-68
-00
-c6
-e0
-1f
-e6
-7c
-05
 20
-42
-c0
-39
-24
-42
-c0
+40
+40
 5d
 20
 40
-02
-25
+01
+d3
 20
 40
-02
-21
+01
+cf
 20
 20
 65
@@ -2187,7 +1859,7 @@
 da
 20
 4c
-3e
+40
 da
 40
 00
@@ -2203,7 +1875,7 @@
 68
 00
 cc
-cd
+cf
 60
 00
 c1
@@ -2214,102 +1886,54 @@
 00
 20
 40
-02
-50
+01
+f1
 70
 4d
-56
+58
 00
 20
 40
-02
-25
-20
-40
-05
-4f
-68
-00
-c8
-80
-c2
-80
-34
-0a
-70
-41
-bd
-00
+01
+d3
 20
 40
-43
-16
-df
-20
-00
-03
-d8
-c0
-47
-22
+04
+7f
 20
-40
-01
-d5
 20
 34
-02
-35
-20
-20
-01
-2b
-70
-47
-a3
-01
-70
-47
-a4
-28
-20
-60
-00
-00
+0a
 70
 4b
 49
 00
 20
 40
-05
-2c
+04
+62
 20
 40
-01
-5d
+00
+e2
 20
 40
 3f
 8d
 20
 40
-02
-21
+01
+cf
 20
 20
 65
 d1
-78
-34
-7c
-00
 68
 12
 01
 38
 79
-34
+20
 7e
 1a
 60
@@ -2322,24 +1946,20 @@
 21
 20
 40
-02
-50
+01
+f1
 20
 40
 74
 bd
 20
 40
-44
-82
-20
-40
 3e
 9f
 20
 40
-01
-0a
+00
+9a
 68
 08
 c6
@@ -2384,38 +2004,50 @@
 4b
 0a
 00
-20
-20
-01
-8b
+58
+00
+08
+06
 20
 40
-02
-68
+64
+14
+1f
+e1
+fe
+08
+1f
+ed
+7e
+00
+1f
+e0
+fe
+06
 20
-40
-02
-63
+20
+64
+13
 20
 40
 02
-93
+07
 20
 40
 01
-f4
+a8
 20
 40
 42
 3a
 20
 40
-02
-5b
+01
+ff
 20
 20
 02
-5e
+02
 da
 60
 4b
@@ -2423,7 +2055,7 @@
 da
 40
 01
-8b
+f4
 20
 20
 33
@@ -2435,7 +2067,7 @@
 da
 40
 02
-61
+05
 20
 20
 33
@@ -2451,31 +2083,11 @@
 da
 60
 48
-0d
-da
-40
-02
-66
-20
-20
-33
-6d
-70
-48
-0c
-00
-20
-60
-00
-00
-da
-60
-48
 10
 da
 40
 02
-6b
+0a
 20
 20
 33
@@ -2487,7 +2099,7 @@
 60
 01
 cc
-45
+47
 70
 48
 0e
@@ -2496,414 +2108,242 @@
 60
 00
 00
-da
+78
+54
+7c
+00
+58
+00
+00
+00
 60
-48
-0f
-da
+03
+46
+9b
+20
 40
 02
-72
+ad
 20
+40
+40
+79
 20
-33
-6d
+40
+02
+21
+24
+34
+02
+18
+20
+40
+05
+6b
+20
+40
+02
+1b
+20
+20
+3f
+a1
+20
+40
+05
+77
+70
+4b
+48
+00
+20
+60
+00
+00
 68
 00
-c7
 cb
+48
+1f
+e0
+fe
+01
 60
 00
-c1
-72
-70
+cb
 48
-0e
-01
+1f
+e6
+7c
+0a
 20
-60
+61
 00
 00
-da
-60
-46
-c6
-da
+20
+20
+3f
+8d
+20
 40
-3d
-60
+02
+23
 20
 20
-33
-6d
-68
-00
-c6
-f5
-c2
-82
-43
-94
+40
+9a
 68
 00
 c6
-85
-60
+9a
+1f
+e2
+22
 00
-c6
-da
-68
-00
-c6
-db
-c1
-00
-80
-00
-70
-46
-db
-01
-d8
-e0
-00
-09
 20
 40
+02
 43
-d2
-20
-20
-43
-ca
-70
-47
-a4
-28
 20
 40
 02
-86
-20
+56
 20
-43
-b0
-da
-60
-46
-da
-da
 40
 02
-89
-20
-20
-33
-6d
+69
 20
 40
 02
-50
-68
-01
-46
-82
-2f
-ef
-fe
-0b
+7c
 20
 40
-c2
-d4
-68
-01
-46
-82
-2f
-ef
-fe
-07
+02
+8f
 20
-40
-c3
-92
-d8
-e0
-00
-09
 20
 40
-43
-ce
-20
-20
-43
-b8
-68
-00
-c7
-a3
+8e
+da
 20
-7a
 00
 00
 68
-00
-c7
-a4
+08
+c6
+e2
 20
-3a
+40
 02
-9a
-1f
-e0
-ff
-ff
-60
-00
-c7
-a4
-20
-60
-00
-00
-70
-47
-a3
-00
+a8
+68
+08
+c6
+e2
 20
+40
+68
+1d
+79
 20
-34
-0a
-78
-54
-7c
-00
-58
-00
-00
+a2
 00
-60
-03
-46
-9b
+68
+08
+c6
+e3
 20
 40
-03
-3c
+02
+a8
+68
+08
+c6
+e3
 20
 40
-40
+68
+1d
 79
 20
-40
-40
-7e
+a2
+01
+68
+08
+c6
+e4
 20
 40
 02
-b0
-24
-34
-02
-a7
+a8
+68
+08
+c6
+e4
 20
 40
-06
-7a
+68
+1d
+79
 20
-40
+a2
 02
-aa
-20
 20
-3f
-a1
 20
 40
-06
-86
-70
-4b
-48
-00
+8e
 20
-60
-00
-00
+40
 68
+1d
+1a
+42
+7e
 00
-cb
-48
 1f
-e0
+e3
 fe
-01
-60
 00
-cb
-48
-1f
-e6
-7c
-0a
+79
 20
-61
+fe
 00
+1f
+e2
+24
 00
+1f
+e1
+7e
+07
 20
-20
-3f
-8d
-20
-40
-02
-b2
-20
-20
-40
-9a
+60
+00
+00
 68
 00
-c6
-9a
+cb
+88
 1f
 e2
-22
+24
 00
-20
-40
-02
-cf
-20
-40
-02
+68
+08
+c6
 e2
 20
 40
 02
-f5
-20
-40
-03
+a8
+68
 08
+c6
+e2
 20
 40
-03
-1b
-1a
-22
-7e
-00
-20
-60
-00
-00
-da
-20
-00
-00
-68
-08
-c6
-e2
-20
-40
-03
-37
-68
-08
-c6
-e2
-20
-40
-68
-1d
-79
-20
-a2
-00
-68
-08
-c6
-e3
-20
-40
-03
-37
-68
-08
-c6
-e3
-20
-40
-68
-1d
-79
-20
-a2
-01
-1a
-22
-7e
-00
-20
-60
-00
-00
-20
-40
-68
-1d
-1a
-42
-7e
-00
-1f
-e3
-fe
-00
-79
-20
-fe
-00
-1f
-e2
-24
-00
-1f
-e1
-7e
-07
-20
-60
-00
-00
-68
-00
-cb
-88
-1f
-e2
-24
-00
-68
-08
-c6
-e2
-20
-40
-03
-37
-68
-08
-c6
-e2
-20
-40
-02
-c8
+02
+3c
 1a
 42
 04
@@ -2915,11 +2355,11 @@
 c0
 03
 82
-da
+4e
 c0
 00
 02
-de
+52
 20
 60
 00
@@ -2970,8 +2410,8 @@
 e3
 20
 40
-03
-37
+02
+a8
 68
 08
 c6
@@ -2979,7 +2419,7 @@
 20
 40
 02
-c8
+3c
 1a
 42
 04
@@ -2991,11 +2431,11 @@
 c0
 03
 82
-ed
+61
 c0
 00
 02
-f1
+65
 20
 60
 00
@@ -3046,8 +2486,8 @@
 e4
 20
 40
-03
-37
+02
+a8
 68
 08
 c6
@@ -3055,7 +2495,7 @@
 20
 40
 02
-c8
+3c
 1a
 42
 04
@@ -3066,12 +2506,12 @@
 8a
 c0
 03
-83
-00
+82
+74
 c0
 00
-03
-04
+02
+78
 20
 60
 00
@@ -3122,8 +2562,8 @@
 e5
 20
 40
-03
-2e
+02
+a2
 68
 08
 c6
@@ -3131,7 +2571,7 @@
 20
 40
 02
-c8
+3c
 1a
 42
 04
@@ -3142,12 +2582,12 @@
 8b
 c0
 00
-03
-13
+02
+87
 c0
 03
-83
-17
+82
+8b
 20
 60
 00
@@ -3198,8 +2638,8 @@
 e6
 20
 40
-03
-2e
+02
+a2
 68
 08
 c6
@@ -3207,7 +2647,7 @@
 20
 40
 02
-c8
+3c
 1a
 42
 04
@@ -3218,12 +2658,12 @@
 8c
 c0
 00
-03
-26
+02
+9a
 c0
 03
-83
-2a
+82
+9e
 20
 60
 00
@@ -3281,21 +2721,9 @@
 80
 7c
 20
-40
-68
-30
-79
-3f
-84
-07
-d8
-a0
-80
-70
-20
 20
 68
-30
+0a
 79
 20
 04
@@ -3314,20 +2742,20 @@
 07
 20
 20
-03
-32
+02
+a6
 68
 00
 c6
 e0
 c0
 02
-03
-4d
+02
+be
 c0
 04
-03
-42
+02
+b3
 20
 40
 3f
@@ -3402,20 +2830,20 @@
 01
 20
 42
-83
-5d
+82
+ce
 68
 00
 c7
 7a
 c0
 00
-03
-5f
+02
+d0
 c0
 01
-83
-66
+82
+d7
 68
 00
 c6
@@ -3426,16 +2854,16 @@
 9f
 c0
 03
-03
-6d
+02
+de
 c0
 03
-83
-6d
+82
+de
 c0
 01
-03
-76
+02
+e7
 68
 00
 c7
@@ -3466,24 +2894,24 @@
 9d
 c0
 03
-03
-70
+02
+e1
 c0
 03
-83
-70
+82
+e1
 c0
 01
-03
-79
+02
+ea
 68
 00
 c7
 7f
 20
 20
-03
-5b
+02
+cc
 68
 00
 c6
@@ -3494,24 +2922,24 @@
 a1
 c0
 03
-03
-73
+02
+e4
 c0
 03
-83
-73
+82
+e4
 c0
 01
-03
-7b
+02
+ec
 68
 00
 c7
 82
 20
 20
-03
-5b
+02
+cc
 68
 00
 c7
@@ -3522,8 +2950,8 @@
 ff
 20
 20
-03
-5b
+02
+cc
 68
 00
 c7
@@ -3534,9 +2962,9 @@
 ff
 20
 20
-03
-5b
-68
+02
+cc
+68
 00
 c7
 82
@@ -3546,8 +2974,8 @@
 ff
 20
 20
-03
-5b
+02
+cc
 68
 00
 c7
@@ -3558,256 +2986,24 @@
 02
 20
 20
-03
-5b
+02
+cc
 68
 00
 c7
 7f
 20
 20
-03
-77
+02
+e8
 68
 00
 c7
 82
 20
 20
-03
-77
-70
-47
-a3
-00
-70
-47
-a4
-00
-28
-0f
-fe
-26
-20
-40
-85
-4f
-20
-20
-42
-6d
-20
-40
-68
-a2
-68
-01
-42
-1d
-20
-3a
-03
-87
-60
-01
-47
-c8
-20
-20
-03
-a6
-58
-00
-11
-22
-60
-01
-47
-c8
-20
-20
-03
-86
-20
-40
-02
-25
-70
-47
-a2
-00
-68
-01
-46
-82
-c2
-85
-83
-98
-68
-02
-46
-d3
-c3
-0c
-03
-98
-20
-40
-03
-aa
-68
-09
-47
-c8
-18
-40
-84
-01
-60
-09
-47
-c8
-60
-09
-44
-a1
-20
-40
-03
-a6
-18
-0a
-7e
-00
-60
-00
-c4
-a0
-20
-40
-34
-18
-68
-01
-46
-87
-60
-01
-46
-ac
-70
-01
-6d
-06
-58
-00
-00
-00
-60
-01
-46
-b0
-60
-01
-46
-ae
-d8
-e0
-00
-07
-20
-40
-43
-ce
-20
-40
-43
-ca
-68
-00
-c0
-92
-2f
-ef
-fe
-01
-20
-40
-83
-ae
-20
-20
-42
-c4
-d8
-40
-00
-02
-da
-20
-47
-c8
-da
-40
-00
-5f
-20
-20
-65
-d1
-d8
-40
-00
 02
-da
-20
-47
-c8
-da
-40
-00
-5f
-20
-20
-65
-df
-70
-47
-a5
-00
-20
-40
-01
-37
-58
-00
-00
-05
-e0
-c0
-80
-00
-20
-20
-7d
-f4
-58
-00
-00
-00
-60
-01
-46
-ac
-20
-40
-01
-5d
-20
-20
-42
-cb
+e8
 70
 89
 0f
@@ -3826,8 +3022,8 @@
 07
 20
 40
-03
-bf
+02
+f6
 68
 00
 c1
@@ -3900,34 +3096,18 @@
 60
 00
 00
-20
-40
-68
-a8
-68
-02
-40
-a0
-60
-02
-4c
-4d
-20
-60
-00
-00
 70
 4d
-4c
+4e
 01
 70
 4d
-4e
+50
 00
 68
 00
 cc
-17
+19
 1f
 e1
 7e
@@ -3935,7 +3115,7 @@
 60
 00
 cc
-17
+19
 20
 60
 00
@@ -3943,7 +3123,7 @@
 68
 00
 cc
-17
+19
 79
 20
 7e
@@ -3951,11 +3131,11 @@
 60
 00
 cc
-17
+19
 60
 00
 cb
-d2
+d4
 20
 60
 00
@@ -3963,7 +3143,15 @@
 68
 00
 cc
-17
+19
+c4
+02
+00
+00
+68
+00
+cc
+19
 79
 3f
 fe
@@ -3971,67 +3159,115 @@
 60
 00
 cc
-17
+19
 60
 00
 cb
-d2
+d4
 20
 40
+03
+de
+68
+08
+cc
+23
+68
+00
+cc
+40
+1f
+e1
+7e
+03
+1f
+ef
+a2
 04
-ab
+58
+00
+4c
+29
+9a
 20
+fe
+00
+98
+40
+8c
+00
+e8
+c0
+80
+00
+60
+00
+cc
+22
+18
+40
+84
+01
+18
+41
+04
+03
+60
+08
+cc
+23
 20
-05
-fc
+60
+00
+00
 20
 40
-04
-ab
+03
+de
 68
 00
 cd
-4d
+4f
 c0
 00
 83
-e8
+29
 c0
 01
 03
-ec
+2d
 20
 60
 00
 00
 70
 4d
-4e
+50
 02
 70
 4d
-4a
+4c
 00
 70
 4d
-4c
+4e
 00
 20
 20
 03
-d4
+07
 70
 4d
-4b
+4d
 00
 20
 20
 03
-e9
+2a
 68
 01
 4c
-1c
+1e
 1f
 e0
 fe
@@ -4039,35 +3275,35 @@
 60
 01
 4c
-1c
+1e
 c2
 85
-04
-8c
+03
+c4
 68
 00
 cd
-4b
+4d
 c0
 00
 83
-f7
+38
 70
 4d
-4b
+4d
 01
 68
 00
 cd
-4b
+4d
 c0
 80
 83
-d4
+07
 68
 00
 cd
-49
+4b
 1f
 e0
 fe
@@ -4075,63 +3311,63 @@
 60
 00
 cd
-49
+4b
 c0
 02
 03
-fe
+3f
 20
 40
-05
-fc
+03
+17
 70
 4c
-5b
+5d
 02
 20
 20
-04
-56
+03
+95
 20
 40
-04
-ab
+03
+de
 70
 4d
-49
+4b
 00
 20
 20
 03
-d4
+07
 70
 4d
-4e
+50
 02
 70
 4d
-4c
+4e
 01
 70
 4d
-4b
+4d
 00
 20
 20
 03
-d4
+07
 68
 00
 cd
-4d
+4f
 c0
 01
-84
-02
+83
+43
 68
 00
 cc
-17
+19
 2f
 ec
 00
@@ -4139,19 +3375,19 @@
 20
 20
 83
-d2
+05
 68
 00
 cd
-4d
+4f
 c0
 00
-84
-01
+83
+42
 c0
 01
-04
-02
+03
+43
 20
 60
 00
@@ -4159,19 +3395,19 @@
 68
 00
 cc
-26
+28
 c1
 ff
 80
 00
 20
 40
-04
-13
+03
+54
 24
 56
-04
-1b
+03
+5c
 20
 60
 00
@@ -4183,7 +3419,7 @@
 68
 00
 cd
-4c
+4e
 c1
 80
 80
@@ -4191,18 +3427,18 @@
 68
 00
 cd
-4e
+50
 c1
 80
 00
 00
 70
 4d
-4d
+4f
 01
 70
 4c
-5b
+5d
 04
 20
 20
@@ -4211,11 +3447,11 @@
 68
 00
 cd
-4e
+50
 20
 3a
-04
-23
+03
+64
 1f
 e0
 ff
@@ -4223,18 +3459,18 @@
 60
 00
 cd
-4e
+50
 70
 4d
-4d
+4f
 02
 20
 40
-05
-fc
+03
+17
 70
 4c
-5b
+5d
 04
 20
 60
@@ -4242,23 +3478,23 @@
 00
 70
 4d
-4d
+4f
 03
 68
 00
 cd
-4b
+4d
 24
 3a
 03
-f5
+36
 20
 40
-05
-fc
+03
+17
 70
 4c
-5b
+5d
 02
 20
 60
@@ -4267,22 +3503,22 @@
 68
 00
 cc
-26
+28
 c0
 ff
 84
-e8
+26
 20
 40
-04
-2f
+03
+70
 20
 40
-05
-ea
+04
+e9
 70
 4c
-1b
+1d
 01
 20
 60
@@ -4291,19 +3527,19 @@
 68
 01
 4d
-47
+49
 20
 40
 7f
 9c
 20
 34
-04
-35
+03
+76
 68
 03
 cb
-b3
+b5
 20
 7a
 00
@@ -4314,11 +3550,11 @@
 e7
 20
 40
-04
-4e
-70
+03
+8f
+70
 4c
-42
+44
 00
 1a
 20
@@ -4327,15 +3563,15 @@
 60
 00
 cc
-16
+18
 20
 40
 03
-d4
+07
 60
 00
 cb
-b2
+b4
 e8
 a8
 80
@@ -4374,12 +3610,12 @@
 02
 c2
 00
-04
-41
+03
+82
 d8
 a0
 4b
-b8
+ba
 df
 20
 00
@@ -4406,22 +3642,14 @@
 01
 c2
 00
-04
-47
+03
+88
 20
 60
 00
 00
 68
 00
-c6
-f5
-c3
-83
-80
-00
-68
-00
 c8
 0e
 c1
@@ -4442,11 +3670,11 @@
 9b
 20
 20
-01
-5d
+00
+e2
 70
 4c
-1f
+21
 00
 d9
 60
@@ -4458,32 +3686,40 @@
 00
 20
 40
-04
-74
+03
+ae
 24
 2c
-04
-7f
+03
+b9
 24
 37
-84
-7f
-20
-40
-04
-6c
+83
+b9
 20
 40
-04
-9d
+03
+ab
 20
 40
-04
-a7
+03
+d4
+68
+00
+cd
+51
+1f
+e0
+fe
+01
+60
+00
+cd
+51
 68
 00
 cc
-15
+17
 1f
 e0
 fe
@@ -4491,43 +3727,35 @@
 60
 00
 cc
-15
+17
 20
 40
-04
-6f
+03
+10
 68
 00
 cc
-26
+28
 c0
 ff
 84
-72
+40
 20
 40
-04
-05
+03
+46
 58
 00
 00
 00
 60
-01
+02
 4c
-1c
-60
-00
-cc
-1e
+1d
 60
 00
 cd
-4a
-70
 4c
-1b
-00
 20
 60
 00
@@ -4539,39 +3767,19 @@
 d8
 a0
 4b
-b2
+b4
 20
 20
 7e
 c6
-68
-00
-cc
-17
-c2
-82
-03
-dd
-20
-60
-00
-00
-20
-40
-04
-a4
-20
-20
-05
-02
 78
 57
 fc
 00
 20
 40
-06
-59
+05
+48
 18
 00
 2a
@@ -4579,7 +3787,7 @@
 68
 02
 4c
-3e
+40
 98
 00
 12
@@ -4598,28 +3806,20 @@
 24
 20
 40
-06
-16
+05
+04
 20
 57
-86
-52
+85
+45
 20
 60
 00
 00
 68
-00
-cc
-42
-24
-7a
-00
-00
-68
 01
 4c
-1c
+1e
 1f
 e0
 fe
@@ -4627,35 +3827,35 @@
 60
 01
 4c
-1c
+1e
 68
 00
 cc
-1d
+1f
 c2
 82
-04
-8e
+2d
+d4
 68
 00
 cc
-26
+28
 c0
 ff
-84
-8a
+83
+c2
 20
 40
-04
-93
+03
+ca
 20
 20
-04
-57
+03
+96
 68
 00
 cc
-1c
+1e
 c1
 ff
 80
@@ -4667,39 +3867,35 @@
 60
 01
 4c
-1c
-70
-0a
-99
-3a
+1e
 20
 20
-7d
-86
+2d
+d4
 20
 40
 04
-d6
+07
 20
 40
-04
-ab
+03
+de
 20
 20
-05
-fc
+03
+17
 68
 00
 cc
-1f
+21
 1f
 e6
 7c
 0b
 24
 21
-04
-90
+03
+c7
 1f
 e0
 fe
@@ -4707,35 +3903,35 @@
 60
 00
 cc
-1f
+21
 c0
 01
 03
-d8
+0b
 c0
 03
 03
-dd
+12
 c0
 04
 03
-d8
+0b
 c0
 06
 03
-dd
+12
 20
 60
 00
 00
 20
 40
-05
-59
+04
+89
 68
 00
 cc
-14
+16
 20
 7a
 00
@@ -4747,39 +3943,23 @@
 d8
 c0
 4b
-92
+94
 d8
 a0
 4b
-f4
+f6
 20
 20
 7f
 01
 70
 4d
-52
+54
 01
 70
 4d
-4f
-00
-20
-60
-00
-00
-68
-00
-cd
-4f
-1f
-e0
-fe
-01
-60
+51
 00
-cd
-4f
 20
 60
 00
@@ -4787,19 +3967,19 @@
 68
 00
 cd
-4f
+51
 1f
 e6
 7c
 02
 24
 41
-04
-b3
+03
+e6
 68
 00
 cd
-4f
+51
 c1
 00
 00
@@ -4811,47 +3991,39 @@
 60
 00
 cd
-4f
+51
 20
 60
 00
 00
 70
 4d
-4f
+51
 03
 20
 60
 00
 00
-68
-01
-46
-82
-c3
-85
-80
-00
 da
 20
 4c
-d8
+da
 20
 40
-05
-cb
+04
+d9
 60
 08
 cd
-50
+52
 58
 00
 00
 82
 c5
 13
-04
-bd
+03
+ee
 58
 00
 00
@@ -4863,27 +4035,27 @@
 24
 21
 04
-d5
+06
 68
 00
 cd
-4f
+51
 1f
 e6
 7c
 02
 24
 21
-04
-c5
+03
+f6
 68
 00
 cd
-4f
+51
 c0
 00
 04
-d6
+07
 20
 60
 00
@@ -4891,27 +4063,27 @@
 68
 00
 cd
-4f
+51
 c1
 99
 00
 00
 70
 4d
-4f
+51
 00
 68
 08
 cd
-50
+52
 58
 00
 00
 77
 c5
 13
-04
-cc
+03
+fd
 58
 00
 00
@@ -4927,11 +4099,11 @@
 68
 00
 cd
-52
+54
 c0
 00
 04
-dd
+0e
 1f
 e0
 ff
@@ -4939,11 +4111,11 @@
 60
 00
 cd
-52
+54
 c0
 00
 04
-dd
+0e
 70
 41
 de
@@ -4954,16 +4126,16 @@
 00
 70
 4d
-4f
+51
 00
 68
 00
 cd
-52
+54
 c0
 01
 04
-db
+0c
 1f
 e0
 fe
@@ -4971,11 +4143,11 @@
 60
 00
 cd
-52
+54
 c0
 00
 84
-d3
+04
 70
 41
 de
@@ -4999,10 +4171,10 @@
 20
 40
 04
-e3
+14
 70
 4c
-26
+28
 01
 20
 60
@@ -5014,24 +4186,76 @@
 04
 70
 4c
-15
+17
 00
 70
 4c
-20
+22
 4e
 68
 02
 4c
-22
+24
+60
+02
+4c
+40
+da
 20
+00
+00
+df
 20
-05
-dc
+00
+04
+d8
+c0
+4c
+40
+e8
+c0
+80
+00
+9a
+20
+a2
+00
+c2
+00
+04
+1c
+1a
+22
+7e
+00
+60
+01
+4c
+c9
 68
 00
 cc
-1b
+c9
+68
+08
+cc
+ca
+98
+40
+fe
+00
+60
+00
+cc
+cb
+20
+60
+00
+00
+68
+00
+cc
+1d
 c0
 00
 ff
@@ -5039,26 +4263,26 @@
 68
 00
 cc
-26
+28
 c0
 00
 84
-ef
+2d
 c0
 01
 04
-f2
+30
 c0
 01
 84
-f5
+33
 20
 20
 2a
 8c
 70
 4c
-26
+28
 11
 70
 11
@@ -5067,10 +4291,10 @@
 20
 20
 04
-f7
+35
 70
 4c
-26
+28
 12
 70
 11
@@ -5079,10 +4303,10 @@
 20
 20
 04
-f7
+35
 70
 4c
-26
+28
 13
 70
 11
@@ -5091,7 +4315,7 @@
 68
 00
 cc
-17
+19
 1f
 e1
 7e
@@ -5103,7 +4327,7 @@
 68
 02
 4c
-4d
+4f
 60
 02
 11
@@ -5122,59 +4346,63 @@
 07
 20
 40
-05
-54
+04
+84
 20
 40
-04
-2c
+03
+6d
 20
 20
 7f
 e7
+20
+40
+03
+db
 68
 00
 cc
-26
+28
 c1
 7f
 80
 00
 c0
 08
-85
-08
+84
+47
 c0
 09
-05
-0a
+04
+49
 c0
 09
-85
-0c
+84
+4b
 20
 60
 00
 00
 70
 4c
-26
+28
 02
 20
 20
-04
-66
+03
+a7
 70
 4c
-26
+28
 03
 20
 20
-04
-66
+03
+a7
 70
 4c
-26
+28
 ff
 70
 0a
@@ -5187,23 +4415,23 @@
 68
 02
 4b
-f6
+f8
 20
 40
-05
-dc
+04
+18
 20
 20
-04
-66
+03
+a7
 20
 40
 01
-d3
+89
 20
 34
-05
-24
+01
+15
 79
 20
 00
@@ -5211,7 +4439,7 @@
 68
 00
 cd
-62
+64
 79
 20
 7e
@@ -5219,15 +4447,15 @@
 60
 00
 cd
-62
+64
 20
 40
-05
-42
+04
+75
 20
 20
-05
-28
+01
+19
 70
 11
 9e
@@ -5235,7 +4463,7 @@
 68
 00
 cc
-17
+19
 60
 00
 91
@@ -5243,7 +4471,7 @@
 68
 02
 4c
-4d
+4f
 60
 02
 11
@@ -5258,48 +4486,12 @@
 9e
 20
 40
-05
-54
-20
-20
-05
-ea
-20
-20
-05
-fc
-79
-20
-00
-26
-68
-00
-cd
-62
-79
+04
+84
 20
-7e
-01
-60
-00
-cd
-62
-58
-00
-07
-08
-60
-01
-4b
-43
-70
-4b
-42
-00
 20
-60
-00
-00
+04
+e9
 58
 00
 00
@@ -5316,14 +4508,10 @@
 60
 00
 00
-20
-20
-05
-31
 68
 00
 cd
-54
+56
 1f
 e0
 fe
@@ -5335,39 +4523,31 @@
 60
 00
 cd
-54
-c0
-00
-05
-4c
+56
 c0
 00
-85
-4d
-c0
-01
-05
-4e
+04
+6d
 c0
 01
-85
-4d
+04
+77
 20
-60
-00
-00
+20
+04
+14
 20
 40
-02
-25
+01
+d3
 68
 02
 4c
-4d
+4f
 60
 02
 4c
-3e
+40
 68
 00
 cb
@@ -5375,11 +4555,11 @@
 60
 00
 cc
-21
+23
 20
 40
-05
-42
+04
+75
 60
 08
 cb
@@ -5390,12 +4570,12 @@
 00
 20
 40
-05
-dd
+04
+19
 20
 20
-05
-fc
+03
+17
 70
 41
 de
@@ -5403,11 +4583,11 @@
 68
 02
 4d
-5b
+5d
 60
 02
 4c
-3e
+40
 68
 00
 cb
@@ -5415,11 +4595,11 @@
 60
 00
 cc
-21
+23
 20
 40
-05
-42
+04
+75
 60
 08
 cb
@@ -5428,25 +4608,13 @@
 60
 00
 00
-20
-20
-05
-3a
-20
-20
-04
-e3
-20
-20
-05
-44
 79
 3f
 80
 26
 70
 4d
-62
+64
 00
 20
 40
@@ -5463,7 +4631,7 @@
 60
 08
 cc
-16
+18
 18
 42
 72
@@ -5471,7 +4639,7 @@
 d8
 a0
 4b
-b2
+b4
 1a
 22
 0c
@@ -5483,7 +4651,7 @@
 68
 00
 cb
-91
+93
 1f
 e9
 7e
@@ -5491,7 +4659,7 @@
 60
 00
 cc
-14
+16
 1f
 e0
 fe
@@ -5499,7 +4667,7 @@
 d8
 c0
 4b
-91
+93
 98
 c0
 8c
@@ -5511,11 +4679,11 @@
 60
 01
 cc
-53
+55
 68
 00
 cb
-91
+93
 1f
 e3
 7e
@@ -5527,7 +4695,7 @@
 60
 00
 cc
-59
+5b
 20
 60
 00
@@ -5597,37 +4765,21 @@
 c1
 de
 c0
-00
-05
-7c
-c0
-00
-85
-84
-c0
 01
-05
-8c
+04
+ae
 c0
 02
-05
-94
+04
+b6
 c0
 10
-05
-a6
-20
-20
-05
-7c
+04
+c0
 20
 40
-05
-9c
-70
-89
-4b
-ba
+04
+bb
 70
 89
 55
@@ -5638,60 +4790,28 @@
 e0
 70
 89
-57
-88
-70
-89
 58
 6c
-70
-89
-59
-10
 20
 20
 29
 4b
-20
-40
-05
-a1
-70
-89
-4b
-ba
-70
-89
-55
-d0
 70
 89
-56
-e0
+4c
+fb
 70
 89
-57
-88
+4d
+ef
 70
 89
-58
-3c
+4e
+ec
 70
 89
-59
-10
-20
-20
-29
 4f
-20
-40
-05
-a1
-70
-89
-4b
-ba
+5e
 70
 89
 55
@@ -5702,28 +4822,16 @@
 e0
 70
 89
-57
-88
-70
-89
 58
 3c
-70
-89
-59
-10
 20
 20
 29
 53
 20
 40
-05
-9c
-70
-89
-4b
-ba
+04
+bb
 70
 89
 55
@@ -5734,16 +4842,8 @@
 c0
 70
 89
-57
-88
-70
-89
 58
 6c
-70
-89
-59
-10
 20
 20
 29
@@ -5770,26 +4870,6 @@
 00
 70
 89
-4c
-fb
-70
-89
-4d
-ef
-70
-89
-4e
-ec
-70
-89
-4f
-5e
-20
-60
-00
-00
-70
-89
 56
 c2
 70
@@ -5820,6 +4900,14 @@
 60
 00
 00
+c6
+13
+00
+00
+20
+20
+2b
+6b
 20
 40
 7f
@@ -5827,7 +4915,7 @@
 68
 0a
 4c
-37
+39
 1c
 42
 7e
@@ -5847,11 +4935,11 @@
 68
 02
 4c
-37
+39
 68
 08
 cc
-3b
+3d
 98
 40
 84
@@ -5875,82 +4963,26 @@
 60
 02
 4c
-37
+39
 20
 20
 7f
 e7
-20
+d8
 40
-29
-bb
-20
-7a
 00
 00
-68
-08
-cc
-d0
-da
-20
-0d
-9e
-20
-40
-05
-c4
-60
-08
-cc
-d0
+df
 20
-60
-00
 00
+08
 1a
 22
-7e
-00
-98
-40
-8a
-00
-68
-00
-80
-18
-e0
-a0
-80
-00
-18
-40
-84
-01
-18
-41
-04
-07
-20
-60
-00
-00
-d8
-40
-00
-00
-df
-20
-00
-08
-1a
-22
-0c
-00
-e8
-c0
-80
+0c
+00
+e8
+c0
+80
 00
 98
 40
@@ -5958,8 +4990,8 @@
 00
 c2
 00
-05
-ce
+04
+dc
 18
 49
 7e
@@ -6000,70 +5032,10 @@
 60
 00
 00
-20
-60
-00
-00
-60
-02
-4c
-3e
-da
-20
-00
-00
-df
-20
-00
-04
-d8
-c0
-4c
-3e
-e8
-c0
-80
-00
-9a
-20
-a2
-00
-c2
-00
-05
-e0
-1a
-22
-7e
-00
-60
-01
-4c
-c7
-68
-00
-cc
-c7
-68
-08
-cc
-c8
-98
-40
-fe
-00
-60
-00
-cc
-c9
-20
-60
-00
-00
 68
 00
 cc
-16
+18
 1f
 e0
 fe
@@ -6071,19 +5043,19 @@
 60
 00
 cc
-18
+1a
 68
 00
 cc
-17
+19
 60
 00
 cb
-d2
+d4
 68
 00
 cc
-16
+18
 1f
 e9
 fe
@@ -6091,7 +5063,7 @@
 68
 08
 cc
-15
+17
 18
 41
 04
@@ -6107,7 +5079,7 @@
 68
 08
 cc
-52
+54
 98
 40
 fe
@@ -6119,7 +5091,7 @@
 68
 00
 cc
-16
+18
 98
 00
 72
@@ -6127,79 +5099,11 @@
 d8
 c0
 4b
-b2
+b4
 20
 20
 7f
 01
-68
-08
-cc
-21
-20
-40
-06
-00
-60
-08
-cc
-21
-20
-60
-00
-00
-20
-40
-06
-04
-18
-40
-84
-01
-18
-41
-04
-03
-20
-60
-00
-00
-68
-00
-cc
-3e
-1f
-e1
-7e
-03
-1f
-ef
-a2
-04
-58
-00
-4c
-27
-9a
-20
-fe
-00
-98
-40
-8c
-00
-e8
-c0
-80
-00
-60
-00
-cc
-20
-20
-60
-00
-00
 78
 44
 fc
@@ -6219,7 +5123,7 @@
 68
 00
 cc
-20
+22
 1f
 ed
 84
@@ -6238,8 +5142,8 @@
 00
 20
 40
-06
-0d
+04
+fb
 78
 57
 fc
@@ -6263,7 +5167,7 @@
 68
 01
 4c
-19
+1b
 98
 00
 36
@@ -6274,8 +5178,8 @@
 00
 24
 2c
-06
-52
+05
+45
 78
 46
 fc
@@ -6294,64 +5198,52 @@
 00
 20
 40
-06
-4f
+05
+42
 60
 00
 cc
-ca
+cc
 68
 08
 cc
-c9
+cb
 98
 46
 7c
 00
 24
 22
-86
-52
+85
+45
 20
 40
-06
-4f
+05
+42
 60
 00
 cb
-90
-68
-00
-cc
-5c
-1f
-e6
-7c
-02
-20
-22
-86
-32
+92
 68
 00
 cb
-90
+92
 68
 08
 cc
-17
+19
 a8
 40
 0e
 00
 24
 20
-86
-52
+85
+45
 20
 40
-06
-4f
+05
+42
 e0
 a0
 80
@@ -6366,32 +5258,32 @@
 1f
 20
 22
-86
-3a
+85
+25
 20
 40
-06
-4f
+05
+42
 e0
 a0
 80
 00
 c2
 00
-06
-37
+05
+22
 18
 a2
 22
 00
 20
 40
-06
-4f
+05
+42
 60
 00
 cd
-51
+53
 1a
 22
 0a
@@ -6426,8 +5318,8 @@
 00
 20
 23
-06
-52
+05
+45
 78
 37
 fc
@@ -6455,11 +5347,43 @@
 68
 00
 cd
-51
-20
+53
+1f
+e2
+22
+00
+68
+08
+cc
+d3
+58
+00
+4c
+da
+98
 40
+8a
 00
-16
+1a
+22
+7e
+00
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+60
+08
+cc
+d3
 20
 60
 00
@@ -6485,45 +5409,37 @@
 fc
 00
 20
-40
+20
 26
 4d
 20
-60
-00
-00
-20
-40
-29
-18
-68
-08
-cc
-20
-20
-20
-29
-33
-20
 40
 53
 c4
 68
 02
 4c
-3e
+40
 98
 00
 12
 00
 20
 40
-06
-0d
+04
+fb
 20
 40
-06
-56
+29
+18
+68
+08
+cc
+22
+20
+40
+29
+33
 79
 20
 2a
@@ -6575,7 +5491,7 @@
 68
 00
 cc
-c9
+cb
 08
 00
 86
@@ -6583,7 +5499,7 @@
 68
 00
 cc
-18
+1a
 98
 00
 72
@@ -6591,7 +5507,7 @@
 d8
 c0
 4b
-d2
+d4
 e8
 c0
 80
@@ -6602,8 +5518,8 @@
 08
 c2
 00
-06
-6f
+05
+60
 78
 24
 7c
@@ -6646,44 +5562,44 @@
 00
 20
 40
-07
-0f
+06
+06
 58
 00
 00
 03
 20
 40
-07
 05
+fc
 20
 5a
-07
-01
+05
+f8
 24
 5a
-07
-03
+05
+fa
 58
 00
 00
 02
 20
 40
-07
-0a
+06
+01
 20
 5a
-07
-01
+05
+f8
 68
 00
 cb
 27
 c0
 00
-86
-89
+85
+7a
 df
 20
 00
@@ -6697,132 +5613,68 @@
 7e
 d4
 68
-00
-cb
+01
+4b
 28
 60
-00
-91
+01
+11
 c5
-68
-00
-cb
-29
 20
-5a
-06
-bc
-68
-00
-cb
-29
-24
-5a
-06
-c5
-68
-00
-91
-c6
+40
+05
+ad
 60
-00
-cb
+01
+4b
 28
 68
-00
-c6
+01
+46
 9b
 60
-00
-91
+01
+11
 c5
-68
-00
-c6
-9c
 20
-5a
-06
-ca
-68
-00
-c6
-9c
-24
-5a
-06
-d3
-68
-00
-91
-c6
+40
+05
+bb
 60
-00
-c6
+01
+46
 9b
 68
-00
-cb
+01
+4b
 2a
 60
-00
-91
+01
+11
 c5
-68
-00
-cb
-2b
 20
-5a
-06
-bc
-68
-00
-cb
-2b
-24
-5a
-06
-c5
-68
-00
-91
-c6
+40
+05
+ad
 60
-00
-cb
+01
+4b
 2a
 68
-00
-c6
+01
+46
 9d
 60
-00
-91
+01
+11
 c5
-68
-00
-c6
-9e
 20
-5a
-06
-ca
-68
-00
-c6
-9e
-24
-5a
-06
-d3
-68
-00
-91
-c6
+40
+05
+bb
 60
-00
-c6
+01
+46
 9d
 68
 01
@@ -6842,8 +5694,8 @@
 c0
 20
 40
-06
-d8
+05
+9d
 68
 01
 11
@@ -6878,8 +5730,8 @@
 c0
 20
 40
-06
-d8
+05
+a5
 68
 01
 11
@@ -6901,37 +5753,97 @@
 00
 00
 68
+01
+11
+be
+68
+09
+11
+c0
+98
+40
+fe
 00
-91
-c5
-20
+68
+08
+cb
+90
+98
 40
-06
+fe
+00
+1f
+e1
+04
+01
+60
+08
+cb
+90
+20
+20
+05
+d2
+68
+01
+11
+be
+68
+09
+11
 c0
+98
+40
+fe
+00
+68
+08
+cb
+91
+98
+40
+fe
+00
+1f
+e1
+04
+01
 60
+08
+cb
+91
+20
+20
+05
+d2
+68
 00
 91
 c6
 20
-60
-00
-00
-1f
-ef
-fe
-03
-1f
-e6
-fc
+3a
+05
+b0
+20
+20
 05
+b5
+68
+00
+91
+c5
 20
 40
-7f
-86
-18
-07
-fe
+05
+c8
+60
 00
+91
+c5
+68
+01
+11
+c5
 20
 60
 00
@@ -6942,44 +5854,84 @@
 c5
 20
 40
-06
-fd
+05
+f4
 20
 40
-06
-c0
+05
+c8
 20
 5a
 7f
 ef
 20
+40
+05
+f0
+20
 20
-06
-f9
+05
+b3
+68
+00
+91
+c6
+20
+3a
+05
+be
+20
+20
+05
+c2
 68
 00
 91
 c5
 20
 40
-06
-ce
+05
+cd
 60
 00
 91
-c6
+c5
 20
-60
-00
+20
+05
+b3
+68
 00
+91
+c5
+20
+40
+05
+f4
+20
+40
+05
+cd
+20
+5a
+7f
+ef
+20
+40
+05
+f0
+20
+20
+05
+b3
 1f
 ef
 fe
-0c
+03
 1f
 e6
 fc
-0a
+05
 20
 40
 7f
@@ -6992,38 +5944,26 @@
 60
 00
 00
-68
-00
-91
-c5
-20
-40
-06
-fd
-20
-40
-06
-ce
-20
-5a
-7f
+1f
 ef
+fe
+0c
+1f
+e6
+fc
+0a
 20
-20
-06
-f9
-68
-01
-11
-be
-68
-09
-11
-c0
-98
 40
+7f
+86
+18
+07
 fe
 00
+20
+60
+00
+00
 60
 01
 91
@@ -7034,16 +5974,16 @@
 10
 20
 20
-86
-e5
+85
+dc
 68
 00
 91
 c3
 c0
 7f
-86
-ec
+85
+e3
 68
 00
 91
@@ -7070,16 +6010,16 @@
 c3
 c0
 00
-06
-e9
+05
+e0
 68
 01
 91
 c2
 20
 20
-06
-e1
+05
+d8
 70
 11
 c4
@@ -7090,16 +6030,16 @@
 c2
 20
 20
-06
-e1
+05
+d8
 68
 00
 91
 c2
 20
 40
-06
-f7
+05
+ee
 60
 00
 91
@@ -7110,298 +6050,1498 @@
 c0
 20
 3a
-06
-f5
+05
+ec
 58
 00
 00
 ff
 60
 00
-91
-bf
-60
+91
+bf
+60
+00
+91
+c1
+20
+60
+00
+00
+58
+00
+00
+00
+20
+20
+05
+e9
+20
+40
+05
+f4
+1f
+e3
+7e
+00
+20
+40
+05
+f5
+1f
+e6
+7e
+00
+60
+00
+91
+c5
+20
+60
+00
+00
+1f
+e6
+7e
+00
+60
+00
+8a
+ae
+68
+00
+8a
+ae
+20
+60
+00
+00
+70
+4b
+27
+00
+20
+60
+00
+00
+70
+4b
+27
+01
+20
+60
+00
+00
+9a
+26
+7c
+00
+24
+21
+7f
+ef
+9a
+46
+7c
+00
+24
+21
+7f
+ef
+20
+20
+7f
+f1
+9a
+26
+7c
+00
+24
+61
+00
+00
+9a
+46
+7c
+00
+24
+61
+00
+00
+20
+20
+7f
+f1
+68
+01
+46
+9b
+20
+40
+06
+0d
+1f
+e2
+22
+00
+68
+01
+46
+9d
+20
+40
+06
+0d
+1f
+e2
+24
+00
+20
+60
+00
+00
+60
+01
+11
+c0
+68
+00
+91
+c1
+c0
+7f
+86
+13
+68
+00
+91
+c0
+1f
+e1
+7e
+ff
+20
+60
+00
+00
+68
+01
+11
+c0
+1f
+e6
+7e
+00
+20
+20
+06
+11
+58
+00
+12
+db
+d8
+a0
+11
+c7
+98
+a6
+72
+00
+20
+40
+7e
+d4
+20
+40
+06
+33
+20
+40
+06
+20
+70
+12
+d6
+01
+70
+11
+cb
+20
+70
+11
+c7
+05
+20
+20
+06
+89
+df
+20
+00
+ff
+d8
+a0
+11
+d6
+58
+00
+01
+ff
+18
+00
+24
+00
+1f
+e9
+22
+00
+1a
+23
+22
+00
+9a
+22
+a2
+00
+2a
+2f
+fe
+00
+79
+20
+fe
+09
+18
+43
+04
+00
+2f
+ef
+fe
+00
+79
+20
+84
+07
+1f
+e3
+7e
+00
+1a
+40
+a4
+01
+2a
+40
+0e
+00
+24
+20
+86
+24
+e0
+a8
+80
+00
+c2
+00
+06
+24
+20
+60
+00
+00
+70
+89
+07
+00
+70
+89
+08
+00
+70
+89
+09
+00
+70
+89
+0a
+ff
+70
+89
+0b
+ff
+70
+89
+0f
+2e
+70
+89
+12
+47
+70
+89
+4b
+ba
+70
+89
+4c
+fb
+70
+89
+4d
+ef
+70
+89
+4e
+ec
+70
+89
+4f
+5e
+70
+89
+6f
+88
+70
+89
+73
+00
+70
+89
+5a
+4a
+70
+89
+5c
+80
+70
+89
+30
+a9
+70
+89
+2f
+ad
+70
+89
+2e
+b1
+70
+89
+2d
+b5
+70
+89
+2c
+b9
+70
+89
+2b
+bd
+70
+89
+2a
+c2
+70
+89
+29
+c6
+70
+89
+28
+ca
+70
+89
+27
+ce
+70
+89
+26
+d2
+70
+89
+25
+d6
+70
+89
+24
+da
+70
+89
+23
+de
+70
+89
+22
+e2
+70
+89
+21
+e6
+70
+89
+20
+ea
+70
+89
+1f
+ee
+70
+89
+1e
+f2
+70
+89
+1d
+f6
+70
+89
+1c
+fb
+70
+89
+1b
+fb
+70
+89
+1a
+fb
+70
+89
+47
+f5
+70
+89
+46
+e6
+70
+89
+45
+d7
+70
+89
+44
+d6
+70
+89
+43
+c7
+70
+89
+42
+c6
+70
+89
+41
+87
+70
+89
+40
+86
+70
+89
+3f
+85
+70
+89
+3e
+46
+70
+89
+3d
+07
+70
+89
+3c
+06
+70
+89
+3b
+c7
+70
+89
+3a
+c6
+70
+89
+39
+c5
+70
+89
+38
+c4
+70
+89
+37
+c3
+70
+89
+36
+c2
+70
+89
+35
+c1
+70
+89
+34
+c0
+70
+89
+33
+80
+70
+89
+32
+80
+70
+89
+31
+80
+70
+89
+4a
+7f
+70
+89
+49
+f8
+70
+89
+48
+00
+70
+89
+55
+d0
+70
+89
+56
+e0
+70
+89
+57
+88
+70
+89
+58
+6c
+70
+89
+59
+10
+20
+60
+00
+00
+70
+89
+04
+77
+70
+89
+03
+03
+20
+00
+00
+0a
+70
+89
+03
+83
+70
+89
+04
+7f
+70
+89
+03
+a7
+20
+60
+00
+00
+20
+00
+00
+64
+70
+89
+55
+d8
+20
+00
+00
+28
+70
+89
+55
+d2
+20
+00
+00
+28
+70
+89
+55
+d1
+20
+00
+00
+28
+20
+20
+29
+08
+20
+40
+07
+1c
+68
+08
+91
+c8
+18
+41
+7e
+0f
+c0
+00
+86
+90
+c0
+01
+86
+90
+c0
+03
+86
+90
+70
+11
+c8
+01
+68
+00
+91
+c9
+1f
+e1
+7e
+03
+60
+00
+91
+c9
+c0
+00
+86
+97
+c0
+01
+06
+97
+c0
+01
+86
+97
+70
+11
+c9
+01
+68
+00
+91
+ca
+1f
+e1
+7e
+0f
+60
+00
+91
+ca
+c0
+00
+86
+9e
+c0
+01
+06
+9e
+c0
+02
+06
+9e
+70
+11
+ca
+01
+68
+00
+91
+cb
+1f
+e1
+7e
+30
+60
+00
+91
+cb
+c0
+00
+06
+a4
+c0
+10
+06
+a4
+70
+11
+cb
+00
+68
+00
+91
+cc
+c0
+00
+06
+a7
+20
+20
+06
+a8
+70
+11
+cc
+19
+68
+00
+91
+cd
+1f
+e1
+7e
+03
+60
+00
+91
+cd
+c0
+00
+86
+ae
+c0
+01
+06
+ae
+70
+11
+cd
+02
+68
+00
+91
+c7
+c0
+00
+06
+b3
+d8
+40
+00
+51
+98
+46
+7c
+00
+24
+21
+06
+b4
+70
+11
+c7
+02
+68
+03
+91
+c7
+60
+03
+91
+ce
+68
+00
+91
+d0
+c0
+00
+86
+b9
+c0
+01
+07
+10
+68
+08
+91
+ce
+18
+40
+85
+ff
+68
+00
+91
+d2
+c0
+00
+06
+d3
+20
+40
+06
+7a
+20
+40
+06
+f6
+78
+43
+fc
+00
+78
+2e
+fc
+00
+78
+30
+7c
+00
+68
+08
+91
+cf
+18
+42
+2a
+00
+68
+00
+91
+d2
+60
+10
+89
+08
+68
+00
+91
+d3
+1f
+e2
+72
+00
+d8
+c0
+11
+d6
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+06
+c9
+20
+40
+4c
+2e
+20
+40
+07
+1c
+68
+03
+91
+ce
+68
+0b
+91
+c7
+98
+46
+7c
+00
+20
+22
+86
+c6
+20
+20
+06
+89
+20
+40
+06
+7a
+20
+40
+06
+f6
+20
+40
+02
+ee
+79
+20
+2a
+00
+78
+2e
+fc
+00
+78
+30
+7c
+00
+78
+50
+fc
+00
+20
+40
+54
+7f
+68
+00
+91
+d2
+60
+10
+89
+08
+d8
+a0
+11
+9e
+58
+cc
+cc
+cc
+60
+01
+91
+9e
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+e0
+a1
+80
+00
+df
+20
+00
+18
+d8
+c0
+11
+9e
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+06
+e9
+20
+40
+06
+f5
+20
+21
+86
+89
+20
+40
+4c
+2e
+68
+03
+91
+ce
+68
+0b
+91
+c7
+98
+46
+7c
+00
+20
+22
+86
+ed
+20
+40
+06
+f5
+20
+20
+06
+89
+20
+20
+06
+81
+60
+08
+80
+17
+18
+40
+a2
+01
+20
+40
+29
+81
+58
+00
+05
+00
+20
+40
+2a
+8f
+70
+89
+06
+01
+70
+89
+00
+3c
+70
+89
+01
+e0
+70
+89
+6d
+12
+20
+00
+00
+0a
+70
+89
+02
+01
+70
+89
+02
+3d
+20
+00
+00
+0a
+70
+89
+03
+b7
+20
+00
+00
+0a
+70
+89
+02
+7d
+70
+89
+56
+ce
+20
+00
+00
+04
+70
+89
+55
+d1
+20
+00
+00
+04
+70
+89
+55
+d2
+20
+00
+00
+04
+70
+89
+55
+d8
+20
+00
+00
+04
+70
+89
+55
+d8
+20
+60
+00
+00
+68
+08
+91
+ce
+18
+40
+85
+ff
+20
+40
+07
+1a
+20
+40
+4c
+2e
+20
+40
+07
+1c
+68
+03
+91
+ce
+68
+0b
+91
+c7
+98
+46
+7c
+00
+20
+22
+87
+13
+20
+20
+06
+89
+20
+40
+06
+f5
+20
+20
+53
+df
+20
+40
+02
+23
+c0
+00
+87
+3c
+c0
+01
+07
+53
+c0
+02
+07
+24
+70
+12
+d7
+00
+70
+12
+d9
+00
+70
+12
+da
 00
-91
-c1
 20
 60
 00
 00
-58
+68
 00
+92
+d7
+24
+7a
 00
 00
+70
+12
+d7
+01
 20
+40
+07
+29
 20
-06
-f2
 20
-40
-06
-fd
-1f
-e3
-7e
+07
+2f
+68
 00
-20
-40
-06
-fe
+92
+d6
 1f
-e6
-7e
-00
-60
-00
-91
-c6
-20
+e0
+fe
+01
 60
 00
+92
+d6
+c1
+82
 00
-1f
-e6
-7e
 00
+70
+12
+d6
+01
+20
 60
 00
-8a
-ae
+00
 68
 00
-8a
-ae
+92
+d6
+c0
+00
+87
+34
+c0
+01
+07
+37
+c0
+01
+87
+3a
 20
 60
 00
 00
 70
-4b
-27
-00
+11
+cb
+20
+70
+11
+c9
+01
 20
 60
 00
 00
 70
-4b
-27
+11
+cb
+00
+70
+11
+c9
 01
 20
 60
 00
 00
-9a
-26
-7c
-00
-24
-21
-7f
-ef
-9a
-46
-7c
-00
-24
-21
-7f
-ef
-20
+70
+11
+c9
+02
 20
-7f
-f1
-9a
-26
-7c
-00
-24
-61
+60
 00
 00
-9a
-46
-7c
+68
 00
+92
+d9
 24
-61
+7a
 00
 00
-20
-20
-7f
-f1
-68
+70
+12
+d9
 01
-46
-9b
 20
 40
 07
-16
-1f
-e2
-22
-00
-68
-01
-46
-9d
+41
+20
 20
-40
 07
-16
+48
+68
+00
+92
+d8
 1f
-e2
+e0
+fe
+01
+60
+00
+92
+d8
+1f
+e6
+7c
+04
 24
+62
+80
 00
+70
+12
+d8
+01
 20
 60
 00
 00
-60
-01
-11
-c0
 68
 00
-91
-c1
+92
+d8
 c0
-7f
-87
-1c
-68
 00
-91
+87
+4d
 c0
-1f
-e1
-7e
-ff
+01
+07
+4f
+c0
+01
+87
+51
 20
 60
 00
 00
-68
-01
-11
-c0
-1f
-e6
-7e
-00
-20
-20
-07
-1a
-70
-47
-a6
-07
 70
-47
-a7
-04
-58
-00
-47
-a6
-60
-01
-42
-18
-20
-20
-7e
-38
-da
-20
-46
-9a
-20
-40
-7e
-3d
-20
-54
-07
-28
+11
+c7
+05
 20
 60
 00
 00
-68
-00
-c7
+70
+11
 c7
-1f
-e0
-fe
-01
+1e
+20
 60
 00
+00
+70
+11
 c7
-c7
+46
 20
 60
 00
 00
+68
+00
+92
 da
-20
-46
-9a
-20
-40
-7e
-54
-20
-34
-07
-30
-20
-60
+24
+7a
 00
 00
+70
+12
+da
+01
 20
 40
-56
-52
+07
+41
 68
 00
-c7
-c7
-1f
-e6
-7c
+92
+d8
+c0
 01
-24
-41
-56
-50
-68
+87
+4d
+c0
 00
-c7
-c7
+87
+4f
+c0
+01
+07
+51
 20
-7a
-00
-00
-1f
-e0
-ff
-ff
 60
 00
-c7
-c7
-20
-20
-3f
-90
-e3
-1b
+00
+4c
+1d
 aa
 55
 08
@@ -7448,7 +7588,7 @@
 07
 aa
 55
-0e
+0d
 00
 10
 40
@@ -7456,16 +7596,15 @@
 06
 00
 00
-02
+80
 00
-06
+04
 00
 10
 06
 00
 00
 48
-1c
 aa
 55
 0b
@@ -7589,14 +7728,6 @@
 47
 aa
 55
-02
-00
-2d
-42
-01
-32
-aa
-55
 01
 00
 3a
@@ -7612,21 +7743,6 @@
 84
 aa
 55
-02
-00
-6f
-44
-19
-00
-aa
-55
-01
-00
-8d
-44
-07
-aa
-55
 06
 00
 a0
@@ -7641,21 +7757,6 @@
 55
 01
 00
-e5
-44
-50
-aa
-55
-02
-00
-fa
-44
-22
-00
-aa
-55
-01
-00
 5a
 45
 0a
@@ -7678,15 +7779,13 @@
 03
 aa
 55
-05
+03
 00
 84
 46
 01
 1e
 ff
-08
-07
 aa
 55
 07
@@ -7696,7 +7795,7 @@
 07
 00
 00
-50
+00
 00
 70
 17
@@ -7756,18 +7855,6 @@
 02
 aa
 55
-06
-00
-09
-47
-a4
-01
-18
-01
-40
-01
-aa
-55
 08
 00
 20
@@ -7904,13 +7991,13 @@
 00
 8e
 4b
-01
+02
 00
 aa
 55
 04
 00
-17
+19
 4c
 01
 00
@@ -7920,7 +8007,7 @@
 55
 15
 00
-22
+24
 4c
 20
 15
@@ -7947,7 +8034,7 @@
 55
 03
 00
-3b
+3d
 4c
 19
 19
@@ -7956,7 +8043,7 @@
 55
 03
 00
-45
+47
 4c
 80
 4f
@@ -7965,7 +8052,7 @@
 55
 02
 00
-5b
+5d
 4c
 04
 01
@@ -7973,101 +8060,14 @@
 55
 04
 00
-5b
+5d
 4d
 0f
 0f
 0f
 0f
-28
-c6
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+8c
+bb
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-0c
-21
+59
+e4
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/memmap.format	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/memmap.format	(working copy)
@@ -603,7 +603,31 @@
 0x11c0 mem_data_current
 0x11c2 mem_data_sum
 0x11c5 mem_data_value
-0x11c6 mem_data_value_temp
+0x11c7 mem_test_mode_start
+0x11c7 mem_fcc_param_new
+0x11c7 mem_fcc_ch_new
+0x11c8 mem_fcc_mod_new
+0x11c9 mem_fcc_txrx_new
+0x11ca mem_fcc_btble_new
+0x11cb mem_fcc_data_new
+0x11cc mem_fcc_data_length_new
+0x11cd mem_fcc_hop_new
+0x11ce mem_fcc_param
+0x11ce mem_fcc_ch
+0x11cf mem_fcc_mod
+0x11d0 mem_fcc_txrx
+0x11d1 mem_fcc_btble
+0x11d2 mem_fcc_data
+0x11d3 mem_fcc_data_length
+0x11d4 mem_fcc_hop
+0x11d5 mem_random_ch
+0x11d6 mem_pn9
+0x12d6 mem_test_mode_switch
+0x12d7 mem_test_mode_switch_enable
+0x12d8 mem_test_ch_switch
+0x12d9 mem_test_ch_switch_incre_enable
+0x12da mem_test_ch_switch_decre_enable
+0x12db mem_test_mode_end
 0x4000 mem_patch00
 0x4001 mem_patch01
 0x4002 mem_patch02
@@ -1816,125 +1840,127 @@
 0x4b8c mem_mouse_fwkey_press_status
 0x4b8d mem_mouse_dpikey_press_status
 0x4b8e mem_firmware_version
-0x4b90 mem_24g_rxbuf
-0x4bb2 mem_24g_txbuf
-0x4bd2 mem_24g_txpayload
-0x4bf4 mem_24g_rxpayload
-0x4c14 mem_24g_rxdata_length
-0x4c15 mem_24g_pid
-0x4c16 mem_24g_datalen
-0x4c17 mem_24g_data_type
-0x4c18 mem_24g_txlen
-0x4c19 mem_24g_rx_window
-0x4c1b mem_24g_ensure
-0x4c1c mem_24g_txfail_cnt
-0x4c1e mem_24g_get_ack_fail
-0x4c1f mem_24g_retry
-0x4c20 mem_24g_ch
-0x4c21 mem_24g_current_ch_number
-0x4c22 mem_24g_paring_addr
-0x4c26 mem_24g_pairing_sm
-0x4c27 mem_24g_ch_map1
-0x4c2b mem_24g_ch_map2
-0x4c2f mem_24g_ch_map3
-0x4c33 mem_24g_ch_map4
-0x4c37 mem_24g_tx_btclk
-0x4c3b mem_24g_interval
-0x4c3c mem_24g_interval_min
-0x4c3d mem_24g_interval_max
-0x4c3e mem_24g_addr
-0x4c42 mem_24g_abort_pac
-0x4c43 mem_24g_check_dongle_times
-0x4c45 mem_24g_enter_hibernate
-0x4c4d mem_24g_device_addr
-0x4c51 mem_24g_pac_index
-0x4c52 mem_24g_no_ack
-0x4c53 mem_24g_sta_crc
-0x4c56 mem_24g_last_crc
-0x4c59 mem_24g_sta_pid
-0x4c5a mem_24g_last_pid
-0x4c5b mem_24g_max_retry
-0x4c5c mem_24g_mode
-0x4c5d mem_24g_rxdata_temp
-0x4c7f mem_24g_rx_addr
-0x4c83 mem_dongle_mode_init
-0x4c84 mem_dongle_work_mode
-0x4c85 mem_dongle_ms_bind_step
-0x4c86 mem_dongle_kb_bind_step
-0x4c87 mem_dongle_bind_device_status
-0x4c88 mem_24g_bind_payload
-0x4c90 mem_24g_abort_packet
-0x4c91 mem_24g_rf_laststa
-0x4c92 mem_24g_hop_btclk
-0x4c96 mem_24g_hop_interval
-0x4c97 mem_24g_mode_switch
-0x4c98 mem_24g_ackpayload_enable
-0x4c99 mem_24g_hop_packet
-0x4c9a mem_24g_pair_mode
-0x4c9b mem_24g_nodata_timer_enable
-0x4c9c mem_24g_time_slice
-0x4c9d mem_24g_kb_data_sta_data
-0x4ca5 mem_24g_kb_data_last_data
-0x4cad mem_24g_kb_multikey_sta_data
-0x4cb0 mem_24g_kb_multikey_last_data
-0x4cb3 mem_24g_kb_blank_data_enable
-0x4cb4 mem_24g_kb_mul_blank_data_enable
-0x4cb5 mem_24g_ms_blank_data_enable
-0x4cb6 mem_24g_kb_addr
-0x4cba mem_24g_ms_addr
-0x4cbe mem_24g_dg_last_ch
-0x4cbf mem_24g_dg_ch_number
-0x4cc0 mem_24g_dg_config_ch_once
-0x4cc1 mem_24g_kb_last_ch
-0x4cc2 mem_24g_kb_ch_number
-0x4cc3 mem_24g_kb_config_ch_once
-0x4cc4 mem_24g_ms_last_ch
-0x4cc5 mem_24g_ms_ch_number
-0x4cc6 mem_24g_ms_config_ch_once
-0x4cc7 mem_24g_syncword
-0x4cc9 mem_24g_syncword_crc8
-0x4cca mem_24g_get_syncword_crc8
-0x4ccb mem_24g_ota_sta_pid
-0x4ccd mem_tx_power_temp
-0x4cce mem_rssi_hex
-0x4ccf mem_rssi_noise_avg
-0x4cd0 mem_rssi_noise_index
-0x4cd1 mem_rssi_signal_index
-0x4cd2 mem_rssi_noise_dg_avg
-0x4cd3 mem_rssi_noise_kb_avg
-0x4cd4 mem_rssi_noise_ms_avg
-0x4cd5 mem_rssi_noise_dg_index
-0x4cd6 mem_rssi_noise_kb_index
-0x4cd7 mem_rssi_noise_ms_index
-0x4cd8 mem_rssi_signal_buf
-0x4ce0 mem_queue_ele_num
-0x4ce1 mem_queue_read
-0x4ce3 mem_queue_write
-0x4ce5 mem_queue_start
-0x4ce5 mem_data_ele0
-0x4d05 mem_data_ele1
-0x4d25 mem_data_ele2
-0x4d45 mem_queue_end
-0x4d45 mem_queue_temp
-0x4d47 mem_cb_24g_data
-0x4d49 mem_24g_hop_fastly_cnt
-0x4d4a mem_24g_hop_pac_retry
-0x4d4b mem_24g_rf_hop_ch
-0x4d4c mem_24g_rf_last_sta
-0x4d4d mem_24g_rf_work_stage
-0x4d4e mem_24g_sync_cnt
-0x4d4f mem_power_ctrl_pac_succ_cnt
-0x4d50 mem_rssi_avg_received
-0x4d51 mem_rssi_hex_received
-0x4d52 mem_power_ctrl_level
-0x4d53 mem_seqi
-0x4d54 mem_24g_auto_paring_switch
-0x4d55 mem_24g_paccnt
-0x4d56 mem_24g_transmit_by_interrupt
-0x4d57 mem_24g_transmit_by_interrupt_exit_count
-0x4d59 mem_24g_transmit_by_interrupt_exit_count_init
-0x4d5b mem_24g_allpowerful_addr
-0x4d5f mem_24g_search_dongle_action
-0x4d60 mem_24g_search_dongle_count
-0x4d61 mem_24g_search_dongle_ch
-0x4d62 mem_g24_conn_sm
+0x4b90 mem_mouse_data_xtemp
+0x4b91 mem_mouse_data_ytemp
+0x4b92 mem_24g_rxbuf
+0x4bb4 mem_24g_txbuf
+0x4bd4 mem_24g_txpayload
+0x4bf6 mem_24g_rxpayload
+0x4c16 mem_24g_rxdata_length
+0x4c17 mem_24g_pid
+0x4c18 mem_24g_datalen
+0x4c19 mem_24g_data_type
+0x4c1a mem_24g_txlen
+0x4c1b mem_24g_rx_window
+0x4c1d mem_24g_ensure
+0x4c1e mem_24g_txfail_cnt
+0x4c20 mem_24g_get_ack_fail
+0x4c21 mem_24g_retry
+0x4c22 mem_24g_ch
+0x4c23 mem_24g_current_ch_number
+0x4c24 mem_24g_paring_addr
+0x4c28 mem_24g_pairing_sm
+0x4c29 mem_24g_ch_map1
+0x4c2d mem_24g_ch_map2
+0x4c31 mem_24g_ch_map3
+0x4c35 mem_24g_ch_map4
+0x4c39 mem_24g_tx_btclk
+0x4c3d mem_24g_interval
+0x4c3e mem_24g_interval_min
+0x4c3f mem_24g_interval_max
+0x4c40 mem_24g_addr
+0x4c44 mem_24g_abort_pac
+0x4c45 mem_24g_check_dongle_times
+0x4c47 mem_24g_enter_hibernate
+0x4c4f mem_24g_device_addr
+0x4c53 mem_24g_pac_index
+0x4c54 mem_24g_no_ack
+0x4c55 mem_24g_sta_crc
+0x4c58 mem_24g_last_crc
+0x4c5b mem_24g_sta_pid
+0x4c5c mem_24g_last_pid
+0x4c5d mem_24g_max_retry
+0x4c5e mem_24g_mode
+0x4c5f mem_24g_rxdata_temp
+0x4c81 mem_24g_rx_addr
+0x4c85 mem_dongle_mode_init
+0x4c86 mem_dongle_work_mode
+0x4c87 mem_dongle_ms_bind_step
+0x4c88 mem_dongle_kb_bind_step
+0x4c89 mem_dongle_bind_device_status
+0x4c8a mem_24g_bind_payload
+0x4c92 mem_24g_abort_packet
+0x4c93 mem_24g_rf_laststa
+0x4c94 mem_24g_hop_btclk
+0x4c98 mem_24g_hop_interval
+0x4c99 mem_24g_mode_switch
+0x4c9a mem_24g_ackpayload_enable
+0x4c9b mem_24g_hop_packet
+0x4c9c mem_24g_pair_mode
+0x4c9d mem_24g_nodata_timer_enable
+0x4c9e mem_24g_time_slice
+0x4c9f mem_24g_kb_data_sta_data
+0x4ca7 mem_24g_kb_data_last_data
+0x4caf mem_24g_kb_multikey_sta_data
+0x4cb2 mem_24g_kb_multikey_last_data
+0x4cb5 mem_24g_kb_blank_data_enable
+0x4cb6 mem_24g_kb_mul_blank_data_enable
+0x4cb7 mem_24g_ms_blank_data_enable
+0x4cb8 mem_24g_kb_addr
+0x4cbc mem_24g_ms_addr
+0x4cc0 mem_24g_dg_last_ch
+0x4cc1 mem_24g_dg_ch_number
+0x4cc2 mem_24g_dg_config_ch_once
+0x4cc3 mem_24g_kb_last_ch
+0x4cc4 mem_24g_kb_ch_number
+0x4cc5 mem_24g_kb_config_ch_once
+0x4cc6 mem_24g_ms_last_ch
+0x4cc7 mem_24g_ms_ch_number
+0x4cc8 mem_24g_ms_config_ch_once
+0x4cc9 mem_24g_syncword
+0x4ccb mem_24g_syncword_crc8
+0x4ccc mem_24g_get_syncword_crc8
+0x4ccd mem_24g_ota_sta_pid
+0x4ccf mem_tx_power_temp
+0x4cd0 mem_rssi_hex
+0x4cd1 mem_rssi_noise_avg
+0x4cd2 mem_rssi_noise_index
+0x4cd3 mem_rssi_signal_index
+0x4cd4 mem_rssi_noise_dg_avg
+0x4cd5 mem_rssi_noise_kb_avg
+0x4cd6 mem_rssi_noise_ms_avg
+0x4cd7 mem_rssi_noise_dg_index
+0x4cd8 mem_rssi_noise_kb_index
+0x4cd9 mem_rssi_noise_ms_index
+0x4cda mem_rssi_signal_buf
+0x4ce2 mem_queue_ele_num
+0x4ce3 mem_queue_read
+0x4ce5 mem_queue_write
+0x4ce7 mem_queue_start
+0x4ce7 mem_data_ele0
+0x4d07 mem_data_ele1
+0x4d27 mem_data_ele2
+0x4d47 mem_queue_end
+0x4d47 mem_queue_temp
+0x4d49 mem_cb_24g_data
+0x4d4b mem_24g_hop_fastly_cnt
+0x4d4c mem_24g_hop_pac_retry
+0x4d4d mem_24g_rf_hop_ch
+0x4d4e mem_24g_rf_last_sta
+0x4d4f mem_24g_rf_work_stage
+0x4d50 mem_24g_sync_cnt
+0x4d51 mem_power_ctrl_pac_succ_cnt
+0x4d52 mem_rssi_avg_received
+0x4d53 mem_rssi_hex_received
+0x4d54 mem_power_ctrl_level
+0x4d55 mem_seqi
+0x4d56 mem_24g_auto_paring_switch
+0x4d57 mem_24g_paccnt
+0x4d58 mem_24g_transmit_by_interrupt
+0x4d59 mem_24g_transmit_by_interrupt_exit_count
+0x4d5b mem_24g_transmit_by_interrupt_exit_count_init
+0x4d5d mem_24g_allpowerful_addr
+0x4d61 mem_24g_search_dongle_action
+0x4d62 mem_24g_search_dongle_count
+0x4d63 mem_24g_search_dongle_ch
+0x4d64 mem_g24_conn_sm
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/program.lis	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/output/program.lis	(working copy)
@@ -1,2516 +1,2557 @@
 include "bt_format "
 org 0x0000
-0000 c2840013 bbit1 8 ,pf_patch_ext 
-0001 c0000020 beq patch00_0 ,p_soft_reset 
-0002 c0008023 beq patch00_1 ,p_soft_reset_1 
-0003 c001002b beq patch00_2 ,p_soft_reset_2 
-0004 c04285a9 beq patch10_5 ,p_shutdown_radio 
-0005 c0448566 beq patch11_1 ,p_set_freq_tx 
-0006 c04505ab beq patch11_2 ,p_initialize_radio_cont 
-0007 c0508034 beq patch14_1 ,p_init_param 
-0008 c0588039 beq patch16_1 ,p_lpm_check_wake_lock 
-0009 c0590047 beq patch16_2 ,p_g24_dispatch 
-000a c0620115 beq patch18_4 ,p_device_init 
-000b c06481bd beq patch19_1 ,p_app_flag_store 
-000c c06501c1 beq patch19_2 ,p_app_initflag_check 
-000d c071834f beq patch1c_3 ,p_mouse_seting_dpi 
-000e c073029c beq patch1c_6 ,p_mouse_motion 
-000f c075037d beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0010 c075838a beq patch1d_3 ,p_mouse_start_discovery 
-0011 c07603b3 beq patch1d_4 ,p_mouse_stop_discovery 
-0012 20202a8e branch loop 
+0000 c284000f bbit1 8 ,pf_patch_ext 
+0001 c0000012 beq patch00_0 ,p_soft_reset 
+0002 c0008015 beq patch00_1 ,p_soft_reset_1 
+0003 c001001d beq patch00_2 ,p_soft_reset_2 
+0004 c04284c3 beq patch10_5 ,p_shutdown_radio 
+0005 c0448496 beq patch11_1 ,p_set_freq_tx 
+0006 c04504c5 beq patch11_2 ,p_initialize_radio_cont 
+0007 c05384c8 beq patch14_7 ,p_lpm_dispatch 
+0008 c0590026 beq patch16_2 ,p_g24_dispatch 
+0009 c06200f4 beq patch18_4 ,p_device_init 
+000a c0648173 beq patch19_1 ,p_app_flag_store 
+000b c0650177 beq patch19_2 ,p_app_initflag_check 
+000c c07182c0 beq patch1c_3 ,p_mouse_seting_dpi 
+000d c073020e beq patch1c_6 ,p_mouse_motion 
+000e 20202a8e branch loop 
 
 pf_patch_ext:
-0013 c01f83b7 beq patch27_7 ,p_le_enable 
-0014 c04603c2 beq patch31_4 ,p_twspi_reset 
-0015 20202a8e branch loop 
-
-p_rssi_signal:
-0016 1fe22200 copy pdata ,rega 
-0017 6808ccd1 fetcht 1 ,mem_rssi_signal_index 
-0018 58004cd8 setarg mem_rssi_signal_buf 
-0019 98408a00 iadd temp ,contw 
-001a 1a227e00 copy rega ,pdata 
-001b e0a08000 istore 1 ,contw 
-001c 18408401 increase 1 ,temp 
-001d 18410407 and_into rssi_buf_len_signal ,temp 
-001e 6008ccd1 storet 1 ,mem_rssi_signal_index 
-001f 20600000 rtn 
+000f c01f82ee beq patch27_7 ,p_le_enable 
+0010 c04602f9 beq patch31_4 ,p_twspi_reset 
+0011 20202a8e branch loop 
 
 p_soft_reset:
-0020 6810813b hfetch 1 ,0x813b 
-0021 6000cb19 store 1 ,mem_power_on_flag 
-0022 20202002 branch soft_reset + 1 
+0012 6810813b hfetch 1 ,0x813b 
+0013 6000cb19 store 1 ,mem_power_on_flag 
+0014 20202002 branch soft_reset + 1 
 
 p_soft_reset_1:
-0023 d8a009ae arg mem_sp_state ,contw 
-0024 df20000c arg 12 ,loopcnt 
-0025 20407ed4 call clear_mem 
-0026 20406a03 call rfcomm_init 
-0027 20405cf6 call init_lmp 
-0028 2455ac65 ncall lpm_disable_exen_output ,wake 
-0029 20407ccd call ui_init + 1 
-002a 2020200c branch soft_reset + 11 
+0015 d8a009ae arg mem_sp_state ,contw 
+0016 df20000c arg 12 ,loopcnt 
+0017 20407ed4 call clear_mem 
+0018 20406a03 call rfcomm_init 
+0019 20405cf6 call init_lmp 
+001a 2455ac65 ncall lpm_disable_exen_output ,wake 
+001b 20407ccd call ui_init + 1 
+001c 2020200c branch soft_reset + 11 
 
 p_soft_reset_2:
-002b 2055b2e3 call app_lpm_init ,wake 
-002c 2040756a call publickey_init 
-002d 2055ab41 call lpm_recover_clk ,wake 
+001d 2055b2e3 call app_lpm_init ,wake 
+001e 2040756a call publickey_init 
+001f 2055ab41 call lpm_recover_clk ,wake 
 
 p_sp_cal_loop:
-002e 204076dc call sp_calc_sequence 
-002f 6800c65a fetch 1 ,mem_ssp_enable 
-0030 203a2012 branch main_loop ,blank 
-0031 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0032 203a002e branch p_sp_cal_loop ,blank 
-0033 20202012 branch main_loop 
-
-p_init_param:
-0034 58000a06 setarg param_le_version 
-0035 6001c510 store 3 ,mem_lmp_version 
-0036 58001d87 setarg param_le_subversion 
-0037 60014513 store 2 ,mem_lmp_version + 3 
-0038 20202aa2 branch init_param + 12 
-
-p_lpm_check_wake_lock:
-0039 c6130000 rtnmark1 mark_24g 
-003a 6800cb15 fetch 1 ,mem_mouse_multi_led_blink_count 
-003b 243a7fef nbranch disable_blank ,blank 
-003c 6800cb0f fetch 1 ,mem_mouse_multi_led_state 
-003d 243a7fef nbranch disable_blank ,blank 
-003e 6800c7a2 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-003f 203a7fef branch disable_blank ,blank 
-0040 6800c7ca fetch 1 ,mem_mouse_le_conn_param_reject 
-0041 c000ffef beq le_lpm_disable ,disable_blank 
-0042 68014248 fetch 2 ,mem_sdp_remote_cid 
-0043 243a7fef nbranch disable_blank ,blank 
-0044 6800c80c fetch 1 ,mem_mouse_wheel_trigger 
-0045 243a7fef nbranch disable_blank ,blank 
-0046 20207ff1 branch enable_blank 
+0020 204076dc call sp_calc_sequence 
+0021 6800c65a fetch 1 ,mem_ssp_enable 
+0022 203a2012 branch main_loop ,blank 
+0023 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+0024 203a0020 branch p_sp_cal_loop ,blank 
+0025 20202012 branch main_loop 
 
 p_g24_dispatch:
-0047 c6930000 rtnmark0 mark_24g 
-0048 6800cd62 fetch 1 ,mem_g24_conn_sm 
-0049 c280805a bbit1 state_24g_pair ,p_g24_pair_dispatch 
-004a c2810076 bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
-004b 6800cd56 fetch 1 ,mem_24g_transmit_by_interrupt 
-004c c000808c beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+0026 c6930000 rtnmark0 mark_24g 
+0027 6800cd64 fetch 1 ,mem_g24_conn_sm 
+0028 c280803c bbit1 state_24g_pair ,p_g24_pair_dispatch 
+0029 c281005c bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
+002a 6800cd58 fetch 1 ,mem_24g_transmit_by_interrupt 
+002b c000806a beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
 
 p_g24_transmit_process:
-004d 20400429 call p_g24_txdata_prep 
-004e 243400ac nbranch p_g24_nodata_transmit ,user 
-004f 2040040e call p_g24_rf_sta_check 
+002c 2040036a call p_g24_txdata_prep 
+002d 24340085 nbranch p_g24_nodata_transmit ,user 
+002e 2040034f call p_g24_rf_sta_check 
 
 p_g24_transmit_start:
-0050 20400456 call p_g24_transmit_packet 
-0051 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-0052 c1ff8000 rtnne state_24g_pairing_success 
-0053 204004b5 call power_ctrl_start 
-0054 20400085 call g24_long_sleep_shorter_param_update 
+002f 20400395 call p_g24_transmit_packet 
+0030 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+0031 c1ff8000 rtnne state_24g_pairing_success 
+0032 204003e8 call power_ctrl_start 
+0033 58017700 setarg g24_long_sleep_step1 
+0034 6001cc47 store 3 ,mem_24g_enter_hibernate 
+0035 5800012c setarg 0x012c 
+0036 60014810 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0055 204000b7 call p_g24_lpm_wait 
-0056 24740000 nrtn user 
-0057 20400105 call p_clear_wake 
-0058 5800f80c setarg 63500 
-0059 20202b93 branch lpm_dispatch_sleep 
+0037 20400090 call p_g24_lpm_wait 
+0038 24740000 nrtn user 
+0039 204000f1 call p_clear_wake 
+003a 5800f80c setarg 63500 
+003b 20202b93 branch lpm_dispatch_sleep 
 
 p_g24_pair_dispatch:
-005a 6800cb42 fetch 1 ,mem_g24_stop_g24_mode 
-005b c000848e beq 1 ,p_g24_stop_g24_mode 
-005c 2040051a call p_g24_tx_attemp_data_prep 
-005d 20400474 call p_g24_transmit_receive_ack 
-005e 242c0530 nbranch p_g24_pair_txdata_retry ,sync 
-005f 24378530 nbranch p_g24_pair_txdata_retry ,user3 
-0060 2040049d call p_g24_ackpayload_parse 
-0061 68024c3e fetch 4 ,mem_24g_addr 
-0062 680a4d5b fetcht 4 ,mem_24g_allpowerful_addr 
-0063 98467c00 isub temp ,null 
-0064 20228067 branch p_g24_auto_pair_skip_rx_length ,zero 
-0065 6800cc14 fetch 1 ,mem_24g_rxdata_length 
-0066 c1840000 rtnne bind_ackpayload_length 
+003c 6800cb42 fetch 1 ,mem_g24_stop_g24_mode 
+003d c000add4 beq 1 ,g24_stop_24g_mode 
+003e 20400459 call p_g24_tx_attemp_data_prep 
+003f 204003ae call p_g24_transmit_receive_ack 
+0040 242c0466 nbranch p_g24_pair_txdata_retry ,sync 
+0041 24378466 nbranch p_g24_pair_txdata_retry ,user3 
+0042 204003d4 call p_g24_ackpayload_parse 
+0043 68024c40 fetch 4 ,mem_24g_addr 
+0044 680a4d5d fetcht 4 ,mem_24g_allpowerful_addr 
+0045 98467c00 isub temp ,null 
+0046 20228049 branch p_g24_auto_pair_skip_rx_length ,zero 
+0047 20400056 call p_g24_pair_ackpayload_length_check 
+0048 24740000 nrtn user 
 
 p_g24_auto_pair_skip_rx_length:
-0067 6800cd62 fetch 1 ,mem_g24_conn_sm 
-0068 793ffe01 set0 state_24g_pair ,pdata 
-0069 6000cd62 store 1 ,mem_g24_conn_sm 
-006a 20400225 call p_mouse_tx_power_init 
-006b 68024c3e fetch 4 ,mem_24g_addr 
-006c 680a4c22 fetcht 4 ,mem_24g_paring_addr 
-006d 98467c00 isub temp ,null 
-006e 202284df branch p_g24_start_pairing_sm1 ,zero 
-006f 68024c3e fetch 4 ,mem_24g_addr 
-0070 680a4c4d fetcht 4 ,mem_24g_device_addr 
-0071 98467c00 isub temp ,null 
-0072 20428074 call p_g24_store_dongle_addr ,zero 
-0073 2020007f branch p_g24_tx_attemp_dongle_succ 
+0049 6800cd64 fetch 1 ,mem_g24_conn_sm 
+004a 793ffe01 set0 state_24g_pair ,pdata 
+004b 6000cd64 store 1 ,mem_g24_conn_sm 
+004c 204001d3 call p_mouse_tx_power_init 
+004d 68024c40 fetch 4 ,mem_24g_addr 
+004e 680a4c24 fetcht 4 ,mem_24g_paring_addr 
+004f 98467c00 isub temp ,null 
+0050 20228410 branch p_g24_start_pairing_sm1 ,zero 
+0051 68024c40 fetch 4 ,mem_24g_addr 
+0052 680a4c4f fetcht 4 ,mem_24g_device_addr 
+0053 98467c00 isub temp ,null 
+0054 2042805a call p_g24_store_dongle_addr ,zero 
+0055 20200065 branch p_g24_tx_attemp_dongle_succ 
+
+p_g24_pair_ackpayload_length_check:
+0056 6800cc16 fetch 1 ,mem_24g_rxdata_length 
+0057 c0047fe7 beq bind_ackpayload_length ,enable_user 
+0058 c003ffe7 beq bind_ackpayload_length_yc1131 ,enable_user 
+0059 20207fe9 branch disable_user 
 
 p_g24_store_dongle_addr:
-0074 68024bf6 fetch 4 ,mem_24g_rxpayload + 2 
-0075 202005dc branch p_g24_update_addr_and_synccrc8 
+005a 68024bf8 fetch 4 ,mem_24g_rxpayload + 2 
+005b 20200418 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_reconn_dispatch:
-0076 6800cb42 fetch 1 ,mem_g24_stop_g24_mode 
-0077 c000848e beq 1 ,p_g24_stop_g24_mode 
-0078 2040051a call p_g24_tx_attemp_data_prep 
-0079 20400474 call p_g24_transmit_receive_ack 
-007a 242c0523 nbranch p_g24_attemp_txdata_retry ,sync 
-007b 24378523 nbranch p_g24_attemp_txdata_retry ,user3 
-007c 6800cd62 fetch 1 ,mem_g24_conn_sm 
-007d 793ffe02 set0 state_24g_reconn ,pdata 
-007e 6000cd62 store 1 ,mem_g24_conn_sm 
+005c 6800cb42 fetch 1 ,mem_g24_stop_g24_mode 
+005d c000add4 beq 1 ,g24_stop_24g_mode 
+005e 20400459 call p_g24_tx_attemp_data_prep 
+005f 204003ae call p_g24_transmit_receive_ack 
+0060 242c0317 nbranch p_g24_ch ,sync 
+0061 24378317 nbranch p_g24_ch ,user3 
+0062 6800cd64 fetch 1 ,mem_g24_conn_sm 
+0063 793ffe02 set0 state_24g_reconn ,pdata 
+0064 6000cd64 store 1 ,mem_g24_conn_sm 
 
 p_g24_tx_attemp_dongle_succ:
-007f 79200026 set1 mark_24g ,mark 
-0080 70480e00 jam 0 ,mem_mouse_long_mult_flag 
-0081 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
-0082 20407d86 call ui_ipc_send_event 
-0083 2040046c call p_g24_txbuf_clear 
-0084 202000a8 branch p_g24_transmit_by_interrupt_enable 
-
-g24_long_sleep_shorter_param_update:
-0085 6800c6f5 fetch 1 ,mem_config_function_enable 
-0086 c3838000 rtnbit1 enable_sensor_motion_pin 
-0087 58017700 setarg g24_long_sleep_step1 
-0088 6001cc45 store 3 ,mem_24g_enter_hibernate 
-0089 5800012c setarg 0x012c 
-008a 60014810 store 2 ,mem_24g_long_sleep_param_update_timer 
-008b 20600000 rtn 
+0065 79200026 set1 mark_24g ,mark 
+0066 70480e00 jam 0 ,mem_mouse_long_mult_flag 
+0067 20402f20 call g24_tx_attemp_dongle_succ + 4 
+0068 204003ab call p_g24_txbuf_clear 
+0069 202001a2 branch p_g24_transmit_by_interrupt_enable 
 
 p_g24_transmit_by_interrupt:
-008c 204005ae call p_g24_timer_check 
-008d 24740000 nrtn user 
-008e 204000a2 call p_g24_interval_calibrate 
-008f 68014d57 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0090 1fe0fe01 increase 1 ,pdata 
-0091 60014d57 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0092 68094d59 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0093 98467c00 isub temp ,null 
-0094 20428096 call p_g24_transmit_by_interrupt_exit ,zero 
-0095 2020004d branch p_g24_transmit_process 
+006a 204004ca call p_g24_timer_check 
+006b 24740000 nrtn user 
+006c 2040007f call p_g24_interval_calibrate 
+006d 68014d59 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+006e 1fe0fe01 increase 1 ,pdata 
+006f 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0070 68094d5b fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0071 98467c00 isub temp ,null 
+0072 20428074 call p_g24_transmit_by_interrupt_exit ,zero 
+0073 2020002c branch p_g24_transmit_process 
 
 p_g24_transmit_by_interrupt_exit:
-0096 704d5600 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-0097 58000000 setarg 0 
-0098 60014d57 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0099 58000064 setarg 100 
-009a 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0074 704d5800 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0075 58000000 setarg 0 
+0076 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0077 58000064 setarg 100 
+0078 60014d5b store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 
 p_g24_interval_min:
-009b 704c5100 jam 0 ,mem_24g_pac_index 
-009c 6800cc3c fetch 1 ,mem_24g_interval_min 
-009d 6000cc3b store 1 ,mem_24g_interval 
-009e 20600000 rtn 
+0079 704c5300 jam 0 ,mem_24g_pac_index 
+007a 6800cc3e fetch 1 ,mem_24g_interval_min 
+
+p_g24_interval_store:
+007b 6000cc3d store 1 ,mem_24g_interval 
+007c 20600000 rtn 
 
 p_g24_interval_max:
-009f 6800cc3d fetch 1 ,mem_24g_interval_max 
-00a0 6000cc3b store 1 ,mem_24g_interval 
-00a1 20600000 rtn 
+007d 6800cc3f fetch 1 ,mem_24g_interval_max 
+007e 2020007b branch p_g24_interval_store 
 
 p_g24_interval_calibrate:
-00a2 6800cc51 fetch 1 ,mem_24g_pac_index 
-00a3 1fe0fe01 increase 1 ,pdata 
-00a4 6000cc51 store 1 ,mem_24g_pac_index 
-00a5 c002009f beq 4 ,p_g24_interval_max 
-00a6 c002809b beq 5 ,p_g24_interval_min 
-00a7 20600000 rtn 
-
-p_g24_transmit_by_interrupt_enable:
-00a8 704d5601 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-00a9 58000000 setarg 0 
-00aa 60014d57 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00ab 20600000 rtn 
+007f 6800cc53 fetch 1 ,mem_24g_pac_index 
+0080 1fe0fe01 increase 1 ,pdata 
+0081 6000cc53 store 1 ,mem_24g_pac_index 
+0082 c002007d beq 4 ,p_g24_interval_max 
+0083 c0028079 beq 5 ,p_g24_interval_min 
+0084 20600000 rtn 
 
 p_g24_nodata_transmit:
-00ac 6800cc42 fetch 1 ,mem_24g_abort_pac 
-00ad 205a00c0 call p_g24_send_abort_packet ,blank 
-00ae 6800cd56 fetch 1 ,mem_24g_transmit_by_interrupt 
-00af c1008000 rtneq g24_tx_timer_int_enable 
-00b0 204000d2 call p_g24_search_dongle 
+0085 6800cc44 fetch 1 ,mem_24g_abort_pac 
+0086 205a00a5 call p_g24_send_abort_packet ,blank 
+0087 6800cd58 fetch 1 ,mem_24g_transmit_by_interrupt 
+0088 c1008000 rtneq g24_tx_timer_int_enable 
+0089 204000b6 call p_g24_search_dongle 
 
 p_g24_long_sleep:
-00b1 204000b7 call p_g24_lpm_wait 
-00b2 24740000 nrtn user 
-00b3 6801cc45 fetch 3 ,mem_24g_enter_hibernate 
-00b4 20407f49 call clk2lpo 
-00b5 600a415b storet 4 ,mem_sleep_counter 
-00b6 20202b2a branch lpm_sleep 
+008a 20400090 call p_g24_lpm_wait 
+008b 24740000 nrtn user 
+008c 6801cc47 fetch 3 ,mem_24g_enter_hibernate 
+008d 20407f49 call clk2lpo 
+008e 600a415b storet 4 ,mem_sleep_counter 
+008f 20202b2a branch lpm_sleep 
 
 p_g24_lpm_wait:
-00b7 78347c00 enable user 
-00b8 20402afa call lpo_calibration 
-00b9 6801c16f fetch 3 ,mem_clks_per_lpo 
-00ba 203a7fe9 branch disable_user ,blank 
-00bb 6800c091 fetch 1 ,mem_lpm_mode 
-00bc 203a7fe9 branch disable_user ,blank 
-00bd 6800cd56 fetch 1 ,mem_24g_transmit_by_interrupt 
-00be c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
-00bf 20200108 branch p_mouse_setgpio_lpm 
+0090 78347c00 enable user 
+0091 20402afa call lpo_calibration 
+0092 6801c16f fetch 3 ,mem_clks_per_lpo 
+0093 203a7fe9 branch disable_user ,blank 
+0094 6800c091 fetch 1 ,mem_lpm_mode 
+0095 203a7fe9 branch disable_user ,blank 
+0096 6800cd58 fetch 1 ,mem_24g_transmit_by_interrupt 
+0097 c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
+
+p_mouse_setgpio_lpm:
+0098 204000a2 call p_mouse_set_sdio_high 
+0099 204000f1 call p_clear_wake 
+
+p_mouse_setgpio_lpm_before:
+009a 20403ebf call mouse_lpm_before_common 
+009b 204001eb call p_ice_gpio_set_input_pu 
+009c 68120070 hfetch 4 ,core_gpio_oe0 
+009d 681a0078 hfetcht 4 ,core_gpio_pu0 
+009e 98418400 ior temp ,temp 
+009f 18440400 invert temp ,temp 
+00a0 601a007c hstoret 4 ,core_gpio_pd0 
+00a1 20600000 rtn 
+
+p_mouse_set_sdio_high:
+00a2 6800cb0a fetch 1 ,mem_mouse_init_sensor_reset_flag 
+00a3 207a0000 rtn blank 
+00a4 202002c0 branch p_mouse_seting_sensor_type 
 
 p_g24_send_abort_packet:
-00c0 704c4201 jam 1 ,mem_24g_abort_pac 
-00c1 704d4b00 jam 0 ,mem_24g_rf_hop_ch 
-00c2 204003d4 call p_g24_transmit_rf_ctrl_clear 
-00c3 6000cbb2 store 1 ,mem_24g_txbuf 
-00c4 58000000 setarg 0 
-00c5 6003cbb3 store 7 ,mem_24g_txbuf + 1 
-00c6 68024c4d fetch 4 ,mem_24g_device_addr 
-00c7 60024bba store 4 ,mem_24g_txbuf + 8 
-00c8 704c160c jam 12 ,mem_24g_datalen 
-00c9 6800cc17 fetch 1 ,mem_24g_data_type 
-00ca 79207e03 set1 bit_abort ,pdata 
-00cb 6000cc17 store 1 ,mem_24g_data_type 
-00cc 2040042c call p_g24_txdata_enable_tx 
-00cd 20200050 branch p_g24_transmit_start 
+00a5 704c4401 jam 1 ,mem_24g_abort_pac 
+00a6 704d4d00 jam 0 ,mem_24g_rf_hop_ch 
+00a7 20400307 call p_g24_transmit_rf_ctrl_clear 
+00a8 6000cbb4 store 1 ,mem_24g_txbuf 
+00a9 58000000 setarg 0 
+00aa 6003cbb5 store 7 ,mem_24g_txbuf + 1 
+00ab 68024c4f fetch 4 ,mem_24g_device_addr 
+00ac 60024bbc store 4 ,mem_24g_txbuf + 8 
+00ad 704c180c jam 12 ,mem_24g_datalen 
+00ae 6800cc19 fetch 1 ,mem_24g_data_type 
+00af 79207e03 set1 bit_abort ,pdata 
+00b0 6000cc19 store 1 ,mem_24g_data_type 
+00b1 2040036d call p_g24_txdata_enable_tx 
+00b2 2020002f branch p_g24_transmit_start 
 
 p_g24_search_dongle_init:
-00ce 704d5f00 jam 0 ,mem_24g_search_dongle_action 
-00cf 704d6000 jam 0 ,mem_24g_search_dongle_count 
-00d0 704d6100 jam 0 ,mem_24g_search_dongle_ch 
-00d1 20600000 rtn 
+00b3 58000000 setarg 0 
+00b4 6001cd61 store 3 ,mem_24g_search_dongle_action 
+00b5 20600000 rtn 
 
 p_g24_search_dongle:
-00d2 6800c80e fetch 1 ,mem_mouse_long_mult_flag 
-00d3 207a0000 rtn blank 
-00d4 6800cc42 fetch 1 ,mem_24g_abort_pac 
-00d5 207a0000 rtn blank 
-00d6 6800cb45 fetch 1 ,mem_24g_search_dongle_wait 
-00d7 1fe0fe01 increase 1 ,pdata 
-00d8 1fe17e03 and_into 3 ,pdata 
-00d9 6000cb45 store 1 ,mem_24g_search_dongle_wait 
-00da 247a0000 nrtn blank 
-00db 704d6100 jam 0 ,mem_24g_search_dongle_ch 
+00b6 6800c80e fetch 1 ,mem_mouse_long_mult_flag 
+00b7 207a0000 rtn blank 
+00b8 6800cc44 fetch 1 ,mem_24g_abort_pac 
+00b9 207a0000 rtn blank 
+00ba 6800cb45 fetch 1 ,mem_24g_search_dongle_wait 
+00bb 1fe0fe01 increase 1 ,pdata 
+00bc 1fe17e03 and_into 3 ,pdata 
+00bd 6000cb45 store 1 ,mem_24g_search_dongle_wait 
+00be 247a0000 nrtn blank 
+00bf 704d6300 jam 0 ,mem_24g_search_dongle_ch 
 
 p_g24_search_dongle_loop:
-00dc 6800cd61 fetch 1 ,mem_24g_search_dongle_ch 
-00dd 1fe0fe01 increase 1 ,pdata 
-00de 6000cd61 store 1 ,mem_24g_search_dongle_ch 
-00df 1fe67c08 sub pdata ,g24_ch_number ,null 
-00e0 242100e6 nbranch p_g24_search_dongle_loop_end ,positive 
-00e1 2040051a call p_g24_tx_attemp_data_prep 
-00e2 20400474 call p_g24_transmit_receive_ack 
-00e3 242c00ec nbranch p_g24_search_dongle_loop_retry ,sync 
-00e4 243780ec nbranch p_g24_search_dongle_loop_retry ,user3 
-00e5 204000f6 call p_g24_search_dongle_success 
+00c0 6800cd63 fetch 1 ,mem_24g_search_dongle_ch 
+00c1 1fe0fe01 increase 1 ,pdata 
+00c2 6000cd63 store 1 ,mem_24g_search_dongle_ch 
+00c3 1fe67c08 sub pdata ,g24_ch_number ,null 
+00c4 242100ca nbranch p_g24_search_dongle_loop_end ,positive 
+00c5 20400459 call p_g24_tx_attemp_data_prep 
+00c6 204003ae call p_g24_transmit_receive_ack 
+00c7 242c00d0 nbranch p_g24_search_dongle_loop_retry ,sync 
+00c8 243780d0 nbranch p_g24_search_dongle_loop_retry ,user3 
+00c9 204000da call p_g24_search_dongle_success 
 
 p_g24_search_dongle_loop_end:
-00e6 2040046c call p_g24_txbuf_clear 
-00e7 6800cd60 fetch 1 ,mem_24g_search_dongle_count 
-00e8 1fe0fe01 increase 1 ,pdata 
-00e9 6000cd60 store 1 ,mem_24g_search_dongle_count 
-00ea c00800ee beq g24_ch_poll_count ,p_g24_search_dongle_check 
-00eb 20600000 rtn 
+00ca 204003ab call p_g24_txbuf_clear 
+00cb 6800cd62 fetch 1 ,mem_24g_search_dongle_count 
+00cc 1fe0fe01 increase 1 ,pdata 
+00cd 6000cd62 store 1 ,mem_24g_search_dongle_count 
+00ce c00800d2 beq g24_ch_poll_count ,p_g24_search_dongle_check 
+00cf 20600000 rtn 
 
 p_g24_search_dongle_loop_retry:
-00ec 204005fc call p_g24_ch 
-00ed 202000dc branch p_g24_search_dongle_loop 
+00d0 20400317 call p_g24_ch 
+00d1 202000c0 branch p_g24_search_dongle_loop 
 
 p_g24_search_dongle_check:
-00ee 704d6000 jam 0 ,mem_24g_search_dongle_count 
-00ef 6800cd5f fetch 1 ,mem_24g_search_dongle_action 
-00f0 c3800000 rtnbit1 g24_disconn_state 
-00f1 79207e00 set1 g24_disconn_state ,pdata 
-00f2 6000cd5f store 1 ,mem_24g_search_dongle_action 
-00f3 58000708 setarg g24_disconn_nodata_timer 
-00f4 600146b0 store 2 ,mem_mouse_no_data_timer 
-00f5 2020018b branch p_mouse_sensor_powerdown 
+00d2 704d6200 jam 0 ,mem_24g_search_dongle_count 
+00d3 6800cd61 fetch 1 ,mem_24g_search_dongle_action 
+00d4 c3800000 rtnbit1 g24_disconn_state 
+00d5 79207e00 set1 g24_disconn_state ,pdata 
+00d6 6000cd61 store 1 ,mem_24g_search_dongle_action 
+00d7 58000708 setarg g24_disconn_nodata_timer 
+00d8 600146b0 store 2 ,mem_mouse_no_data_timer 
+00d9 202001f4 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
-00f6 6800cc42 fetch 1 ,mem_24g_abort_pac 
-00f7 203a00ce branch p_g24_search_dongle_init ,blank 
-00f8 704d6000 jam 0 ,mem_24g_search_dongle_count 
-00f9 6800cd5f fetch 1 ,mem_24g_search_dongle_action 
-00fa c4000000 rtnbit0 g24_disconn_state 
-00fb 793ffe00 set0 g24_disconn_state ,pdata 
-00fc 6000cd5f store 1 ,mem_24g_search_dongle_action 
-00fd 20403f8d call mouse_no_data_timer_init 
-00fe 2020015d branch p_mouse_init_sensor_reset 
+00da 6800cc44 fetch 1 ,mem_24g_abort_pac 
+00db 203a00b3 branch p_g24_search_dongle_init ,blank 
+00dc 704d6200 jam 0 ,mem_24g_search_dongle_count 
+00dd 6800cd61 fetch 1 ,mem_24g_search_dongle_action 
+00de c4000000 rtnbit0 g24_disconn_state 
+00df 793ffe00 set0 g24_disconn_state ,pdata 
+00e0 6000cd61 store 1 ,mem_24g_search_dongle_action 
+00e1 20403f8d call mouse_no_data_timer_init 
 
-p_mouse_before_lpm:
-00ff c6130000 rtnmark1 mark_24g 
-0100 20400108 call p_mouse_setgpio_lpm 
-0101 6800c040 fetch 1 ,mem_context 
-0102 c3000105 bbit0 state_inconn ,p_clear_wake 
-0103 680080a0 fetch 1 ,mem_lpm_current_mult 
-0104 247a0000 nrtn blank 
+p_mouse_init_sensor_reset:
+00e2 704b0a01 jam 1 ,mem_mouse_init_sensor_reset_flag 
 
-p_clear_wake:
-0105 58000000 setarg 0 
-0106 600400a1 store 8 ,mem_gpio_wakeup_low 
-0107 20600000 rtn 
+p_mouse_init_sunt:
+00e3 20400124 call p_mouse_spi_init 
+00e4 204040c0 call mouse_spi_sdio_gpio_pollup 
 
-p_mouse_setgpio_lpm:
-0108 20400112 call p_mouse_set_sdio_high 
-0109 20400105 call p_clear_wake 
+p_mouse_init_sensor:
+00e5 204040d9 call mouse_read_sensor_id 
+00e6 c0180126 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+00e7 c018814a beq p3065_id1 ,p_mouse_p3065_init_param 
+00e8 204040d1 call mouse_twspi_reset 
+00e9 200003e8 nop 1000 
+00ea 202000e5 branch p_mouse_init_sensor 
 
-p_mouse_setgpio_lpm_before:
-010a 20403ebf call mouse_lpm_before_common 
-010b 2040024a call p_ice_gpio_set_input_pu 
-010c 68120070 hfetch 4 ,core_gpio_oe0 
-010d 681a0078 hfetcht 4 ,core_gpio_pu0 
-010e 98418400 ior temp ,temp 
-010f 18440400 invert temp ,temp 
-0110 601a007c hstoret 4 ,core_gpio_pd0 
-0111 20600000 rtn 
+p_mouse_before_lpm:
+00eb c6130000 rtnmark1 mark_24g 
+00ec 20400098 call p_mouse_setgpio_lpm 
+00ed 6800c040 fetch 1 ,mem_context 
+00ee c30000f1 bbit0 state_inconn ,p_clear_wake 
+00ef 680080a0 fetch 1 ,mem_lpm_current_mult 
+00f0 247a0000 nrtn blank 
 
-p_mouse_set_sdio_high:
-0112 6800cb0a fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0113 207a0000 rtn blank 
-0114 2020034f branch p_mouse_seting_sensor_type 
+p_clear_wake:
+00f1 58000000 setarg 0 
+00f2 600400a1 store 8 ,mem_gpio_wakeup_low 
+00f3 20600000 rtn 
 
 p_device_init:
-0115 20403416 call app_lpm_mult_enable 
-0116 2035811f branch p_device_init_common ,wake 
-0117 70807820 jam 0x20 ,core_gpio_pu0 
-0118 2040071f call p_mouse_data_init 
-0119 6800c1de fetch 1 ,mem_tx_power 
-011a 6000cccd store 1 ,mem_tx_power_temp 
-011b 204004a4 call power_ctrl_pac_succ_cnt_init 
-011c 6800c685 fetch 1 ,mem_ui_button_timeout 
-011d 6000c6da store 1 ,mem_combination_ui_button_count 
-011e 204043ca call mouse_bt_discovery_button_down_disable 
+00f4 20403416 call app_lpm_mult_enable 
+00f5 203580fd branch p_device_init_common ,wake 
+00f6 70807820 jam 0x20 ,core_gpio_pu0 
+00f7 6800c1de fetch 1 ,mem_tx_power 
+00f8 6000cccf store 1 ,mem_tx_power_temp 
+00f9 204003db call power_ctrl_pac_succ_cnt_init 
+00fa 6800c685 fetch 1 ,mem_ui_button_timeout 
+00fb 6000c6da store 1 ,mem_combination_ui_button_count 
+00fc 204043ca call mouse_bt_discovery_button_down_disable 
 
 p_device_init_common:
-011f 20400121 call p_mouse_init 
-0120 202074b9 branch enable_authrom 
+00fd 204000ff call p_mouse_init 
+00fe 202074b9 branch enable_authrom 
 
 p_mouse_init:
-0121 24558191 ncall p_mouse_setting_config ,wake 
-0122 20400153 call p_mouse_spi_init 
-0123 20758000 rtn wake 
-0124 20400686 call p_drawing_optima_init 
-0125 204001dc call p_mouse_cb_fuction 
-0126 6800cb19 fetch 1 ,mem_power_on_flag 
-0127 c281012a bbit1 2 ,p_mouse_skip_24g_pair 
-0128 204002bb call p_mouse_check_key_pair 
-0129 c001813e beq mouse_lr_button ,p_mouse_24g_pairing_button 
+00ff 2455814f ncall p_mouse_setting_config ,wake 
+0100 20400124 call p_mouse_spi_init 
+0101 20758000 rtn wake 
+0102 20400577 call p_drawing_optima_init 
+0103 20400192 call p_mouse_cb_fuction 
+0104 6800cb19 fetch 1 ,mem_power_on_flag 
+0105 c2810109 bbit1 2 ,p_mouse_skip_24g_pair 
+0106 2040022b call p_mouse_check_key_pair 
+0107 c001810a beq mouse_lr_button ,p_mouse_24g_pairing_button 
+0108 c0038616 beq mouse_lmr_button ,p_test_mode_start 
 
 p_mouse_skip_24g_pair:
-012a 202001c8 branch p_mouse_wakeup_from_power 
-
-p_mouse_check_reconn_target:
-012b 20400225 call p_mouse_tx_power_init 
-012c 6800c210 fetch 1 ,mem_xrecord_mode 
-012d c01a012f beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-012e 20600000 rtn 
-
-p_mouse4_0_check_reconn_target:
-012f 7047a501 jam 1 ,mem_mouse_le_reconnect_flag 
-0130 680146a8 fetch 2 ,mem_mouse_direct_timeout 
-0131 600146ae store 2 ,mem_mouse_direct_timer 
-0132 20403418 call app_lpm_mult_disable 
-0133 20400137 call p_le_check_adv_flag 
-0134 58000004 setarg adv_flag_bredr_not_supported 
-0135 e0c08000 istore 1 ,contr 
-0136 20207df4 branch check_51cmd_adv 
-
-p_le_check_adv_flag:
-0137 da204370 arg mem_le_adv_data ,rega 
-
-p_le_check_adv_flag_loop:
-0138 ea208000 ifetch 1 ,rega 
-0139 207a0000 rtn blank 
-013a 98c0a200 iadd contr ,rega 
-013b e8c08000 ifetch 1 ,contr 
-013c c1008000 rtneq 0x01 
-013d 20200138 branch p_le_check_adv_flag_loop 
+0109 2020017e branch p_mouse_wakeup_from_power 
 
 p_mouse_24g_pairing_button:
-013e 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-013f c4088000 rtnbit0 mouse_enable_24g 
-0140 c3818000 rtnbit1 mosue_24g_pairing_flag 
-0141 c6130000 rtnmark1 mark_24g 
-0142 20404482 call mouse_devce_led_off 
-0143 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0144 204043ce call mouse_enable_function_flag 
-0145 58000000 setarg 0 
-0146 600146ae store 2 ,mem_mouse_direct_timer 
-0147 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
-0148 60014c43 store 2 ,mem_24g_check_dongle_times 
-0149 204042ca call mouse_stop_discovery 
-014a 20200524 branch p_g24_auto_pair_start 
+010a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+010b c4088000 rtnbit0 mouse_enable_24g 
+010c c3818000 rtnbit1 mosue_24g_pairing_flag 
+010d c6130000 rtnmark1 mark_24g 
+010e d8e00003 arg mosue_24g_pairing_flag ,queue 
+010f 204043ce call mouse_enable_function_flag 
+0110 58000000 setarg 0 
+0111 600146ae store 2 ,mem_mouse_direct_timer 
+0112 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
+0113 60014c45 store 2 ,mem_24g_check_dongle_times 
+0114 204042ca call mouse_stop_discovery 
 
-p_mouse_dpi_config:
-014b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-014c c30a3d66 bbit0 mouse_enable_eeprom ,mouse_dpi_config 
-014d 6800c77a fetch 1 ,mem_mouse_dpi 
-014e c07f8150 beq 0xff ,p_mouse_dpi_config_default 
-014f 2020034f branch p_mouse_seting_sensor_type 
+p_g24_auto_pair_start:
+0115 79200026 set1 mark_24g ,mark 
+0116 6800cd64 fetch 1 ,mem_g24_conn_sm 
+0117 79207e01 set1 state_24g_pair ,pdata 
+0118 6000cd64 store 1 ,mem_g24_conn_sm 
 
-p_mouse_dpi_config_default:
-0150 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0151 6000c77a store 1 ,mem_mouse_dpi 
-0152 2020034f branch p_mouse_seting_sensor_type 
+p_g24_auto_pair_timeout_init:
+0119 58000708 setarg g24_disconn_nodata_timer 
+011a 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
+011b 704b4200 jam 0 ,mem_g24_stop_g24_mode 
+011c 20600000 rtn 
 
-p_mouse_spi_init:
-0153 70421276 jam 0x76 ,mem_spi_init_clk 
-0154 20203d36 branch mouse_spi_init 
+p_mouse_sensor_poweron:
+011d da604b7f arg mem_sensor_poweron_init ,regc 
+011e 20400135 call p_sensor_wr_seq 
 
-p_mouse_init_sunt:
-0155 20400153 call p_mouse_spi_init 
-0156 204040c0 call mouse_spi_sdio_gpio_pollup 
+p_mouse_dpi_config:
+011f 6800c77a fetch 1 ,mem_mouse_dpi 
+0120 c0ff82c0 bne 0xff ,p_mouse_seting_sensor_type 
 
-p_mouse_init_sensor:
-0157 204040d9 call mouse_read_sensor_id 
-0158 c018015f beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0159 c0188183 beq p3065_id1 ,p_mouse_p3065_init_param 
-015a 204040d1 call mouse_twspi_reset 
-015b 200003e8 nop 1000 
-015c 20200157 branch p_mouse_init_sensor 
+p_mouse_dpi_config_default:
+0121 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0122 6000c77a store 1 ,mem_mouse_dpi 
+0123 202002c0 branch p_mouse_seting_sensor_type 
 
-p_mouse_init_sensor_reset:
-015d 704b0a01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-015e 20200155 branch p_mouse_init_sunt 
+p_mouse_spi_init:
+0124 70421276 jam 0x76 ,mem_spi_init_clk 
+0125 20203d36 branch mouse_spi_init 
 
 p_mouse_init_p32xx_id2_judge:
-015f 20400188 call p_mouse_sensor_poweron 
-0160 6800c6de fetch 1 ,mem_sensor_id2 
-0161 c02d0165 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0162 c02a016c beq pka8_id2 ,p_mouse_ka8_init_param 
-0163 c06c0174 beq p8009_id2 ,p_mouse_8009_init_param 
-0164 202040e0 branch mouse_init_p32xx_id2_judge 
+0126 2040011d call p_mouse_sensor_poweron 
+0127 6800c6de fetch 1 ,mem_sensor_id2 
+0128 c02d012c beq p_mx8650 ,p_mouse_mx8650_init_param 
+0129 c02a0133 beq pka8_id2 ,p_mouse_ka8_init_param 
+012a c06c013b beq p8009_id2 ,p_mouse_8009_init_param 
+012b 202040e0 branch mouse_init_p32xx_id2_judge 
 
 p_mouse_mx8650_init_param:
-0165 7046e007 jam mx8650 ,mem_config_sensor_type 
-0166 58008006 setarg 0x8006 
-0167 20406413 call twspi_write 
-0168 20407ec1 call delay_10ms 
-0169 da604b4a arg mem_sensor_8650_init ,regc 
-016a 2040016e call p_sensor_wr_seq 
-016b 2020014b branch p_mouse_dpi_config 
+012c 7046e007 jam mx8650 ,mem_config_sensor_type 
+012d 58008006 setarg 0x8006 
+012e 20406413 call twspi_write 
+012f 20407ec1 call delay_10ms 
+0130 da604b4a arg mem_sensor_8650_init ,regc 
+0131 20400135 call p_sensor_wr_seq 
+0132 2020011f branch p_mouse_dpi_config 
 
 p_mouse_ka8_init_param:
-016c 7046e002 jam ka8 ,mem_config_sensor_type 
-016d da604b63 arg mem_sensor_ka8_init ,regc 
+0133 7046e002 jam ka8 ,mem_config_sensor_type 
+0134 da604b63 arg mem_sensor_ka8_init ,regc 
 
 p_sensor_wr_seq:
-016e ea610000 ifetch 2 ,regc 
-016f c17f8000 rtneq 0xff 
-0170 20406413 call twspi_write 
-0171 20002ee0 nop 12000 
-0172 1a60a602 increase 2 ,regc 
-0173 2020016e branch p_sensor_wr_seq 
+0135 ea610000 ifetch 2 ,regc 
+0136 c17f8000 rtneq 0xff 
+0137 20406413 call twspi_write 
+0138 20002ee0 nop 12000 
+0139 1a60a602 increase 2 ,regc 
+013a 20200135 branch p_sensor_wr_seq 
 
 p_mouse_8009_init_param:
-0174 58000016 setarg 0x16 
-0175 20406414 call twspi_read 
-0176 1fe67cbd sub pdata ,0xbd ,null 
-0177 24228157 nbranch p_mouse_init_sensor ,zero 
-0178 58000019 setarg 0x19 
-0179 20406414 call twspi_read 
-017a 1fe67c55 sub pdata ,0x55 ,null 
-017b 24228157 nbranch p_mouse_init_sensor ,zero 
-017c 5800001b setarg 0x1b 
-017d 20406414 call twspi_read 
-017e 1fe67c1d sub pdata ,0x1d ,null 
-017f 24228157 nbranch p_mouse_init_sensor ,zero 
-0180 7046e008 jam p8009 ,mem_config_sensor_type 
-0181 da604b70 arg mem_sensor_8009_init ,regc 
-0182 2020016e branch p_sensor_wr_seq 
+013b 58000016 setarg 0x16 
+013c 20406414 call twspi_read 
+013d 1fe67cbd sub pdata ,0xbd ,null 
+013e 242280e5 nbranch p_mouse_init_sensor ,zero 
+013f 58000019 setarg 0x19 
+0140 20406414 call twspi_read 
+0141 1fe67c55 sub pdata ,0x55 ,null 
+0142 242280e5 nbranch p_mouse_init_sensor ,zero 
+0143 5800001b setarg 0x1b 
+0144 20406414 call twspi_read 
+0145 1fe67c1d sub pdata ,0x1d ,null 
+0146 242280e5 nbranch p_mouse_init_sensor ,zero 
+0147 7046e008 jam p8009 ,mem_config_sensor_type 
+0148 da604b70 arg mem_sensor_8009_init ,regc 
+0149 20200135 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-0183 20400188 call p_mouse_sensor_poweron 
-0184 6800c6de fetch 1 ,mem_sensor_id2 
-0185 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
-0186 7046e001 jam p3065 ,mem_config_sensor_type 
-0187 20600000 rtn 
-
-p_mouse_sensor_poweron:
-0188 da604b7f arg mem_sensor_poweron_init ,regc 
-0189 2040016e call p_sensor_wr_seq 
-018a 2020014b branch p_mouse_dpi_config 
-
-p_mouse_sensor_powerdown:
-018b 58000806 setarg 0x0806 
-018c 20406414 call twspi_read 
-018d 1fe1fe08 or pdata ,0x08 ,pdata 
-018e 1fed7e00 lshift8 pdata ,pdata 
-018f 1fe0fe06 add pdata ,0x06 ,pdata 
-0190 20206413 branch twspi_write 
+014a 2040011d call p_mouse_sensor_poweron 
+014b 6800c6de fetch 1 ,mem_sensor_id2 
+014c c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+014d 7046e001 jam p3065 ,mem_config_sensor_type 
+014e 20600000 rtn 
 
 p_mouse_setting_config:
-0191 204003ce call p_g24_set_device_addr 
-0192 68108a00 hfetch 1 ,core_usb_config 
-0193 793ffe04 set0 4 ,pdata 
-0194 60108a00 hstore 1 ,core_usb_config 
-0195 20403e6e call mouse_gpio_init 
-0196 20403e1e call mouse_param_init 
-0197 58000000 setarg 0 
-0198 60014154 store 2 ,mem_lpm_interval 
-0199 204001a9 call p_mouse_set_gpio_control_sensor 
-019a 58001802 setarg 0x1802 
-019b 600140bd store 2 ,mem_fcomp_mul 
-019c 20403e54 call mouse_adc_init 
-019d 20405810 call le_set_config_fixed_ltk 
-019e 20405839 call le_set_justwork 
-019f 2040582c call le_set_fixed_ltk 
-01a0 20405818 call le_set_config_read_authentication 
+014f 204068a8 call adc_init_data 
+0150 680240a0 fetch 4 ,mem_lap 
+0151 60024c4f store 4 ,mem_24g_device_addr 
+0152 20403e6e call mouse_gpio_init 
+0153 20403e1e call mouse_param_init 
+0154 58000000 setarg 0 
+0155 60014154 store 2 ,mem_lpm_interval 
+0156 20400163 call p_mouse_set_gpio_control_sensor 
+0157 58001802 setarg 0x1802 
+0158 600140bd store 2 ,mem_fcomp_mul 
+0159 20405810 call le_set_config_fixed_ltk 
+015a 20405839 call le_set_justwork 
+015b 2040582c call le_set_fixed_ltk 
+015c 20405818 call le_set_config_read_authentication 
 
 p_mouse_init_iic:
-01a1 2040659c call iic_init_390k 
-01a2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-01a3 2feffe19 isolate1 mouse_enable_2k_eeprom ,pdata 
-01a4 2440e5c2 ncall clear_eeprom_size_2k ,true 
-01a5 2040443f call mouse_load_eeprom_dpi 
-01a6 204001b9 call p_mouse_init_environment 
+015d 2040659c call iic_init_390k 
+015e 204065c2 call clear_eeprom_size_2k 
+015f 2040443f call mouse_load_eeprom_dpi 
+0160 20403dc9 call mouse_init_environment 
 
 p_mouse_init_iic_read_24g_addr:
-01a7 20400221 call p_mouse_set_24g_addr_eeprom 
-01a8 202065df branch iicd_read_eep_data 
+0161 204001cf call p_mouse_set_24g_addr_eeprom 
+0162 202065df branch iicd_read_eep_data 
 
 p_mouse_set_gpio_control_sensor:
 
 p_mouse_sensor_set_angle:
-01a9 68108078 hfetch 1 ,core_gpio_pu0 
-01aa 79207e05 set1 5 ,pdata 
-01ab 60108078 hstore 1 ,core_gpio_pu0 
-01ac 204001b1 call p_mouse_sensor_set_angle_2 
-01ad 68108078 hfetch 1 ,core_gpio_pu0 
-01ae 793ffe05 set0 5 ,pdata 
-01af 60108078 hstore 1 ,core_gpio_pu0 
-01b0 20600000 rtn 
+0163 68108078 hfetch 1 ,core_gpio_pu0 
+0164 79207e05 set1 5 ,pdata 
+0165 60108078 hstore 1 ,core_gpio_pu0 
+0166 2040016b call p_mouse_sensor_set_angle_2 
+0167 68108078 hfetch 1 ,core_gpio_pu0 
+0168 793ffe05 set0 5 ,pdata 
+0169 60108078 hstore 1 ,core_gpio_pu0 
+016a 20600000 rtn 
 
 p_mouse_sensor_set_angle_2:
-01b1 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-01b2 204067fb call gpio_config_input 
-01b3 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-01b4 2040681d call gpio_get_bit 
-01b5 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
-01b6 20608000 rtn true 
-01b7 7046f603 jam mouse_3clk_angle ,mem_config_sensor_angle 
-01b8 20600000 rtn 
-
-p_mouse_init_environment:
-01b9 204033c4 call app_initflag_check 
-01ba 2022c316 branch mouse_eeprom_load_recon_info ,zero 
-01bb 20400382 call p_le_addr_random_config 
-01bc 20203dcb branch mouse_init_environment + 2 
+016b 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+016c 204067fb call gpio_config_input 
+016d 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+016e 2040681d call gpio_get_bit 
+016f 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
+0170 20608000 rtn true 
+0171 7046f603 jam mouse_3clk_angle ,mem_config_sensor_angle 
+0172 20600000 rtn 
 
 p_app_flag_store:
-01bd d8400002 arg 2 ,temp 
-01be da200aaa arg mem_timeup ,rega 
-01bf da400062 arg mouse_eeprom_module_init_flag ,regb 
-01c0 202065d1 branch iicd_write_protect_eep_data 
+0173 d8400002 arg 2 ,temp 
+0174 da200aaa arg mem_timeup ,rega 
+0175 da400062 arg mouse_eeprom_module_init_flag ,regb 
+0176 202065d1 branch iicd_write_protect_eep_data 
 
 p_app_initflag_check:
-01c1 d8400002 arg 2 ,temp 
-01c2 da200a9a arg mem_pdatatemp ,rega 
-01c3 da400062 arg mouse_eeprom_module_init_flag ,regb 
-01c4 202033c8 branch app_initflag_check + 4 
+0177 d8400002 arg 2 ,temp 
+0178 da200a9a arg mem_pdatatemp ,rega 
+0179 da400062 arg mouse_eeprom_module_init_flag ,regb 
+017a 202033c8 branch app_initflag_check + 4 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
-01c5 58000177 setarg 375 
-01c6 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-01c7 20600000 rtn 
+017b 58000177 setarg 375 
+017c 60014d5b store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+017d 20600000 rtn 
 
 p_mouse_wakeup_from_power:
-01c8 58000019 setarg 25 
-01c9 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-01ca 245581c5 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+017e 58000019 setarg 25 
+017f 60014d5b store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0180 2455817b ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 
 p_mouse_wakeup_no_from_power:
-01cb 6800c71f fetch 1 ,mem_reconn_times_init 
-01cc 6000c71e store 1 ,mem_reconn_times 
+0181 6800c71f fetch 1 ,mem_reconn_times_init 
+0182 6000c71e store 1 ,mem_reconn_times 
 
 p_mouse_start_24g_mode:
-01cd 20400512 call p_g24_start_24g_mode 
-01ce 6800cb19 fetch 1 ,mem_power_on_flag 
-01cf c3810000 rtnbit1 2 
-01d0 704b4914 jam 20 ,mem_mouse_sensor_powerdown_timer 
-01d1 2040015d call p_mouse_init_sensor_reset 
-01d2 20200150 branch p_mouse_dpi_config_default 
+0183 20400451 call p_g24_start_24g_mode 
+0184 6800cb19 fetch 1 ,mem_power_on_flag 
+0185 c3810000 rtnbit1 2 
+0186 704b4914 jam 20 ,mem_mouse_sensor_powerdown_timer 
+0187 204000e2 call p_mouse_init_sensor_reset 
+0188 20200121 branch p_mouse_dpi_config_default 
 
 p_g24_factory_check:
-01d3 df200002 arg 2 ,loopcnt 
-01d4 d8c04c3e arg mem_24g_addr ,contr 
+0189 df200002 arg 2 ,loopcnt 
+018a d8c04c40 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
-01d5 20407fe7 call enable_user 
-01d6 5800ffff setarg 0xffff 
+018b 20407fe7 call enable_user 
+018c 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-01d7 e8c90000 ifetcht 2 ,contr 
-01d8 98467c00 isub temp ,null 
-01d9 2442ffe9 ncall disable_user ,zero 
-01da c20001d7 loop p_pdata_0xff_check_loop 
-01db 20600000 rtn 
+018d e8c90000 ifetcht 2 ,contr 
+018e 98467c00 isub temp ,null 
+018f 2442ffe9 ncall disable_user ,zero 
+0190 c200018d loop p_pdata_0xff_check_loop 
+0191 20600000 rtn 
 
 p_mouse_cb_fuction:
-01dc 580001eb setarg p_mouse_g24_package_data 
-01dd 60014d47 store 2 ,mem_cb_24g_data 
-01de 580000ff setarg p_mouse_before_lpm 
-01df 600141ed store 2 ,mem_cb_before_lpm 
-01e0 5800020c setarg p_mouse_priority_bb_event 
-01e1 600141f5 store 2 ,mem_cb_bb_event_process 
-01e2 580001f2 setarg p_mouse_idle 
-01e3 600141f3 store 2 ,mem_cb_idle_process 
-01e4 5800023e setarg p_mouse_before_hibernate 
-01e5 600141eb store 2 ,mem_cb_before_hibernate 
-01e6 58000254 setarg p_mouse_bb_event_timer 
-01e7 600141fd store 2 ,mem_cb_event_timer 
-01e8 58003d36 setarg mouse_spi_write_flash_cb 
-01e9 60014201 store 2 ,mem_cb_spi_flash_write_complate 
-01ea 20600000 rtn 
+0192 5800019f setarg p_mouse_g24_package_data 
+0193 60014d49 store 2 ,mem_cb_24g_data 
+0194 580000eb setarg p_mouse_before_lpm 
+0195 600141ed store 2 ,mem_cb_before_lpm 
+0196 580001c0 setarg p_mouse_priority_bb_event 
+0197 600141f5 store 2 ,mem_cb_bb_event_process 
+0198 580001a6 setarg p_mouse_idle 
+0199 600141f3 store 2 ,mem_cb_idle_process 
+019a 580001e1 setarg p_mouse_before_hibernate 
+019b 600141eb store 2 ,mem_cb_before_hibernate 
+019c 580001fa setarg p_mouse_bb_event_timer 
+019d 600141fd store 2 ,mem_cb_event_timer 
+019e 20600000 rtn 
 
 p_mouse_g24_package_data:
-01eb 20404401 call mouse_g24_package_data 
-01ec 6801469f fetch 2 ,mem_mouse_z 
-01ed 207a0000 rtn blank 
-01ee 202000a8 branch p_g24_transmit_by_interrupt_enable 
-
-p_mouse_clear_sensor_data:
-01ef 20405814 call le_set_config_more_data 
-01f0 7047a201 jam 1 ,mem_mouse_clear_sensor_data_flag 
-01f1 2020015d branch p_mouse_init_sensor_reset 
+019f 20404401 call mouse_g24_package_data 
+01a0 6801469f fetch 2 ,mem_mouse_z 
+01a1 207a0000 rtn blank 
+
+p_g24_transmit_by_interrupt_enable:
+01a2 704d5801 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+01a3 58000000 setarg 0 
+01a4 60014d59 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+01a5 20600000 rtn 
 
 p_mouse_idle:
-01f2 20407e34 call ui_check_paring_button 
-01f3 20203ee0 branch mouse_wheel_check 
+01a6 20407e34 call ui_check_paring_button 
+01a7 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-01f4 6800cb8d fetch 1 ,mem_mouse_dpikey_press_status 
-01f5 1fe22400 copy pdata ,regb 
-01f6 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-01f7 2040032e call p_gpio_set_input_pd 
-01f8 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-01f9 204002c8 call p_mouse_key_check 
-01fa 1a420400 copy regb ,temp 
-01fb 6008cb8d storet 1 ,mem_mouse_dpikey_press_status 
-01fc c00001ff beq 0x00 ,p_mouse_dpi_down 
-01fd c0038209 beq 0x07 ,p_mouse_dpi_up 
-01fe 20600000 rtn 
+01a8 6800cb8d fetch 1 ,mem_mouse_dpikey_press_status 
+01a9 1fe22400 copy pdata ,regb 
+01aa 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+01ab 204002a2 call p_gpio_set_input_pd 
+01ac 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+01ad 2040023c call p_mouse_key_check 
+01ae 1a420400 copy regb ,temp 
+01af 6008cb8d storet 1 ,mem_mouse_dpikey_press_status 
+01b0 c00001b3 beq 0x00 ,p_mouse_dpi_down 
+01b1 c00381bd beq 0x07 ,p_mouse_dpi_up 
+01b2 20600000 rtn 
 
 p_mouse_dpi_down:
-01ff 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0200 20400337 call p_gpio_set_input_pu 
-0201 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-0202 c1000000 rtneq dpi_button_state_down 
-0203 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-0204 6800c77a fetch 1 ,mem_mouse_dpi 
-0205 1fe0fe01 increase 1 ,pdata 
-0206 1fe17e03 and pdata ,0x03 ,pdata 
-0207 6000c77a store 1 ,mem_mouse_dpi 
-0208 20203d74 branch mouse_dpi_down + 7 
+01b3 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+01b4 204002a8 call p_gpio_set_input_pu 
+01b5 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+01b6 c1000000 rtneq dpi_button_state_down 
+01b7 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+01b8 6800c77a fetch 1 ,mem_mouse_dpi 
+01b9 1fe0fe01 increase 1 ,pdata 
+01ba 1fe17e03 and pdata ,0x03 ,pdata 
+01bb 6000c77a store 1 ,mem_mouse_dpi 
+01bc 20203d74 branch mouse_dpi_down + 7 
 
 p_mouse_dpi_up:
-0209 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-020a 20400337 call p_gpio_set_input_pu 
-020b 20203d62 branch mouse_dpi_up 
+01bd 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+01be 204002a8 call p_gpio_set_input_pu 
+01bf 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-020c 1a627e00 copy regc ,pdata 
-020d c01c8211 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-020e c01d0228 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-020f c01e0238 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0210 2020417d branch mouse_priority_bb_event + 1 
+01c0 1a627e00 copy regc ,pdata 
+01c1 c01c81c5 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+01c2 c01e01db beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+01c3 c01d01d6 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+01c4 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_24g_pairing_complete:
-0211 704b4900 jam 0 ,mem_mouse_sensor_powerdown_timer 
-0212 2040052c call p_g24_auto_pair_timeout_clear 
-0213 2040015d call p_mouse_init_sensor_reset 
-0214 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
-0215 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0216 204043d2 call mouse_disable_function_flag 
-0217 58000000 setarg 0 
-0218 60014707 store 2 ,mem_24g_pairing_timer_count 
-0219 7046a700 jam 0 ,mem_mouse_move_flag 
-021a 6800c6e0 fetch 1 ,mem_config_sensor_type 
-021b 1fe67c05 sub pdata ,p3610 ,null 
-021c 2042c039 call mouse_read_sensor3610_data ,zero 
-021d 2442c05d ncall mouse_read_sensor_common ,zero 
-021e 20400225 call p_mouse_tx_power_init 
-021f 20400221 call p_mouse_set_24g_addr_eeprom 
-0220 202065d1 branch iicd_write_protect_eep_data 
+01c5 704b4900 jam 0 ,mem_mouse_sensor_powerdown_timer 
+01c6 20400462 call p_g24_auto_pair_timeout_clear 
+01c7 204000e2 call p_mouse_init_sensor_reset 
+01c8 d8e00003 arg mosue_24g_pairing_flag ,queue 
+01c9 204043d2 call mouse_disable_function_flag 
+01ca 7046a700 jam 0 ,mem_mouse_move_flag 
+01cb 2040405d call mouse_read_sensor_common 
+01cc 204001d3 call p_mouse_tx_power_init 
+01cd 204001cf call p_mouse_set_24g_addr_eeprom 
+01ce 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_set_24g_addr_eeprom:
-0221 da204c3e arg mem_24g_addr ,rega 
-0222 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
-0223 d8400004 arg 4 ,temp 
-0224 20600000 rtn 
+01cf da204c40 arg mem_24g_addr ,rega 
+01d0 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+01d1 d8400004 arg 4 ,temp 
+01d2 20600000 rtn 
 
 p_mouse_tx_power_init:
-0225 6800cccd fetch 1 ,mem_tx_power_temp 
-0226 6000c1de store 1 ,mem_tx_power 
-0227 20600000 rtn 
+01d3 6800cccf fetch 1 ,mem_tx_power_temp 
+01d4 6000c1de store 1 ,mem_tx_power 
+01d5 20600000 rtn 
 
 p_mouse_24g_attempt_fail:
-0228 20400250 call p_mouse_sensor_powerdown_check 
-0229 704d5600 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-022a 20400225 call p_mouse_tx_power_init 
-022b 2040054f call p_g24_check_51cmd_stop_24g 
-022c 6800c880 fetch 1 ,mem_mouse_mode_config 
-022d c280340a bbit1 mouse_24g_only ,app_enter_hibernate 
-022e 7041bd00 jam 0 ,mem_link_key_exists 
-022f 20404316 call mouse_eeprom_load_recon_info 
-0230 df200003 arg 3 ,loopcnt 
-0231 d8c04722 arg mem_device1_addr ,contr 
-0232 204001d5 call p_pdata_0xff_check 
-0233 20340235 branch p_mouse_null_enter_hibernate_enable ,user 
-0234 2020012b branch p_mouse_check_reconn_target 
-
-p_mouse_null_enter_hibernate_enable:
-0235 7047a301 jam 1 ,mem_mouse_null_enter_hibernate_flag 
-0236 7047a428 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-0237 20600000 rtn 
+01d6 204001f1 call p_mouse_sensor_powerdown_check 
+01d7 704d5800 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+01d8 204001d3 call p_mouse_tx_power_init 
+01d9 2040047f call p_g24_check_51cmd_stop_24g 
+01da 2020340a branch app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0238 704b4900 jam 0 ,mem_mouse_sensor_powerdown_timer 
-0239 2040052c call p_g24_auto_pair_timeout_clear 
-023a 2040015d call p_mouse_init_sensor_reset 
-023b 20403f8d call mouse_no_data_timer_init 
-023c 20400221 call p_mouse_set_24g_addr_eeprom 
-023d 202065d1 branch iicd_write_protect_eep_data 
+01db 704b4900 jam 0 ,mem_mouse_sensor_powerdown_timer 
+01dc 20400462 call p_g24_auto_pair_timeout_clear 
+01dd 204000e2 call p_mouse_init_sensor_reset 
+01de 20403f8d call mouse_no_data_timer_init 
+01df 204001cf call p_mouse_set_24g_addr_eeprom 
+01e0 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_before_hibernate:
-023e 78347c00 enable user 
-023f 68120138 hfetch 4 ,0x8138 
-0240 79347e1a setflag user ,26 ,pdata 
-0241 6012004c hstore 4 ,core_lpm_reg 
-0242 20402c21 call lpm_write_ctrl 
-0243 20400250 call p_mouse_sensor_powerdown_check 
-0244 204074bd call disable_authrom 
-0245 20404482 call mouse_devce_led_off 
-0246 20403e9f call mouse_before_hibernate_wheel_gpio_set 
-0247 2040010a call p_mouse_setgpio_lpm_before 
-0248 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-0249 202067ed branch gpio_clr_wake 
+01e1 68120138 hfetch 4 ,core_lpm_ctrl 
+01e2 79207e1a set1 26 ,pdata 
+01e3 6012004c hstore 4 ,core_lpm_reg 
+01e4 20402c21 call lpm_write_ctrl 
+01e5 204001f1 call p_mouse_sensor_powerdown_check 
+01e6 204074bd call disable_authrom 
+01e7 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+01e8 2040009a call p_mouse_setgpio_lpm_before 
+01e9 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+01ea 202067ed branch gpio_clr_wake 
 
 p_ice_gpio_set_input_pu:
-024a d840001d arg 29 ,temp 
-024b 204067fb call gpio_config_input 
-024c d840001d arg 29 ,temp 
-024d 79200407 set1 gpio_active_bit ,temp 
-024e d8a08078 arg core_gpio_pu0 ,contw 
-024f 20206830 branch gpio_set_bit 
+01eb d840001d arg 29 ,temp 
+01ec 204067fb call gpio_config_input 
+01ed d840001d arg 29 ,temp 
+01ee 79200407 set1 gpio_active_bit ,temp 
+01ef d8a08078 arg core_gpio_pu0 ,contw 
+01f0 20206830 branch gpio_set_bit 
 
 p_mouse_sensor_powerdown_check:
-0250 6800cb0a fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0251 207a0000 rtn blank 
-0252 704b0a00 jam 0 ,mem_mouse_init_sensor_reset_flag 
-0253 2020018b branch p_mouse_sensor_powerdown 
+01f1 6800cb0a fetch 1 ,mem_mouse_init_sensor_reset_flag 
+01f2 207a0000 rtn blank 
+01f3 704b0a00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+
+p_mouse_sensor_powerdown:
+01f4 58000806 setarg 0x0806 
+01f5 20406414 call twspi_read 
+01f6 1fe1fe08 or pdata ,0x08 ,pdata 
+01f7 1fed7e00 lshift8 pdata ,pdata 
+01f8 1fe0fe06 add pdata ,0x06 ,pdata 
+01f9 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-0254 20400268 call p_mouse_24g_long_sleep_param_update_timer 
-0255 20400263 call p_mouse_wheel_trigger_timer 
-0256 20400293 call p_mouse_null_enter_hibernate_timer 
-0257 204001f4 call p_mouse_dpi_check 
-0258 2040423a call mouse_check_no_data_timeout_timer 
-0259 2040025b call p_mouse_sensor_powerdown_timer 
-025a 2020025e branch p_mouse_g24_pair_timeout_timer 
+01fa 20400207 call p_mouse_24g_long_sleep_param_update_timer 
+01fb 204001a8 call p_mouse_dpi_check 
+01fc 2040423a call mouse_check_no_data_timeout_timer 
+01fd 204001ff call p_mouse_sensor_powerdown_timer 
+01fe 20200202 branch p_mouse_g24_pair_timeout_timer 
 
 p_mouse_sensor_powerdown_timer:
-025b da604b49 arg mem_mouse_sensor_powerdown_timer ,regc 
-025c da40018b arg p_mouse_sensor_powerdown ,regb 
-025d 2020336d branch timer_single_step 
+01ff da604b49 arg mem_mouse_sensor_powerdown_timer ,regc 
+0200 da4001f4 arg p_mouse_sensor_powerdown ,regb 
+0201 2020336d branch timer_single_step 
 
 p_mouse_g24_pair_timeout_timer:
-025e da604b43 arg mem_g24_stop_g24_mode_timeout ,regc 
-025f da400261 arg p_mouse_g24_pair_timeout ,regb 
-0260 20203374 branch timer_single_step_2b 
+0202 da604b43 arg mem_g24_stop_g24_mode_timeout ,regc 
+0203 da400205 arg p_mouse_g24_pair_timeout ,regb 
+0204 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_pair_timeout:
-0261 704b4201 jam 1 ,mem_g24_stop_g24_mode 
-0262 20600000 rtn 
-
-p_mouse_wheel_trigger_timer:
-0263 da60480d arg mem_mouse_wheel_trigger_timer ,regc 
-0264 da400266 arg p_mouse_wheel_trigger_disable ,regb 
-0265 2020336d branch timer_single_step 
-
-p_mouse_wheel_trigger_disable:
-0266 70480c00 jam 0 ,mem_mouse_wheel_trigger 
-0267 20600000 rtn 
+0205 704b4201 jam 1 ,mem_g24_stop_g24_mode 
+0206 20600000 rtn 
 
 p_mouse_24g_long_sleep_param_update_timer:
-0268 da604810 arg mem_24g_long_sleep_param_update_timer ,regc 
-0269 da40026b arg p_mouse_24g_long_sleep_normal_param ,regb 
-026a 20203374 branch timer_single_step_2b 
+0207 da604810 arg mem_24g_long_sleep_param_update_timer ,regc 
+0208 da40020a arg p_mouse_24g_long_sleep_normal_param ,regb 
+0209 20203374 branch timer_single_step_2b 
 
 p_mouse_24g_long_sleep_normal_param:
-026b 58124f80 setarg g24_long_sleep_step3 
-026c 6001cc45 store 3 ,mem_24g_enter_hibernate 
-026d 70480e01 jam 1 ,mem_mouse_long_mult_flag 
-026e 20600000 rtn 
-
-p_mouse_le_current_mult_update_timer:
-026f da60480f arg mem_mouse_le_current_mult_timer ,regc 
-0270 da400272 arg p_mouse_le_current_mult_reinit ,regb 
-0271 2020336d branch timer_single_step 
-
-p_mouse_le_current_mult_reinit:
-0272 6800c7cb fetch 1 ,mem_lpm_mult_init 
-0273 6000c172 store 1 ,mem_lpm_mult 
-0274 70480e01 jam 1 ,mem_mouse_long_mult_flag 
-0275 20600000 rtn 
-
-p_mouse_le_enable_att_list_timer:
-0276 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0277 da403d60 arg mouse_le_write_enable ,regb 
-0278 2020336d branch timer_single_step 
-
-p_mouse_bt_discovery_check:
-0279 6800c6f5 fetch 1 ,mem_config_function_enable 
-027a c2824394 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
-
-p_mouse_bt_discovery_commbination_key_up:
-027b 6800c685 fetch 1 ,mem_ui_button_timeout 
-027c 6000c6da store 1 ,mem_combination_ui_button_count 
-027d 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-027e c1008000 rtneq dpi_button_state_up 
-027f 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
-0280 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-0281 204043d2 call mouse_disable_function_flag 
-0282 202043ca branch mouse_bt_discovery_button_down_disable 
-
-p_mouse_bt_discovery_commbination_key_down:
-0283 7047a428 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-0284 20400286 call p_mouse_bt_discovery_timer 
-0285 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
-
-p_mouse_bt_discovery_timer:
-0286 da6046da arg mem_combination_ui_button_count ,regc 
-0287 da400289 arg p_mouse_long_button_bt_discovery ,regb 
-0288 2020336d branch timer_single_step 
-
-p_mouse_long_button_bt_discovery:
-0289 20400250 call p_mouse_sensor_powerdown_check 
-028a 68014682 fetch 2 ,mem_ui_state_map 
-028b 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-028c 2040c2d4 call mouse_stop_le_adv ,true 
-028d 68014682 fetch 2 ,mem_ui_state_map 
-028e 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-028f 2040c392 call mouse_cancel_reconnect ,true 
-0290 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-0291 204043ce call mouse_enable_function_flag 
-0292 202043b8 branch mouse_long_button_bt_discovry 
-
-p_mouse_null_enter_hibernate_timer:
-0293 6800c7a3 fetch 1 ,mem_mouse_null_enter_hibernate_flag 
-0294 207a0000 rtn blank 
-0295 6800c7a4 fetch 1 ,mem_mouse_null_enter_hibernate_timer 
-0296 203a029a branch p_mouse_null_enter_hibernate ,blank 
-0297 1fe0ffff increase -1 ,pdata 
-0298 6000c7a4 store 1 ,mem_mouse_null_enter_hibernate_timer 
-0299 20600000 rtn 
-
-p_mouse_null_enter_hibernate:
-029a 7047a300 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-029b 2020340a branch app_enter_hibernate 
+020a 58124f80 setarg g24_long_sleep_step3 
+020b 6001cc47 store 3 ,mem_24g_enter_hibernate 
+020c 70480e01 jam 1 ,mem_mouse_long_mult_flag 
+020d 20600000 rtn 
 
 p_mouse_motion:
-029c 78547c00 disable user 
-029d 58000000 setarg 0 
-029e 6003469b store 6 ,mem_mouse_x 
-029f 2040033c call p_mouse_cheak_sensor_data 
-02a0 20404079 call mouse_zwheel 
-02a1 2040407e call mouse_t_zwheel 
-02a2 204002b0 call p_mouse_key 
-02a3 243402a7 nbranch p_mouse_motion_nodata ,user 
-02a4 2040067a call p_drawing_optima 
-02a5 204002aa call p_mouse_nodata_timer_update 
-02a6 20203fa1 branch mouse_motion + 10 
+020e 78547c00 disable user 
+020f 58000000 setarg 0 
+0210 6003469b store 6 ,mem_mouse_x 
+0211 204002ad call p_mouse_cheak_sensor_data 
+0212 20404079 call mouse_zwheel 
+0213 20400221 call p_mouse_key 
+0214 24340218 nbranch p_mouse_motion_nodata ,user 
+0215 2040056b call p_drawing_optima 
+0216 2040021b call p_mouse_nodata_timer_update 
+0217 20203fa1 branch mouse_motion + 10 
 
 p_mouse_motion_nodata:
-02a7 20400686 call p_drawing_optima_init 
-02a8 704b4800 jam 0 ,mem_mouse_nodata_check_count 
-02a9 20600000 rtn 
+0218 20400577 call p_drawing_optima_init 
+0219 704b4800 jam 0 ,mem_mouse_nodata_check_count 
+021a 20600000 rtn 
 
 p_mouse_nodata_timer_update:
-02aa 6800cb48 fetch 1 ,mem_mouse_nodata_check_count 
-02ab 1fe0fe01 increase 1 ,pdata 
-02ac 6000cb48 store 1 ,mem_mouse_nodata_check_count 
-02ad 1fe67c0a sub pdata ,nodata_check_count ,null 
-02ae 20610000 rtn positive 
-02af 20203f8d branch mouse_no_data_timer_init 
+021b 6800cb48 fetch 1 ,mem_mouse_nodata_check_count 
+021c 1fe0fe01 increase 1 ,pdata 
+021d 6000cb48 store 1 ,mem_mouse_nodata_check_count 
+021e 1fe67c0a sub pdata ,nodata_check_count ,null 
+021f 20610000 rtn positive 
+0220 20203f8d branch mouse_no_data_timer_init 
 
 p_mouse_key:
-02b0 204002b2 call p_mouse_check_key_gpio 
-02b1 2020409a branch mouse_key + 1 
+0221 20400223 call p_mouse_check_key_gpio 
+0222 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-02b2 6800c69a fetch 1 ,mem_mouse_key 
-02b3 1fe22200 copy pdata ,rega 
-02b4 204002cf call p_mouse_check_lkey_gpio 
-02b5 204002e2 call p_mouse_check_rkey_gpio 
-02b6 204002f5 call p_mouse_check_mkey_gpio 
-02b7 20400308 call p_mouse_check_bkkey_gpio 
-02b8 2040031b call p_mouse_check_fwkey_gpio 
-02b9 1a227e00 copy rega ,pdata 
-02ba 20600000 rtn 
+0223 6800c69a fetch 1 ,mem_mouse_key 
+0224 1fe22200 copy pdata ,rega 
+0225 20400243 call p_mouse_check_lkey_gpio 
+0226 20400256 call p_mouse_check_rkey_gpio 
+0227 20400269 call p_mouse_check_mkey_gpio 
+0228 2040027c call p_mouse_check_bkkey_gpio 
+0229 2040028f call p_mouse_check_fwkey_gpio 
+022a 2020408e branch mouse_check_key_gpio + 11 
 
 p_mouse_check_key_pair:
-02bb da200000 arg 0 ,rega 
-02bc 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-02bd 20400337 call p_gpio_set_input_pu 
-02be 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-02bf 2040681d call gpio_get_bit 
-02c0 7920a200 setflag true ,0 ,rega 
-02c1 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-02c2 20400337 call p_gpio_set_input_pu 
-02c3 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-02c4 2040681d call gpio_get_bit 
-02c5 7920a201 setflag true ,1 ,rega 
-02c6 1a227e00 copy rega ,pdata 
-02c7 20600000 rtn 
+022b da200000 arg 0 ,rega 
+022c 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+022d 204002a8 call p_gpio_set_input_pu 
+022e 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+022f 2040681d call gpio_get_bit 
+0230 7920a200 setflag true ,0 ,rega 
+0231 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0232 204002a8 call p_gpio_set_input_pu 
+0233 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0234 2040681d call gpio_get_bit 
+0235 7920a201 setflag true ,1 ,rega 
+0236 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0237 204002a8 call p_gpio_set_input_pu 
+0238 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0239 2040681d call gpio_get_bit 
+023a 7920a202 setflag true ,2 ,rega 
+023b 2020408e branch mouse_check_key_gpio + 11 
 
 p_mouse_key_check:
-02c8 2040681d call gpio_get_bit 
-02c9 1a427e00 copy regb ,pdata 
-02ca 1fe3fe00 lshift pdata ,pdata 
-02cb 7920fe00 setflag true ,0 ,pdata 
-02cc 1fe22400 copy pdata ,regb 
-02cd 1fe17e07 and pdata ,0x07 ,pdata 
-02ce 20600000 rtn 
+023c 2040681d call gpio_get_bit 
+023d 1a427e00 copy regb ,pdata 
+023e 1fe3fe00 lshift pdata ,pdata 
+023f 7920fe00 setflag true ,0 ,pdata 
+0240 1fe22400 copy pdata ,regb 
+0241 1fe17e07 and pdata ,0x07 ,pdata 
+0242 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-02cf 6800cb88 fetch 1 ,mem_mouse_lkey_press_status 
-02d0 1fe22400 copy pdata ,regb 
-02d1 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-02d2 20400337 call p_gpio_set_input_pu 
-02d3 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-02d4 204002c8 call p_mouse_key_check 
-02d5 1a420400 copy regb ,temp 
-02d6 6008cb88 storet 1 ,mem_mouse_lkey_press_status 
-02d7 c00382da beq 0x07 ,p_mouse_lkey_press 
-02d8 c00002de beq 0x00 ,p_mouse_lkey_release 
-02d9 20600000 rtn 
+0243 6800cb88 fetch 1 ,mem_mouse_lkey_press_status 
+0244 1fe22400 copy pdata ,regb 
+0245 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0246 204002a8 call p_gpio_set_input_pu 
+0247 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0248 2040023c call p_mouse_key_check 
+0249 1a420400 copy regb ,temp 
+024a 6008cb88 storet 1 ,mem_mouse_lkey_press_status 
+024b c003824e beq 0x07 ,p_mouse_lkey_press 
+024c c0000252 beq 0x00 ,p_mouse_lkey_release 
+024d 20600000 rtn 
 
 p_mouse_lkey_press:
-02da 1a227e00 copy rega ,pdata 
-02db 79207e00 set1 0 ,pdata 
-02dc 1fe22200 copy pdata ,rega 
-02dd 20600000 rtn 
+024e 1a227e00 copy rega ,pdata 
+024f 79207e00 set1 0 ,pdata 
+0250 1fe22200 copy pdata ,rega 
+0251 20600000 rtn 
 
 p_mouse_lkey_release:
-02de 1a227e00 copy rega ,pdata 
-02df 793ffe00 set0 0 ,pdata 
-02e0 1fe22200 copy pdata ,rega 
-02e1 20600000 rtn 
+0252 1a227e00 copy rega ,pdata 
+0253 793ffe00 set0 0 ,pdata 
+0254 1fe22200 copy pdata ,rega 
+0255 20600000 rtn 
 
 p_mouse_check_rkey_gpio:
-02e2 6800cb89 fetch 1 ,mem_mouse_rkey_press_status 
-02e3 1fe22400 copy pdata ,regb 
-02e4 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-02e5 20400337 call p_gpio_set_input_pu 
-02e6 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-02e7 204002c8 call p_mouse_key_check 
-02e8 1a420400 copy regb ,temp 
-02e9 6008cb89 storet 1 ,mem_mouse_rkey_press_status 
-02ea c00382ed beq 0x07 ,p_mouse_rkey_press 
-02eb c00002f1 beq 0x00 ,p_mouse_rkey_release 
-02ec 20600000 rtn 
+0256 6800cb89 fetch 1 ,mem_mouse_rkey_press_status 
+0257 1fe22400 copy pdata ,regb 
+0258 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0259 204002a8 call p_gpio_set_input_pu 
+025a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+025b 2040023c call p_mouse_key_check 
+025c 1a420400 copy regb ,temp 
+025d 6008cb89 storet 1 ,mem_mouse_rkey_press_status 
+025e c0038261 beq 0x07 ,p_mouse_rkey_press 
+025f c0000265 beq 0x00 ,p_mouse_rkey_release 
+0260 20600000 rtn 
 
 p_mouse_rkey_press:
-02ed 1a227e00 copy rega ,pdata 
-02ee 79207e01 set1 1 ,pdata 
-02ef 1fe22200 copy pdata ,rega 
-02f0 20600000 rtn 
+0261 1a227e00 copy rega ,pdata 
+0262 79207e01 set1 1 ,pdata 
+0263 1fe22200 copy pdata ,rega 
+0264 20600000 rtn 
 
 p_mouse_rkey_release:
-02f1 1a227e00 copy rega ,pdata 
-02f2 793ffe01 set0 1 ,pdata 
-02f3 1fe22200 copy pdata ,rega 
-02f4 20600000 rtn 
+0265 1a227e00 copy rega ,pdata 
+0266 793ffe01 set0 1 ,pdata 
+0267 1fe22200 copy pdata ,rega 
+0268 20600000 rtn 
 
 p_mouse_check_mkey_gpio:
-02f5 6800cb8a fetch 1 ,mem_mouse_mkey_press_status 
-02f6 1fe22400 copy pdata ,regb 
-02f7 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-02f8 20400337 call p_gpio_set_input_pu 
-02f9 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-02fa 204002c8 call p_mouse_key_check 
-02fb 1a420400 copy regb ,temp 
-02fc 6008cb8a storet 1 ,mem_mouse_mkey_press_status 
-02fd c0038300 beq 0x07 ,p_mouse_mkey_press 
-02fe c0000304 beq 0x00 ,p_mouse_mkey_release 
-02ff 20600000 rtn 
+0269 6800cb8a fetch 1 ,mem_mouse_mkey_press_status 
+026a 1fe22400 copy pdata ,regb 
+026b 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+026c 204002a8 call p_gpio_set_input_pu 
+026d 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+026e 2040023c call p_mouse_key_check 
+026f 1a420400 copy regb ,temp 
+0270 6008cb8a storet 1 ,mem_mouse_mkey_press_status 
+0271 c0038274 beq 0x07 ,p_mouse_mkey_press 
+0272 c0000278 beq 0x00 ,p_mouse_mkey_release 
+0273 20600000 rtn 
 
 p_mouse_mkey_press:
-0300 1a227e00 copy rega ,pdata 
-0301 79207e02 set1 2 ,pdata 
-0302 1fe22200 copy pdata ,rega 
-0303 20600000 rtn 
+0274 1a227e00 copy rega ,pdata 
+0275 79207e02 set1 2 ,pdata 
+0276 1fe22200 copy pdata ,rega 
+0277 20600000 rtn 
 
 p_mouse_mkey_release:
-0304 1a227e00 copy rega ,pdata 
-0305 793ffe02 set0 2 ,pdata 
-0306 1fe22200 copy pdata ,rega 
-0307 20600000 rtn 
+0278 1a227e00 copy rega ,pdata 
+0279 793ffe02 set0 2 ,pdata 
+027a 1fe22200 copy pdata ,rega 
+027b 20600000 rtn 
 
 p_mouse_check_bkkey_gpio:
-0308 6800cb8b fetch 1 ,mem_mouse_bkkey_press_status 
-0309 1fe22400 copy pdata ,regb 
-030a 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-030b 2040032e call p_gpio_set_input_pd 
-030c 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-030d 204002c8 call p_mouse_key_check 
-030e 1a420400 copy regb ,temp 
-030f 6008cb8b storet 1 ,mem_mouse_bkkey_press_status 
-0310 c0000313 beq 0x00 ,p_mouse_bkkey_press 
-0311 c0038317 beq 0x07 ,p_mouse_bkkey_release 
-0312 20600000 rtn 
+027c 6800cb8b fetch 1 ,mem_mouse_bkkey_press_status 
+027d 1fe22400 copy pdata ,regb 
+027e 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+027f 204002a2 call p_gpio_set_input_pd 
+0280 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+0281 2040023c call p_mouse_key_check 
+0282 1a420400 copy regb ,temp 
+0283 6008cb8b storet 1 ,mem_mouse_bkkey_press_status 
+0284 c0000287 beq 0x00 ,p_mouse_bkkey_press 
+0285 c003828b beq 0x07 ,p_mouse_bkkey_release 
+0286 20600000 rtn 
 
 p_mouse_bkkey_press:
-0313 1a227e00 copy rega ,pdata 
-0314 79207e03 set1 3 ,pdata 
-0315 1fe22200 copy pdata ,rega 
-0316 20600000 rtn 
+0287 1a227e00 copy rega ,pdata 
+0288 79207e03 set1 3 ,pdata 
+0289 1fe22200 copy pdata ,rega 
+028a 20600000 rtn 
 
 p_mouse_bkkey_release:
-0317 1a227e00 copy rega ,pdata 
-0318 793ffe03 set0 3 ,pdata 
-0319 1fe22200 copy pdata ,rega 
-031a 20600000 rtn 
+028b 1a227e00 copy rega ,pdata 
+028c 793ffe03 set0 3 ,pdata 
+028d 1fe22200 copy pdata ,rega 
+028e 20600000 rtn 
 
 p_mouse_check_fwkey_gpio:
-031b 6800cb8c fetch 1 ,mem_mouse_fwkey_press_status 
-031c 1fe22400 copy pdata ,regb 
-031d 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-031e 2040032e call p_gpio_set_input_pd 
-031f 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0320 204002c8 call p_mouse_key_check 
-0321 1a420400 copy regb ,temp 
-0322 6008cb8c storet 1 ,mem_mouse_fwkey_press_status 
-0323 c0000326 beq 0x00 ,p_mouse_fwkey_press 
-0324 c003832a beq 0x07 ,p_mouse_fwkey_release 
-0325 20600000 rtn 
+028f 6800cb8c fetch 1 ,mem_mouse_fwkey_press_status 
+0290 1fe22400 copy pdata ,regb 
+0291 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0292 204002a2 call p_gpio_set_input_pd 
+0293 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0294 2040023c call p_mouse_key_check 
+0295 1a420400 copy regb ,temp 
+0296 6008cb8c storet 1 ,mem_mouse_fwkey_press_status 
+0297 c000029a beq 0x00 ,p_mouse_fwkey_press 
+0298 c003829e beq 0x07 ,p_mouse_fwkey_release 
+0299 20600000 rtn 
 
 p_mouse_fwkey_press:
-0326 1a227e00 copy rega ,pdata 
-0327 79207e04 set1 4 ,pdata 
-0328 1fe22200 copy pdata ,rega 
-0329 20600000 rtn 
+029a 1a227e00 copy rega ,pdata 
+029b 79207e04 set1 4 ,pdata 
+029c 1fe22200 copy pdata ,rega 
+029d 20600000 rtn 
 
 p_mouse_fwkey_release:
-032a 1a227e00 copy rega ,pdata 
-032b 793ffe04 set0 4 ,pdata 
-032c 1fe22200 copy pdata ,rega 
-032d 20600000 rtn 
+029e 1a227e00 copy rega ,pdata 
+029f 793ffe04 set0 4 ,pdata 
+02a0 1fe22200 copy pdata ,rega 
+02a1 20600000 rtn 
 
 p_gpio_set_input_pd:
-032e 793f8407 set0 gpio_active_bit ,temp 
-032f d8a08078 arg core_gpio_pu0 ,contw 
-0330 20406830 call gpio_set_bit 
-0331 79200407 set1 gpio_active_bit ,temp 
-0332 d8a0807c arg core_gpio_pd0 ,contw 
-0333 20406830 call gpio_set_bit 
-0334 793f8407 set0 gpio_active_bit ,temp 
-0335 d8a08070 arg core_gpio_oe0 ,contw 
-0336 20206830 branch gpio_set_bit 
+02a2 793f8407 set0 gpio_active_bit ,temp 
+02a3 d8a08078 arg core_gpio_pu0 ,contw 
+02a4 20406830 call gpio_set_bit 
+02a5 79200407 set1 gpio_active_bit ,temp 
+
+p_gpio_set_input_pd4:
+02a6 d8a0807c arg core_gpio_pd0 ,contw 
+02a7 2020680a branch gpio_set_high_impedance + 4 
 
 p_gpio_set_input_pu:
-0337 79200407 set1 gpio_active_bit ,temp 
-0338 d8a08078 arg core_gpio_pu0 ,contw 
-0339 20406830 call gpio_set_bit 
-033a 793f8407 set0 gpio_active_bit ,temp 
-033b 20200332 branch p_gpio_set_input_pd + 4 
+02a8 79200407 set1 gpio_active_bit ,temp 
+02a9 d8a08078 arg core_gpio_pu0 ,contw 
+02aa 20406830 call gpio_set_bit 
+02ab 793f8407 set0 gpio_active_bit ,temp 
+02ac 202002a6 branch p_gpio_set_input_pd4 
 
 p_mouse_cheak_sensor_data:
-033c 6800c6e0 fetch 1 ,mem_config_sensor_type 
-033d c002034d beq p3212 ,p_mouse_p3212_sensor_motion 
-033e c0040342 beq p8009 ,p_mouse_p8009_sensor_motion 
+02ad 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02ae c00202be beq p3212 ,p_mouse_p3212_sensor_motion 
+02af c00402b3 beq p8009 ,p_mouse_p8009_sensor_motion 
 
 p_mouse_p32xx_sensor_motion:
-033f 20403fc0 call mouse_clear_sensor_data 
-0340 78547c00 disable user 
-0341 20203fe7 branch mouse_p32xx_sensor_motion_2 
+02b0 20403fc0 call mouse_clear_sensor_data 
+02b1 78547c00 disable user 
+02b2 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_p8009_sensor_motion:
-0342 20403fc0 call mouse_clear_sensor_data 
-0343 78547c00 disable user 
+02b3 20403fc0 call mouse_clear_sensor_data 
+02b4 78547c00 disable user 
 
 p_mouse_p32xx_sensor_motion_1:
-0344 58000002 setarg pan_reg_motion_staus 
-0345 20406414 call twspi_read 
-0346 c4038000 rtnbit0 7 
-0347 58000008 setarg pan_reg_opration_state 
-0348 20406414 call twspi_read 
-0349 203a3fed branch mouse_p32xx_sensor_motion_1 + 3 ,blank 
-034a 58000000 setarg 0 
-034b 6003469b store 6 ,mem_mouse_x 
-034c 20600000 rtn 
+02b5 58000002 setarg pan_reg_motion_staus 
+02b6 20406414 call twspi_read 
+02b7 c4038000 rtnbit0 7 
+02b8 58000008 setarg pan_reg_opration_state 
+02b9 20406414 call twspi_read 
+02ba 203a3fed branch mouse_p32xx_sensor_motion_1 + 3 ,blank 
+02bb 58000000 setarg 0 
+02bc 6003469b store 6 ,mem_mouse_x 
+02bd 20600000 rtn 
 
 p_mouse_p3212_sensor_motion:
-034d 20403fc0 call mouse_clear_sensor_data 
-034e 20203fc8 branch mouse_p3212_sensor_motion_1 
+02be 20403fc0 call mouse_clear_sensor_data 
+02bf 20203fc8 branch mouse_p3212_sensor_motion_1 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
 
 p_mouse_seting_320x_dpi:
-034f 6800c77a fetch 1 ,mem_mouse_dpi 
-0350 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0351 2042835d call p_mouse_320x_dpi_recount ,zero 
-0352 6800c77a fetch 1 ,mem_mouse_dpi 
-0353 c000035f beq mouse_dpi_level1 ,p_mouse_set_cpi1 
-0354 c0018366 beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+02c0 6800c77a fetch 1 ,mem_mouse_dpi 
+02c1 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+02c2 204282ce call p_mouse_320x_dpi_recount ,zero 
+02c3 6800c77a fetch 1 ,mem_mouse_dpi 
+02c4 c00002d0 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+02c5 c00182d7 beq mouse_dpi_level4 ,p_mouse_set_cpi4 
 
 p_mouse_set_cpi3:
-0355 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0356 c0023d9f beq p3212 ,mouse_set_p3212_cpi3 
-0357 c003036d beq p3065_xy ,p_mouse_3065xy_set_cpi3 
-0358 c003836d beq mx8650 ,p_mouse_3065xy_set_cpi3 
-0359 c0010376 beq ka8 ,p_mouse_ka8_set_cpi3 
+02c6 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02c7 c0023d9f beq p3212 ,mouse_set_p3212_cpi3 
+02c8 c00302de beq p3065_xy ,p_mouse_3065xy_set_cpi3 
+02c9 c00382de beq mx8650 ,p_mouse_3065xy_set_cpi3 
+02ca c00102e7 beq ka8 ,p_mouse_ka8_set_cpi3 
 
 p_mouse_320x_set_cpi3:
-035a 6800c781 fetch 1 ,mem_320x_dpi_3 
+02cb 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_dpi_store:
-035b 6000c6b5 store 1 ,mem_mouse_cpi_count 
-035c 20203dc1 branch mouse_p3205_dpi + 3 
+02cc 6000c6b5 store 1 ,mem_mouse_cpi_count 
+02cd 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_320x_dpi_recount:
-035d 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-035e 20600000 rtn 
+02ce 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+02cf 20600000 rtn 
 
 p_mouse_set_cpi1:
-035f 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0360 c0023d9d beq p3212 ,mouse_set_p3212_cpi1 
-0361 c0030370 beq p3065_xy ,p_mouse_3065xy_set_cpi1 
-0362 c0038370 beq mx8650 ,p_mouse_3065xy_set_cpi1 
-0363 c0010379 beq ka8 ,p_mouse_ka8_set_cpi1 
+02d0 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02d1 c0023d9d beq p3212 ,mouse_set_p3212_cpi1 
+02d2 c00302e1 beq p3065_xy ,p_mouse_3065xy_set_cpi1 
+02d3 c00382e1 beq mx8650 ,p_mouse_3065xy_set_cpi1 
+02d4 c00102ea beq ka8 ,p_mouse_ka8_set_cpi1 
 
 p_mouse_320x_set_cpi1:
-0364 6800c77f fetch 1 ,mem_320x_dpi_1 
-0365 2020035b branch p_mouse_dpi_store 
+02d5 6800c77f fetch 1 ,mem_320x_dpi_1 
+02d6 202002cc branch p_mouse_dpi_store 
 
 p_mouse_set_cpi4:
-0366 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0367 c0023da1 beq p3212 ,mouse_set_p3212_cpi4 
-0368 c0030373 beq p3065_xy ,p_mouse_3065xy_set_cpi4 
-0369 c0038373 beq mx8650 ,p_mouse_3065xy_set_cpi4 
-036a c001037b beq ka8 ,p_mouse_ka8_set_cpi4 
+02d7 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02d8 c0023da1 beq p3212 ,mouse_set_p3212_cpi4 
+02d9 c00302e4 beq p3065_xy ,p_mouse_3065xy_set_cpi4 
+02da c00382e4 beq mx8650 ,p_mouse_3065xy_set_cpi4 
+02db c00102ec beq ka8 ,p_mouse_ka8_set_cpi4 
 
 p_mouse_320x_set_cpi4:
-036b 6800c782 fetch 1 ,mem_320x_dpi_4 
-036c 2020035b branch p_mouse_dpi_store 
+02dc 6800c782 fetch 1 ,mem_320x_dpi_4 
+02dd 202002cc branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi3:
-036d 6800c781 fetch 1 ,mem_320x_dpi_3 
-036e 1fe0ffff increase -1 ,pdata 
-036f 2020035b branch p_mouse_dpi_store 
+02de 6800c781 fetch 1 ,mem_320x_dpi_3 
+02df 1fe0ffff increase -1 ,pdata 
+02e0 202002cc branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi1:
-0370 6800c77f fetch 1 ,mem_320x_dpi_1 
-0371 1fe0ffff increase -1 ,pdata 
-0372 2020035b branch p_mouse_dpi_store 
+02e1 6800c77f fetch 1 ,mem_320x_dpi_1 
+02e2 1fe0ffff increase -1 ,pdata 
+02e3 202002cc branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-0373 6800c782 fetch 1 ,mem_320x_dpi_4 
-0374 1fe0ffff increase -1 ,pdata 
-0375 2020035b branch p_mouse_dpi_store 
+02e4 6800c782 fetch 1 ,mem_320x_dpi_4 
+02e5 1fe0ffff increase -1 ,pdata 
+02e6 202002cc branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi3:
-0376 6800c781 fetch 1 ,mem_320x_dpi_3 
+02e7 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_ka8_dpi_store:
-0377 1fe0fe02 increase 2 ,pdata 
-0378 2020035b branch p_mouse_dpi_store 
+02e8 1fe0fe02 increase 2 ,pdata 
+02e9 202002cc branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi1:
-0379 6800c77f fetch 1 ,mem_320x_dpi_1 
-037a 20200377 branch p_mouse_ka8_dpi_store 
+02ea 6800c77f fetch 1 ,mem_320x_dpi_1 
+02eb 202002e8 branch p_mouse_ka8_dpi_store 
 
 p_mouse_ka8_set_cpi4:
-037b 6800c782 fetch 1 ,mem_320x_dpi_4 
-037c 20200377 branch p_mouse_ka8_dpi_store 
-
-p_mouse_bb_event_discovery_btn:
-037d 7047a300 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-037e 7047a400 jam 0 ,mem_mouse_null_enter_hibernate_timer 
-037f 280ffe26 isolate1 mark_24g ,mark 
-0380 2040854f call p_g24_check_51cmd_stop_24g ,true 
-0381 2020426d branch mouse_bb_event_discovery_btn + 1 
-
-p_le_addr_random_config:
-0382 204068a2 call load_adc_init 
-0383 6801421d fetch 2 ,mem_0_5_adc_io_data 
-0384 203a0387 branch p_le_otp_adc_empty ,blank 
-0385 600147c8 store 2 ,mem_random_addr_increase_count 
-
-p_le_addr_random_store:
-0386 202003a6 branch p_mouse_store_eerpom_random_addr_increase_count 
-
-p_le_otp_adc_empty:
-0387 58001122 setarg 0x1122 
-0388 600147c8 store 2 ,mem_random_addr_increase_count 
-0389 20200386 branch p_le_addr_random_store 
-
-p_mouse_start_discovery:
-038a 20400225 call p_mouse_tx_power_init 
-038b 7047a200 jam 0 ,mem_mouse_clear_sensor_data_flag 
-038c 68014682 fetch 2 ,mem_ui_state_map 
-038d c2858398 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-038e 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-038f c30c0398 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-0390 204003aa call p_mouse_load_eeprom_random_addr_increase_count 
-0391 680947c8 fetcht 2 ,mem_random_addr_increase_count 
-0392 18408401 increase 1 ,temp 
-0393 600947c8 storet 2 ,mem_random_addr_increase_count 
-0394 600944a1 storet 2 ,mem_le_lap + 1 
-0395 204003a6 call p_mouse_store_eerpom_random_addr_increase_count 
-0396 180a7e00 random pdata 
-0397 6000c4a0 store 1 ,mem_le_lap 
-
-p_mouse_start_discovery_norandom:
-0398 20403418 call app_lpm_mult_disable 
-0399 68014687 fetch 2 ,mem_discovery_timeout 
-039a 600146ac store 2 ,mem_mouse_discovery_timer 
-039b 70016d06 jam 6 ,mem_connection_options 
-039c 58000000 setarg 0 
-039d 600146b0 store 2 ,mem_mouse_no_data_timer 
-039e 600146ae store 2 ,mem_mouse_direct_timer 
-039f d8e00007 arg mouse_store_eeprom_flag ,queue 
-03a0 204043ce call mouse_enable_function_flag 
-03a1 204043ca call mouse_bt_discovery_button_down_disable 
-03a2 6800c092 fetch 1 ,mem_device_option 
-03a3 2feffe01 isolate1 mode_4_mouse ,pdata 
-03a4 204083ae call p_check_51cmd_adv ,true 
-03a5 202042c4 branch mouse_start_discovery_norandom + 13 
-
-p_mouse_store_eerpom_random_addr_increase_count:
-03a6 d8400002 arg 2 ,temp 
-03a7 da2047c8 arg mem_random_addr_increase_count ,rega 
-03a8 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-03a9 202065d1 branch iicd_write_protect_eep_data 
-
-p_mouse_load_eeprom_random_addr_increase_count:
-03aa d8400002 arg 2 ,temp 
-03ab da2047c8 arg mem_random_addr_increase_count ,rega 
-03ac da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-03ad 202065df branch iicd_read_eep_data 
-
-p_check_51cmd_adv:
-03ae 7047a500 jam 0 ,mem_mouse_le_reconnect_flag 
-03af 20400137 call p_le_check_adv_flag 
-03b0 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-03b1 e0c08000 istore 1 ,contr 
-03b2 20207df4 branch check_51cmd_adv 
-
-p_mouse_stop_discovery:
-03b3 58000000 setarg 0 
-03b4 600146ac store 2 ,mem_mouse_discovery_timer 
-03b5 2040015d call p_mouse_init_sensor_reset 
-03b6 202042cb branch mouse_stop_discovery + 1 
+02ec 6800c782 fetch 1 ,mem_320x_dpi_4 
+02ed 202002e8 branch p_mouse_ka8_dpi_store 
 
 p_le_enable:
 
 p_g24_enable:
-03b7 70890f36 jam 0x36 ,rf_adc_goff 
-03b8 70890b5f jam 0x5f ,rf_agc_nsat 
-03b9 783b7c00 enable le 
-03ba 70891407 jam 7 ,rfen_ulp 
-03bb 204003bf call check_g24_disabled 
-03bc 6800c1e0 fetch 1 ,mem_250k_freq_enable 
-03bd 207a0000 rtn blank 
-03be 70890ab8 jam 0xb8 ,rf_iq_gain 
+02ee 70890f36 jam 0x36 ,rf_adc_goff 
+02ef 70890b5f jam 0x5f ,rf_agc_nsat 
+02f0 783b7c00 enable le 
+02f1 70891407 jam 7 ,rfen_ulp 
+02f2 204002f6 call check_g24_disabled 
+02f3 6800c1e0 fetch 1 ,mem_250k_freq_enable 
+02f4 207a0000 rtn blank 
+02f5 70890ab8 jam 0xb8 ,rf_iq_gain 
 
 check_g24_disabled:
-03bf 68014150 fetch 2 ,mem_chip_functions 
-03c0 c281aa8c bbit1 g24_disabled ,assert 
-03c1 20600000 rtn 
+02f6 68014150 fetch 2 ,mem_chip_functions 
+02f7 c281aa8c bbit1 g24_disabled ,assert 
+02f8 20600000 rtn 
 
 p_twspi_reset:
-03c2 68108077 hfetch 1 ,core_gpio_out3 
-03c3 1fe17efd and_into 0xfd ,pdata 
-03c4 60108077 hstore 1 ,core_gpio_out3 
-03c5 68188073 hfetcht 1 ,core_gpio_oe3 
-03c6 18418402 or_into 0x2 ,temp 
-03c7 60188073 hstoret 1 ,core_gpio_oe3 
-03c8 204063ee call twspi_disable 
-03c9 184104fd and_into 0xfd ,temp 
-03ca 2000000d nop 13 
-03cb 204063f2 call twspi_enable 
-03cc 60188073 hstoret 1 ,core_gpio_oe3 
-03cd 20600000 rtn 
-
-p_g24_set_device_addr:
-03ce 204068a8 call adc_init_data 
-03cf 680240a0 fetch 4 ,mem_lap 
-03d0 60024c4d store 4 ,mem_24g_device_addr 
-03d1 20600000 rtn 
+02f9 68108077 hfetch 1 ,core_gpio_out3 
+02fa 1fe17efd and_into 0xfd ,pdata 
+02fb 60108077 hstore 1 ,core_gpio_out3 
+02fc 68188073 hfetcht 1 ,core_gpio_oe3 
+02fd 18418402 or_into 0x2 ,temp 
+02fe 60188073 hstoret 1 ,core_gpio_oe3 
+02ff 204063ee call twspi_disable 
+0300 184104fd and_into 0xfd ,temp 
+0301 2000000d nop 13 
+0302 204063f2 call twspi_enable 
+0303 60188073 hstoret 1 ,core_gpio_oe3 
+0304 20600000 rtn 
 
 p_g24_transmit_rf_sta_init:
-03d2 704d4c01 jam 1 ,mem_24g_rf_last_sta 
-03d3 704d4e00 jam 0 ,mem_24g_sync_cnt 
+0305 704d4e01 jam 1 ,mem_24g_rf_last_sta 
+0306 704d5000 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-03d4 6800cc17 fetch 1 ,mem_24g_data_type 
-03d5 1fe17e07 and_into bits_data ,pdata 
-03d6 6000cc17 store 1 ,mem_24g_data_type 
-03d7 20600000 rtn 
+0307 6800cc19 fetch 1 ,mem_24g_data_type 
+0308 1fe17e07 and_into bits_data ,pdata 
+0309 6000cc19 store 1 ,mem_24g_data_type 
+030a 20600000 rtn 
 
 p_g24_hop_ch_enable:
-03d8 6800cc17 fetch 1 ,mem_24g_data_type 
-03d9 79207e04 set1 bit_hop ,pdata 
-03da 6000cc17 store 1 ,mem_24g_data_type 
-03db 6000cbd2 store 1 ,mem_24g_txpayload 
-03dc 20600000 rtn 
+030b 6800cc19 fetch 1 ,mem_24g_data_type 
+030c 79207e04 set1 bit_hop ,pdata 
+030d 6000cc19 store 1 ,mem_24g_data_type 
+030e 6000cbd4 store 1 ,mem_24g_txpayload 
+030f 20600000 rtn 
+
+p_g24_hop_enable_packet:
+0310 6800cc19 fetch 1 ,mem_24g_data_type 
+0311 c4020000 rtnbit0 bit_hop 
 
 p_g24_hop_ch_disable:
-03dd 6800cc17 fetch 1 ,mem_24g_data_type 
-03de 793ffe04 set0 bit_hop ,pdata 
-03df 6000cc17 store 1 ,mem_24g_data_type 
-03e0 6000cbd2 store 1 ,mem_24g_txpayload 
-03e1 204004ab call power_ctrl_pac_succ_decrs 
-03e2 202005fc branch p_g24_ch 
+0312 6800cc19 fetch 1 ,mem_24g_data_type 
+0313 793ffe04 set0 bit_hop ,pdata 
+0314 6000cc19 store 1 ,mem_24g_data_type 
+0315 6000cbd4 store 1 ,mem_24g_txpayload 
+0316 204003de call power_ctrl_pac_succ_decrs 
+
+p_g24_ch:
+0317 6808cc23 fetcht 1 ,mem_24g_current_ch_number 
+0318 6800cc40 fetch 1 ,mem_24g_addr 
+0319 1fe17e03 and_into 0x03 ,pdata 
+031a 1fefa204 mul32 pdata ,4 ,rega 
+031b 58004c29 setarg mem_24g_ch_map1 
+031c 9a20fe00 iadd rega ,pdata 
+031d 98408c00 iadd temp ,contr 
+031e e8c08000 ifetch 1 ,contr 
+031f 6000cc22 store 1 ,mem_24g_ch 
+0320 18408401 increase 1 ,temp 
+0321 18410403 and_into 3 ,temp 
+0322 6008cc23 storet 1 ,mem_24g_current_ch_number 
+0323 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail:
-03e3 204004ab call power_ctrl_pac_succ_decrs 
-03e4 6800cd4d fetch 1 ,mem_24g_rf_work_stage 
-03e5 c00083e8 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
-03e6 c00103ec beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
-03e7 20600000 rtn 
+0324 204003de call power_ctrl_pac_succ_decrs 
+0325 6800cd4f fetch 1 ,mem_24g_rf_work_stage 
+0326 c0008329 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
+0327 c001032d beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
+0328 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail_wo_hop:
-03e8 704d4e02 jam 2 ,mem_24g_sync_cnt 
+0329 704d5002 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_fail_stage1:
-03e9 704d4a00 jam 0 ,mem_24g_hop_pac_retry 
-03ea 704d4c00 jam 0 ,mem_24g_rf_last_sta 
-03eb 202003d4 branch p_g24_transmit_rf_ctrl_clear 
+032a 704d4c00 jam 0 ,mem_24g_hop_pac_retry 
+032b 704d4e00 jam 0 ,mem_24g_rf_last_sta 
+032c 20200307 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_fail_hop_stage2:
-03ec 704d4b00 jam 0 ,mem_24g_rf_hop_ch 
-03ed 202003e9 branch p_g24_transmit_hop_pac_fail_stage1 
+032d 704d4d00 jam 0 ,mem_24g_rf_hop_ch 
+032e 2020032a branch p_g24_transmit_hop_pac_fail_stage1 
 
 p_g24_transmit_pac_fail_hop_stage3:
-03ee 68014c1c fetch 2 ,mem_24g_txfail_cnt 
-03ef 1fe0fe01 increase 1 ,pdata 
-03f0 60014c1c store 2 ,mem_24g_txfail_cnt 
-03f1 c285048c bbit1 10 ,p_g24_tx_attempt_fail 
-03f2 6800cd4b fetch 1 ,mem_24g_rf_hop_ch 
-03f3 c00083f7 beq 1 ,p_g24_rf_hop_fastly 
-03f4 704d4b01 jam 1 ,mem_24g_rf_hop_ch 
+032f 68014c1e fetch 2 ,mem_24g_txfail_cnt 
+0330 1fe0fe01 increase 1 ,pdata 
+0331 60014c1e store 2 ,mem_24g_txfail_cnt 
+0332 c28503c4 bbit1 10 ,p_g24_tx_attempt_fail 
+0333 6800cd4d fetch 1 ,mem_24g_rf_hop_ch 
+0334 c0008338 beq 1 ,p_g24_rf_hop_fastly 
+0335 704d4d01 jam 1 ,mem_24g_rf_hop_ch 
 
 p_g24_rf_hop_attemp_again:
-03f5 6800cd4b fetch 1 ,mem_24g_rf_hop_ch 
-03f6 c08083d4 bne 1 ,p_g24_transmit_rf_ctrl_clear 
+0336 6800cd4d fetch 1 ,mem_24g_rf_hop_ch 
+0337 c0808307 bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-03f7 6800cd49 fetch 1 ,mem_24g_hop_fastly_cnt 
-03f8 1fe0fe01 increase 1 ,pdata 
-03f9 6000cd49 store 1 ,mem_24g_hop_fastly_cnt 
-03fa c00203fe beq 4 ,p_g24_rf_hop_fastly_exit 
-03fb 204005fc call p_g24_ch 
-03fc 704c5b02 jam 2 ,mem_24g_max_retry 
-03fd 20200456 branch p_g24_transmit_packet 
+0338 6800cd4b fetch 1 ,mem_24g_hop_fastly_cnt 
+0339 1fe0fe01 increase 1 ,pdata 
+033a 6000cd4b store 1 ,mem_24g_hop_fastly_cnt 
+033b c002033f beq 4 ,p_g24_rf_hop_fastly_exit 
+033c 20400317 call p_g24_ch 
+033d 704c5d02 jam 2 ,mem_24g_max_retry 
+033e 20200395 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-03fe 204004ab call power_ctrl_pac_succ_decrs 
-03ff 704d4900 jam 0 ,mem_24g_hop_fastly_cnt 
-0400 202003d4 branch p_g24_transmit_rf_ctrl_clear 
+033f 204003de call power_ctrl_pac_succ_decrs 
+0340 704d4b00 jam 0 ,mem_24g_hop_fastly_cnt 
+0341 20200307 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-0401 704d4e02 jam 2 ,mem_24g_sync_cnt 
+0342 704d5002 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-0402 704d4c01 jam 1 ,mem_24g_rf_last_sta 
-0403 704d4b00 jam 0 ,mem_24g_rf_hop_ch 
-0404 202003d4 branch p_g24_transmit_rf_ctrl_clear 
+0343 704d4e01 jam 1 ,mem_24g_rf_last_sta 
+0344 704d4d00 jam 0 ,mem_24g_rf_hop_ch 
+0345 20200307 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-0405 6800cd4d fetch 1 ,mem_24g_rf_work_stage 
-0406 c0018402 beq 3 ,p_g24_transmit_hop_pac_succ 
-0407 6800cc17 fetch 1 ,mem_24g_data_type 
-0408 2fec0004 isolate0 bit_hop ,pdata 
-0409 202083d2 branch p_g24_transmit_rf_sta_init ,true 
-040a 6800cd4d fetch 1 ,mem_24g_rf_work_stage 
-040b c0008401 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
-040c c0010402 beq 2 ,p_g24_transmit_hop_pac_succ 
-040d 20600000 rtn 
+0346 6800cd4f fetch 1 ,mem_24g_rf_work_stage 
+0347 c0018343 beq 3 ,p_g24_transmit_hop_pac_succ 
+0348 6800cc19 fetch 1 ,mem_24g_data_type 
+0349 2fec0004 isolate0 bit_hop ,pdata 
+034a 20208305 branch p_g24_transmit_rf_sta_init ,true 
+034b 6800cd4f fetch 1 ,mem_24g_rf_work_stage 
+034c c0008342 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+034d c0010343 beq 2 ,p_g24_transmit_hop_pac_succ 
+034e 20600000 rtn 
 
 p_g24_rf_sta_check:
-040e 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-040f c1ff8000 rtnne state_24g_pairing_success 
-0410 20400413 call p_g24_rf_laststa_synccnt_check 
-0411 2456041b ncall p_g24_rf_sync_cnt_check ,user2 
-0412 20600000 rtn 
+034f 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+0350 c1ff8000 rtnne state_24g_pairing_success 
+0351 20400354 call p_g24_rf_laststa_synccnt_check 
+0352 2456035c ncall p_g24_rf_sync_cnt_check ,user2 
+0353 20600000 rtn 
 
 p_g24_rf_laststa_synccnt_check:
-0413 78567c00 disable user2 
-0414 6800cd4c fetch 1 ,mem_24g_rf_last_sta 
-0415 c1808000 rtnne 1 
-0416 6800cd4e fetch 1 ,mem_24g_sync_cnt 
-0417 c1800000 rtnne 0 
-0418 704d4d01 jam 1 ,mem_24g_rf_work_stage 
-0419 704c5b04 jam 4 ,mem_24g_max_retry 
-041a 20207feb branch enable_user2 
+0354 78567c00 disable user2 
+0355 6800cd4e fetch 1 ,mem_24g_rf_last_sta 
+0356 c1808000 rtnne 1 
+0357 6800cd50 fetch 1 ,mem_24g_sync_cnt 
+0358 c1800000 rtnne 0 
+0359 704d4f01 jam 1 ,mem_24g_rf_work_stage 
+035a 704c5d04 jam 4 ,mem_24g_max_retry 
+035b 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-041b 6800cd4e fetch 1 ,mem_24g_sync_cnt 
-041c 203a0423 branch p_g24_rf_hop_attemp ,blank 
-041d 1fe0ffff increase -1 ,pdata 
-041e 6000cd4e store 1 ,mem_24g_sync_cnt 
-041f 704d4d02 jam 2 ,mem_24g_rf_work_stage 
-0420 204005fc call p_g24_ch 
-0421 704c5b04 jam 4 ,mem_24g_max_retry 
-0422 20600000 rtn 
+035c 6800cd50 fetch 1 ,mem_24g_sync_cnt 
+035d 203a0364 branch p_g24_rf_hop_attemp ,blank 
+035e 1fe0ffff increase -1 ,pdata 
+035f 6000cd50 store 1 ,mem_24g_sync_cnt 
+0360 704d4f02 jam 2 ,mem_24g_rf_work_stage 
+0361 20400317 call p_g24_ch 
+0362 704c5d04 jam 4 ,mem_24g_max_retry 
+0363 20600000 rtn 
 
 p_g24_rf_hop_attemp:
-0423 704d4d03 jam 3 ,mem_24g_rf_work_stage 
-0424 6800cd4b fetch 1 ,mem_24g_rf_hop_ch 
-0425 243a03f5 nbranch p_g24_rf_hop_attemp_again ,blank 
-0426 204005fc call p_g24_ch 
-0427 704c5b02 jam 2 ,mem_24g_max_retry 
-0428 20600000 rtn 
+0364 704d4f03 jam 3 ,mem_24g_rf_work_stage 
+0365 6800cd4d fetch 1 ,mem_24g_rf_hop_ch 
+0366 243a0336 nbranch p_g24_rf_hop_attemp_again ,blank 
+0367 20400317 call p_g24_ch 
+0368 704c5d02 jam 2 ,mem_24g_max_retry 
+0369 20600000 rtn 
 
 p_g24_txdata_prep:
-0429 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-042a c0ff84e8 bne state_24g_pairing_success ,p_g24_pairing_sm 
+036a 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+036b c0ff8426 bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
-042b 2040042f call p_g24_package_data 
+036c 20400370 call p_g24_package_data 
 
 p_g24_txdata_enable_tx:
-042c 204005ea call p_g24_transmit_prep 
-042d 704c1b01 jam ensure_on_24g ,mem_24g_ensure 
-042e 20600000 rtn 
+036d 204004e9 call p_g24_transmit_prep 
+036e 704c1d01 jam ensure_on_24g ,mem_24g_ensure 
+036f 20600000 rtn 
 
 p_g24_package_data:
-042f 68014d47 fetch 2 ,mem_cb_24g_data 
-0430 20407f9c call callback_func 
-0431 20340435 branch p_g24_accumulate_mouse_data ,user 
-0432 6803cbb3 fetch 7 ,mem_24g_txbuf + 1 
-0433 207a0000 rtn blank 
-0434 20207fe7 branch enable_user 
+0370 68014d49 fetch 2 ,mem_cb_24g_data 
+0371 20407f9c call callback_func 
+0372 20340376 branch p_g24_accumulate_mouse_data ,user 
+0373 6803cbb5 fetch 7 ,mem_24g_txbuf + 1 
+0374 207a0000 rtn blank 
+0375 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-0435 2040044e call p_mouse_data_xy_release 
-0436 704c4200 jam 0 ,mem_24g_abort_pac 
-0437 1a20fe01 add rega ,1 ,pdata 
-0438 6000cc16 store 1 ,mem_24g_datalen 
-0439 204003d4 call p_g24_transmit_rf_ctrl_clear 
-043a 6000cbb2 store 1 ,mem_24g_txbuf 
-043b e8a88000 ifetcht 1 ,contw 
-043c ea408000 ifetch 1 ,regb 
-043d 9841fe00 ior temp ,pdata 
-043e e0a08000 istore 1 ,contw 
-043f 1a40a401 increase 1 ,regb 
-0440 df200002 arg 2 ,loopcnt 
+0376 2040038f call p_mouse_data_xy_release 
+0377 704c4400 jam 0 ,mem_24g_abort_pac 
+0378 1a20fe01 add rega ,1 ,pdata 
+0379 6000cc18 store 1 ,mem_24g_datalen 
+037a 20400307 call p_g24_transmit_rf_ctrl_clear 
+037b 6000cbb4 store 1 ,mem_24g_txbuf 
+037c e8a88000 ifetcht 1 ,contw 
+037d ea408000 ifetch 1 ,regb 
+037e 9841fe00 ior temp ,pdata 
+037f e0a08000 istore 1 ,contw 
+0380 1a40a401 increase 1 ,regb 
+0381 df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop:
-0441 ea410000 ifetch 2 ,regb 
-0442 e0a10000 istore 2 ,contw 
-0443 1a40a402 increase 2 ,regb 
-0444 c2000441 loop p_g24_accumulation_loop 
-0445 d8a04bb8 arg mem_24g_txbuf + 6 ,contw 
-0446 df200002 arg 2 ,loopcnt 
+0382 ea410000 ifetch 2 ,regb 
+0383 e0a10000 istore 2 ,contw 
+0384 1a40a402 increase 2 ,regb 
+0385 c2000382 loop p_g24_accumulation_loop 
+0386 d8a04bba arg mem_24g_txbuf + 6 ,contw 
+0387 df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop2:
-0447 ea408000 ifetch 1 ,regb 
-0448 e8a88000 ifetcht 1 ,contw 
-0449 9840fe00 iadd temp ,pdata 
-044a e0a08000 istore 1 ,contw 
-044b 1a40a401 increase 1 ,regb 
-044c c2000447 loop p_g24_accumulation_loop2 
-044d 20600000 rtn 
+0388 ea408000 ifetch 1 ,regb 
+0389 e8a88000 ifetcht 1 ,contw 
+038a 9840fe00 iadd temp ,pdata 
+038b e0a08000 istore 1 ,contw 
+038c 1a40a401 increase 1 ,regb 
+038d c2000388 loop p_g24_accumulation_loop2 
+038e 20600000 rtn 
 
 p_mouse_data_xy_release:
-044e 6800c6f5 fetch 1 ,mem_config_function_enable 
-044f c3838000 rtnbit1 enable_sensor_motion_pin 
-0450 6800c80e fetch 1 ,mem_mouse_long_mult_flag 
-0451 c1808000 rtnne 1 
-0452 58000000 setarg 0 
-0453 6000c80e store 1 ,mem_mouse_long_mult_flag 
-0454 6002469b store 4 ,mem_mouse_x 
-0455 2020015d branch p_mouse_init_sensor_reset 
+038f 6800c80e fetch 1 ,mem_mouse_long_mult_flag 
+0390 c1808000 rtnne 1 
+0391 58000000 setarg 0 
+0392 6000c80e store 1 ,mem_mouse_long_mult_flag 
+0393 6002469b store 4 ,mem_mouse_x 
+0394 202000e2 branch p_mouse_init_sensor_reset 
 
 p_g24_transmit_packet:
-0456 704c1f00 jam 0 ,mem_24g_retry 
+0395 704c2100 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0457 d9600d00 arg param_rx_setup ,timeup 
-0458 34730200 until clkn_rt ,meet 
-0459 20400474 call p_g24_transmit_receive_ack 
-045a 242c047f nbranch p_g24_retransmit ,sync 
-045b 2437847f nbranch p_g24_retransmit ,user3 
-045c 2040046c call p_g24_txbuf_clear 
-045d 2040049d call p_g24_ackpayload_parse 
-045e 204004a7 call power_ctrl_pac_succ_incrs 
+0396 d9600d00 arg param_rx_setup ,timeup 
+0397 34730200 until clkn_rt ,meet 
+0398 204003ae call p_g24_transmit_receive_ack 
+0399 242c03b9 nbranch p_g24_retransmit ,sync 
+039a 243783b9 nbranch p_g24_retransmit ,user3 
+039b 204003ab call p_g24_txbuf_clear 
+039c 204003d4 call p_g24_ackpayload_parse 
+039d 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+039e 1fe0fe01 increase 1 ,pdata 
+039f 6000cd51 store 1 ,mem_power_ctrl_pac_succ_cnt 
 
 p_g24_transmit_next_packet:
-045f 6800cc15 fetch 1 ,mem_24g_pid 
-0460 1fe0fe01 increase 1 ,pdata 
-0461 6000cc15 store 1 ,mem_24g_pid 
-0462 2040046f call p_g24_hop_enable_packet 
-0463 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-0464 c0ff8472 bne state_24g_pairing_success ,p_g24_paring_mode_start 
-0465 20400405 call p_g24_transmit_succ_rf_config 
+03a0 6800cc17 fetch 1 ,mem_24g_pid 
+03a1 1fe0fe01 increase 1 ,pdata 
+03a2 6000cc17 store 1 ,mem_24g_pid 
+03a3 20400310 call p_g24_hop_enable_packet 
+03a4 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+03a5 c0ff8440 bne state_24g_pairing_success ,p_g24_paring_mode_start 
+03a6 20400346 call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
-0466 58000000 setarg 0 
-0467 60014c1c store 2 ,mem_24g_txfail_cnt 
-0468 6000cc1e store 1 ,mem_24g_get_ack_fail 
-0469 6000cd4a store 1 ,mem_24g_hop_pac_retry 
-046a 704c1b00 jam ensure_off_24g ,mem_24g_ensure 
-046b 20600000 rtn 
+03a7 58000000 setarg 0 
+03a8 60024c1d store 4 ,mem_24g_ensure 
+03a9 6000cd4c store 1 ,mem_24g_hop_pac_retry 
+03aa 20600000 rtn 
 
 p_g24_txbuf_clear:
-046c df200004 arg 4 ,loopcnt 
-046d d8a04bb2 arg mem_24g_txbuf ,contw 
-046e 20207ec6 branch memset0 
-
-p_g24_hop_enable_packet:
-046f 6800cc17 fetch 1 ,mem_24g_data_type 
-0470 c28203dd bbit1 bit_hop ,p_g24_hop_ch_disable 
-0471 20600000 rtn 
-
-p_g24_paring_mode_start:
-0472 204004a4 call power_ctrl_pac_succ_cnt_init 
-0473 20200502 branch p_g24_paring_mode 
+03ab df200004 arg 4 ,loopcnt 
+03ac d8a04bb4 arg mem_24g_txbuf ,contw 
+03ad 20207ec6 branch memset0 
 
 p_g24_transmit_receive_ack:
-0474 7857fc00 disable user3 
-0475 20400659 call p_g24_transmit 
-0476 18002a00 force 0 ,radio_ctrl 
-0477 68024c3e fetch 4 ,mem_24g_addr 
-0478 98001200 iforce access 
-0479 68088017 fetcht 1 ,mem_last_freq 
-047a 2040291f call set_freq_rx 
-047b 20402924 call rf_rx_enable 
-047c 20400616 call p_g24_receive_rxon 
-047d 20578652 call p_g24_end_of_packet ,user3 
-047e 20600000 rtn 
+03ae 7857fc00 disable user3 
+03af 20400548 call p_g24_transmit 
+03b0 18002a00 force 0 ,radio_ctrl 
+03b1 68024c40 fetch 4 ,mem_24g_addr 
+03b2 98001200 iforce access 
+03b3 68088017 fetcht 1 ,mem_last_freq 
+03b4 2040291f call set_freq_rx 
+03b5 20402924 call rf_rx_enable 
+03b6 20400504 call p_g24_receive_rxon 
+03b7 20578545 call p_g24_end_of_packet ,user3 
+03b8 20600000 rtn 
 
 p_g24_retransmit:
-047f 6800cc42 fetch 1 ,mem_24g_abort_pac 
-0480 247a0000 nrtn blank 
-0481 68014c1c fetch 2 ,mem_24g_txfail_cnt 
-0482 1fe0fe01 increase 1 ,pdata 
-0483 60014c1c store 2 ,mem_24g_txfail_cnt 
-0484 6800cc1d fetch 1 ,mem_24g_txfail_cnt + 1 
-0485 c282048e bbit1 4 ,p_g24_stop_g24_mode 
-0486 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-0487 c0ff848a bne state_24g_pairing_success ,p_g24_tx_paring_retry 
-0488 20400493 call p_g24_tx_hop_ch_process 
-0489 20200457 branch p_g24_transmit_loop 
+03b9 68014c1e fetch 2 ,mem_24g_txfail_cnt 
+03ba 1fe0fe01 increase 1 ,pdata 
+03bb 60014c1e store 2 ,mem_24g_txfail_cnt 
+03bc 6800cc1f fetch 1 ,mem_24g_txfail_cnt + 1 
+03bd c2822dd4 bbit1 4 ,g24_stop_24g_mode 
+03be 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+03bf c0ff83c2 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+03c0 204003ca call p_g24_tx_hop_ch_process 
+03c1 20200396 branch p_g24_transmit_loop 
 
 p_g24_tx_paring_retry:
-048a 6800cc1c fetch 1 ,mem_24g_txfail_cnt 
-048b c1ff8000 rtnne 0xff 
+03c2 6800cc1e fetch 1 ,mem_24g_txfail_cnt 
+03c3 c1ff8000 rtnne 0xff 
 
 p_g24_tx_attempt_fail:
-048c 58000000 setarg 0 
-048d 60014c1c store 2 ,mem_24g_txfail_cnt 
-
-p_g24_stop_g24_mode:
-048e 700a993a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
-048f 20207d86 branch ui_ipc_send_event 
+03c4 58000000 setarg 0 
+03c5 60014c1e store 2 ,mem_24g_txfail_cnt 
+03c6 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-0490 204004d6 call power_ctrl_txpower_incrs 
-0491 204004ab call power_ctrl_pac_succ_decrs 
-0492 202005fc branch p_g24_ch 
+03c7 20400407 call power_ctrl_txpower_incrs 
+03c8 204003de call power_ctrl_pac_succ_decrs 
+03c9 20200317 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
-0493 6800cc1f fetch 1 ,mem_24g_retry 
-0494 1fe67c0b sub pdata ,11 ,null 
-0495 24210490 nbranch p_g24_tx_fast_hop ,positive 
-0496 1fe0fe01 increase 1 ,pdata 
-0497 6000cc1f store 1 ,mem_24g_retry 
-0498 c00103d8 beq 2 ,p_g24_hop_ch_enable 
-0499 c00303dd beq 6 ,p_g24_hop_ch_disable 
-049a c00403d8 beq 8 ,p_g24_hop_ch_enable 
-049b c00603dd beq 12 ,p_g24_hop_ch_disable 
-049c 20600000 rtn 
+03ca 6800cc21 fetch 1 ,mem_24g_retry 
+03cb 1fe67c0b sub pdata ,11 ,null 
+03cc 242103c7 nbranch p_g24_tx_fast_hop ,positive 
+03cd 1fe0fe01 increase 1 ,pdata 
+03ce 6000cc21 store 1 ,mem_24g_retry 
+03cf c001030b beq 2 ,p_g24_hop_ch_enable 
+03d0 c0030312 beq 6 ,p_g24_hop_ch_disable 
+03d1 c004030b beq 8 ,p_g24_hop_ch_enable 
+03d2 c0060312 beq 12 ,p_g24_hop_ch_disable 
+03d3 20600000 rtn 
 
 p_g24_ackpayload_parse:
-049d 20400559 call p_g24_read_len_pid_crc 
-049e 6800cc14 fetch 1 ,mem_24g_rxdata_length 
-049f 207a0000 rtn blank 
-04a0 98007200 iforce loopcnt 
-04a1 d8c04b92 arg mem_24g_rxbuf + 2 ,contr 
-04a2 d8a04bf4 arg mem_24g_rxpayload ,contw 
-04a3 20207f01 branch memcpy 
+03d4 20400489 call p_g24_read_len_pid_crc 
+03d5 6800cc16 fetch 1 ,mem_24g_rxdata_length 
+03d6 207a0000 rtn blank 
+03d7 98007200 iforce loopcnt 
+03d8 d8c04b94 arg mem_24g_rxbuf + 2 ,contr 
+03d9 d8a04bf6 arg mem_24g_rxpayload ,contw 
+03da 20207f01 branch memcpy 
 
 power_ctrl_pac_succ_cnt_init:
-04a4 704d5201 jam 1 ,mem_power_ctrl_level 
-04a5 704d4f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-04a6 20600000 rtn 
-
-power_ctrl_pac_succ_incrs:
-04a7 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04a8 1fe0fe01 increase 1 ,pdata 
-04a9 6000cd4f store 1 ,mem_power_ctrl_pac_succ_cnt 
-04aa 20600000 rtn 
+03db 704d5401 jam 1 ,mem_power_ctrl_level 
+03dc 704d5100 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+03dd 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-04ab 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04ac 1fe67c02 sub pdata ,2 ,null 
-04ad 244104b3 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-04ae 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04af c1000000 rtneq 0 
-04b0 1fe0ffff increase -1 ,pdata 
-04b1 6000cd4f store 1 ,mem_power_ctrl_pac_succ_cnt 
-04b2 20600000 rtn 
+03de 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03df 1fe67c02 sub pdata ,2 ,null 
+03e0 244103e6 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+03e1 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03e2 c1000000 rtneq 0 
+03e3 1fe0ffff increase -1 ,pdata 
+03e4 6000cd51 store 1 ,mem_power_ctrl_pac_succ_cnt 
+03e5 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-04b3 704d4f03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-04b4 20600000 rtn 
+03e6 704d5103 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+03e7 20600000 rtn 
 
 power_ctrl_start:
-04b5 68014682 fetch 2 ,mem_ui_state_map 
-04b6 c3858000 rtnbit1 ui_state_ble_adv 
-04b7 da204cd8 arg mem_rssi_signal_buf ,rega 
-04b8 204005cb call p_rssi_average 
-04b9 6008cd50 storet 1 ,mem_rssi_avg_received 
-04ba 58000082 setarg rssi_dis_max_24g 
-04bb c51304bd bmark1 mark_24g ,power_ctrl_start_next 
-04bc 58000080 setarg rssi_dis_max_ble 
+03e8 da204cda arg mem_rssi_signal_buf ,rega 
+03e9 204004d9 call p_rssi_average 
+03ea 6008cd52 storet 1 ,mem_rssi_avg_received 
+03eb 58000082 setarg rssi_dis_max_24g 
+03ec c51303ee bmark1 mark_24g ,power_ctrl_start_next 
+03ed 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-04bd 98467c00 isub temp ,null 
-04be 242104d5 nbranch power_ctrl_txpower_incrs_force ,positive 
-04bf 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04c0 1fe67c02 sub pdata ,2 ,null 
-04c1 242104c5 nbranch power_ctrl_txpower_decrs_check ,positive 
-04c2 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04c3 c00004d6 beq 0 ,power_ctrl_txpower_incrs 
-04c4 20600000 rtn 
+03ee 98467c00 isub temp ,null 
+03ef 24210406 nbranch power_ctrl_txpower_incrs_force ,positive 
+03f0 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03f1 1fe67c02 sub pdata ,2 ,null 
+03f2 242103f6 nbranch power_ctrl_txpower_decrs_check ,positive 
+03f3 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03f4 c0000407 beq 0 ,power_ctrl_txpower_incrs 
+03f5 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-04c5 6800cd4f fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04c6 c1990000 rtnne 50 
-04c7 704d4f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+03f6 6800cd51 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03f7 c1990000 rtnne 50 
+03f8 704d5100 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-04c8 6808cd50 fetcht 1 ,mem_rssi_avg_received 
-04c9 58000077 setarg rssi_dis_min_24g 
-04ca c51304cc bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-04cb 58000075 setarg rssi_dis_min_ble 
+03f9 6808cd52 fetcht 1 ,mem_rssi_avg_received 
+03fa 58000077 setarg rssi_dis_min_24g 
+03fb c51303fd bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+03fc 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-04cc 98467c00 isub temp ,null 
-04cd 24610000 nrtn positive 
-04ce 6800cd52 fetch 1 ,mem_power_ctrl_level 
-04cf c00004dd beq 0 ,power_ctrl_decrs_level0 
-04d0 1fe0ffff increase -1 ,pdata 
-04d1 6000cd52 store 1 ,mem_power_ctrl_level 
-04d2 c00004dd beq 0 ,power_ctrl_decrs_level0 
+03fd 98467c00 isub temp ,null 
+03fe 24610000 nrtn positive 
+03ff 6800cd54 fetch 1 ,mem_power_ctrl_level 
+0400 c000040e beq 0 ,power_ctrl_decrs_level0 
+0401 1fe0ffff increase -1 ,pdata 
+0402 6000cd54 store 1 ,mem_power_ctrl_level 
+0403 c000040e beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-04d3 7041de00 jam tx_power_0db ,mem_tx_power 
-04d4 20600000 rtn 
+0404 7041de00 jam tx_power_0db ,mem_tx_power 
+0405 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-04d5 704d4f00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0406 704d5100 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-04d6 6800cd52 fetch 1 ,mem_power_ctrl_level 
-04d7 c00104db beq 2 ,power_ctrl_incrs_level2 
-04d8 1fe0fe01 increase 1 ,pdata 
-04d9 6000cd52 store 1 ,mem_power_ctrl_level 
-04da c00084d3 beq 1 ,power_ctrl_incrs_level1 
+0407 6800cd54 fetch 1 ,mem_power_ctrl_level 
+0408 c001040c beq 2 ,power_ctrl_incrs_level2 
+0409 1fe0fe01 increase 1 ,pdata 
+040a 6000cd54 store 1 ,mem_power_ctrl_level 
+040b c0008404 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-04db 7041de02 jam tx_power_5db ,mem_tx_power 
-04dc 20600000 rtn 
+040c 7041de02 jam tx_power_5db ,mem_tx_power 
+040d 20600000 rtn 
 
 power_ctrl_decrs_level0:
-04dd 7041de04 jam tx_power_f5db ,mem_tx_power 
-04de 20600000 rtn 
+040e 7041de04 jam tx_power_f5db ,mem_tx_power 
+040f 20600000 rtn 
 
 p_g24_start_pairing_sm1:
-04df 79200026 set1 mark_24g ,mark 
-04e0 204004e3 call p_g24_pair_init 
+0410 79200026 set1 mark_24g ,mark 
+0411 20400414 call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-04e1 704c2601 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
-04e2 20600000 rtn 
+0412 704c2801 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0413 20600000 rtn 
 
 p_g24_pair_init:
-04e3 7041de04 jam tx_power_f5db ,mem_tx_power 
-04e4 704c1500 jam 0 ,mem_24g_pid 
-04e5 704c204e jam g24_pair_ch ,mem_24g_ch 
-04e6 68024c22 fetch 4 ,mem_24g_paring_addr 
-04e7 202005dc branch p_g24_update_addr_and_synccrc8 
+0414 7041de04 jam tx_power_f5db ,mem_tx_power 
+0415 704c1700 jam 0 ,mem_24g_pid 
+0416 704c224e jam g24_pair_ch ,mem_24g_ch 
+0417 68024c24 fetch 4 ,mem_24g_paring_addr 
+
+p_g24_update_addr_and_synccrc8:
+0418 60024c40 store 4 ,mem_24g_addr 
+
+p_g24_syncword_crc8:
+0419 da200000 arg 0 ,rega 
+041a df200004 arg 4 ,loopcnt 
+041b d8c04c40 arg mem_24g_addr ,contr 
+
+p_g24_syncword_crc8_loop:
+041c e8c08000 ifetch 1 ,contr 
+041d 9a20a200 iadd rega ,rega 
+041e c200041c loop p_g24_syncword_crc8_loop 
+041f 1a227e00 copy rega ,pdata 
+0420 60014cc9 store 2 ,mem_24g_syncword 
+0421 6800ccc9 fetch 1 ,mem_24g_syncword 
+0422 6808ccca fetcht 1 ,mem_24g_syncword + 1 
+0423 9840fe00 iadd temp ,pdata 
+0424 6000cccb store 1 ,mem_24g_syncword_crc8 
+0425 20600000 rtn 
 
 p_g24_pairing_sm:
-04e8 6800cc1b fetch 1 ,mem_24g_ensure 
-04e9 c000ffe7 beq ensure_on_24g ,enable_user 
-04ea 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-04eb c00084ef beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
-04ec c00104f2 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
-04ed c00184f5 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
-04ee 20202a8c branch assert 
+0426 6800cc1d fetch 1 ,mem_24g_ensure 
+0427 c000ffe7 beq ensure_on_24g ,enable_user 
+0428 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+0429 c000842d beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+042a c0010430 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+042b c0018433 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+042c 20202a8c branch assert 
 
 p_g24_pairing_sm_1:
-04ef 704c2611 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
-04f0 70119eaa jam 0xaa ,mem_24g_common_temp 
-04f1 202004f7 branch p_g24_pairing_sm_common 
+042d 704c2811 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+042e 70119eaa jam 0xaa ,mem_24g_common_temp 
+042f 20200435 branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_2:
-04f2 704c2612 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
-04f3 70119e55 jam 0x55 ,mem_24g_common_temp 
-04f4 202004f7 branch p_g24_pairing_sm_common 
+0430 704c2812 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0431 70119e55 jam 0x55 ,mem_24g_common_temp 
+0432 20200435 branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_3:
-04f5 704c2613 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
-04f6 70119e22 jam 0x22 ,mem_24g_common_temp 
+0433 704c2813 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0434 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 p_g24_pairing_sm_common:
-04f7 6800cc17 fetch 1 ,mem_24g_data_type 
-04f8 1fe17e07 and_into bits_data ,pdata 
-04f9 6000919f store 1 ,mem_24g_common_temp + 1 
-04fa 68024c4d fetch 4 ,mem_24g_device_addr 
-04fb 600211a0 store 4 ,mem_24g_common_temp + 2 
+0435 6800cc19 fetch 1 ,mem_24g_data_type 
+0436 1fe17e07 and_into bits_data ,pdata 
+0437 6000919f store 1 ,mem_24g_common_temp + 1 
+0438 68024c4f fetch 4 ,mem_24g_device_addr 
+0439 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 p_g24_put_pairing_data_in_buff:
-04fc 7011a400 jam 0 ,mem_24g_common_temp + 6 
-04fd da20119e arg mem_24g_common_temp ,rega 
-04fe d8400007 arg 7 ,temp 
-04ff 20400554 call p_g24_put_data_in_buff 
-0500 2040042c call p_g24_txdata_enable_tx 
-0501 20207fe7 branch enable_user 
+043a 7011a400 jam 0 ,mem_24g_common_temp + 6 
+043b da20119e arg mem_24g_common_temp ,rega 
+043c d8400007 arg 7 ,temp 
+043d 20400484 call p_g24_put_data_in_buff 
+043e 2040036d call p_g24_txdata_enable_tx 
+043f 20207fe7 branch enable_user 
+
+p_g24_paring_mode_start:
+0440 204003db call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
-0502 6800cc26 fetch 1 ,mem_24g_pairing_sm 
-0503 c17f8000 rtneq state_24g_pairing_success 
-0504 c0088508 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
-0505 c009050a beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
-0506 c009850c beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
-0507 20600000 rtn 
+0441 6800cc28 fetch 1 ,mem_24g_pairing_sm 
+0442 c17f8000 rtneq state_24g_pairing_success 
+0443 c0088447 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+0444 c0090449 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+0445 c009844b beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+0446 20600000 rtn 
 
 p_g24_pairing_sm_1_waiting_ack:
-0508 704c2602 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
-0509 20200466 branch p_g24_transmit_abandon 
+0447 704c2802 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0448 202003a7 branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_2_waiting_ack:
-050a 704c2603 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
-050b 20200466 branch p_g24_transmit_abandon 
+0449 704c2803 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+044a 202003a7 branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_3_waiting_ack:
-050c 704c26ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
-050d 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-050e 20407d86 call ui_ipc_send_event 
-050f 68024bf6 fetch 4 ,mem_24g_rxpayload + 2 
-0510 204005dc call p_g24_update_addr_and_synccrc8 
-0511 20200466 branch p_g24_transmit_abandon 
+044b 704c28ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+044c 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+044d 20407d86 call ui_ipc_send_event 
+044e 68024bf8 fetch 4 ,mem_24g_rxpayload + 2 
+044f 20400418 call p_g24_update_addr_and_synccrc8 
+0450 202003a7 branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-0512 204001d3 call p_g24_factory_check 
-0513 20340524 branch p_g24_auto_pair_start ,user 
-0514 79200026 set1 mark_24g ,mark 
-0515 6800cd62 fetch 1 ,mem_g24_conn_sm 
-0516 79207e02 set1 state_24g_reconn ,pdata 
-0517 6000cd62 store 1 ,mem_g24_conn_sm 
-0518 20400542 call p_g24_ch_syncword_crc8_init 
-0519 20200528 branch p_g24_auto_pair_timeout_init 
+0451 20400189 call p_g24_factory_check 
+0452 20340115 branch p_g24_auto_pair_start ,user 
+0453 79200026 set1 mark_24g ,mark 
+0454 6800cd64 fetch 1 ,mem_g24_conn_sm 
+0455 79207e02 set1 state_24g_reconn ,pdata 
+0456 6000cd64 store 1 ,mem_g24_conn_sm 
+0457 20400475 call p_g24_ch_syncword_crc8_init 
+0458 20200119 branch p_g24_auto_pair_timeout_init 
 
 p_g24_tx_attemp_data_prep:
-051a 70119eff jam 0xff ,mem_24g_common_temp 
-051b 6800cc17 fetch 1 ,mem_24g_data_type 
-051c 6000919f store 1 ,mem_24g_common_temp + 1 
-051d 68024c4d fetch 4 ,mem_24g_device_addr 
-051e 600211a0 store 4 ,mem_24g_common_temp + 2 
-051f d8400006 arg 6 ,temp 
-0520 da20119e arg mem_24g_common_temp ,rega 
-0521 20400554 call p_g24_put_data_in_buff 
-0522 202005ea branch p_g24_transmit_prep 
-
-p_g24_attemp_txdata_retry:
-0523 202005fc branch p_g24_ch 
-
-p_g24_auto_pair_start:
-0524 79200026 set1 mark_24g ,mark 
-0525 6800cd62 fetch 1 ,mem_g24_conn_sm 
-0526 79207e01 set1 state_24g_pair ,pdata 
-0527 6000cd62 store 1 ,mem_g24_conn_sm 
-
-p_g24_auto_pair_timeout_init:
-0528 58000708 setarg g24_disconn_nodata_timer 
-0529 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
-052a 704b4200 jam 0 ,mem_g24_stop_g24_mode 
-052b 20600000 rtn 
+0459 70119eff jam 0xff ,mem_24g_common_temp 
+045a 6800cc19 fetch 1 ,mem_24g_data_type 
+045b 6000919f store 1 ,mem_24g_common_temp + 1 
+045c 68024c4f fetch 4 ,mem_24g_device_addr 
+045d 600211a0 store 4 ,mem_24g_common_temp + 2 
+045e d8400006 arg 6 ,temp 
+045f da20119e arg mem_24g_common_temp ,rega 
+0460 20400484 call p_g24_put_data_in_buff 
+0461 202004e9 branch p_g24_transmit_prep 
 
 p_g24_auto_pair_timeout_clear:
-052c 58000000 setarg 0 
-052d 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
-052e 704b4200 jam 0 ,mem_g24_stop_g24_mode 
-052f 20600000 rtn 
+0462 58000000 setarg 0 
+0463 60014b43 store 2 ,mem_g24_stop_g24_mode_timeout 
+0464 704b4200 jam 0 ,mem_g24_stop_g24_mode 
+0465 20600000 rtn 
 
 p_g24_pair_txdata_retry:
-0530 20200531 branch p_g24_pair_txdata_switch 
 
 p_g24_pair_txdata_switch:
-0531 6800cd54 fetch 1 ,mem_24g_auto_paring_switch 
-0532 1fe0fe01 increase 1 ,pdata 
-0533 1fe17e03 and_into 3 ,pdata 
-0534 6000cd54 store 1 ,mem_24g_auto_paring_switch 
-0535 c000054c beq 0 ,p_g24_auto_pair_device_attemp 
-0536 c000854d beq 1 ,p_g24_auto_pair_pair_attemp 
-0537 c001054e beq 2 ,p_g24_auto_pair_all_powerful_attemp 
-0538 c001854d beq 3 ,p_g24_auto_pair_pair_attemp 
-0539 20600000 rtn 
+0466 6800cd56 fetch 1 ,mem_24g_auto_paring_switch 
+0467 1fe0fe01 increase 1 ,pdata 
+0468 1fe17e03 and_into 3 ,pdata 
+0469 6000cd56 store 1 ,mem_24g_auto_paring_switch 
+046a c000046d beq 0 ,p_g24_auto_pair_first_attemp 
+046b c0010477 beq 2 ,p_g24_auto_pair_all_powerful 
+046c 20200414 branch p_g24_pair_init 
 
 p_g24_auto_pair_first_attemp:
-053a 20400225 call p_mouse_tx_power_init 
-053b 68024c4d fetch 4 ,mem_24g_device_addr 
-053c 60024c3e store 4 ,mem_24g_addr 
-053d 6800cb46 fetch 1 ,mem_24g_pair_current_ch_num 
-053e 6000cc21 store 1 ,mem_24g_current_ch_number 
-053f 20400542 call p_g24_ch_syncword_crc8_init 
-0540 6008cb46 storet 1 ,mem_24g_pair_current_ch_num 
-0541 20600000 rtn 
+046d 204001d3 call p_mouse_tx_power_init 
+046e 68024c4f fetch 4 ,mem_24g_device_addr 
+046f 60024c40 store 4 ,mem_24g_addr 
+0470 6800cb46 fetch 1 ,mem_24g_pair_current_ch_num 
+0471 6000cc23 store 1 ,mem_24g_current_ch_number 
+0472 20400475 call p_g24_ch_syncword_crc8_init 
+0473 6008cb46 storet 1 ,mem_24g_pair_current_ch_num 
+0474 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-0542 204005dd call p_g24_syncword_crc8 
-0543 202005fc branch p_g24_ch 
+0475 20400419 call p_g24_syncword_crc8 
+0476 20200317 branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
-0544 7041de20 jam tx_power_pair ,mem_tx_power 
-0545 68024d5b fetch 4 ,mem_24g_allpowerful_addr 
-0546 60024c3e store 4 ,mem_24g_addr 
-0547 6800cb47 fetch 1 ,mem_24g_powerful_current_ch_num 
-0548 6000cc21 store 1 ,mem_24g_current_ch_number 
-0549 20400542 call p_g24_ch_syncword_crc8_init 
-054a 6008cb47 storet 1 ,mem_24g_powerful_current_ch_num 
-054b 20600000 rtn 
-
-p_g24_auto_pair_device_attemp:
-054c 2020053a branch p_g24_auto_pair_first_attemp 
-
-p_g24_auto_pair_pair_attemp:
-054d 202004e3 branch p_g24_pair_init 
-
-p_g24_auto_pair_all_powerful_attemp:
-054e 20200544 branch p_g24_auto_pair_all_powerful 
+0477 7041de20 jam tx_power_pair ,mem_tx_power 
+0478 68024d5d fetch 4 ,mem_24g_allpowerful_addr 
+0479 60024c40 store 4 ,mem_24g_addr 
+047a 6800cb47 fetch 1 ,mem_24g_powerful_current_ch_num 
+047b 6000cc23 store 1 ,mem_24g_current_ch_number 
+047c 20400475 call p_g24_ch_syncword_crc8_init 
+047d 6008cb47 storet 1 ,mem_24g_powerful_current_ch_num 
+047e 20600000 rtn 
 
 p_g24_check_51cmd_stop_24g:
-054f 793f8026 set0 mark_24g ,mark 
-0550 704d6200 jam state_24g_stop ,mem_g24_conn_sm 
-0551 204053ce call le_disable 
+047f 793f8026 set0 mark_24g ,mark 
+0480 704d6400 jam state_24g_stop ,mem_g24_conn_sm 
+0481 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
-0552 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0553 202043d2 branch mouse_disable_function_flag 
+0482 d8e00003 arg mosue_24g_pairing_flag ,queue 
+0483 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-0554 6008cc16 storet 1 ,mem_24g_datalen 
-0555 18427200 copy temp ,loopcnt 
-0556 d8a04bb2 arg mem_24g_txbuf ,contw 
-0557 1a220c00 copy rega ,contr 
-0558 20207f01 branch memcpy 
+0484 6008cc18 storet 1 ,mem_24g_datalen 
+0485 18427200 copy temp ,loopcnt 
+0486 d8a04bb4 arg mem_24g_txbuf ,contw 
+0487 1a220c00 copy rega ,contr 
+0488 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-0559 6800cb91 fetch 1 ,mem_24g_rxbuf + 1 
-055a 1fe97e00 rshift3 pdata ,pdata 
-055b 6000cc14 store 1 ,mem_24g_rxdata_length 
-055c 1fe0fe01 increase 1 ,pdata 
-055d d8c04b91 arg mem_24g_rxbuf + 1 ,contr 
-055e 98c08c00 iadd contr ,contr 
-055f e8c18000 ifetch 3 ,contr 
-0560 6001cc53 store 3 ,mem_24g_sta_crc 
-0561 6800cb91 fetch 1 ,mem_24g_rxbuf + 1 
-0562 1fe37e00 rshift pdata ,pdata 
-0563 1fe17e03 and pdata ,0x03 ,pdata 
-0564 6000cc59 store 1 ,mem_24g_sta_pid 
-0565 20600000 rtn 
+0489 6800cb93 fetch 1 ,mem_24g_rxbuf + 1 
+048a 1fe97e00 rshift3 pdata ,pdata 
+048b 6000cc16 store 1 ,mem_24g_rxdata_length 
+048c 1fe0fe01 increase 1 ,pdata 
+048d d8c04b93 arg mem_24g_rxbuf + 1 ,contr 
+048e 98c08c00 iadd contr ,contr 
+048f e8c18000 ifetch 3 ,contr 
+0490 6001cc55 store 3 ,mem_24g_sta_crc 
+0491 6800cb93 fetch 1 ,mem_24g_rxbuf + 1 
+0492 1fe37e00 rshift pdata ,pdata 
+0493 1fe17e03 and pdata ,0x03 ,pdata 
+0494 6000cc5b store 1 ,mem_24g_sta_pid 
+0495 20600000 rtn 
 
 p_set_freq_tx:
-0566 60088017 storet 1 ,mem_last_freq 
-0567 1840a200 add temp ,0 ,rega 
-0568 20402981 call rf_write_freq 
-0569 58000500 setarg param_pll_setup 
-056a 20402a8f call sleep 
+0496 60088017 storet 1 ,mem_last_freq 
+0497 1840a200 add temp ,0 ,rega 
+0498 20402981 call rf_write_freq 
+0499 58000500 setarg param_pll_setup 
+049a 20402a8f call sleep 
 
 p_rf_tx_enable:
-056b 70890601 jam 0x1 ,rfen_adc 
-056c 7089003c jam 0x3c ,rfen_rx 
-056d 708901e0 jam 0xe0 ,rfen_tx 
-056e 2000000a nop 10 
-056f 70890201 jam 0x01 ,rfen_mdm 
-0570 7089023d jam 0x3d ,rfen_mdm 
-0571 2000000a nop 10 
-0572 708903b7 jam 0xb7 ,rfen_sn 
-0573 2000000a nop 10 
-0574 7089027d jam 0x7d ,rfen_mdm 
-0575 6800c1de fetch 1 ,mem_tx_power 
-0576 c000057c beq tx_power_0db ,p_set_tx_power_0db 
-0577 c0008584 beq tx_power_3db ,p_set_tx_power_3db 
-0578 c001058c beq tx_power_5db ,p_set_tx_power_5db 
-0579 c0020594 beq tx_power_f5db ,p_set_tx_power_f5db 
-057a c01005a6 beq tx_power_pair ,p_set_tx_power_pair 
-057b 2020057c branch p_set_tx_power_0db 
+049b 70890601 jam 0x1 ,rfen_adc 
+049c 7089003c jam 0x3c ,rfen_rx 
+049d 708901e0 jam 0xe0 ,rfen_tx 
+049e 2000000a nop 10 
+049f 70890201 jam 0x01 ,rfen_mdm 
+04a0 7089023d jam 0x3d ,rfen_mdm 
+04a1 2000000a nop 10 
+04a2 708903b7 jam 0xb7 ,rfen_sn 
+04a3 2000000a nop 10 
+04a4 7089027d jam 0x7d ,rfen_mdm 
+04a5 6800c1de fetch 1 ,mem_tx_power 
+04a6 c00104ae beq tx_power_5db ,p_set_tx_power_5db 
+04a7 c00204b6 beq tx_power_f5db ,p_set_tx_power_f5db 
+04a8 c01004c0 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-057c 2040059c call p_rx_low_sens 
-057d 70894bba jam 0xba ,0x894b 
-057e 708955d0 jam 0xd0 ,0x8955 
-057f 708956e0 jam 0xe0 ,0x8956 
-0580 70895788 jam 0x88 ,0x8957 
-0581 7089586c jam 0x6c ,0x8958 
-0582 70895910 jam 0x10 ,0x8959 
-0583 2020294b branch set_tx_power_0db 
-
-p_set_tx_power_3db:
-0584 204005a1 call p_rx_high_sens 
-0585 70894bba jam 0xba ,0x894b 
-0586 708955d0 jam 0xd0 ,0x8955 
-0587 708956e0 jam 0xe0 ,0x8956 
-0588 70895788 jam 0x88 ,0x8957 
-0589 7089583c jam 0x3c ,0x8958 
-058a 70895910 jam 0x10 ,0x8959 
-058b 2020294f branch set_tx_power_3db 
+04a9 204004bb call p_rx_low_sens 
+04aa 708955d0 jam 0xd0 ,0x8955 
+04ab 708956e0 jam 0xe0 ,0x8956 
+04ac 7089586c jam 0x6c ,0x8958 
+04ad 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-058c 204005a1 call p_rx_high_sens 
-058d 70894bba jam 0xba ,0x894b 
-058e 708955d0 jam 0xd0 ,0x8955 
-058f 708956e0 jam 0xe0 ,0x8956 
-0590 70895788 jam 0x88 ,0x8957 
-0591 7089583c jam 0x3c ,0x8958 
-0592 70895910 jam 0x10 ,0x8959 
-0593 20202953 branch set_tx_power_5db 
+04ae 70894cfb jam 0xfb ,0x894c 
+04af 70894def jam 0xef ,0x894d 
+04b0 70894eec jam 0xec ,0x894e 
+04b1 70894f5e jam 0x5e ,0x894f 
+04b2 708955d0 jam 0xd0 ,0x8955 
+04b3 708956e0 jam 0xe0 ,0x8956 
+04b4 7089583c jam 0x3c ,0x8958 
+04b5 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0594 2040059c call p_rx_low_sens 
-0595 70894bba jam 0xba ,0x894b 
-0596 708955d0 jam 0xd0 ,0x8955 
-0597 708956c0 jam 0xc0 ,0x8956 
-0598 70895788 jam 0x88 ,0x8957 
-0599 7089586c jam 0x6c ,0x8958 
-059a 70895910 jam 0x10 ,0x8959 
-059b 2020295b branch set_tx_power_f5db 
+04b6 204004bb call p_rx_low_sens 
+04b7 708955d0 jam 0xd0 ,0x8955 
+04b8 708956c0 jam 0xc0 ,0x8956 
+04b9 7089586c jam 0x6c ,0x8958 
+04ba 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-059c 70894c5b jam 0x5b ,0x894c 
-059d 70894d96 jam 0x96 ,0x894d 
-059e 70894e2c jam 0x2c ,0x894e 
-059f 70894f46 jam 0x46 ,0x894f 
-05a0 20600000 rtn 
-
-p_rx_high_sens:
-05a1 70894cfb jam 0xfb ,0x894c 
-05a2 70894def jam 0xef ,0x894d 
-05a3 70894eec jam 0xec ,0x894e 
-05a4 70894f5e jam 0x5e ,0x894f 
-05a5 20600000 rtn 
+04bb 70894c5b jam 0x5b ,0x894c 
+04bc 70894d96 jam 0x96 ,0x894d 
+04bd 70894e2c jam 0x2c ,0x894e 
+04be 70894f46 jam 0x46 ,0x894f 
+04bf 20600000 rtn 
 
 p_set_tx_power_pair:
-05a6 708956c2 jam 0xc2 ,0x8956 
-05a7 708955d0 jam 0xd0 ,0x8955 
-05a8 20600000 rtn 
+04c0 708956c2 jam 0xc2 ,0x8956 
+04c1 708955d0 jam 0xd0 ,0x8955 
+04c2 20600000 rtn 
 
 p_shutdown_radio:
-05a9 18002a08 force 8 ,radio_ctrl 
-05aa 202028fa branch shutdown_radio + 1 
+04c3 18002a08 force 8 ,radio_ctrl 
+04c4 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-05ab 20402978 call initialize_radio_cont + 1 
-05ac 70804205 jam clksel_dpll ,core_clksel 
-05ad 20600000 rtn 
+04c5 20402978 call initialize_radio_cont + 1 
+04c6 70804205 jam clksel_dpll ,core_clksel 
+04c7 20600000 rtn 
+
+p_lpm_dispatch:
+04c8 c6130000 rtnmark1 mark_24g 
+04c9 20202b6b branch lpm_dispatch + 1 
 
 p_g24_timer_check:
-05ae 20407fe9 call disable_user 
-05af 680a4c37 fetcht 4 ,mem_24g_tx_btclk 
-05b0 1c427e00 copy clkn_bt ,pdata 
-05b1 98467c00 isub temp ,null 
-05b2 24412d18 ncall g24_timer_timeout ,positive 
-05b3 1fe22400 copy pdata ,regb 
-05b4 68024c37 fetch 4 ,mem_24g_tx_btclk 
-05b5 6808cc3b fetcht 1 ,mem_24g_interval 
-05b6 98408400 iadd temp ,temp 
-05b7 1a427e00 copy regb ,pdata 
-05b8 98467c00 isub temp ,null 
-05b9 24610000 nrtn positive 
-05ba 793ffe1c set0 28 ,pdata 
-05bb 60024c37 store 4 ,mem_24g_tx_btclk 
-05bc 20207fe7 branch enable_user 
-
-p_rssi_noise:
-05bd 204029bb call save_rssi 
-05be 207a0000 rtn blank 
-05bf 6808ccd0 fetcht 1 ,mem_rssi_noise_index 
-05c0 da200d9e arg mem_rssi_noise_buffer ,rega 
-05c1 204005c4 call p_rssi_store 
-05c2 6008ccd0 storet 1 ,mem_rssi_noise_index 
-05c3 20600000 rtn 
-
-p_rssi_store:
-05c4 1a227e00 copy rega ,pdata 
-05c5 98408a00 iadd temp ,contw 
-05c6 68008018 fetch 1 ,mem_rssi 
-05c7 e0a08000 istore 1 ,contw 
-05c8 18408401 increase 1 ,temp 
-05c9 18410407 and_into rssi_buf_len_signal ,temp 
-05ca 20600000 rtn 
+04ca 20407fe9 call disable_user 
+04cb 680a4c39 fetcht 4 ,mem_24g_tx_btclk 
+04cc 1c427e00 copy clkn_bt ,pdata 
+04cd 98467c00 isub temp ,null 
+04ce 24412d18 ncall g24_timer_timeout ,positive 
+04cf 1fe22400 copy pdata ,regb 
+04d0 68024c39 fetch 4 ,mem_24g_tx_btclk 
+04d1 6808cc3d fetcht 1 ,mem_24g_interval 
+04d2 98408400 iadd temp ,temp 
+04d3 1a427e00 copy regb ,pdata 
+04d4 98467c00 isub temp ,null 
+04d5 24610000 nrtn positive 
+04d6 793ffe1c set0 28 ,pdata 
+04d7 60024c39 store 4 ,mem_24g_tx_btclk 
+04d8 20207fe7 branch enable_user 
 
 p_rssi_average:
-05cb d8400000 arg 0 ,temp 
-05cc df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
-05cd 1a220c00 copy rega ,contr 
+04d9 d8400000 arg 0 ,temp 
+04da df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+04db 1a220c00 copy rega ,contr 
 
 p_rssi_average_loop:
-05ce e8c08000 ifetch 1 ,contr 
-05cf 98408400 iadd temp ,temp 
-05d0 c20005ce loop p_rssi_average_loop 
-05d1 18497e00 rshift3 temp ,pdata 
-05d2 1fe20400 copy pdata ,temp 
-05d3 c6930000 rtnmark0 mark_24g 
-05d4 1fe6fc0a div pdata ,10 
-05d5 20407f86 call wait_div_end 
-05d6 1807fe00 quotient pdata 
-05d7 1ff27e00 lshift4 pdata ,pdata 
-05d8 18070400 remainder temp 
-05d9 98418400 ior temp ,temp 
-05da 20600000 rtn 
-05db 20600000 rtn 
-
-p_g24_update_addr_and_synccrc8:
-05dc 60024c3e store 4 ,mem_24g_addr 
-
-p_g24_syncword_crc8:
-05dd da200000 arg 0 ,rega 
-05de df200004 arg 4 ,loopcnt 
-05df d8c04c3e arg mem_24g_addr ,contr 
-
-p_g24_syncword_crc8_loop:
-05e0 e8c08000 ifetch 1 ,contr 
-05e1 9a20a200 iadd rega ,rega 
-05e2 c20005e0 loop p_g24_syncword_crc8_loop 
-05e3 1a227e00 copy rega ,pdata 
-05e4 60014cc7 store 2 ,mem_24g_syncword 
-05e5 6800ccc7 fetch 1 ,mem_24g_syncword 
-05e6 6808ccc8 fetcht 1 ,mem_24g_syncword + 1 
-05e7 9840fe00 iadd temp ,pdata 
-05e8 6000ccc9 store 1 ,mem_24g_syncword_crc8 
-05e9 20600000 rtn 
+04dc e8c08000 ifetch 1 ,contr 
+04dd 98408400 iadd temp ,temp 
+04de c20004dc loop p_rssi_average_loop 
+04df 18497e00 rshift3 temp ,pdata 
+04e0 1fe20400 copy pdata ,temp 
+04e1 c6930000 rtnmark0 mark_24g 
+04e2 1fe6fc0a div pdata ,10 
+04e3 20407f86 call wait_div_end 
+04e4 1807fe00 quotient pdata 
+04e5 1ff27e00 lshift4 pdata ,pdata 
+04e6 18070400 remainder temp 
+04e7 98418400 ior temp ,temp 
+04e8 20600000 rtn 
 
 p_g24_transmit_prep:
-05ea 6800cc16 fetch 1 ,mem_24g_datalen 
-05eb 1fe0fe02 increase 2 ,pdata 
-05ec 6000cc18 store 1 ,mem_24g_txlen 
-05ed 6800cc17 fetch 1 ,mem_24g_data_type 
-05ee 6000cbd2 store 1 ,mem_24g_txpayload 
-05ef 6800cc16 fetch 1 ,mem_24g_datalen 
-05f0 1fe9fe00 lshift3 pdata ,pdata 
-05f1 6808cc15 fetcht 1 ,mem_24g_pid 
-05f2 18410403 and temp ,0x03 ,temp 
-05f3 18438400 lshift temp ,temp 
-05f4 9841fe00 ior temp ,pdata 
-05f5 6808cc52 fetcht 1 ,mem_24g_no_ack 
-05f6 9840fe00 iadd temp ,pdata 
-05f7 e0a08000 istore 1 ,contw 
-05f8 6800cc16 fetch 1 ,mem_24g_datalen 
-05f9 98007200 iforce loopcnt 
-05fa d8c04bb2 arg mem_24g_txbuf ,contr 
-05fb 20207f01 branch memcpy 
-
-p_g24_ch:
-05fc 6808cc21 fetcht 1 ,mem_24g_current_ch_number 
-05fd 20400600 call p_g24_ch_map_size 
-05fe 6008cc21 storet 1 ,mem_24g_current_ch_number 
-05ff 20600000 rtn 
-
-p_g24_ch_map_size:
-0600 20400604 call p_g24_ch_calc 
-0601 18408401 increase 1 ,temp 
-0602 18410403 and_into 3 ,temp 
-0603 20600000 rtn 
-
-p_g24_ch_calc:
-0604 6800cc3e fetch 1 ,mem_24g_addr 
-0605 1fe17e03 and_into 0x03 ,pdata 
-0606 1fefa204 mul32 pdata ,4 ,rega 
-0607 58004c27 setarg mem_24g_ch_map1 
-0608 9a20fe00 iadd rega ,pdata 
-0609 98408c00 iadd temp ,contr 
-060a e8c08000 ifetch 1 ,contr 
-060b 6000cc20 store 1 ,mem_24g_ch 
-060c 20600000 rtn 
+04e9 6800cc18 fetch 1 ,mem_24g_datalen 
+04ea 1fe0fe02 increase 2 ,pdata 
+04eb 6000cc1a store 1 ,mem_24g_txlen 
+04ec 6800cc19 fetch 1 ,mem_24g_data_type 
+04ed 6000cbd4 store 1 ,mem_24g_txpayload 
+04ee 6800cc18 fetch 1 ,mem_24g_datalen 
+04ef 1fe9fe00 lshift3 pdata ,pdata 
+04f0 6808cc17 fetcht 1 ,mem_24g_pid 
+04f1 18410403 and temp ,0x03 ,temp 
+04f2 18438400 lshift temp ,temp 
+04f3 9841fe00 ior temp ,pdata 
+04f4 6808cc54 fetcht 1 ,mem_24g_no_ack 
+04f5 9840fe00 iadd temp ,pdata 
+04f6 e0a08000 istore 1 ,contw 
+04f7 6800cc18 fetch 1 ,mem_24g_datalen 
+04f8 98007200 iforce loopcnt 
+04f9 d8c04bb4 arg mem_24g_txbuf ,contr 
+04fa 20207f01 branch memcpy 
 
 p_g24_prep:
-060d 7844fc00 disable enable_crc 
-060e 7843fc00 disable enable_white 
-060f 58555555 setarg 0x555555 
-0610 98001e00 iforce crc24_init 
-0611 6800cc20 fetch 1 ,mem_24g_ch 
-0612 1fed8400 reverse pdata ,temp 
-0613 79200401 set1 1 ,temp 
-0614 18431c00 rshift temp ,white_init 
-0615 20600000 rtn 
+04fb 7844fc00 disable enable_crc 
+04fc 7843fc00 disable enable_white 
+04fd 58555555 setarg 0x555555 
+04fe 98001e00 iforce crc24_init 
+04ff 6800cc22 fetch 1 ,mem_24g_ch 
+0500 1fed8400 reverse pdata ,temp 
+0501 79200401 set1 1 ,temp 
+0502 18431c00 rshift temp ,white_init 
+0503 20600000 rtn 
 
 p_g24_receive_rxon:
-0616 2040060d call p_g24_prep 
-0617 7857fc00 disable user3 
-0618 7826fc00 enable decode_fec0 
-0619 7830fc00 enable is_rx 
-061a 78507c00 disable is_tx 
-061b 78287c00 enable swfine 
-061c 68014c19 fetch 2 ,mem_24g_rx_window 
-061d 98003600 iforce stop_watch 
-061e 37c18400 correlate null ,timeout 
-061f 242c0652 nbranch p_g24_sync_timeout ,sync 
-0620 7846fc00 disable decode_fec0 
-0621 7825fc00 enable decode_fec1 
-0622 7823fc00 enable enable_white 
-0623 7824fc00 enable enable_crc 
-0624 2040064f call p_g24_receive_byte 
-0625 6000ccca store 1 ,mem_24g_get_syncword_crc8 
-0626 6808ccc9 fetcht 1 ,mem_24g_syncword_crc8 
-0627 98467c00 isub temp ,null 
-0628 24228652 nbranch p_g24_end_of_packet ,zero 
-0629 2040064f call p_g24_receive_byte 
-062a 6000cb90 store 1 ,mem_24g_rxbuf 
-062b 6800cc5c fetch 1 ,mem_24g_mode 
-062c 1fe67c02 sub pdata ,rx_24g ,null 
-062d 20228632 branch p_g24_receive_skip ,zero 
-062e 6800cb90 fetch 1 ,mem_24g_rxbuf 
-062f 6808cc17 fetcht 1 ,mem_24g_data_type 
-0630 a8400e00 icompare bits_data ,temp 
-0631 24208652 nbranch p_g24_end_of_packet ,true 
+0504 204004fb call p_g24_prep 
+0505 7857fc00 disable user3 
+0506 7826fc00 enable decode_fec0 
+0507 7830fc00 enable is_rx 
+0508 78507c00 disable is_tx 
+0509 78287c00 enable swfine 
+050a 68014c1b fetch 2 ,mem_24g_rx_window 
+050b 98003600 iforce stop_watch 
+050c 37c18400 correlate null ,timeout 
+050d 242c0545 nbranch p_g24_sync_timeout ,sync 
+050e 7846fc00 disable decode_fec0 
+050f 7825fc00 enable decode_fec1 
+0510 7823fc00 enable enable_white 
+0511 7824fc00 enable enable_crc 
+0512 20400542 call p_g24_receive_byte 
+0513 6000cccc store 1 ,mem_24g_get_syncword_crc8 
+0514 6808cccb fetcht 1 ,mem_24g_syncword_crc8 
+0515 98467c00 isub temp ,null 
+0516 24228545 nbranch p_g24_end_of_packet ,zero 
+0517 20400542 call p_g24_receive_byte 
+0518 6000cb92 store 1 ,mem_24g_rxbuf 
+0519 6800cb92 fetch 1 ,mem_24g_rxbuf 
+051a 6808cc19 fetcht 1 ,mem_24g_data_type 
+051b a8400e00 icompare bits_data ,temp 
+051c 24208545 nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-0632 2040064f call p_g24_receive_byte 
-0633 e0a08000 istore 1 ,contw 
-0634 1fe97e00 rshift3 pdata ,pdata 
-0635 1fe1721f and pdata ,0x1f ,loopcnt 
-0636 2022863a branch p_g24rx_nopayload ,zero 
+051d 20400542 call p_g24_receive_byte 
+051e e0a08000 istore 1 ,contw 
+051f 1fe97e00 rshift3 pdata ,pdata 
+0520 1fe1721f and pdata ,0x1f ,loopcnt 
+0521 20228525 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-0637 2040064f call p_g24_receive_byte 
-0638 e0a08000 istore 1 ,contw 
-0639 c2000637 loop p_g24rx_loop 
+0522 20400542 call p_g24_receive_byte 
+0523 e0a08000 istore 1 ,contw 
+0524 c2000522 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-063a 18a22200 copy contw ,rega 
-063b 2040064f call p_g24_receive_byte 
-063c 6000cd51 store 1 ,mem_rssi_hex_received 
-063d 1a220a00 copy rega ,contw 
-063e 09800018 parse demod ,bucket ,24 
-063f 78287c00 enable swfine 
-0640 db600664 arg param_sifs ,stop_watch 
-0641 1fef7e00 rshift32 pdata ,pdata 
-0642 1ff17e00 rshift16 pdata ,pdata 
-0643 e0a18000 istore 3 ,contw 
-0644 7845fc00 disable decode_fec1 
-0645 20230652 branch p_g24_end_of_packet ,crc_failed 
-0646 7837fc00 enable user3 
-0647 68008017 fetch 1 ,mem_last_freq 
-0648 1fe0a200 add pdata ,0 ,rega 
-0649 20402981 call rf_write_freq 
-064a 7846fc00 disable decode_fec0 
-064b 20402918 call set_sync_on 
-064c 6800cd51 fetch 1 ,mem_rssi_hex_received 
-064d 20400016 call p_rssi_signal 
-064e 20600000 rtn 
+0525 18a22200 copy contw ,rega 
+0526 20400542 call p_g24_receive_byte 
+0527 6000cd53 store 1 ,mem_rssi_hex_received 
+0528 1a220a00 copy rega ,contw 
+0529 09800018 parse demod ,bucket ,24 
+052a 78287c00 enable swfine 
+052b db600664 arg param_sifs ,stop_watch 
+052c 1fef7e00 rshift32 pdata ,pdata 
+052d 1ff17e00 rshift16 pdata ,pdata 
+052e e0a18000 istore 3 ,contw 
+052f 7845fc00 disable decode_fec1 
+0530 20230545 branch p_g24_end_of_packet ,crc_failed 
+0531 7837fc00 enable user3 
+0532 68008017 fetch 1 ,mem_last_freq 
+0533 1fe0a200 add pdata ,0 ,rega 
+0534 20402981 call rf_write_freq 
+0535 7846fc00 disable decode_fec0 
+0536 20402918 call set_sync_on 
+0537 6800cd53 fetch 1 ,mem_rssi_hex_received 
+
+p_rssi_signal:
+0538 1fe22200 copy pdata ,rega 
+0539 6808ccd3 fetcht 1 ,mem_rssi_signal_index 
+053a 58004cda setarg mem_rssi_signal_buf 
+053b 98408a00 iadd temp ,contw 
+053c 1a227e00 copy rega ,pdata 
+053d e0a08000 istore 1 ,contw 
+053e 18408401 increase 1 ,temp 
+053f 18410407 and_into rssi_buf_len_signal ,temp 
+0540 6008ccd3 storet 1 ,mem_rssi_signal_index 
+0541 20600000 rtn 
 
 p_g24_receive_byte:
-064f 09800008 parse demod ,bucket ,8 
-0650 19897e00 rshift3 pwindow ,pdata 
-0651 20600000 rtn 
+0542 09800008 parse demod ,bucket ,8 
+0543 19897e00 rshift3 pwindow ,pdata 
+0544 20600000 rtn 
 
 p_g24_sync_timeout:
 
 p_g24_end_of_packet:
-0652 784dfc00 disable encode_fec1 
-0653 7845fc00 disable decode_fec1 
-0654 2040264d call end_of_packet 
-0655 20600000 rtn 
-
-p_g24_set_freq_tx:
-0656 20402918 call set_sync_on 
-0657 6808cc20 fetcht 1 ,mem_24g_ch 
-0658 20202933 branch set_freq_tx 
+0545 784dfc00 disable encode_fec1 
+0546 7845fc00 disable decode_fec1 
+0547 2020264d branch end_of_packet 
 
 p_g24_transmit:
-0659 204053c4 call le_enable 
-065a 68024c3e fetch 4 ,mem_24g_addr 
-065b 98001200 iforce access 
-065c 2040060d call p_g24_prep 
-065d 20400656 call p_g24_set_freq_tx 
-065e 79202a00 set1 txgfsk ,radio_ctrl 
-065f 782efc00 enable encode_fec0 
-0660 78307c00 enable is_tx 
-0661 7850fc00 disable is_rx 
-0662 19317e00 rshift16 access ,pdata 
-0663 1fecfe00 rshift8 pdata ,pdata 
-0664 1ff1fe00 rshift4 pdata ,pdata 
-0665 08008628 inject mod ,40 
-0666 784efc00 disable encode_fec0 
-0667 782dfc00 enable encode_fec1 
-0668 7823fc00 enable enable_white 
-0669 7824fc00 enable enable_crc 
-066a 6800ccc9 fetch 1 ,mem_24g_syncword_crc8 
-066b 08008608 inject mod ,8 
-066c 6800cc18 fetch 1 ,mem_24g_txlen 
-066d 98007200 iforce loopcnt 
-066e d8c04bd2 arg mem_24g_txpayload ,contr 
+0548 204053c4 call le_enable 
+0549 68024c40 fetch 4 ,mem_24g_addr 
+054a 98001200 iforce access 
+054b 204004fb call p_g24_prep 
+054c 20402918 call set_sync_on 
+054d 6808cc22 fetcht 1 ,mem_24g_ch 
+054e 20402933 call set_freq_tx 
+054f 79202a00 set1 txgfsk ,radio_ctrl 
+0550 782efc00 enable encode_fec0 
+0551 78307c00 enable is_tx 
+0552 7850fc00 disable is_rx 
+0553 19317e00 rshift16 access ,pdata 
+0554 1fecfe00 rshift8 pdata ,pdata 
+0555 1ff1fe00 rshift4 pdata ,pdata 
+0556 08008628 inject mod ,40 
+0557 784efc00 disable encode_fec0 
+0558 782dfc00 enable encode_fec1 
+0559 7823fc00 enable enable_white 
+055a 7824fc00 enable enable_crc 
+055b 6800cccb fetch 1 ,mem_24g_syncword_crc8 
+055c 08008608 inject mod ,8 
+055d 6800cc1a fetch 1 ,mem_24g_txlen 
+055e 98007200 iforce loopcnt 
+055f d8c04bd4 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-066f e8c08000 ifetch 1 ,contr 
-0670 08008608 inject mod ,8 
-0671 c200066f loop p_g24tr_loop 
-0672 78247c00 enable enable_parity 
-0673 08008618 inject mod ,24 
-0674 78447c00 disable enable_parity 
-0675 37d38200 until null ,tx_clear 
-0676 20000064 nop 100 
-0677 784efc00 disable encode_fec0 
-0678 784dfc00 disable encode_fec1 
-0679 20600000 rtn 
+0560 e8c08000 ifetch 1 ,contr 
+0561 08008608 inject mod ,8 
+0562 c2000560 loop p_g24tr_loop 
+0563 78247c00 enable enable_parity 
+0564 08008618 inject mod ,24 
+0565 78447c00 disable enable_parity 
+0566 37d38200 until null ,tx_clear 
+0567 20000064 nop 100 
+0568 784efc00 disable encode_fec0 
+0569 784dfc00 disable encode_fec1 
+056a 20600000 rtn 
 
 p_drawing_optima:
-067a 6802469b fetch 4 ,mem_mouse_x 
-067b 207a0000 rtn blank 
-067c 2040070f call p_data_abs_check 
-067d 58000003 setarg 0x03 
-067e 20400705 call p_pdata_greater_than_check 
-067f 205a0701 call p_disable_asm ,blank 
-0680 245a0703 ncall p_enable_asm ,blank 
-0681 58000002 setarg 0x02 
-0682 2040070a call p_data_less_than_check 
-0683 205a0701 call p_disable_asm ,blank 
-0684 6800cb27 fetch 1 ,mem_mouse_asm_flag 
-0685 c0008689 beq 1 ,p_drawing_optima_modify 
+056b 6802469b fetch 4 ,mem_mouse_x 
+056c 207a0000 rtn blank 
+056d 20400606 call p_data_abs_check 
+056e 58000003 setarg 0x03 
+056f 204005fc call p_pdata_greater_than_check 
+0570 205a05f8 call p_disable_asm ,blank 
+0571 245a05fa ncall p_enable_asm ,blank 
+0572 58000002 setarg 0x02 
+0573 20400601 call p_data_less_than_check 
+0574 205a05f8 call p_disable_asm ,blank 
+0575 6800cb27 fetch 1 ,mem_mouse_asm_flag 
+0576 c000857a beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0686 df200005 arg 5 ,loopcnt 
-0687 d8a04b27 arg mem_mouse_asm_flag ,contw 
-0688 20207ed4 branch clear_mem 
+0577 df200005 arg 5 ,loopcnt 
+0578 d8a04b27 arg mem_mouse_asm_flag ,contw 
+0579 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-0689 6800cb28 fetch 1 ,mem_mouse_x_pre 
-068a 600091c5 store 1 ,mem_data_value 
-068b 6800cb29 fetch 1 ,mem_mouse_x_pre + 1 
-068c 205a06bc call pre_xy_pdata_offset ,blank 
-068d 6800cb29 fetch 1 ,mem_mouse_x_pre + 1 
-068e 245a06c5 ncall pre_xy_ndata_offset ,blank 
-068f 680091c6 fetch 1 ,mem_data_value_temp 
-0690 6000cb28 store 1 ,mem_mouse_x_pre 
-0691 6800c69b fetch 1 ,mem_mouse_x 
-0692 600091c5 store 1 ,mem_data_value 
-0693 6800c69c fetch 1 ,mem_mouse_x + 1 
-0694 205a06ca call current_xy_pdata_offset ,blank 
-0695 6800c69c fetch 1 ,mem_mouse_x + 1 
-0696 245a06d3 ncall current_xy_ndata_offset ,blank 
-0697 680091c6 fetch 1 ,mem_data_value_temp 
-0698 6000c69b store 1 ,mem_mouse_x 
-0699 6800cb2a fetch 1 ,mem_mouse_y_pre 
-069a 600091c5 store 1 ,mem_data_value 
-069b 6800cb2b fetch 1 ,mem_mouse_y_pre + 1 
-069c 205a06bc call pre_xy_pdata_offset ,blank 
-069d 6800cb2b fetch 1 ,mem_mouse_y_pre + 1 
-069e 245a06c5 ncall pre_xy_ndata_offset ,blank 
-069f 680091c6 fetch 1 ,mem_data_value_temp 
-06a0 6000cb2a store 1 ,mem_mouse_y_pre 
-06a1 6800c69d fetch 1 ,mem_mouse_y 
-06a2 600091c5 store 1 ,mem_data_value 
-06a3 6800c69e fetch 1 ,mem_mouse_y + 1 
-06a4 205a06ca call current_xy_pdata_offset ,blank 
-06a5 6800c69e fetch 1 ,mem_mouse_y + 1 
-06a6 245a06d3 ncall current_xy_ndata_offset ,blank 
-06a7 680091c6 fetch 1 ,mem_data_value_temp 
-06a8 6000c69d store 1 ,mem_mouse_y 
-06a9 68014b28 fetch 2 ,mem_mouse_x_pre 
-06aa 600111be store 2 ,mem_data_pre 
-06ab 6801469b fetch 2 ,mem_mouse_x 
-06ac 600111c0 store 2 ,mem_data_current 
-06ad 204006d8 call p_drawing_optima_data 
-06ae 680111be fetch 2 ,mem_data_pre 
-06af 60014b28 store 2 ,mem_mouse_x_pre 
-06b0 680111c0 fetch 2 ,mem_data_current 
-06b1 6001469b store 2 ,mem_mouse_x 
-06b2 68014b2a fetch 2 ,mem_mouse_y_pre 
-06b3 600111be store 2 ,mem_data_pre 
-06b4 6801469d fetch 2 ,mem_mouse_y 
-06b5 600111c0 store 2 ,mem_data_current 
-06b6 204006d8 call p_drawing_optima_data 
-06b7 680111be fetch 2 ,mem_data_pre 
-06b8 60014b2a store 2 ,mem_mouse_y_pre 
-06b9 680111c0 fetch 2 ,mem_data_current 
-06ba 6001469d store 2 ,mem_mouse_y 
-06bb 20600000 rtn 
+057a 68014b28 fetch 2 ,mem_mouse_x_pre 
+057b 600111c5 store 2 ,mem_data_value 
+057c 204005ad call pre_xy_data_judge 
+057d 60014b28 store 2 ,mem_mouse_x_pre 
+057e 6801469b fetch 2 ,mem_mouse_x 
+057f 600111c5 store 2 ,mem_data_value 
+0580 204005bb call current_xy_data_judge 
+0581 6001469b store 2 ,mem_mouse_x 
+0582 68014b2a fetch 2 ,mem_mouse_y_pre 
+0583 600111c5 store 2 ,mem_data_value 
+0584 204005ad call pre_xy_data_judge 
+0585 60014b2a store 2 ,mem_mouse_y_pre 
+0586 6801469d fetch 2 ,mem_mouse_y 
+0587 600111c5 store 2 ,mem_data_value 
+0588 204005bb call current_xy_data_judge 
+0589 6001469d store 2 ,mem_mouse_y 
+058a 68014b28 fetch 2 ,mem_mouse_x_pre 
+058b 600111be store 2 ,mem_data_pre 
+058c 6801469b fetch 2 ,mem_mouse_x 
+058d 600111c0 store 2 ,mem_data_current 
+058e 2040059d call p_drawing_optima_data_x 
+058f 680111be fetch 2 ,mem_data_pre 
+0590 60014b28 store 2 ,mem_mouse_x_pre 
+0591 680111c0 fetch 2 ,mem_data_current 
+0592 6001469b store 2 ,mem_mouse_x 
+0593 68014b2a fetch 2 ,mem_mouse_y_pre 
+0594 600111be store 2 ,mem_data_pre 
+0595 6801469d fetch 2 ,mem_mouse_y 
+0596 600111c0 store 2 ,mem_data_current 
+0597 204005a5 call p_drawing_optima_data_y 
+0598 680111be fetch 2 ,mem_data_pre 
+0599 60014b2a store 2 ,mem_mouse_y_pre 
+059a 680111c0 fetch 2 ,mem_data_current 
+059b 6001469d store 2 ,mem_mouse_y 
+059c 20600000 rtn 
+
+p_drawing_optima_data_x:
+059d 680111be fetch 2 ,mem_data_pre 
+059e 680911c0 fetcht 2 ,mem_data_current 
+059f 9840fe00 iadd temp ,pdata 
+05a0 6808cb90 fetcht 1 ,mem_mouse_data_xtemp 
+05a1 9840fe00 iadd temp ,pdata 
+05a2 1fe10401 and pdata ,0x01 ,temp 
+05a3 6008cb90 storet 1 ,mem_mouse_data_xtemp 
+05a4 202005d2 branch p_drawing_optima_data 
+
+p_drawing_optima_data_y:
+05a5 680111be fetch 2 ,mem_data_pre 
+05a6 680911c0 fetcht 2 ,mem_data_current 
+05a7 9840fe00 iadd temp ,pdata 
+05a8 6808cb91 fetcht 1 ,mem_mouse_data_ytemp 
+05a9 9840fe00 iadd temp ,pdata 
+05aa 1fe10401 and pdata ,0x01 ,temp 
+05ab 6008cb91 storet 1 ,mem_mouse_data_ytemp 
+05ac 202005d2 branch p_drawing_optima_data 
+
+pre_xy_data_judge:
+05ad 680091c6 fetch 1 ,mem_data_value + 1 
+05ae 203a05b0 branch pre_xy_pdata_offset ,blank 
+05af 202005b5 branch pre_xy_ndata_offset 
 
 pre_xy_pdata_offset:
-06bc 680091c5 fetch 1 ,mem_data_value 
-06bd 204006c0 call pre_xy_get_0_4_times 
-06be 600091c6 store 1 ,mem_data_value_temp 
-06bf 20600000 rtn 
-
-pre_xy_get_0_4_times:
-06c0 1feffe03 mul32 pdata ,3 ,pdata 
-06c1 1fe6fc05 div pdata ,5 
-06c2 20407f86 call wait_div_end 
-06c3 1807fe00 quotient pdata 
-06c4 20600000 rtn 
+05b0 680091c5 fetch 1 ,mem_data_value 
+05b1 204005c8 call pre_xy_get_0_4_times 
+05b2 600091c5 store 1 ,mem_data_value 
+
+xy_data_offset_new:
+05b3 680111c5 fetch 2 ,mem_data_value 
+05b4 20600000 rtn 
 
 pre_xy_ndata_offset:
-06c5 680091c5 fetch 1 ,mem_data_value 
-06c6 204006fd call p_pdata_invert 
-06c7 204006c0 call pre_xy_get_0_4_times 
-06c8 205a7fef call disable_blank ,blank 
-06c9 202006f9 branch p_pdata_get_new_value 
+05b5 680091c5 fetch 1 ,mem_data_value 
+05b6 204005f4 call p_pdata_invert 
+05b7 204005c8 call pre_xy_get_0_4_times 
+05b8 205a7fef call disable_blank ,blank 
+05b9 204005f0 call p_pdata_get_new_value 
+05ba 202005b3 branch xy_data_offset_new 
+
+current_xy_data_judge:
+05bb 680091c6 fetch 1 ,mem_data_value + 1 
+05bc 203a05be branch current_xy_pdata_offset ,blank 
+05bd 202005c2 branch current_xy_ndata_offset 
 
 current_xy_pdata_offset:
-06ca 680091c5 fetch 1 ,mem_data_value 
-06cb 204006ce call current_xy_get_0_6_times 
-06cc 600091c6 store 1 ,mem_data_value_temp 
-06cd 20600000 rtn 
-
-current_xy_get_0_6_times:
-06ce 1feffe0c mul32 pdata ,12 ,pdata 
-06cf 1fe6fc0a div pdata ,10 
-06d0 20407f86 call wait_div_end 
-06d1 1807fe00 quotient pdata 
-06d2 20600000 rtn 
+05be 680091c5 fetch 1 ,mem_data_value 
+05bf 204005cd call current_xy_get_0_6_times 
+05c0 600091c5 store 1 ,mem_data_value 
+05c1 202005b3 branch xy_data_offset_new 
 
 current_xy_ndata_offset:
-06d3 680091c5 fetch 1 ,mem_data_value 
-06d4 204006fd call p_pdata_invert 
-06d5 204006ce call current_xy_get_0_6_times 
-06d6 205a7fef call disable_blank ,blank 
-06d7 202006f9 branch p_pdata_get_new_value 
+05c2 680091c5 fetch 1 ,mem_data_value 
+05c3 204005f4 call p_pdata_invert 
+05c4 204005cd call current_xy_get_0_6_times 
+05c5 205a7fef call disable_blank ,blank 
+05c6 204005f0 call p_pdata_get_new_value 
+05c7 202005b3 branch xy_data_offset_new 
+
+pre_xy_get_0_4_times:
+05c8 1feffe03 mul32 pdata ,3 ,pdata 
+05c9 1fe6fc05 div pdata ,5 
+05ca 20407f86 call wait_div_end 
+05cb 1807fe00 quotient pdata 
+05cc 20600000 rtn 
+
+current_xy_get_0_6_times:
+05cd 1feffe0c mul32 pdata ,12 ,pdata 
+05ce 1fe6fc0a div pdata ,10 
+05cf 20407f86 call wait_div_end 
+05d0 1807fe00 quotient pdata 
+05d1 20600000 rtn 
 
 p_drawing_optima_data:
-06d8 680111be fetch 2 ,mem_data_pre 
-06d9 680911c0 fetcht 2 ,mem_data_current 
-06da 9840fe00 iadd temp ,pdata 
-06db 600191c2 store 3 ,mem_data_sum 
-06dc 2feffe10 isolate1 16 ,pdata 
-06dd 202086e5 branch p_data_sum_overflow ,true 
-06de 680091c3 fetch 1 ,mem_data_sum + 1 
-06df c07f86ec beq 0xff ,p_data_sum_n 
-06e0 680091c2 fetch 1 ,mem_data_sum 
+05d2 600191c2 store 3 ,mem_data_sum 
+05d3 2feffe10 isolate1 16 ,pdata 
+05d4 202085dc branch p_data_sum_overflow ,true 
+05d5 680091c3 fetch 1 ,mem_data_sum + 1 
+05d6 c07f85e3 beq 0xff ,p_data_sum_n 
+05d7 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-06e1 1fe37e00 rshift pdata ,pdata 
-06e2 600111be store 2 ,mem_data_pre 
-06e3 600111c0 store 2 ,mem_data_current 
-06e4 20600000 rtn 
+05d8 1fe37e00 rshift pdata ,pdata 
+05d9 600111be store 2 ,mem_data_pre 
+05da 600111c0 store 2 ,mem_data_current 
+05db 20600000 rtn 
 
 p_data_sum_overflow:
-06e5 680091c3 fetch 1 ,mem_data_sum + 1 
-06e6 c00006e9 beq 0 ,p_data_sum_overflow_p 
-06e7 680191c2 fetch 3 ,mem_data_sum 
-06e8 202006e1 branch p_data_store_pre 
+05dc 680091c3 fetch 1 ,mem_data_sum + 1 
+05dd c00005e0 beq 0 ,p_data_sum_overflow_p 
+05de 680191c2 fetch 3 ,mem_data_sum 
+05df 202005d8 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-06e9 7011c400 jam 0 ,mem_data_sum + 2 
-06ea 680091c2 fetch 1 ,mem_data_sum 
-06eb 202006e1 branch p_data_store_pre 
+05e0 7011c400 jam 0 ,mem_data_sum + 2 
+05e1 680091c2 fetch 1 ,mem_data_sum 
+05e2 202005d8 branch p_data_store_pre 
 
 p_data_sum_n:
-06ec 680091c2 fetch 1 ,mem_data_sum 
-06ed 204006f7 call p_pdata_get_half 
-06ee 600091be store 1 ,mem_data_pre 
-06ef 600091c0 store 1 ,mem_data_current 
-06f0 203a06f5 branch p_data_zero ,blank 
-06f1 580000ff setarg 0xff 
+05e3 680091c2 fetch 1 ,mem_data_sum 
+05e4 204005ee call p_pdata_get_half 
+05e5 600091be store 1 ,mem_data_pre 
+05e6 600091c0 store 1 ,mem_data_current 
+05e7 203a05ec branch p_data_zero ,blank 
+05e8 580000ff setarg 0xff 
 
 p_data_set_direction:
-06f2 600091bf store 1 ,mem_data_pre + 1 
-06f3 600091c1 store 1 ,mem_data_current + 1 
-06f4 20600000 rtn 
+05e9 600091bf store 1 ,mem_data_pre + 1 
+05ea 600091c1 store 1 ,mem_data_current + 1 
+05eb 20600000 rtn 
 
 p_data_zero:
-06f5 58000000 setarg 0 
-06f6 202006f2 branch p_data_set_direction 
+05ec 58000000 setarg 0 
+05ed 202005e9 branch p_data_set_direction 
 
 p_pdata_get_half:
-06f7 204006fd call p_pdata_invert 
-06f8 1fe37e00 rshift pdata ,pdata 
+05ee 204005f4 call p_pdata_invert 
+05ef 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-06f9 204006fe call p_rega_in_out 
-06fa 1fe67e00 sub pdata ,0 ,pdata 
-06fb 600091c6 store 1 ,mem_data_value_temp 
-06fc 20600000 rtn 
+05f0 204005f5 call p_rega_in_out 
+05f1 1fe67e00 sub pdata ,0 ,pdata 
+05f2 600091c5 store 1 ,mem_data_value 
+05f3 20600000 rtn 
 
 p_pdata_invert:
-06fd 1fe67e00 sub pdata ,0 ,pdata 
+05f4 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-06fe 60008aae store 1 ,mem_rega 
-06ff 68008aae fetch 1 ,mem_rega 
-0700 20600000 rtn 
+05f5 60008aae store 1 ,mem_rega 
+05f6 68008aae fetch 1 ,mem_rega 
+05f7 20600000 rtn 
 
 p_disable_asm:
-0701 704b2700 jam 0 ,mem_mouse_asm_flag 
-0702 20600000 rtn 
+05f8 704b2700 jam 0 ,mem_mouse_asm_flag 
+05f9 20600000 rtn 
 
 p_enable_asm:
-0703 704b2701 jam 1 ,mem_mouse_asm_flag 
-0704 20600000 rtn 
+05fa 704b2701 jam 1 ,mem_mouse_asm_flag 
+05fb 20600000 rtn 
 
 p_pdata_greater_than_check:
-0705 9a267c00 isub rega ,null 
-0706 24217fef nbranch disable_blank ,positive 
-0707 9a467c00 isub regb ,null 
-0708 24217fef nbranch disable_blank ,positive 
-0709 20207ff1 branch enable_blank 
+05fc 9a267c00 isub rega ,null 
+05fd 24217fef nbranch disable_blank ,positive 
+05fe 9a467c00 isub regb ,null 
+05ff 24217fef nbranch disable_blank ,positive 
+0600 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-070a 9a267c00 isub rega ,null 
-070b 24610000 nrtn positive 
-070c 9a467c00 isub regb ,null 
-070d 24610000 nrtn positive 
-070e 20207ff1 branch enable_blank 
+0601 9a267c00 isub rega ,null 
+0602 24610000 nrtn positive 
+0603 9a467c00 isub regb ,null 
+0604 24610000 nrtn positive 
+0605 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-070f 6801469b fetch 2 ,mem_mouse_x 
-0710 20400716 call p_data_abs 
-0711 1fe22200 copy pdata ,rega 
-0712 6801469d fetch 2 ,mem_mouse_y 
-0713 20400716 call p_data_abs 
-0714 1fe22400 copy pdata ,regb 
-0715 20600000 rtn 
+0606 6801469b fetch 2 ,mem_mouse_x 
+0607 2040060d call p_data_abs 
+0608 1fe22200 copy pdata ,rega 
+0609 6801469d fetch 2 ,mem_mouse_y 
+060a 2040060d call p_data_abs 
+060b 1fe22400 copy pdata ,regb 
+060c 20600000 rtn 
 
 p_data_abs:
-0716 600111c0 store 2 ,mem_data_current 
-0717 680091c1 fetch 1 ,mem_data_current + 1 
-0718 c07f871c beq 0xff ,p_data_reversal 
-0719 680091c0 fetch 1 ,mem_data_current 
+060d 600111c0 store 2 ,mem_data_current 
+060e 680091c1 fetch 1 ,mem_data_current + 1 
+060f c07f8613 beq 0xff ,p_data_reversal 
+0610 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-071a 1fe17eff and_into 0xff ,pdata 
-071b 20600000 rtn 
+0611 1fe17eff and_into 0xff ,pdata 
+0612 20600000 rtn 
 
 p_data_reversal:
-071c 680111c0 fetch 2 ,mem_data_current 
-071d 1fe67e00 sub pdata ,0 ,pdata 
-071e 2020071a branch p_data_abs_store 
-
-p_mouse_data_init:
-071f 7047a607 jam 7 ,mem_mouse_data_queue 
-0720 7047a704 jam 4 ,mem_mouse_data_queue + 1 
-0721 580047a6 setarg mem_mouse_data_queue 
-0722 60014218 store 2 ,mem_queue_ptr 
-0723 20207e38 branch queue_init 
-
-p_mouse_data_push:
-0724 da20469a arg mem_mouse_key ,rega 
-0725 20407e3d call queue_push 
-0726 20540728 call p_mouse_queue_increase ,user 
-0727 20600000 rtn 
-
-p_mouse_queue_increase:
-0728 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-0729 1fe0fe01 increase 1 ,pdata 
-072a 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-072b 20600000 rtn 
-
-p_mouse_data_pull:
-072c da20469a arg mem_mouse_key ,rega 
-072d 20407e54 call queue_pop 
-072e 20340730 branch p_mouse_fill_data_le ,user 
-072f 20600000 rtn 
-
-p_mouse_fill_data_le:
-0730 20405652 call le_clear_md 
-0731 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-0732 1fe67c01 sub pdata ,1 ,null 
-0733 24415650 ncall le_set_md ,positive 
-0734 6800c7c7 fetch 1 ,mem_mouse_data_queue_num 
-0735 207a0000 rtn blank 
-0736 1fe0ffff increase -1 ,pdata 
-0737 6000c7c7 store 1 ,mem_mouse_data_queue_num 
-0738 20203f90 branch mouse_fill_data_le 
+0613 680111c0 fetch 2 ,mem_data_current 
+0614 1fe67e00 sub pdata ,0 ,pdata 
+0615 20200611 branch p_data_abs_store 
+
+p_test_mode_start:
+0616 580012db setarg mem_test_mode_end 
+0617 d8a011c7 arg mem_test_mode_start ,contw 
+0618 98a67200 isub contw ,loopcnt 
+0619 20407ed4 call clear_mem 
+061a 20400633 call p_test_initialize_radio 
+061b 20400620 call pp_pn9 
+061c 7012d601 jam test_mode_carry ,mem_test_mode_switch 
+061d 7011cb20 jam 0x20 ,mem_fcc_data_new 
+061e 7011c705 jam 5 ,mem_fcc_ch_new 
+061f 20200689 branch p_test_tx_new_param 
+
+pp_pn9:
+0620 df2000ff arg 0xff ,loopcnt 
+0621 d8a011d6 arg mem_pn9 ,contw 
+0622 580001ff setarg 0x1ff 
+0623 18002400 force 0 ,regb 
+
+pp_pn9_loop:
+0624 1fe92200 rshift3 pdata ,rega 
+0625 1a232200 rshift rega ,rega 
+0626 9a22a200 ixor rega ,rega 
+0627 2a2ffe00 isolate1 0 ,rega 
+0628 7920fe09 setflag true ,9 ,pdata 
+0629 18430400 rshift temp ,temp 
+062a 2feffe00 isolate1 0 ,pdata 
+062b 79208407 setflag true ,7 ,temp 
+062c 1fe37e00 rshift pdata ,pdata 
+062d 1a40a401 increase 1 ,regb 
+062e 2a400e00 compare 0 ,regb ,0x7 
+062f 24208624 nbranch pp_pn9_loop ,true 
+0630 e0a88000 istoret 1 ,contw 
+0631 c2000624 loop pp_pn9_loop 
+0632 20600000 rtn 
+
+p_test_initialize_radio:
+0633 70890700 jam 0x00 ,0x8907 
+0634 70890800 jam 0x00 ,0x8908 
+0635 70890900 jam 0x00 ,0x8909 
+0636 70890aff jam 0xff ,0x890a 
+0637 70890bff jam 0xff ,0x890b 
+0638 70890f2e jam 0x2e ,0x890f 
+0639 70891247 jam 0x47 ,rf_agc_ctrl 
+063a 70894bba jam 0xba ,0x894b 
+063b 70894cfb jam 0xfb ,0x894c 
+063c 70894def jam 0xef ,0x894d 
+063d 70894eec jam 0xec ,0x894e 
+063e 70894f5e jam 0x5e ,0x894f 
+063f 70896f88 jam 0x88 ,0x896f 
+0640 70897300 jam 0x00 ,0x8973 
+0641 70895a4a jam 0x4a ,0x895a 
+0642 70895c80 jam 0x80 ,0x895c 
+0643 708930a9 jam 0xa9 ,0x8930 
+0644 70892fad jam 0xad ,0x892f 
+0645 70892eb1 jam 0xb1 ,0x892e 
+0646 70892db5 jam 0xb5 ,0x892d 
+0647 70892cb9 jam 0xb9 ,0x892c 
+0648 70892bbd jam 0xbd ,0x892b 
+0649 70892ac2 jam 0xc2 ,0x892a 
+064a 708929c6 jam 0xc6 ,0x8929 
+064b 708928ca jam 0xca ,0x8928 
+064c 708927ce jam 0xce ,0x8927 
+064d 708926d2 jam 0xd2 ,0x8926 
+064e 708925d6 jam 0xd6 ,0x8925 
+064f 708924da jam 0xda ,0x8924 
+0650 708923de jam 0xde ,0x8923 
+0651 708922e2 jam 0xe2 ,0x8922 
+0652 708921e6 jam 0xe6 ,0x8921 
+0653 708920ea jam 0xea ,0x8920 
+0654 70891fee jam 0xee ,0x891f 
+0655 70891ef2 jam 0xf2 ,0x891e 
+0656 70891df6 jam 0xf6 ,0x891d 
+0657 70891cfb jam 0xfb ,0x891c 
+0658 70891bfb jam 0xfb ,0x891b 
+0659 70891afb jam 0xfb ,0x891a 
+065a 708947f5 jam 0xf5 ,0x8947 
+065b 708946e6 jam 0xe6 ,0x8946 
+065c 708945d7 jam 0xD7 ,0x8945 
+065d 708944d6 jam 0xD6 ,0x8944 
+065e 708943c7 jam 0xC7 ,0x8943 
+065f 708942c6 jam 0xC6 ,0x8942 
+0660 70894187 jam 0x87 ,0x8941 
+0661 70894086 jam 0x86 ,0x8940 
+0662 70893f85 jam 0x85 ,0x893f 
+0663 70893e46 jam 0x46 ,0x893e 
+0664 70893d07 jam 0x07 ,0x893d 
+0665 70893c06 jam 0x06 ,0x893c 
+0666 70893bc7 jam 0xC7 ,0x893b 
+0667 70893ac6 jam 0xC6 ,0x893a 
+0668 708939c5 jam 0xC5 ,0x8939 
+0669 708938c4 jam 0xC4 ,0x8938 
+066a 708937c3 jam 0xC3 ,0x8937 
+066b 708936c2 jam 0xC2 ,0x8936 
+066c 708935c1 jam 0xC1 ,0x8935 
+066d 708934c0 jam 0xC0 ,0x8934 
+066e 70893380 jam 0x80 ,0x8933 
+066f 70893280 jam 0x80 ,0x8932 
+0670 70893180 jam 0x80 ,0x8931 
+0671 70894a7f jam 0x7f ,0x894a 
+0672 708949f8 jam 0xf8 ,0x8949 
+0673 70894800 jam 0x00 ,0x8948 
+0674 708955d0 jam 0xd0 ,0x8955 
+0675 708956e0 jam 0xe0 ,0x8956 
+0676 70895788 jam 0x88 ,0x8957 
+0677 7089586c jam 0x6c ,0x8958 
+0678 70895910 jam 0x10 ,0x8959 
+0679 20600000 rtn 
+
+p_test_set_sync_on:
+067a 70890477 jam 0x77 ,rfen_msc 
+067b 70890303 jam 0x03 ,rfen_sn 
+067c 2000000a nop 10 
+067d 70890383 jam 0x83 ,rfen_sn 
+067e 7089047f jam 0x7f ,rfen_msc 
+067f 708903a7 jam 0xa7 ,rfen_sn 
+0680 20600000 rtn 
+
+p_test_shutdown_radio:
+0681 20000064 nop 100 
+0682 708955d8 jam 0xd8 ,0x8955 
+0683 20000028 nop 40 
+0684 708955d2 jam 0xd2 ,0x8955 
+0685 20000028 nop 40 
+0686 708955d1 jam 0xd1 ,0x8955 
+0687 20000028 nop 40 
+0688 20202908 branch shutdown_radio_0db 
+
+p_test_tx_new_param:
+0689 2040071c call p_button_check 
+068a 680891c8 fetcht 1 ,mem_fcc_mod_new 
+068b 18417e0f and temp ,0x0f ,pdata 
+068c c0008690 beq 1 ,p_test_txrx_param 
+068d c0018690 beq 3 ,p_test_txrx_param 
+068e c0038690 beq 7 ,p_test_txrx_param 
+068f 7011c801 jam 0x01 ,mem_fcc_mod_new 
+
+p_test_txrx_param:
+0690 680091c9 fetch 1 ,mem_fcc_txrx_new 
+0691 1fe17e03 and pdata ,0x03 ,pdata 
+0692 600091c9 store 1 ,mem_fcc_txrx_new 
+0693 c0008697 beq 1 ,p_test_btble_param 
+0694 c0010697 beq 2 ,p_test_btble_param 
+0695 c0018697 beq 3 ,p_test_btble_param 
+0696 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+
+p_test_btble_param:
+0697 680091ca fetch 1 ,mem_fcc_btble_new 
+0698 1fe17e0f and pdata ,0x0f ,pdata 
+0699 600091ca store 1 ,mem_fcc_btble_new 
+069a c000869e beq 1 ,p_test_isdate_param 
+069b c001069e beq 2 ,p_test_isdate_param 
+069c c002069e beq 4 ,p_test_isdate_param 
+069d 7011ca01 jam 0x01 ,mem_fcc_btble_new 
+
+p_test_isdate_param:
+069e 680091cb fetch 1 ,mem_fcc_data_new 
+069f 1fe17e30 and pdata ,0x30 ,pdata 
+06a0 600091cb store 1 ,mem_fcc_data_new 
+06a1 c00006a4 beq 0 ,p_test_data_length_param 
+06a2 c01006a4 beq 0x20 ,p_test_data_length_param 
+06a3 7011cb00 jam 0 ,mem_fcc_data_new 
+
+p_test_data_length_param:
+06a4 680091cc fetch 1 ,mem_fcc_data_length_new 
+06a5 c00006a7 beq 0 ,p_data_length_equ0 
+06a6 202006a8 branch p_test_bt_hop_stable_param 
+
+p_data_length_equ0:
+06a7 7011cc19 jam 0x19 ,mem_fcc_data_length_new 
+
+p_test_bt_hop_stable_param:
+06a8 680091cd fetch 1 ,mem_fcc_hop_new 
+06a9 1fe17e03 and pdata ,0x03 ,pdata 
+06aa 600091cd store 1 ,mem_fcc_hop_new 
+06ab c00086ae beq 1 ,p_test_tx_new_param_cont 
+06ac c00106ae beq 2 ,p_test_tx_new_param_cont 
+06ad 7011cd02 jam 0x02 ,mem_fcc_hop_new 
+
+p_test_tx_new_param_cont:
+06ae 680091c7 fetch 1 ,mem_fcc_ch_new 
+06af c00006b3 beq 0 ,p_zero 
+06b0 d8400051 arg 81 ,temp 
+06b1 98467c00 isub temp ,null 
+06b2 242106b4 nbranch p_test_tx_new_param_copy ,positive 
+
+p_zero:
+06b3 7011c702 jam 2 ,mem_fcc_ch_new 
+
+p_test_tx_new_param_copy:
+06b4 680391c7 fetch 7 ,mem_fcc_param_new 
+06b5 600391ce store 7 ,mem_fcc_param 
+
+p_test_tx_or_rx:
+06b6 680091d0 fetch 1 ,mem_fcc_txrx 
+06b7 c00086b9 beq 0x01 ,p_test_tx_start 
+06b8 c0010710 beq 0x02 ,p_test_rx_start 
+
+p_test_tx_start:
+06b9 680891ce fetcht 1 ,mem_fcc_ch 
+06ba 184085ff increase -1 ,temp 
+
+p_test_24g_tx_on:
+06bb 680091d2 fetch 1 ,mem_fcc_data 
+06bc c00006d3 beq 0 ,p_test_24g_tx_data 
+06bd 2040067a call p_test_set_sync_on 
+06be 204006f6 call p_test_set_freq_tx 
+06bf 7843fc00 disable enable_white 
+06c0 782efc00 enable encode_fec0 
+06c1 78307c00 enable is_tx 
+06c2 680891cf fetcht 1 ,mem_fcc_mod 
+06c3 18422a00 copy temp ,radio_ctrl 
+06c4 680091d2 fetch 1 ,mem_fcc_data 
+06c5 60108908 hstore 1 ,0x8908 
+
+p_test_tx_carrier_loop:
+06c6 680091d3 fetch 1 ,mem_fcc_data_length 
+06c7 1fe27200 copy pdata ,loopcnt 
+06c8 d8c011d6 arg mem_pn9 ,contr 
+
+p_pnloop_carrier:
+06c9 e8c08000 ifetch 1 ,contr 
+06ca 08008608 inject mod ,8 
+06cb c20006c9 loop p_pnloop_carrier 
+06cc 20404c2e call hci_rx_packet 
+06cd 2040071c call p_button_check 
+06ce 680391ce fetch 7 ,mem_fcc_param 
+06cf 680b91c7 fetcht 7 ,mem_fcc_param_new 
+06d0 98467c00 isub temp ,null 
+06d1 202286c6 branch p_test_tx_carrier_loop ,zero 
+06d2 20200689 branch p_test_tx_new_param 
+
+p_test_24g_tx_data:
+06d3 2040067a call p_test_set_sync_on 
+06d4 204006f6 call p_test_set_freq_tx 
+06d5 204002ee call p_le_enable 
+06d6 79202a00 set1 txgfsk ,radio_ctrl 
+06d7 782efc00 enable encode_fec0 
+06d8 78307c00 enable is_tx 
+06d9 7850fc00 disable is_rx 
+06da 2040547f call le_wait_tx 
+06db 680091d2 fetch 1 ,mem_fcc_data 
+06dc 60108908 hstore 1 ,0x8908 
+06dd d8a0119e arg mem_24g_common_temp ,contw 
+06de 58cccccc setarg 0xcccccc 
+06df 6001919e store 3 ,mem_24g_common_temp 
+06e0 e0a18000 istore 3 ,contw 
+06e1 e0a18000 istore 3 ,contw 
+06e2 e0a18000 istore 3 ,contw 
+06e3 e0a18000 istore 3 ,contw 
+06e4 e0a18000 istore 3 ,contw 
+06e5 e0a18000 istore 3 ,contw 
+06e6 e0a18000 istore 3 ,contw 
+06e7 df200018 arg 24 ,loopcnt 
+06e8 d8c0119e arg mem_24g_common_temp ,contr 
+
+p_pnloop_stable:
+06e9 e8c08000 ifetch 1 ,contr 
+06ea 08008608 inject mod ,8 
+06eb c20006e9 loop p_pnloop_stable 
+06ec 204006f5 call p_test_ble_bt_tx_off 
+
+p_stable_stop:
+06ed 20218689 branch p_test_tx_new_param ,timeout 
+06ee 20404c2e call hci_rx_packet 
+06ef 680391ce fetch 7 ,mem_fcc_param 
+06f0 680b91c7 fetcht 7 ,mem_fcc_param_new 
+06f1 98467c00 isub temp ,null 
+06f2 202286ed branch p_stable_stop ,zero 
+06f3 204006f5 call p_test_ble_bt_tx_off 
+06f4 20200689 branch p_test_tx_new_param 
+
+p_test_ble_bt_tx_off:
+06f5 20200681 branch p_test_shutdown_radio 
+
+p_test_set_freq_tx:
+06f6 60088017 storet 1 ,mem_last_freq 
+06f7 1840a201 add temp ,1 ,rega 
+06f8 20402981 call rf_write_freq 
+06f9 58000500 setarg param_pll_setup 
+06fa 20402a8f call sleep 
+
+p_test_txon:
+06fb 70890601 jam 0x1 ,rfen_adc 
+06fc 7089003c jam 0x3c ,rfen_rx 
+06fd 708901e0 jam 0xe0 ,rfen_tx 
+06fe 70896d12 jam 0x12 ,0x896d 
+06ff 2000000a nop 10 
+0700 70890201 jam 0x01 ,rfen_mdm 
+0701 7089023d jam 0x3d ,rfen_mdm 
+0702 2000000a nop 10 
+0703 708903b7 jam 0xb7 ,rfen_sn 
+0704 2000000a nop 10 
+0705 7089027d jam 0x7d ,rfen_mdm 
+0706 708956ce jam 0xce ,0x8956 
+0707 20000004 nop 4 
+0708 708955d1 jam 0xd1 ,0x8955 
+0709 20000004 nop 4 
+070a 708955d2 jam 0xd2 ,0x8955 
+070b 20000004 nop 4 
+070c 708955d8 jam 0xd8 ,0x8955 
+070d 20000004 nop 4 
+070e 708955d8 jam 0xd8 ,0x8955 
+070f 20600000 rtn 
+
+p_test_rx_start:
+0710 680891ce fetcht 1 ,mem_fcc_ch 
+0711 184085ff increase -1 ,temp 
+0712 2040071a call p_test_ble_rx_on 
+
+p_test_rx_loop:
+0713 20404c2e call hci_rx_packet 
+0714 2040071c call p_button_check 
+0715 680391ce fetch 7 ,mem_fcc_param 
+0716 680b91c7 fetcht 7 ,mem_fcc_param_new 
+0717 98467c00 isub temp ,null 
+0718 20228713 branch p_test_rx_loop ,zero 
+0719 20200689 branch p_test_tx_new_param 
+
+p_test_ble_rx_on:
+071a 204006f5 call p_test_ble_bt_tx_off 
+071b 202053df branch lerx_setfreq + 1 
+
+p_button_check:
+071c 20400223 call p_mouse_check_key_gpio 
+071d c000873c beq mouse_l_button ,p_channel_map_change_incre 
+071e c0010753 beq mouse_r_button ,p_channel_map_change_decre 
+071f c0020724 beq mouse_m_button ,p_mode_change 
+0720 7012d700 jam 0 ,mem_test_mode_switch_enable 
+0721 7012d900 jam 0 ,mem_test_ch_switch_incre_enable 
+0722 7012da00 jam 0 ,mem_test_ch_switch_decre_enable 
+0723 20600000 rtn 
+
+p_mode_change:
+0724 680092d7 fetch 1 ,mem_test_mode_switch_enable 
+0725 247a0000 nrtn blank 
+0726 7012d701 jam 1 ,mem_test_mode_switch_enable 
+0727 20400729 call p_mode_cnt 
+0728 2020072f branch p_mode_judge 
+
+p_mode_cnt:
+0729 680092d6 fetch 1 ,mem_test_mode_switch 
+072a 1fe0fe01 pincrease 1 
+072b 600092d6 store 1 ,mem_test_mode_switch 
+072c c1820000 rtnne test_mode_max_count 
+072d 7012d601 jam test_mode_carry ,mem_test_mode_switch 
+072e 20600000 rtn 
+
+p_mode_judge:
+072f 680092d6 fetch 1 ,mem_test_mode_switch 
+0730 c0008734 beq test_mode_carry ,p_mode_carry 
+0731 c0010737 beq test_mode_carry_data ,p_mode_carry_and_data 
+0732 c001873a beq test_mode_rx ,p_mode_rx 
+0733 20600000 rtn 
+
+p_mode_carry:
+0734 7011cb20 jam 0x20 ,mem_fcc_data_new 
+0735 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+0736 20600000 rtn 
+
+p_mode_carry_and_data:
+0737 7011cb00 jam 0 ,mem_fcc_data_new 
+0738 7011c901 jam 0x01 ,mem_fcc_txrx_new 
+0739 20600000 rtn 
+
+p_mode_rx:
+073a 7011c902 jam 0x02 ,mem_fcc_txrx_new 
+073b 20600000 rtn 
+
+p_channel_map_change_incre:
+073c 680092d9 fetch 1 ,mem_test_ch_switch_incre_enable 
+073d 247a0000 nrtn blank 
+073e 7012d901 jam 1 ,mem_test_ch_switch_incre_enable 
+073f 20400741 call p_channel_cnt 
+0740 20200748 branch p_channel_judge_forward 
+
+p_channel_cnt:
+0741 680092d8 fetch 1 ,mem_test_ch_switch 
+0742 1fe0fe01 pincrease 1 
+0743 600092d8 store 1 ,mem_test_ch_switch 
+0744 1fe67c04 sub pdata ,4 ,null 
+0745 24628000 nrtn zero 
+0746 7012d801 jam 1 ,mem_test_ch_switch 
+0747 20600000 rtn 
+
+p_channel_judge_forward:
+0748 680092d8 fetch 1 ,mem_test_ch_switch 
+0749 c000874d beq 1 ,p_chnnel_2405 
+074a c001074f beq 2 ,p_chnnel_2430 
+074b c0018751 beq 3 ,p_chnnel_2470 
+074c 20600000 rtn 
+
+p_chnnel_2405:
+074d 7011c705 jam 5 ,mem_fcc_ch_new 
+074e 20600000 rtn 
+
+p_chnnel_2430:
+074f 7011c71e jam 30 ,mem_fcc_ch_new 
+0750 20600000 rtn 
+
+p_chnnel_2470:
+0751 7011c746 jam 70 ,mem_fcc_ch_new 
+0752 20600000 rtn 
+
+p_channel_map_change_decre:
+0753 680092da fetch 1 ,mem_test_ch_switch_decre_enable 
+0754 247a0000 nrtn blank 
+0755 7012da01 jam 1 ,mem_test_ch_switch_decre_enable 
+0756 20400741 call p_channel_cnt 
+
+p_channel_judge_back:
+0757 680092d8 fetch 1 ,mem_test_ch_switch 
+0758 c001874d beq 3 ,p_chnnel_2405 
+0759 c000874f beq 1 ,p_chnnel_2430 
+075a c0010751 beq 2 ,p_chnnel_2470 
+075b 20600000 rtn 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/program/patch.prog	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/program/patch.prog	(working copy)
@@ -1,13 +1,11 @@
 //define DONGLE
 define MOUSE
-//define BLE
-//define CLASSIC_BT
 define MOUSE_SMOOTHER
 define XY_OFFSET
+define TEST_MODE
 //define ADC_ENABLE
 //define P24G_LOG
 //define RF_DEBUG
-//define HIGH_REPORT
 //define MEMLOG
 
 //define DEBUGLOG
@@ -16,10 +14,6 @@
 //define DEBUGLOG_CMD
 //define DEBUGLOG_MISC
 //define DEBUGLOG_STATUS
-//define DEBUGLOG_PARSE_LMP
-//define DEBUGLOG_SEND_LMP
-//define DEBUGLOG_CONN_SM
-//define DEBUGLOG_UPPER_SM
 
 ifdef PATCH
 	bbit1 8,pf_patch_ext
@@ -29,68 +23,21 @@
 	beq patch10_5,p_shutdown_radio
 	beq patch11_1,p_set_freq_tx
 	beq patch11_2,p_initialize_radio_cont
-ifdef CLASSIC_BT
-	beq patch03_3,p_page_wait_fhs_reply_ok
-	beq patch09_2,p_prepare_tx
- 	beq patch0b_1,p_process_dmh
-	beq patch0a_1,p_slave_conn_recv_packet
 	beq patch14_7,p_lpm_dispatch
-	beq patch19_3,p_app_bt_start_reconnect
-	beq patch1d_1,p_mouse_bb_disconnected
-endif	
-	beq patch14_1,p_init_param
-	beq patch16_1,p_lpm_check_wake_lock
 	beq patch16_2,p_g24_dispatch
 	beq patch18_4,p_device_init
 	beq patch19_1,p_app_flag_store
 	beq patch19_2,p_app_initflag_check
 	beq patch1c_3,p_mouse_seting_dpi
 	beq patch1c_6,p_mouse_motion
-	beq patch1d_2,p_mouse_bb_event_discovery_btn
-	beq patch1d_3,p_mouse_start_discovery
-	beq patch1d_4,p_mouse_stop_discovery
 	branch loop
 pf_patch_ext:
-ifdef BLE
-	beq patch27_1,p_le_slave_match
-	beq patch28_3,p_le_next_adv_channel
-	beq patch29_2,p_le_receive_skip
-	beq patch2a_7,p_le_update_param
-	beq patch2c_3,p_le_prepare_tx
-	beq patch2c_7,p_le_parse_l2cap
-	beq patch2d_2,p_le_adv_not_match
-	beq patch2e_7,p_le_lpm_setmult
-endif	
-ifdef CLASSIC_BT
-	beq patch20_5,p_hid_rx_process
-	beq patch30_0,p_parse_lmp_accepted
-	beq patch30_2,p_send_lmp
-	beq patch31_0,p_process_conn_sm
-endif
 	beq patch27_7,p_le_enable
 	beq patch31_4,p_twspi_reset
-ifdef DEBUGLOG
-	beq patch2f_6,p_parse_lmp_opcode
-	beq patch37_6,p_process_upper_sm_reconn
-	beq patch3e_6,p_ui_ipc_send_event
-	beq patch3e_7,p_ui_ipc_send_cmd
-endif
 	branch loop
 	
 
-ifdef MOUSE
-p_rssi_signal:
-	copy pdata,rega
-	fetcht 1,mem_rssi_signal_index
-	setarg mem_rssi_signal_buf
-	iadd temp,contw
-	copy rega,pdata
-	istore 1,contw
-	increase 1,temp
-	and_into RSSI_BUF_LEN_SIGNAL,temp
-	storet 1,mem_rssi_signal_index
-	rtn
-	
+ifdef MOUSE	
 p_soft_reset:
 	hfetch 1,0x813b
 	store 1,mem_power_on_flag
@@ -99,10 +46,7 @@
 p_soft_reset_1:
 	arg mem_sp_state,contw
 	arg 12,loopcnt
-	call clear_mem
-ifdef BLE
-	call p_mouse_le_txbuff_load
-endif	
+	call clear_mem	
 	call rfcomm_init
 	call init_lmp
 	ncall lpm_disable_exen_output,wake
@@ -117,7 +61,6 @@
 	call ssp_disable
 ifdef SECURE_CONNECTION
 	call publickey_init
-
 endif
 endif
 	call lpm_recover_clk,wake
@@ -129,29 +72,6 @@
 	branch p_sp_cal_loop,blank
 	branch main_loop
 
-p_init_param:
-	setarg param_le_version
-	store 3,mem_lmp_version
-	setarg param_le_subversion
-	store 2,mem_lmp_version+3
-	branch init_param+12
-
-p_lpm_check_wake_lock:
-	rtnmark1 mark_24g
-	fetch 1,mem_mouse_multi_led_blink_count
-	nbranch disable_blank,blank
-	fetch 1,mem_mouse_multi_led_state
-	nbranch disable_blank,blank
-	fetch 1,mem_mouse_clear_sensor_data_flag
-	branch disable_blank,blank
-	fetch 1,mem_mouse_le_conn_param_reject
-	beq LE_LPM_DISABLE,disable_blank
-	fetch 2,mem_sdp_remote_cid
-	nbranch disable_blank,blank
-	fetch 1,mem_mouse_wheel_trigger
-	nbranch disable_blank,blank
-	branch enable_blank
-
 p_g24_dispatch:
 	rtnmark0 mark_24g
 	fetch 1,mem_g24_conn_sm
@@ -168,21 +88,21 @@
 	fetch 1,mem_24g_pairing_sm
 	rtnne STATE_24G_PAIRING_SUCCESS
 	call power_ctrl_start
-	call g24_long_sleep_shorter_param_update
+
+	setarg G24_LONG_SLEEP_STEP1
+	store 3,mem_24g_enter_hibernate
+	setarg 0x012c
+	store 2,mem_24g_long_sleep_param_update_timer
 p_g24_short_sleep:
 	call p_g24_lpm_wait
 	nrtn user
 	call p_clear_wake
-ifdef HIGH_REPORT	
-	setarg 16000
-else
 	setarg 63500
-endif
 	branch lpm_dispatch_sleep
 
 p_g24_pair_dispatch:
 	fetch 1,mem_g24_stop_g24_mode
-	beq 1,p_g24_stop_g24_mode
+	beq 1,g24_stop_24g_mode
 	call p_g24_tx_attemp_data_prep
 	call p_g24_transmit_receive_ack
 	nbranch p_g24_pair_txdata_retry,sync
@@ -192,8 +112,8 @@
 	fetcht 4,mem_24g_allpowerful_addr
 	isub temp,null
 	branch p_g24_auto_pair_skip_rx_length,zero
-	fetch 1,mem_24g_rxdata_length	//ack payload length
-	rtnne BIND_ACKPAYLOAD_LENGTH
+	call p_g24_pair_ackpayload_length_check	//ack payload length
+	nrtn user
 p_g24_auto_pair_skip_rx_length:
 	fetch 1,mem_g24_conn_sm
 	set0 STATE_24G_PAIR,pdata
@@ -209,36 +129,41 @@
 	call p_g24_store_dongle_addr,zero
 	branch p_g24_tx_attemp_dongle_succ
 
+p_g24_pair_ackpayload_length_check:
+	fetch 1,mem_24g_rxdata_length
+	beq BIND_ACKPAYLOAD_LENGTH,enable_user
+	beq BIND_ACKPAYLOAD_LENGTH_YC1131,enable_user
+	branch disable_user
+
 p_g24_store_dongle_addr:
 	fetch 4,mem_24g_rxpayload+2
 	branch p_g24_update_addr_and_synccrc8
 
 p_g24_reconn_dispatch:
 	fetch 1,mem_g24_stop_g24_mode
-	beq 1,p_g24_stop_g24_mode
+	beq 1,g24_stop_24g_mode
 	call p_g24_tx_attemp_data_prep
 	call p_g24_transmit_receive_ack
-	nbranch p_g24_attemp_txdata_retry,sync
-	nbranch p_g24_attemp_txdata_retry,user3
+	nbranch p_g24_ch,sync
+	nbranch p_g24_ch,user3
 	fetch 1,mem_g24_conn_sm
 	set0 STATE_24G_RECONN,pdata
 	store 1,mem_g24_conn_sm
 p_g24_tx_attemp_dongle_succ:
 	set1 mark_24g,mark
 	jam 0,mem_mouse_long_mult_flag
-	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
-	call ui_ipc_send_event
+	call g24_tx_attemp_dongle_succ+4
 	call p_g24_txbuf_clear
 	branch p_g24_transmit_by_interrupt_enable
 
-g24_long_sleep_shorter_param_update:
-	fetch 1,mem_config_function_enable
-	rtnbit1 ENABLE_SENSOR_MOTION_PIN
-	setarg G24_LONG_SLEEP_STEP1
-	store 3,mem_24g_enter_hibernate
-	setarg 0x012c
-	store 2,mem_24g_long_sleep_param_update_timer
-	rtn
+//g24_long_sleep_shorter_param_update:
+//	fetch 1,mem_config_function_enable
+//	rtnbit1 ENABLE_SENSOR_MOTION_PIN
+//	setarg G24_LONG_SLEEP_STEP1
+//	store 3,mem_24g_enter_hibernate
+//	setarg 0x012c
+//	store 2,mem_24g_long_sleep_param_update_timer
+//	rtn
 
 p_g24_transmit_by_interrupt:
 	call p_g24_timer_check
@@ -260,12 +185,13 @@
 p_g24_interval_min:
 	jam 0,mem_24g_pac_index
 	fetch 1,mem_24g_interval_min
+p_g24_interval_store:
 	store 1,mem_24g_interval
 	rtn
 p_g24_interval_max:
 	fetch 1,mem_24g_interval_max
-	store 1,mem_24g_interval
-	rtn	
+	branch p_g24_interval_store
+	
 p_g24_interval_calibrate:
 	fetch 1,mem_24g_pac_index
 	increase 1,pdata
@@ -273,11 +199,6 @@
 	beq 4,p_g24_interval_max
 	beq 5,p_g24_interval_min
 	rtn
-p_g24_transmit_by_interrupt_enable:
-	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
-	setarg 0
-	store 2,mem_24g_transmit_by_interrupt_exit_count
-	rtn
 
 p_g24_nodata_transmit:
 	fetch 1,mem_24g_abort_pac
@@ -302,7 +223,25 @@
 	branch disable_user,blank
 	fetch 1,mem_24g_transmit_by_interrupt
 	beq G24_TX_TIMER_INT_ENABLE,disable_user
-	branch p_mouse_setgpio_lpm
+p_mouse_setgpio_lpm:
+	call p_mouse_set_sdio_high
+	call p_clear_wake
+p_mouse_setgpio_lpm_before:	
+	call mouse_lpm_before_common
+	call p_ice_gpio_set_input_pu
+	hfetch 4,core_gpio_oe0
+	hfetcht 4,core_gpio_pu0
+	ior temp,temp
+	invert temp,temp
+	hstoret 4,core_gpio_pd0
+//	branch p_mouse_multi_led_off2
+	rtn
+
+p_mouse_set_sdio_high:
+	fetch 1,mem_mouse_init_sensor_reset_flag
+	rtn blank
+	branch p_mouse_seting_sensor_type	// make sdio high to make 100uA less	
+
 
 p_g24_send_abort_packet:
 	jam 1,mem_24g_abort_pac
@@ -321,9 +260,8 @@
 	branch p_g24_transmit_start
 
 p_g24_search_dongle_init:
-	jam 0,mem_24g_search_dongle_action
-	jam 0,mem_24g_search_dongle_count
-	jam 0,mem_24g_search_dongle_ch
+	setarg 0
+	store 3,mem_24g_search_dongle_action
 	rtn
 
 p_g24_search_dongle:
@@ -379,11 +317,21 @@
 	set0 G24_DISCONN_STATE,pdata
 	store 1,mem_24g_search_dongle_action
 	call mouse_no_data_timer_init
-	branch p_mouse_init_sensor_reset
+p_mouse_init_sensor_reset:
+	jam 1,mem_mouse_init_sensor_reset_flag
+p_mouse_init_sunt:
+	call p_mouse_spi_init
+	call mouse_spi_sdio_gpio_pollup
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,p_mouse_p3065_init_param
+	call mouse_twspi_reset
+	nop 1000
+	branch p_mouse_init_sensor
 
 p_mouse_before_lpm:
 	rtnmark1 mark_24g
-//	call p_mouse_le_txbuff_save
 	call p_mouse_setgpio_lpm
 	fetch 1,mem_context
 	bbit0 state_inconn,p_clear_wake
@@ -393,56 +341,7 @@
 	setarg 0
 	store 8,mem_gpio_wakeup_low
 	rtn
-
-p_mouse_setgpio_lpm:
-	call p_mouse_set_sdio_high
-	call p_clear_wake
-p_mouse_setgpio_lpm_before:	
-	call mouse_lpm_before_common
-	call p_ice_gpio_set_input_pu
-	hfetch 4,core_gpio_oe0
-	hfetcht 4,core_gpio_pu0
-	ior temp,temp
-	invert temp,temp
-	hstoret 4,core_gpio_pd0
-//	branch p_mouse_multi_led_off2
-	rtn
-
-p_mouse_set_sdio_high:
-	fetch 1,mem_mouse_init_sensor_reset_flag
-	rtn blank
-	branch p_mouse_seting_sensor_type	// make sdio high to make 100uA less	
-
-//p_mouse_le_txbuff_save:
-//	arg mem_le_tx_buffer0,contr
-//	arg mem_le_tx_buffer0_omemalloc,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer1,contr
-//	arg mem_le_tx_buffer1_omemalloc,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer2,contr
-//	arg mem_le_tx_buffer2_omemalloc,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer3,contr
-//	arg mem_le_tx_buffer3_omemalloc,contw
-//p_mouse_le_txbuff_copy:
-//	arg 27,loopcnt
-//	branch memcpy
-
-//p_mouse_le_txbuff_load:
-//	arg mem_le_tx_buffer0_omemalloc,contr
-//	arg mem_le_tx_buffer0,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer1_omemalloc,contr
-//	arg mem_le_tx_buffer1,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer2_omemalloc,contr
-//	arg mem_le_tx_buffer2,contw
-//	call p_mouse_le_txbuff_copy
-//	arg mem_le_tx_buffer3_omemalloc,contr
-//	arg mem_le_tx_buffer3,contw
-//	branch p_mouse_le_txbuff_copy
-
+	
 p_device_init:
 ifdef DEBUGLOG
 	call debuglog_init
@@ -466,8 +365,6 @@
 endif
 endif
 	jam 0x20,core_gpio_pu0
-
-	call p_mouse_data_init
 	fetch 1,mem_tx_power
 	store 1,mem_tx_power_temp
 	call power_ctrl_pac_succ_cnt_init
@@ -494,58 +391,18 @@
 	bbit1 2,p_mouse_skip_24g_pair
 	call p_mouse_check_key_pair
 	beq MOUSE_LR_BUTTON,p_mouse_24g_pairing_button
+ifdef TEST_MODE
+	beq MOUSE_LMR_BUTTON,p_test_mode_start
+endif
 p_mouse_skip_24g_pair:
 	branch p_mouse_wakeup_from_power
 
-p_mouse_check_reconn_target:
-	call p_mouse_tx_power_init
-	fetch 1,mem_xrecord_mode
-ifdef CLASSIC_BT	
-	beq REC_3_MODE,p_mouse3_0_check_reconn_target
-endif	
-	beq REC_4_MODE,p_mouse4_0_check_reconn_target
-	rtn
-
-
-ifdef CLASSIC_BT
-p_mouse3_0_check_reconn_target:
-	fetch 6,mem_hci_plap
-	branch app_bt_start_discovery_short,blank
-	branch mouse3_0_check_reconn_target+3
-endif
-
-p_mouse4_0_check_reconn_target:
-//	call p_mouse4_0_reconn_led_blink_init
-	jam 1,mem_mouse_le_reconnect_flag
-	fetch 2,mem_mouse_direct_timeout
-	store 2,mem_mouse_direct_timer
-	call app_lpm_mult_disable
-	call p_le_check_adv_flag
-	setarg ADV_FLAG_BREDR_NOT_SUPPORTED
-	istore 1,contr
-	branch check_51cmd_adv
-
-p_le_check_adv_flag:
-	arg mem_le_adv_data,rega
-p_le_check_adv_flag_loop:
-	ifetch 1,rega	//length
-	rtn blank
-	iadd contr,rega
-	ifetch 1,contr	//type
-	rtneq 0x01
-	branch p_le_check_adv_flag_loop
-
-//p_mouse4_0_reconn_led_blink_init:
-//	jam 1,mem_mouse_ble_reconn_multi_led_blink_flag
-//	jam 9,mem_mouse_multi_led_blink_count
-//	branch p_mouse_dpi_multi_led_blink
-
 p_mouse_24g_pairing_button:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_24G
 	rtnbit1 MOSUE_24G_PAIRING_FLAG
 	rtnmark1 mark_24g
-	call mouse_devce_led_off
+//	call mouse_devce_led_off
 	arg MOSUE_24G_PAIRING_FLAG,queue
 	call mouse_enable_function_flag
 	setarg 0
@@ -553,14 +410,23 @@
 	store 1,mem_mouse_send_blank_timer
 	store 2,mem_24g_check_dongle_times
 	call mouse_stop_discovery
-	branch p_g24_auto_pair_start
+p_g24_auto_pair_start:
+	set1 mark_24g,mark
+	fetch 1,mem_g24_conn_sm
+	set1 STATE_24G_PAIR,pdata
+	store 1,mem_g24_conn_sm
+p_g24_auto_pair_timeout_init:
+	setarg G24_DISCONN_NODATA_TIMER
+	store 2,mem_g24_stop_g24_mode_timeout
+	jam 0,mem_g24_stop_g24_mode
+	rtn
 
+p_mouse_sensor_poweron:
+	arg mem_sensor_poweron_init,regc
+	call p_sensor_wr_seq
 p_mouse_dpi_config:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_EEPROM,mouse_dpi_config
 	fetch 1,mem_mouse_dpi
-	beq 0xff,p_mouse_dpi_config_default
-	branch p_mouse_seting_sensor_type
+	bne 0xff,p_mouse_seting_sensor_type
 p_mouse_dpi_config_default:
 	fetch 1,mem_config_sensor_motion
 	store 1,mem_mouse_dpi
@@ -570,21 +436,6 @@
 	jam 0x76,mem_spi_init_clk
 	branch mouse_spi_init
 	
-p_mouse_init_sunt:
-	call p_mouse_spi_init
-	call mouse_spi_sdio_gpio_pollup
-p_mouse_init_sensor:
-	call mouse_read_sensor_id
-	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
-	beq P3065_ID1,p_mouse_p3065_init_param
-	call mouse_twspi_reset
-	nop 1000
-	branch p_mouse_init_sensor
-
-p_mouse_init_sensor_reset:
-	jam 1,mem_mouse_init_sensor_reset_flag
-	branch p_mouse_init_sunt
-
 p_mouse_init_p32xx_id2_judge:
 	call p_mouse_sensor_poweron
 	fetch 1,mem_sensor_id2
@@ -636,61 +487,37 @@
 	beq P3065_XY_ID2,mouse_p3065xy_init_param
 	jam P3065,mem_config_sensor_type
 	rtn
-
-p_mouse_sensor_poweron:
-	arg mem_sensor_poweron_init,regc
-	call p_sensor_wr_seq
-	branch p_mouse_dpi_config
 	
-p_mouse_sensor_powerdown:
-	setarg 0x0806
-	call twspi_read
-	or pdata,0x08,pdata
-	lshift8 pdata,pdata
-	add pdata,0x06,pdata
-	branch twspi_write	//make sdio high
-
 p_mouse_setting_config:
-	call p_g24_set_device_addr
-	//disable usb function
-	hfetch 1,core_usb_config
-	set0 4,pdata
-	hstore 1,core_usb_config
+	call adc_init_data
+	fetch 4,mem_lap
+	store 4,mem_24g_device_addr
 	call mouse_gpio_init
-	
 //	fetcht 1,mem_mouse_multi_led_gpio
 //	call gpio_config_output
-	
 	call mouse_param_init
-ifdef CLASSIC_BT	
-	call p_mouse_bt_sdp_update
-endif
 	setarg 0
 	store 2,mem_lpm_interval
-	
 	call p_mouse_set_gpio_control_sensor
-
 	setarg 0x1802	//16M XTAL
 	store 2,mem_fcomp_mul	
+ifdef ADC_ENABLE
 	call mouse_adc_init
+endif
 	call le_set_config_fixed_ltk
 	call le_set_justwork
 	call le_set_fixed_ltk
 	call le_set_config_read_authentication
 p_mouse_init_iic:
 	call iic_init_390k
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
-	ncall clear_eeprom_size_2k,true
+	call clear_eeprom_size_2k
 	call mouse_load_eeprom_dpi
-	call p_mouse_init_environment
+	call mouse_init_environment
 p_mouse_init_iic_read_24g_addr:
 	call p_mouse_set_24g_addr_eeprom
 	branch iicd_read_eep_data
 
 p_mouse_set_gpio_control_sensor:
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
-//	rtnbit0 MOUSE_ENABLE_GPIO_CONTROL_ADC_SENSOR
 p_mouse_sensor_set_angle:
 	hfetch 1,core_gpio_pu0
 	set1 5,pdata
@@ -710,47 +537,6 @@
 	jam MOUSE_3CLK_ANGLE,mem_config_sensor_angle
 	rtn
 
-ifdef CLASSIC_BT
-p_mouse_bt_sdp_update:
-	call enable_authrom
-	arg 0x8c00,contr
-	arg mem_mouse_uuid_list,contw
-	arg 369,loopcnt
-	call memcpy
-	//Attribute: HID SSR Host Max Latency
-	setarg 0x0f0209
-	istore 3,contw
-	setarg 0x120009
-	istore 3,contw
-	//Attribute: HID SSR Host Min Timeout
-	setarg 0x100209
-	istore 3,contw
-	setarg 0x000009
-	istore 3,contw
-	arg 0x8d71,contr
-	arg 265,loopcnt
-	call memcpy
-	
-	jam 0,mem_mouse_uuid_list+23	//Service Record Handle: 0x 00 01 00 00
-	jam 0x6d,mem_mouse_uuid_list+15	//total length
-	setarg 0x401f
-	store 2,mem_mouse_uuid_list+357	//timeout
-	setarg 0x6d04
-	store 2,mem_mouse_uuid_list+462	//VID
-	setarg 0x16b0
-	store 2,mem_mouse_uuid_list+468	//PID
-
-	setarg mem_mouse_uuid_list				//bt sdp start address
-	store 2,mem_ui_uuid_table
-	rtn
-endif
-
-p_mouse_init_environment:
-	call app_initflag_check
-	branch mouse_eeprom_load_recon_info,zero
-	call p_le_addr_random_config
-	branch mouse_init_environment+2
-
 p_app_flag_store:
 	arg 2,temp
 	arg mem_timeup,rega
@@ -763,7 +549,6 @@
 	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
 	branch app_initflag_check+4
 
-
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 	setarg 375
 	store 2,mem_24g_transmit_by_interrupt_exit_count_init
@@ -772,21 +557,10 @@
 	setarg 25
 	store 2,mem_24g_transmit_by_interrupt_exit_count_init
 	ncall p_mouse_24g_transmit_by_interrupt_exit_count_max,wake
-	
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,p_mouse_wakeup_no_from_power
-//	fetch 1,mem_wakup_from_power_flag
-//	isolate0 gpio_latch,pdata
-//	nbranch p_mouse_wakeup_no_from_power,true
 p_mouse_wakeup_no_from_power:
 	fetch 1,mem_reconn_times_init
 	store 1,mem_reconn_times
-//	fetch 1,mem_config_function_enable	//standard do not need it
-//	rtnbit1 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
-//	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
 p_mouse_start_24g_mode:
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	rtnbit0 MOUSE_ENABLE_24G
 	call p_g24_start_24g_mode
 	fetch 1,mem_power_on_flag
 	rtnbit1 2	//hibernate rtn
@@ -794,20 +568,6 @@
 	call p_mouse_init_sensor_reset
 	branch p_mouse_dpi_config_default
 
-
-//auto pair
-//	fetch 1,mem_power_on_flag
-//	bbit1 2,p_g24_start_24g_mode	//hibernate goto reconn
-
-//	call p_mouse_dpi_config_default
-//	
-//	setarg 0xffff	//power on goto pair
-//	store 2,mem_24g_addr
-//	istore 2,contw
-//	call p_mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
-//	call iicd_write_protect_eep_data
-//	branch p_g24_auto_pair_start
-
 p_g24_factory_check:
 	arg 2,loopcnt
 	arg mem_24g_addr,contr
@@ -824,16 +584,6 @@
 p_mouse_cb_fuction:
 	setarg p_mouse_g24_package_data
 	store 2,mem_cb_24g_data
-ifdef BLE
-	setarg p_mouse_le
-	store 2,mem_cb_le_process
-	setarg p_le_mouse_bb_event_connect_complete
-	store 2,mem_cb_att_write
-endif	
-ifdef CLASSIC_BT
-	setarg p_mouse_bt
-	store 2,mem_cb_bt_process
-endif
 	setarg p_mouse_before_lpm
 	store 2,mem_cb_before_lpm
 	setarg p_mouse_priority_bb_event
@@ -844,75 +594,18 @@
 	store 2,mem_cb_before_hibernate
 	setarg p_mouse_bb_event_timer
 	store 2,mem_cb_event_timer
-	setarg mouse_spi_write_flash_cb
-	store 2,mem_cb_spi_flash_write_complate
 	rtn
 
 p_mouse_g24_package_data:
 	call mouse_g24_package_data
 	fetch 2,mem_mouse_z
 	rtn blank
-	branch p_g24_transmit_by_interrupt_enable
-	
-ifdef BLE	
-p_mouse_le:
-	call le_fifo_check_nearly_full
-	nrtn blank
-	fetch 1,mem_le_connect_status_flag
-	and pdata,0x03,pdata
-	rtnne 0x03
-	fetch 1,mem_mouse_clear_sensor_data_flag
-	call p_mouse_clear_sensor_data,blank
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	bbit1 MOSUE_24G_PAIRING_FLAG,mouse_le_send_empty_packet
-//	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_le_send_empty_packet
-	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_le_send_empty_packet
-	call mouse_motion
-	nrtn user
-	call p_mouse_le_current_mult_update
-	call p_mouse_data_xy_release
-	fetch 2,mem_mouse_z
-	ncall p_mouse_wheel_trigger,blank
-	branch p_mouse_data_push
-
-p_mouse_le_current_mult_update:
-	fetch 1,mem_config_function_enable
-	rtnbit1 ENABLE_SENSOR_MOTION_PIN
-	jam 0,mem_lpm_mult
-	jam 30,mem_mouse_le_current_mult_timer
-	rtn
-
-p_mouse_wheel_trigger:
-	jam 1,mem_mouse_wheel_trigger
-	jam 2,mem_mouse_wheel_trigger_timer
+p_g24_transmit_by_interrupt_enable:
+	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
+	setarg 0
+	store 2,mem_24g_transmit_by_interrupt_exit_count
 	rtn
-endif	
-ifdef CLASSIC_BT
-p_mouse_bt:
-	rtn attempt
-	fetch 1,mem_app_handshake_flag
-	rtn blank
-	call l2cap_malloc_is_fifo_nearly_full
-	nrtn blank
-	fetch 1,mem_mouse_clear_sensor_data_flag
-	call p_mouse_clear_sensor_data,blank
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	bbit1 MOSUE_24G_PAIRING_FLAG,mouse_send_empty_data
-//	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_send_empty_data
-	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_send_empty_data
-	bbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,mouse_send_empty_data
-	call mouse_motion
-	nrtn user
-	fetch 2,mem_mouse_z
-	ncall p_mouse_wheel_trigger,blank
-	branch mouse_send_data
-endif
-
-p_mouse_clear_sensor_data:
-	call le_set_config_more_data
-	jam 1,mem_mouse_clear_sensor_data_flag
-	branch p_mouse_init_sensor_reset
-
+	
 p_mouse_idle:
 	call ui_check_paring_button
 	branch mouse_wheel_check
@@ -953,144 +646,20 @@
 	
 p_mouse_priority_bb_event:
 	copy regc,pdata
-ifdef BLE	
-	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
-	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
-	beq BT_EVT_LE_ENC_INFO,p_mouse_le_enc_info
-	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
-	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved
-endif
-ifdef CLASSIC_BT
-	beq BT_EVT_RECONN_FAILED,p_mouse_bb_event_reconn_failed
-	beq BT_EVT_RECONN_PAGE_TIMEOUT,p_mouse_bb_event_reconn_timeout
-	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,p_mouse_irtual_cable_unplug
-	beq BT_EVT_SWITCH_NOT_ACCEPT,app_bt_role_switch	
-	beq BT_EVT_SNIFF_NOT_ACCEPT,p_mouse_sniff_not_accept
-	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
-	beq BT_EVT_BB_DISCONNECTED,p_mouse_bb_event_disconnected
-	beq BT_EVT_SWITCH_SUCCESS_MASTER,p_mouse_enter_sniff_check
-endif
 	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
-	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
+	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 	branch mouse_priority_bb_event+1
 
-ifdef BLE
-p_mouse_le_bb_event_connected:
-	jam 0,mem_mouse_long_mult_flag
-	call p_mouse_init_sensor_reset
-	call p_mouse_data_init
-	branch mouse_le_bb_event_connected
-
-p_mouse_le_bb_disconnected:
-	call p_mouse_sensor_powerdown_check
-	setarg LE_INTERVAL_8_75MS
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
-	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
-	jam 0,mem_mouse_clear_sensor_data_flag
-	call p_mouse_data_init
-	call le_clr_config_more_data
-	branch mouse_bb_disconnected
-
-p_mouse_le_enc_info:
-p_app_updata_le_param:
-	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
-	branch ui_ipc_send_cmd
-
-p_mouse_le_ll_start_encryt:
-	fetch 1,mem_mouse_le_reconnect_flag
-	beq 1,p_mouse_le_ll_reconn_start_encryt
-	branch p_mouse_le_ll_enable_start_enc_flag
-
-p_mouse_le_ll_reconn_start_encryt:
-	call p_app_updata_le_param
-	jam 20,mem_le_start_encrypt_timer
-p_mouse_le_ll_enable_start_enc_flag:
-	arg LL_START_ENC_FLAG,queue
-	branch mouse_le_enable_connect_flag
-
-p_mouse_le_conn_param_update_rsp_recieved:
-	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
-	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
-	fetch 1,mem_le_tsniff
-	rshift2 pdata,pdata
-	sub pdata,LE_INTERVAL_15MS,null
-	rtn positive
-	setarg LE_INTERVAL_11_25MS
-	store 2,mem_le_interval_min
-	store 2,mem_le_interval_min+2
-	call p_app_updata_le_param
-	branch p_mouse_le_conn_param_lpm_disable
-endif
-
-
-ifdef CLASSIC_BT
-p_mouse_bb_event_reconn_timeout:
-p_mouse_bb_event_reconn_failed:
-	fetch 2,mem_ui_state_map
-	rtnbit1 UI_STATE_BTN_DOWN
-	rtnbit1 UI_STATE_BT_DISCOVERY
-	rtnbit1 UI_STATE_BLE_ADV
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
-//	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_soft_reset
-//	bbit1 MOSUE_24G_PAIRING_FLAG,p_g24_start_pairing_sm1
-	branch app_bb_hibernate
-
-p_mouse_irtual_cable_unplug:
-	call mouse_irtual_cable_unplug
-	branch app_bb_hibernate
-
-p_mouse_sniff_not_accept:
-	fetch 1,mem_mouse_enter_sniff_count
-	rtneq 2
-	increase 1,pdata
-	store 1,mem_mouse_enter_sniff_count
-	jam 0x12,mem_sniff_param_interval	//89Hz
-	branch app_bt_enter_sniff
-
-p_mouse_bb_event_connected:
-	call p_mouse_discovey_led_blink_off
-	jam 0,mem_mouse_send_switch_req_timer
-	branch mouse_stop_discovery
-
-p_mouse_bb_event_disconnected:
-	call p_mouse_sensor_powerdown_check
-	branch mouse_bb_disconnected
-
-p_mouse_enter_sniff_check:
-	fetch 1,mem_mouse_enter_sniff_count
-	rtnne 2
-	jam 0,mem_mouse_enter_sniff_count
-	jam 0x0e,mem_sniff_param_interval	//89Hz
-	branch app_bt_enter_sniff
-
-p_mouse_bt_hid_handshake:
-	call p_mouse_init_sensor_reset
-	branch mouse_bt_hid_handshake
-	
-endif
-
 p_mouse_24g_pairing_complete:
 	jam 0,mem_mouse_sensor_powerdown_timer
 	call p_g24_auto_pair_timeout_clear
 	call p_mouse_init_sensor_reset
-
-	jam 1,mem_mouse_24g_enter_lpm_enable
 	arg MOSUE_24G_PAIRING_FLAG,queue
 	call mouse_disable_function_flag
-	setarg 0
-	store 2,mem_24g_pairing_timer_count
 	jam 0,mem_mouse_move_flag
-	
-	fetch 1,mem_config_sensor_type
-	sub pdata,P3610,null
-	call mouse_read_sensor3610_data,zero
-	ncall mouse_read_sensor_common,zero
-
+	call mouse_read_sensor_common
 	call p_mouse_tx_power_init
-
 	call p_mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
 	branch iicd_write_protect_eep_data
 
@@ -1110,20 +679,7 @@
 	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
 	call p_mouse_tx_power_init
 	call p_g24_check_51cmd_stop_24g
-	fetch 1,mem_mouse_mode_config
-	bbit1 MOUSE_24G_ONLY,app_enter_hibernate
-	jam 0,mem_link_key_exists
-	call mouse_eeprom_load_recon_info	
-	arg 3,loopcnt
-	arg mem_device1_addr,contr
-	call p_pdata_0xff_check
-	branch p_mouse_null_enter_hibernate_enable,user
-	branch p_mouse_check_reconn_target
-
-p_mouse_null_enter_hibernate_enable:	//ble never connected
-	jam 1,mem_mouse_null_enter_hibernate_flag
-	jam 40,mem_mouse_null_enter_hibernate_timer	//lmr 3s
-	rtn
+	branch app_enter_hibernate
 
 p_mouse_24g_attempt_success:
 	jam 0,mem_mouse_sensor_powerdown_timer
@@ -1134,14 +690,13 @@
 	branch iicd_write_protect_eep_data
 
 p_mouse_before_hibernate:
-	enable user
-	hfetch 4,0x8138
-	setflag user,26,pdata
+	hfetch 4,core_lpm_ctrl
+	set1 26,pdata
 	hstore 4,core_lpm_reg
 	call lpm_write_ctrl
 	call p_mouse_sensor_powerdown_check
 	call disable_authrom
-	call mouse_devce_led_off
+//	call mouse_devce_led_off
 	call mouse_before_hibernate_wheel_gpio_set
 	call p_mouse_setgpio_lpm_before
 	fetcht 1,mem_select_sensor_angle_gpio
@@ -1155,25 +710,24 @@
 	arg core_gpio_pu0,contw
 	branch gpio_set_bit
 
-	
 p_mouse_sensor_powerdown_check:
 	fetch 1,mem_mouse_init_sensor_reset_flag
 	rtn blank
 	jam 0,mem_mouse_init_sensor_reset_flag
-	branch p_mouse_sensor_powerdown
+p_mouse_sensor_powerdown:
+	setarg 0x0806
+	call twspi_read
+	or pdata,0x08,pdata
+	lshift8 pdata,pdata
+	add pdata,0x06,pdata
+	branch twspi_write	//make sdio high
 
 p_mouse_bb_event_timer:
 ifdef ADC_ENABLE	
 	call p_mouse_adc_read
 endif
 	call p_mouse_24g_long_sleep_param_update_timer
-	call p_mouse_wheel_trigger_timer
-	call p_mouse_null_enter_hibernate_timer
-	call p_mouse_dpi_check
-ifdef CLASSIC_BT	
-	call p_mouse_send_switch_req_timer
-	call mouse_check_hid_handshake_timer
-endif	
+	call p_mouse_dpi_check	
 	call mouse_check_no_data_timeout_timer
 	call p_mouse_sensor_powerdown_timer
 	branch p_mouse_g24_pair_timeout_timer
@@ -1191,21 +745,6 @@
 	jam 1,mem_g24_stop_g24_mode
 	rtn
 
-ifdef CLASSIC_BT
-p_mouse_send_switch_req_timer:
-	arg mem_mouse_send_switch_req_timer,regc
-	arg host_create_conn_resend,regb
-	branch timer_single_step
-endif
-
-p_mouse_wheel_trigger_timer:
-	arg mem_mouse_wheel_trigger_timer,regc
-	arg p_mouse_wheel_trigger_disable,regb
-	branch timer_single_step
-p_mouse_wheel_trigger_disable:
-	jam 0,mem_mouse_wheel_trigger
-	rtn
-
 p_mouse_24g_long_sleep_param_update_timer:
 	arg mem_24g_long_sleep_param_update_timer,regc
 	arg p_mouse_24g_long_sleep_normal_param,regb
@@ -1215,73 +754,6 @@
 	store 3,mem_24g_enter_hibernate
 	jam 1,mem_mouse_long_mult_flag
 	rtn
-
-p_mouse_le_current_mult_update_timer:
-	arg mem_mouse_le_current_mult_timer,regc
-	arg p_mouse_le_current_mult_reinit,regb
-	branch timer_single_step
-p_mouse_le_current_mult_reinit:
-	fetch 1,mem_lpm_mult_init
-	store 1,mem_lpm_mult
-	jam 1,mem_mouse_long_mult_flag
-	rtn
-
-p_mouse_le_enable_att_list_timer:
-	arg mem_le_start_encrypt_timer,regc
-	arg mouse_le_write_enable,regb
-	branch timer_single_step	
-
-p_mouse_bt_discovery_check:
-	fetch 1,mem_config_function_enable
-	bbit1 ENABLE_BT_BUTTON,mouse_bt_discovery_by_button
-	
-//p_mouse_bt_discovery_commbination_key:
-//	call p_mouse_check_key_gpio
-//	beq MOUSE_LMR_BUTTON,p_mouse_bt_discovery_commbination_key_down
-
-p_mouse_bt_discovery_commbination_key_up:
-	fetch 1,mem_ui_button_timeout
-	store 1,mem_combination_ui_button_count	//combination key timer init 
-	fetch 1,mem_bt_discovey_button_statue
-	rtneq DPI_BUTTON_STATE_UP
-	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue
-	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
-	call mouse_disable_function_flag
-	branch mouse_bt_discovery_button_down_disable
-p_mouse_bt_discovery_commbination_key_down:
-	jam 40,mem_mouse_null_enter_hibernate_timer
-	call p_mouse_bt_discovery_timer
-	branch mouse_bt_discovery_commbination_key_down+1
-
-p_mouse_bt_discovery_timer:
-	arg mem_combination_ui_button_count,regc
-	arg p_mouse_long_button_bt_discovery,regb
-	branch timer_single_step
-	
-p_mouse_long_button_bt_discovery:
-	call p_mouse_sensor_powerdown_check
-	fetch 2,mem_ui_state_map
-	isolate1 UI_STATE_BLE_ADV,pdata
-	call mouse_stop_le_adv,true		//reconnect adv
-	fetch 2,mem_ui_state_map
-	isolate1 UI_STATE_BT_RECONNECT,pdata
-	call mouse_cancel_reconnect,true
-	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
-	call mouse_enable_function_flag
-	branch mouse_long_button_bt_discovry
-
-p_mouse_null_enter_hibernate_timer:
-	fetch 1,mem_mouse_null_enter_hibernate_flag
-	rtn blank
-	fetch 1,mem_mouse_null_enter_hibernate_timer
-	branch p_mouse_null_enter_hibernate,blank
-	increase -1,pdata
-	store 1,mem_mouse_null_enter_hibernate_timer
-	rtn
-p_mouse_null_enter_hibernate:
-	jam 0,mem_mouse_null_enter_hibernate_flag
-	branch app_enter_hibernate
-
 	
 ifdef ADC_ENABLE
 p_mouse_adc_read:
@@ -1434,7 +906,7 @@
 	store 6,mem_mouse_x
 	call p_mouse_cheak_sensor_data
 	call mouse_zwheel
-	call mouse_t_zwheel
+//	call mouse_t_zwheel
 	call p_mouse_key
 ifdef MOUSE_SMOOTHER	
 	nbranch p_mouse_motion_nodata,user
@@ -1472,8 +944,7 @@
 	call p_mouse_check_mkey_gpio
 	call p_mouse_check_bkkey_gpio
 	call p_mouse_check_fwkey_gpio
-	copy rega,pdata
-	rtn
+	branch mouse_check_key_gpio+11
 
 p_mouse_check_key_pair:
 	arg 0,rega
@@ -1487,9 +958,13 @@
 	fetcht 1,mem_rbutton_gpio
 	call gpio_get_bit
 	setflag true,1,rega			//true = 1,input low level
-	copy rega,pdata
-	rtn
-
+	fetcht 1,mem_mbutton_gpio
+	call p_gpio_set_input_pu
+	fetcht 1,mem_mbutton_gpio
+	call gpio_get_bit
+	setflag true,2,rega	
+	branch mouse_check_key_gpio+11
+	
 p_mouse_key_check:
 	call gpio_get_bit
 	copy regb,pdata
@@ -1614,24 +1089,21 @@
 	copy pdata,rega
 	rtn	
 
-
 p_gpio_set_input_pd:
 	set0 gpio_active_bit,temp
 	arg core_gpio_pu0,contw
 	call gpio_set_bit
 	set1 gpio_active_bit,temp
+p_gpio_set_input_pd4:
 	arg core_gpio_pd0,contw
-	call gpio_set_bit
-	set0 gpio_active_bit,temp
-	arg core_gpio_oe0,contw
-	branch gpio_set_bit
+	branch gpio_set_high_impedance+4
 
 p_gpio_set_input_pu:
 	set1 gpio_active_bit,temp
 	arg core_gpio_pu0,contw
 	call gpio_set_bit
 	set0 gpio_active_bit,temp
-	branch p_gpio_set_input_pd+4
+	branch p_gpio_set_input_pd4
 	
 p_mouse_cheak_sensor_data:
 	fetch 1,mem_config_sensor_type
@@ -1675,12 +1147,6 @@
 
 p_mouse_seting_dpi:
 p_mouse_seting_sensor_type:
-//	fetch 1,mem_config_sensor_type
-//	beq P3212,p_mouse_seting_3212_dpi
-//	beq P3065_XY,p_mouse_seting_3065XY_dpi
-//	beq MX8650,p_mouse_seting_3065XY_dpi
-//	beq KA8,p_mouse_seting_ka8_dpi
-//	beq P8009,p_mouse_seting_3205_dpi
 p_mouse_seting_320x_dpi:
 	fetch 1,mem_mouse_dpi
 	sub pdata,MOUSE_DPI_LEVEL2,null
@@ -1748,294 +1214,6 @@
 	fetch 1,mem_320x_dpi_4
 	branch p_mouse_ka8_dpi_store
 
-
-p_mouse_bb_event_discovery_btn:
-	jam 0,mem_mouse_null_enter_hibernate_flag
-	jam 0,mem_mouse_null_enter_hibernate_timer
-	isolate1 mark_24g,mark
-	call p_g24_check_51cmd_stop_24g,true
-	branch mouse_bb_event_discovery_btn+1
-
-
-p_le_addr_random_config:
-	call load_adc_init
-	fetch 2,mem_0_5_adc_io_data	//adc data from otp
-	branch p_le_otp_adc_empty,blank
-	store 2,mem_random_addr_increase_count
-p_le_addr_random_store:
-	branch p_mouse_store_eerpom_random_addr_increase_count
-
-p_le_otp_adc_empty:
-	setarg 0x1122
-	store 2,mem_random_addr_increase_count
-	branch p_le_addr_random_store
-
-p_mouse_start_discovery:
-	call p_mouse_tx_power_init
-	jam 0,mem_mouse_clear_sensor_data_flag
-	fetch 2,mem_ui_state_map
-	bbit1 UI_STATE_BLE_ADV,p_mouse_start_discovery_norandom
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,p_mouse_start_discovery_norandom
-
-	call p_mouse_load_eeprom_random_addr_increase_count
-	fetcht 2,mem_random_addr_increase_count
-	increase 1,temp
-	storet 2,mem_random_addr_increase_count
-	storet 2,mem_le_lap+1
-	call p_mouse_store_eerpom_random_addr_increase_count
-	random pdata
-	store 1,mem_le_lap
-
-p_mouse_start_discovery_norandom:
-	call app_lpm_mult_disable
-	fetch 2,mem_discovery_timeout
-	store 2,mem_mouse_discovery_timer
-	jam 6,mem_connection_options
-	setarg 0
-	store 2,mem_mouse_no_data_timer
-	store 2,mem_mouse_direct_timer
-	arg MOUSE_STORE_EEPROM_FLAG,queue
-	call mouse_enable_function_flag
-	call mouse_bt_discovery_button_down_disable
-	fetch 1,mem_device_option
-	isolate1 MODE_4_MOUSE,pdata
-	call p_check_51cmd_adv,true
-	branch mouse_start_discovery_norandom+13
-
-p_mouse_store_eerpom_random_addr_increase_count:
-	arg 2,temp
-	arg mem_random_addr_increase_count,rega
-	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
-	branch iicd_write_protect_eep_data
-	
-p_mouse_load_eeprom_random_addr_increase_count:
-	arg 2,temp
-	arg mem_random_addr_increase_count,rega
-	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
-	branch iicd_read_eep_data
-
-p_check_51cmd_adv:
-	jam 0,mem_mouse_le_reconnect_flag
-	call p_le_check_adv_flag
-	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
-	istore 1,contr
-	branch check_51cmd_adv
-
-p_mouse_stop_discovery:
-	setarg 0
-	store 2,mem_mouse_discovery_timer
-	call p_mouse_init_sensor_reset		//clear sensor data,confirm the motion pin high
-	branch mouse_stop_discovery+1
-
-ifdef BLE
-p_le_slave_match:
-	fetch 1,mem_le_md_count
-	pincrease 1
-	store 1,mem_le_md_count
-	beq LE_MD_MAX_COUNT,le_slave_cont
-	call le_acknowledge
-	call le_prepare_tx
-	call power_ctrl_start
-	branch le_slave_match+7
-
-p_le_next_adv_channel:
-	fetch 1,mem_le_ch_mapped
-	increase 1,pdata
-	store 1,mem_le_ch_mapped
-	rtnne 40
-	jam 37,mem_le_ch_mapped
-	rtn
-
-p_le_receive_skip:
-	call save_rssi
-	call p_rssi_signal
-	branch le_receive_skip+2
-
-p_le_update_param:
-	call p_mouse_le_conn_param_check
-	branch le_update_param+8
-p_mouse_le_lpm_mult_reinit:
-	fetch 1,mem_lpm_mult_init
-	store 1,mem_lpm_mult
-p_mouse_le_conn_param_lpm_enable:
-	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
-	rtn
-p_mouse_le_conn_param_lpm_disable:
-	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
-	rtn
-p_mouse_le_conn_param_check:
-	fetch 1,mem_le_new_conninterval
-	sub pdata,LE_INTERVAL_15MS,null
-	nbranch p_mouse_le_conn_param_lpm_disable,positive
-	fetch 1,mem_le_new_connslavelatency
-	fetcht 1,mem_lpm_mult_init
-	isub temp,null
-	branch p_mouse_le_lpm_mult_reinit,positive
-	fetch 1,mem_le_new_connslavelatency
-	store 1,mem_lpm_mult
-	branch p_mouse_le_conn_param_lpm_enable
-
-p_le_prepare_tx:
-	fetch 1,mem_le_arq
-	bbit1 wak,p_le_prepare_tx_wak
-	call power_ctrl_pac_succ_incrs	
-	fetch 1,mem_empty_count
-	nbranch p_le_send_empyt,blank
-	fetch 1,mem_le_state 
-	bbit0 lestate_encryption,p_le_tx_4
-	fetch 1,mem_le_rxbuf+1  
-	branch p_le_tx_4,blank  
-	branch le_send_empty      // send empty data when got non empty packet
-p_le_send_empyt:
-	fetch 1,mem_empty_count
-	increase -1,pdata
-	store 1,mem_empty_count
-	branch le_send_empty
-p_le_tx_4:	
-	fetch 1,mem_le_pairing_state
-	bne FLAG_LE_PAIRING_AFTER_AUTH,p_in_le_tx_4
-	jam 3,mem_empty_count
-p_in_le_tx_4:
-	call le_fifo_check_nearly_full
-	call p_mouse_data_pull,blank
-	branch le_prepare_tx+4
-
-p_le_prepare_tx_wak:
-	call p_le_check_tx_retransmit_setmd
-	branch p_le_power_ctrl_pac_succ_decrs
-
-p_le_check_tx_retransmit_setmd:
-	fetch 1,mem_le_connect_status_flag
-	and pdata,0x03,pdata
-	rtnne 0x03
-	fetch 1,mem_mouse_data_queue_num
-	rtn blank
-	fetch 1,mem_le_txlen
-	rtn blank
-	fetch 1,mem_le_txheader
-	set1 md,pdata
-	store 1,mem_le_txheader
-	call le_set_md
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	setarg MISC_LE_RETRANSMIT_MD
-	store 2,mem_debuglog_dataval
-	call debuglog_push	
-endif
-endif
-	rtn
-
-	
-	
-p_le_power_ctrl_pac_succ_decrs:
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	setarg MISC_LE_RETRANSMIT
-	store 2,mem_debuglog_dataval
-	call debuglog_push	
-endif
-endif
-	branch power_ctrl_pac_succ_decrs
-
-p_mouse_le_reconn_write_enable_timer_reinit:
-	fetch 1,mem_mouse_le_reconnect_flag
-	rtn blank
-	fetch 1,mem_le_connect_status_flag
-	and pdata,0x03,pdata
-	rtneq 0x03
-	jam 10,mem_le_start_encrypt_timer
-	rtn
-
-p_le_parse_l2cap:
-	ifetch 2,contr
-	beq LE_L2CAP_CID_ATT,p_le_parse_att
-	beq LE_L2CAP_CID_SMP,p_le_parse_smp
-	branch le_parse_l2cap+11
-p_le_parse_att:
-	call store_contr
-	call p_mouse_le_reconn_write_enable_timer_reinit
-	call get_contr
-	ifetch 3,contr
-	store 3,mem_le_att_opcode
-	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,p_le_parse_att_read_by_group_type_request
-	rshift8 pdata,temp
-	sub temp,0x24,null
-	branch le_parse_att+2,positive
-	arg mem_mouse_le_uuid_sup,temp
-	storet 2,mem_ui_le_uuid_table
-	call le_parse_att+2
-	setarg 0x8e7a
-	store 2,mem_ui_le_uuid_table
-	rtn
-
-p_le_parse_att_read_by_group_type_request:
-	call le_parse_att_read_by_group_type_request
-	call le_fifo_get_last_tx_ptr
-	increase 7,contr
-	ifetch 1,contr
-	rtnne ATTOP_READ_BY_GROUP_TYPE_RESPONSE
-	increase 5,contr
-	ifetch 2,contr
-	arg UUID_SERVICE_HIDS,temp
-	isub temp,null
-	nrtn zero
-	increase -4,contr
-	setarg 0x2b
-	istore 2,contr
-	rtn
-
-p_le_parse_smp:
-	ifetch 1,contr
-	beq SMP_PAIRING_FAILED,p_le_parse_smp_pairing_failed
-	branch le_parse_smp+1
-p_le_parse_smp_pairing_failed:
-	call le_parse_smp_pairing_failed
-	fetch 1,mem_le_state	//disable update conn param
-	set0 lestate_update_param,pdata
-	store 1,mem_le_state
-	branch le_parse_terminate_ind
-
-p_le_adv_not_match:
-	fetch 1,mem_le_ch_mapped
-	bne 39,le_adv_loop
-	call p_le_adv_random_delay
-	arg le_adv_interval_timer,queue
-	fetch 2,mem_le_adv_interval
-	branch timer_init
-p_le_adv_random_delay:
-	random pdata
-	arg 0x1ff,temp
-	iand temp,pdata
-	add pdata,250,pdata
-	branch delay
-
-p_le_lpm_setmult:
-	disable wake
-	branch p_le_lpm_set_mult_attempt,attempt
-	nbranch le_lpm_lost,match
-p_le_lpm_set_mult_attempt:
-	call lpm_match
-	fetch 2,mem_rx_window_sniff
-	store 2,mem_le_receive_window
-	fetch 1,mem_le_connect_status_flag
-	compare 3,pdata,3
-	nbranch lpm_mult_short,true
-	branch le_lpm_set_mult_attempt+3
-
-p_le_mouse_bb_event_connect_complete:
-	fetch 1,mem_mouse_le_reconnect_flag
-	nrtn blank
-	fetch 1,mem_le_att_handle
-	sub pdata,26,pdata
-	nrtn zero
-	branch mouse_le_write_enable
-endif
-
 p_le_enable:
 p_g24_enable:
 	jam 0x36,rf_adc_goff        /*For BLE, tune AGC_gain_offset, Max added*/
@@ -2065,306 +1243,11 @@
 	hstoret 1,core_gpio_oe3
 	rtn
 
-
-
-ifdef CLASSIC_BT
-p_page_wait_fhs_reply_ok:
- 	fetch 1, mem_page_rcv_fhs
-	increase 1,pdata
-	store 1, mem_page_rcv_fhs
-	call prepare_newconn
-p_master_newconn_loop:
- 	set1 mark_first_packet,mark
-	call master_newconn_once
-	branch p_newconn_poll_responded,sync
-	set0 mark_first_packet,mark
-	call new_conn_timeout
-	nbranch p_master_newconn_loop,blank
-	branch page_restart	
-
-p_newconn_poll_responded:
-	set0 mark_first_packet,mark
-	branch newconn_poll_responded
-
-p_process_dmh:
-	bmark1 mark_first_packet,end_of_packet			
-	branch process_dmh+1
-
-p_prepare_tx:
-	fetch 1,mem_state
-	isolate1 state_inconn,pdata
-	call p_bt_power_ctrl,true
-	branch prepare_tx+1
-p_bt_power_ctrl:
-	fetch 1,mem_arq
-	isolate1 wack,pdata
-	call power_ctrl_pac_succ_decrs,true
-	ncall power_ctrl_pac_succ_incrs,true
-	branch power_ctrl_start
-
-p_slave_conn_recv_packet:
-	call slave_receive_master_slot
-	nbranch shutdown_radio,sync
-	call save_rssi
-	call p_rssi_signal
-	branch slave_conn_recv_packet+4
-
-p_lpm_dispatch:
-	rtnmark1 mark_24g
-	call lpo_calibration
-	fetch 3,mem_clks_per_lpo
-	rtn blank
-	fetch 1,mem_lpm_mode
-	rtn blank
-	fetch 1,mem_ssp_enable
-	branch p_lpm_dispatch_next,blank
-	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
-	rtn blank
-p_lpm_dispatch_next:
-	fetch 1,mem_le_sc_calc
-	nrtn blank
-	call lpm_check_wake_lock
-	nrtn blank
-	fetch 1,mem_context
-	compare 3,pdata,0x7							//sco won't sleep 
-	nbranch lpm_dispatch_unconn,true
-	fetch 2,mem_context + coffset_tsniff	//role switch 
-	arg 0xffff,temp
-	isub temp,null
-	rtn zero
-	branch lpm_dispatch_next+9
-
-p_app_bt_start_reconnect:
-	branch app_bt_start_reconnect+3
-
-p_mouse_bb_disconnected:
-	jam 0,mem_mouse_enter_sniff_count
-	jam 0x0e,mem_sniff_param_interval	//115Hz
-	call mouse_bb_discon_clear_stack
-	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
-	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
-	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
-	bbit1 APP_DISC_AFTER_PAIRING,p_mouse_event_light_state_pairing
-	bbit1 APP_DISC_AFTER_RECONN,p_mouse_event_light_state_hibernate
-	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
-	branch mouse_start_discovery
-	
-p_mouse_event_light_state_pairing:
-	bbit1 APP_DISC_AFTER_HANDSHAKE,p_mouse_event_light_state_hibernate
-	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
-	branch mouse_start_discovery
-p_mouse_event_light_state_hibernate:
-	fetch 2,mem_ui_state_map
-	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
-	call app_disconn_reason_clear
-//	call p_mouse_check_key_gpio
-//	beq MOUSE_LMR_BUTTON,p_mouse_null_enter_hibernate_enable
-	branch app_bb_hibernate
-
-p_hid_rx_process:
-	fetch 2,mem_l2cap_payload_ptr
-	copy pdata,contr
-	ifetch 1,contr
-	store 1,mem_l2cap_rcv
-	and pdata,0x0f,temp
-	rshift4 pdata,pdata //hidtype
-	beq hid_type_set_protocol,p_hid_rx_set_protocol
-	branch hid_rx_process+6
-p_hid_rx_set_protocol:
-	call hid_rx_process_handshake
-	jam 0,mem_mouse_bt_boot_mode
-	fetch 1,mem_l2cap_rcv
-	isolate1 0,pdata
-	rtn true
-	jam 1,mem_mouse_bt_boot_mode	//boot mode
-	rtn
-
-p_parse_lmp_accepted:
-	fetch 1,mem_rxbuf+1
-	store 1,mem_lmi_accepted_opcode
-	beq LMP_SWITCH_REQ,p_parse_lmp_accepted_switch
-	branch parse_lmp_accepted+3
-p_parse_lmp_accepted_switch:
-	call parse_lmp_accepted_switch
-p_parse_send_lmp_accepted_switch:
-	jam 1,mem_bt_rcvd_switch_req_accept
-	rtn
-
-
-p_send_lmp:
-	disable user
-	call lmo_fifo_process
-
-ifdef DEBUGLOG
-ifdef DEBUGLOG_SEND_LMP
-	setarg DEBUGLOG_DTYPE_SEND_LMP
-	store 2,mem_debuglog_datatype
-//	fetch 1,mem_lmi_opcode
-//	store 1,mem_debuglog_dataval+1
-//	fetch 1,mem_lmp_to_send
-//	store 1,mem_debuglog_dataval
-	fetch 1,mem_lmp_to_send
-	store 2,mem_debuglog_dataval
-	ncall debuglog_push,blank
-endif
-endif
-	
-	fetch 1,mem_lmp_to_send
-	rtn blank
-	bbit1 7,p_send_lmp_escape
-	beq LMP_ACCEPTED,p_send_lmp_accepted
-	beq LMP_SETUP_COMPLETE,p_send_lmp_setup_complete
-	branch send_lmp0
-p_send_lmp_escape:
-	beq LMP_EXT_FEATURES_RES,p_send_lmpext_features_res
-	beq LMP_EXT_FEATURES_REQ,p_send_lmpext_features_req	
-	branch send_lmp_escape
-p_send_lmpext_features_res:
-	call p_check_ssp_enable
-	fetch 1,mem_lmp_to_send
-	branch send_lmpext_features_res
-p_send_lmpext_features_req:
-	call p_check_ssp_enable
-	fetch 1,mem_lmp_to_send
-	branch send_lmpext_features_req
-p_check_ssp_enable:
-	fetch 1,mem_ssp_enable 
-	branch ssp_disable,blank
-	branch ssp_enable
-
-p_send_lmp_setup_complete:
-	fetch 1,mem_device_option
-	sub pdata,dvc_op_module,null
-	call send_lmp_setup_complete_by_module,zero
-	fetch 1,mem_state
-	set1 state_conn_comp,pdata
-	store 1,mem_state
-//	copy clkn_bt,pdata
-//	store 4,mem_aurand_send_delay_time
-	branch send_lmp_setup_complete+8
-
-
-p_send_lmp_accepted:
-	force 2,pdata
-	call msg_send_lmp
-	fetch 1,mem_lmi_opcode
-	istore 1,contw
-	store 1,mem_lmi_opcode_temp
-	call send_lmp_follow
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_lmi_opcode_temp
-	store 1,mem_debuglog_dataval
-	call debuglog_push	
-endif
-endif
-	fetch 1,mem_lmi_opcode_temp
-	branch send_lmp_accepted+7
-ifdef DEBUGLOG
-p_parse_lmp_opcode:
-ifdef DEBUGLOG
-ifdef DEBUGLOG_PARSE_LMP
-	setarg DEBUGLOG_DTYPE_PARSE_LMP
-	store 2,mem_debuglog_datatype
-//	fetch 1,mem_rxbuf+1
-//	store 1,mem_debuglog_dataval+1 
-//	fetch 1,mem_lmi_opcode2
-//	store 1,mem_debuglog_dataval
-	fetch 1,mem_lmi_opcode2
-	store 2,mem_debuglog_dataval
-	call debuglog_push 
-endif
-endif
-	branch parse_lmp+21
-
-p_process_conn_sm:
-	//nrtn master
-	call lmo_fifo_check
-	nrtn blank
-p_process_conn_sm_continue:
-	fetch 1,mem_conn_sm
-	rtn blank
-ifdef DEBUGLOG
-ifdef DEBUGLOG_CONN_SM
-	call pdata_push
-	setarg DEBUGLOG_DTYPE_CONN_SM
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_conn_sm
-	store 2,mem_debuglog_dataval
-	call pdata_pull
-	call debuglog_push	
-endif
-endif
-	beq CONN_SM_SEND_CONN_REQ, p_host_create_conn_send_conn_req
-	branch process_conn_sm_continue+2
-
-p_host_create_conn_send_conn_req:
-	jam 20,mem_mouse_send_switch_req_timer
-	branch host_create_conn_send_conn_req
-
-	
-
-p_process_upper_sm_reconn:
-	fetch 1,mem_upper_sm_reconn
-	rtn blank
-ifdef DEBUGLOG
-ifdef DEBUGLOG_UPPER_SM
-	call pdata_push
-	setarg DEBUGLOG_DTYPE_UPPER_SM
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_upper_sm_reconn
-	store 2,mem_debuglog_dataval
-	call pdata_pull
-	call debuglog_push	
-endif
-endif
-	branch process_upper_sm_reconn+3
-
-endif	
-
-endif
-	
-ifdef DEBUGLOG
-p_ui_ipc_send_event:
-ifdef DEBUGLOG
-ifdef DEBUGLOG_EVENT
-	call pdata_push
-	setarg DEBUGLOG_DTYPE_EVENT
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_fifo_temp
-	store 2,mem_debuglog_dataval
-	call pdata_pull
-	call debuglog_push	
-endif
-endif
-	branch ui_ipc_send_event+1
-
-p_ui_ipc_send_cmd:
-ifdef DEBUGLOG
-ifdef DEBUGLOG_CMD
-	call pdata_push
-	setarg DEBUGLOG_DTYPE_CMD
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_fifo_temp
-	store 2,mem_debuglog_dataval
-	call pdata_pull
-	call debuglog_push
-endif
-endif
-	branch ui_ipc_send_cmd+1
-endif
-	
-p_g24_set_device_addr:
-	call adc_init_data
-//	fetch 4,mem_0_5_adc_io_data	//adc data from otp
-//	store 4,mem_24g_device_addr	
-//	nrtn blank
-	fetch 4,mem_lap
-	store 4,mem_24g_device_addr
-	rtn
-
+//p_g24_set_device_addr:
+//	call adc_init_data
+//	fetch 4,mem_lap
+//	store 4,mem_24g_device_addr
+//	rtn
 
 p_g24_transmit_rf_sta_init:
 	jam 1,mem_24g_rf_last_sta
@@ -2382,13 +1265,30 @@
 	//update txpayload
 	store 1,mem_24g_txpayload
 	rtn
+
+p_g24_hop_enable_packet:
+	fetch 1,mem_24g_data_type
+	rtnbit0 bit_hop
 p_g24_hop_ch_disable:
 	fetch 1,mem_24g_data_type
 	set0 bit_hop,pdata
 	store 1,mem_24g_data_type
 	store 1,mem_24g_txpayload
 	call power_ctrl_pac_succ_decrs
-	branch p_g24_ch
+p_g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	fetch 1,mem_24g_addr	
+	and_into 0x03,pdata
+	mul32 pdata,4,rega			//24addr low bit0 bit1 ,00-map1,01-map2,10-map3,11-map4
+	setarg mem_24g_ch_map1
+	iadd rega,pdata
+	iadd temp,contr
+	ifetch 1,contr
+	store 1,mem_24g_ch
+	increase 1,temp
+	and_into 3,temp //map size =4
+	storet 1,mem_24g_current_ch_number
+	rtn
 	
 p_g24_transmit_hop_pac_fail:
 	call power_ctrl_pac_succ_decrs
@@ -2535,8 +1435,8 @@
 	rtn
 
 p_mouse_data_xy_release:
-	fetch 1,mem_config_function_enable
-	rtnbit1 ENABLE_SENSOR_MOTION_PIN
+//	fetch 1,mem_config_function_enable
+//	rtnbit1 ENABLE_SENSOR_MOTION_PIN
 	fetch 1,mem_mouse_long_mult_flag
 	rtnne 1
 	setarg 0
@@ -2554,10 +1454,11 @@
 //	rtneq no_ack_24g
 	nbranch p_g24_retransmit,sync
 	nbranch p_g24_retransmit,user3
-//	call p_g24_search_dongle_success
 	call p_g24_txbuf_clear
 	call p_g24_ackpayload_parse
-	call power_ctrl_pac_succ_incrs
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	increase 1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
 p_g24_transmit_next_packet:
 	fetch 1,mem_24g_pid
 	increase 1,pdata
@@ -2568,10 +1469,8 @@
 	call p_g24_transmit_succ_rf_config
 p_g24_transmit_abandon:
 	setarg 0
-	store 2,mem_24g_txfail_cnt
-	store 1,mem_24g_get_ack_fail
+	store 4,mem_24g_ensure
 	store 1,mem_24g_hop_pac_retry
-	jam ENSURE_OFF_24G,mem_24g_ensure
 	rtn
 
 p_g24_txbuf_clear:
@@ -2579,15 +1478,6 @@
 	arg mem_24g_txbuf,contw
 	branch memset0
 
-p_g24_hop_enable_packet:
-	fetch 1,mem_24g_data_type
-	bbit1 bit_hop,p_g24_hop_ch_disable
-	rtn
-
-p_g24_paring_mode_start:
-	call power_ctrl_pac_succ_cnt_init
-	branch p_g24_paring_mode
-
 p_g24_transmit_receive_ack:
 	disable user3
 	call p_g24_transmit
@@ -2612,18 +1502,13 @@
 //	branch p_g24_transmit_next_packet
 
 p_g24_retransmit:
-	fetch 1,mem_24g_abort_pac
-	nrtn blank
-	
 	fetch 2,mem_24g_txfail_cnt
 	increase 1,pdata
 	store 2,mem_24g_txfail_cnt	
 	fetch 1,mem_24g_txfail_cnt+1
-	bbit1 4,p_g24_stop_g24_mode
-
+	bbit1 4,g24_stop_24g_mode
 	fetch 1,mem_24g_pairing_sm
 	bne STATE_24G_PAIRING_SUCCESS,p_g24_tx_paring_retry
-
 	call p_g24_tx_hop_ch_process
 	branch p_g24_transmit_loop
 	
@@ -2633,9 +1518,7 @@
 p_g24_tx_attempt_fail:
 	setarg 0
 	store 2,mem_24g_txfail_cnt
-p_g24_stop_g24_mode:
-	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
-	branch ui_ipc_send_event
+	branch g24_stop_24g_mode
 
 p_g24_tx_fast_hop:
 	call power_ctrl_txpower_incrs
@@ -2667,11 +1550,11 @@
 	jam 1,mem_power_ctrl_level
 	jam 0,mem_power_ctrl_pac_succ_cnt
 	rtn
-power_ctrl_pac_succ_incrs:
-	fetch 1,mem_power_ctrl_pac_succ_cnt
-	increase 1,pdata
-	store 1,mem_power_ctrl_pac_succ_cnt
-	rtn
+//power_ctrl_pac_succ_incrs:
+//	fetch 1,mem_power_ctrl_pac_succ_cnt
+//	increase 1,pdata
+//	store 1,mem_power_ctrl_pac_succ_cnt
+//	rtn
 power_ctrl_pac_succ_decrs:
 	fetch 1,mem_power_ctrl_pac_succ_cnt
 	sub pdata,2,null
@@ -2686,15 +1569,13 @@
 	rtn
 
 power_ctrl_start:
-	fetch 2,mem_ui_state_map
-	rtnbit1 UI_STATE_BLE_ADV
+//	fetch 2,mem_ui_state_map
+//	rtnbit1 UI_STATE_BLE_ADV
 //	rtnbit1 UI_STATE_BT_RECONNECT
 //	rtnbit1 UI_STATE_BT_DISCOVERY
-
 	arg mem_rssi_signal_buf,rega
 	call p_rssi_average
 	storet 1,mem_rssi_avg_received
-
 ifdef DEBUGLOG
 ifdef DEBUGLOG_MISC
 	setarg DEBUGLOG_DTYPE_MISC
@@ -2712,7 +1593,6 @@
 power_ctrl_start_next:	
 	isub temp,null
 	nbranch power_ctrl_txpower_incrs_force,positive
-
 	fetch 1,mem_power_ctrl_pac_succ_cnt
 	sub pdata,2,null
 	nbranch power_ctrl_txpower_decrs_check,positive
@@ -2799,9 +1679,26 @@
 	jam 0,mem_24g_pid
 	jam G24_PAIR_CH,mem_24g_ch
 	fetch 4,mem_24g_paring_addr
-	branch p_g24_update_addr_and_synccrc8
-
-p_g24_pairing_sm:
+p_g24_update_addr_and_synccrc8:	
+	store 4,mem_24g_addr
+//output: 1BYTE crc8
+p_g24_syncword_crc8:
+	arg 0,rega
+	arg 4,loopcnt
+	arg mem_24g_addr,contr
+p_g24_syncword_crc8_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop p_g24_syncword_crc8_loop
+	copy rega,pdata
+	store 2,mem_24g_syncword
+	fetch 1,mem_24g_syncword
+	fetcht 1,mem_24g_syncword+1
+	iadd temp,pdata
+	store 1,mem_24g_syncword_crc8
+	rtn
+
+p_g24_pairing_sm:
 	fetch 1,mem_24g_ensure
 	beq ENSURE_ON_24G,enable_user
 	fetch 1,mem_24g_pairing_sm
@@ -2835,6 +1732,8 @@
 	call p_g24_txdata_enable_tx
 	branch enable_user
 
+p_g24_paring_mode_start:
+	call power_ctrl_pac_succ_cnt_init
 p_g24_paring_mode:
 	fetch 1,mem_24g_pairing_sm
 	rtneq STATE_24G_PAIRING_SUCCESS
@@ -2843,7 +1742,6 @@
 	beq STATE_24G_PAIRING_3_WAITING_ACK,p_g24_pairing_sm_3_waiting_ack
 	rtn
 
-
 p_g24_pairing_sm_1_waiting_ack:
 	jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
 	branch p_g24_transmit_abandon
@@ -2879,21 +1777,6 @@
 	call p_g24_put_data_in_buff
 	branch p_g24_transmit_prep
 	
-p_g24_attemp_txdata_retry:
-	branch p_g24_ch
-//	branch p_g24_short_sleep
-
-p_g24_auto_pair_start:
-	set1 mark_24g,mark
-	fetch 1,mem_g24_conn_sm
-	set1 STATE_24G_PAIR,pdata
-	store 1,mem_g24_conn_sm
-p_g24_auto_pair_timeout_init:
-	setarg G24_DISCONN_NODATA_TIMER
-	store 2,mem_g24_stop_g24_mode_timeout
-	jam 0,mem_g24_stop_g24_mode
-	rtn
-
 p_g24_auto_pair_timeout_clear:
 	setarg 0
 	store 2,mem_g24_stop_g24_mode_timeout
@@ -2901,19 +1784,14 @@
 	rtn
 
 p_g24_pair_txdata_retry:
-	branch p_g24_pair_txdata_switch
-//	branch p_g24_short_sleep
-
 p_g24_pair_txdata_switch:
 	fetch 1,mem_24g_auto_paring_switch
 	increase 1,pdata
 	and_into 3,pdata
 	store 1,mem_24g_auto_paring_switch
-	beq 0,p_g24_auto_pair_device_attemp
-	beq 1,p_g24_auto_pair_pair_attemp
-	beq 2,p_g24_auto_pair_all_powerful_attemp
-	beq 3,p_g24_auto_pair_pair_attemp
-	rtn
+	beq 0,p_g24_auto_pair_first_attemp
+	beq 2,p_g24_auto_pair_all_powerful
+	branch p_g24_pair_init
 	
 p_g24_auto_pair_first_attemp:
 	call p_mouse_tx_power_init
@@ -2938,15 +1816,7 @@
 	call p_g24_ch_syncword_crc8_init
 	storet 1,mem_24g_powerful_current_ch_num
 	rtn
-p_g24_auto_pair_device_attemp:
-	branch p_g24_auto_pair_first_attemp
 
-p_g24_auto_pair_pair_attemp:
-	branch p_g24_pair_init
-
-p_g24_auto_pair_all_powerful_attemp:
-	branch p_g24_auto_pair_all_powerful
-	
 p_g24_check_51cmd_stop_24g:
 	set0 mark_24g,mark
 	jam STATE_24G_STOP,mem_g24_conn_sm
@@ -3000,62 +1870,42 @@
 	nop 10 /* wait tx lo buffer to turn ON*/
 	jam 0x7d, rfen_mdm
 	fetch 1,mem_tx_power
-	beq TX_POWER_0DB,p_set_tx_power_0db
-	beq TX_POWER_3DB,p_set_tx_power_3db
 	beq TX_POWER_5DB,p_set_tx_power_5db
-//	beq TX_POWER_f3DB,p_set_tx_power_f3db
 	beq TX_POWER_f5DB,p_set_tx_power_f5db
 	beq TX_POWER_PAIR,p_set_tx_power_pair
-	branch p_set_tx_power_0db
-
 p_set_tx_power_0db:
 	call p_rx_low_sens
-	jam 0xba,0x894b
+//	jam 0xba,0x894b
 	jam 0xd0,0x8955
 	jam 0xe0,0x8956
-	jam 0x88,0x8957
+//	jam 0x88,0x8957
 	jam 0x6c,0x8958
-	jam 0x10,0x8959
+//	jam 0x10,0x8959
 	branch set_tx_power_0db	
 
-p_set_tx_power_3db:
-	call p_rx_high_sens
-	jam 0xba,0x894b
-	jam 0xd0,0x8955
-	jam 0xe0,0x8956
-	jam 0x88,0x8957
-	jam 0x3c,0x8958
-	jam 0x10,0x8959
-	branch set_tx_power_3db
-	
 p_set_tx_power_5db:
-	call p_rx_high_sens
-	jam 0xba,0x894b
+//	call p_rx_high_sens
+	jam 0xfb,0x894c 
+	jam 0xef,0x894d
+	jam 0xec,0x894e 
+	jam 0x5e,0x894f
+	
+//	jam 0xba,0x894b
 	jam 0xd0,0x8955
 	jam 0xe0,0x8956
-	jam 0x88,0x8957
-	jam 0x3c,0x8958
-	jam 0x10,0x8959
-	branch set_tx_power_5db
-
-//p_set_tx_power_f3db:
-//	call p_rx_low_sens
-//	jam 0xba,0x894b
-//	jam 0xd0,0x8955
-//	jam 0xc0,0x8956
 //	jam 0x88,0x8957
-//	jam 0x6c,0x8958
+	jam 0x3c,0x8958
 //	jam 0x10,0x8959
-//	branch set_tx_power_f3db
+	branch set_tx_power_5db
 	
 p_set_tx_power_f5db:
 	call p_rx_low_sens
-	jam 0xba,0x894b
+//	jam 0xba,0x894b
 	jam 0xd0,0x8955
 	jam 0xc0,0x8956
-	jam 0x88,0x8957
+//	jam 0x88,0x8957
 	jam 0x6c,0x8958
-	jam 0x10,0x8959
+//	jam 0x10,0x8959
 	branch set_tx_power_f5db
 
 p_rx_low_sens:
@@ -3065,12 +1915,12 @@
 	jam 0x46,0x894f
 	rtn
 
-p_rx_high_sens:
-	jam 0xfb,0x894c 
-	jam 0xef,0x894d
-	jam 0xec,0x894e 
-	jam 0x5e,0x894f
-	rtn
+//p_rx_high_sens:
+//	jam 0xfb,0x894c 
+//	jam 0xef,0x894d
+//	jam 0xec,0x894e 
+//	jam 0x5e,0x894f
+//	rtn
 		
 p_set_tx_power_pair:	//50-100cm distance
  	jam 0xc2,0x8956
@@ -3085,6 +1935,10 @@
 	call initialize_radio_cont+1
 	jam clksel_dpll,core_clksel
 	rtn
+
+p_lpm_dispatch:
+	rtnmark1 mark_24g
+	branch lpm_dispatch+1
 	
 /* ================================== 24g common functions ============================= */
 p_g24_timer_check:
@@ -3104,28 +1958,6 @@
 	store 4,mem_24g_tx_btclk
 	branch enable_user
 
-p_rssi_noise:
-	call save_rssi
-	rtn blank
-	fetcht 1,mem_rssi_noise_index
-	arg mem_rssi_noise_buffer,rega
-	call p_rssi_store
-	storet 1,mem_rssi_noise_index
-	rtn
-	
-p_rssi_store:
-	copy rega,pdata
-	iadd temp,contw
-	fetch 1,mem_rssi
-	istore 1,contw
-	increase 1,temp
-ifdef DONGLE
-	and_into RSSI_BUF_LEN_NOISE,temp
-endif
-ifdef MOUSE
-	and_into RSSI_BUF_LEN_SIGNAL,temp
-endif
-	rtn
 p_rssi_average:
 	arg 0,temp
 ifdef DONGLE
@@ -3138,7 +1970,7 @@
 ifdef DONGLE
 	branch rssi_average_loop
 endif
-ifdef MOUSE
+//ifdef MOUSE
 p_rssi_average_loop:
 	ifetch 1,contr
 	iadd temp,temp
@@ -3154,29 +1986,8 @@
 	remainder temp
 	ior temp,temp
 	rtn
-endif
-	rtn
-
-p_g24_update_addr_and_synccrc8:	
-	store 4,mem_24g_addr
-
-//output: 1BYTE crc8
-p_g24_syncword_crc8:
-	arg 0,rega
-	arg 4,loopcnt
-	arg mem_24g_addr,contr
-p_g24_syncword_crc8_loop:
-	ifetch 1,contr
-	iadd rega,rega
-	loop p_g24_syncword_crc8_loop
-	copy rega,pdata
-	store 2,mem_24g_syncword
-	fetch 1,mem_24g_syncword
-	fetcht 1,mem_24g_syncword+1
-	iadd temp,pdata
-	store 1,mem_24g_syncword_crc8
-	rtn
-
+//endif
+//	rtn
 
 p_g24_transmit_prep:
 ifdef P24G_LOG
@@ -3208,28 +2019,22 @@
 	arg mem_24g_txbuf,contr
 	branch memcpy
 
-p_g24_ch:
-	fetcht 1,mem_24g_current_ch_number
-	call p_g24_ch_map_size
-	storet 1,mem_24g_current_ch_number
-	rtn
-
-p_g24_ch_map_size:
-	call p_g24_ch_calc
-	increase 1,temp
-	and_into 3,temp //map size =4
-	rtn
+//p_g24_ch_map_size:
+//	call p_g24_ch_calc
+//	increase 1,temp
+//	and_into 3,temp //map size =4
+//	rtn
 	
-p_g24_ch_calc:
-	fetch 1,mem_24g_addr	
-	and_into 0x03,pdata
-	mul32 pdata,4,rega			//24addr low bit0 bit1 ,00-map1,01-map2,10-map3,11-map4
-	setarg mem_24g_ch_map1
-	iadd rega,pdata
-	iadd temp,contr
-	ifetch 1,contr
-	store 1,mem_24g_ch
-	rtn
+//p_g24_ch_calc:
+//	fetch 1,mem_24g_addr	
+//	and_into 0x03,pdata
+//	mul32 pdata,4,rega			//24addr low bit0 bit1 ,00-map1,01-map2,10-map3,11-map4
+//	setarg mem_24g_ch_map1
+//	iadd rega,pdata
+//	iadd temp,contr
+//	ifetch 1,contr
+//	store 1,mem_24g_ch
+//	rtn
 
 p_g24_prep:
 	disable enable_crc
@@ -3285,9 +2090,9 @@
 	nbranch p_g24_end_of_packet,zero
 	call p_g24_receive_byte
 	store 1,mem_24g_rxbuf	//device id
-	fetch 1,mem_24g_mode
-	sub pdata,rx_24g,null
-	branch p_g24_receive_skip,zero
+//	fetch 1,mem_24g_mode
+//	sub pdata,rx_24g,null
+//	branch p_g24_receive_skip,zero
 	fetch 1,mem_24g_rxbuf
 	fetcht 1,mem_24g_data_type
 	icompare bits_data,temp
@@ -3336,10 +2141,17 @@
 ifdef DONGLE
 	rtn
 endif
-ifdef MOUSE
 	fetch 1,mem_rssi_hex_received
-	call p_rssi_signal
-endif
+p_rssi_signal:
+	copy pdata,rega
+	fetcht 1,mem_rssi_signal_index
+	setarg mem_rssi_signal_buf
+	iadd temp,contw
+	copy rega,pdata
+	istore 1,contw
+	increase 1,temp
+	and_into RSSI_BUF_LEN_SIGNAL,temp
+	storet 1,mem_rssi_signal_index
 	rtn
 
 p_g24_receive_byte:
@@ -3354,23 +2166,25 @@
 p_g24_end_of_packet:
 	disable encode_fec1
 	disable decode_fec1
-	call end_of_packet
-ifdef RF_DEBUG
-	call test_gpio_low
-endif
-	rtn
+	branch end_of_packet
+//ifdef RF_DEBUG
+//	call test_gpio_low
+//endif
+//	rtn
 
-p_g24_set_freq_tx:
-	call set_sync_on
-	fetcht 1,mem_24g_ch
-	branch set_freq_tx
+//p_g24_set_freq_tx:
+//	call set_sync_on
+//	fetcht 1,mem_24g_ch
+//	branch set_freq_tx
 
 p_g24_transmit:
 	call le_enable
 	fetch 4,mem_24g_addr
 	iforce access
 	call p_g24_prep
-	call p_g24_set_freq_tx
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	call set_freq_tx
 	set1 TXGFSK,radio_ctrl
 	enable encode_fec0
 	enable is_tx
@@ -3466,47 +2280,33 @@
 	branch clear_mem
 
 p_drawing_optima_modify:
-	fetch 1,mem_mouse_x_pre
-	store 1,mem_data_value
-	fetch 1,mem_mouse_x_pre+1
-	call pre_xy_pdata_offset,blank
-	fetch 1,mem_mouse_x_pre+1
-	ncall pre_xy_ndata_offset,blank	
-	fetch 1,mem_data_value_temp
-	store 1,mem_mouse_x_pre
-
-	fetch 1,mem_mouse_x
-	store 1,mem_data_value
-	fetch 1,mem_mouse_x+1
-	call current_xy_pdata_offset,blank
-	fetch 1,mem_mouse_x+1
-	ncall current_xy_ndata_offset,blank
-	fetch 1,mem_data_value_temp	
-	store 1,mem_mouse_x
+ifdef XY_OFFSET
+	fetch 2,mem_mouse_x_pre
+	store 2,mem_data_value
+	call pre_xy_data_judge
+	store 2,mem_mouse_x_pre
 
-	fetch 1,mem_mouse_y_pre
-	store 1,mem_data_value
-	fetch 1,mem_mouse_y_pre+1
-	call pre_xy_pdata_offset,blank
-	fetch 1,mem_mouse_y_pre+1
-	ncall pre_xy_ndata_offset,blank
-	fetch 1,mem_data_value_temp
-	store 1,mem_mouse_y_pre
+	fetch 2,mem_mouse_x
+	store 2,mem_data_value
+	call current_xy_data_judge
+	store 2,mem_mouse_x
 
-	fetch 1,mem_mouse_y
-	store 1,mem_data_value
-	fetch 1,mem_mouse_y+1
-	call current_xy_pdata_offset,blank
-	fetch 1,mem_mouse_y+1
-	ncall current_xy_ndata_offset,blank
-	fetch 1,mem_data_value_temp
-	store 1,mem_mouse_y
+	fetch 2,mem_mouse_y_pre
+	store 2,mem_data_value
+	call pre_xy_data_judge
+	store 2,mem_mouse_y_pre
+	
+	fetch 2,mem_mouse_y
+	store 2,mem_data_value
+	call current_xy_data_judge
+	store 2,mem_mouse_y
+endif
 
 	fetch 2,mem_mouse_x_pre
 	store 2,mem_data_pre
 	fetch 2,mem_mouse_x
 	store 2,mem_data_current
-	call p_drawing_optima_data
+	call p_drawing_optima_data_x
 	fetch 2,mem_data_pre
 	store 2,mem_mouse_x_pre
 	fetch 2,mem_data_current
@@ -3516,53 +2316,88 @@
 	store 2,mem_data_pre
 	fetch 2,mem_mouse_y
 	store 2,mem_data_current
-	call p_drawing_optima_data
+	call p_drawing_optima_data_y
 	fetch 2,mem_data_pre
 	store 2,mem_mouse_y_pre
 	fetch 2,mem_data_current
 	store 2,mem_mouse_y
 	rtn
 
+p_drawing_optima_data_x:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+
+	fetcht 1,mem_mouse_data_xtemp
+	iadd temp,pdata
+
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_xtemp
+	branch p_drawing_optima_data
+
+p_drawing_optima_data_y:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+
+	fetcht 1,mem_mouse_data_ytemp
+	iadd temp,pdata
+
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_ytemp
+	branch p_drawing_optima_data
+
 
 ifdef XY_OFFSET
-pre_xy_pdata_offset:	//0.4 times
+pre_xy_data_judge:	
+	fetch 1,mem_data_value+1
+	branch pre_xy_pdata_offset,blank
+	branch pre_xy_ndata_offset
+
+pre_xy_pdata_offset:
 	fetch 1,mem_data_value
 	call pre_xy_get_0_4_times
-	store 1,mem_data_value_temp	
-	rtn
-pre_xy_get_0_4_times:
-	mul32 pdata,3,pdata
-	div pdata,5
-	call wait_div_end
-	quotient pdata
+	store 1,mem_data_value
+xy_data_offset_new:
+	fetch 2,mem_data_value
 	rtn
-	
 pre_xy_ndata_offset:
 	fetch 1,mem_data_value
 	call p_pdata_invert
 	call pre_xy_get_0_4_times
 	call disable_blank,blank
-	branch p_pdata_get_new_value
-
-current_xy_pdata_offset:	 
+	call p_pdata_get_new_value
+	branch xy_data_offset_new
+	
+current_xy_data_judge:
+	fetch 1,mem_data_value+1
+	branch current_xy_pdata_offset,blank
+	branch current_xy_ndata_offset
+current_xy_pdata_offset:
 	fetch 1,mem_data_value
 	call current_xy_get_0_6_times
-	store 1,mem_data_value_temp
+	store 1,mem_data_value
+	branch xy_data_offset_new
+current_xy_ndata_offset:	
+	fetch 1,mem_data_value
+	call p_pdata_invert
+	call current_xy_get_0_6_times
+	call disable_blank,blank
+	call p_pdata_get_new_value
+	branch xy_data_offset_new
+
+pre_xy_get_0_4_times:
+	mul32 pdata,3,pdata
+	div pdata,5
+	call wait_div_end
+	quotient pdata
 	rtn
-	
 current_xy_get_0_6_times:	//0.6 times
 	mul32 pdata,12,pdata
 	div pdata,10
 	call wait_div_end
 	quotient pdata
-	rtn
-	
-current_xy_ndata_offset:
-	fetch 1,mem_data_value
-	call p_pdata_invert
-	call current_xy_get_0_6_times
-	call disable_blank,blank
-	branch p_pdata_get_new_value	
+	rtn	
 endif
 
 /**********
@@ -3570,9 +2405,6 @@
 output:data_pre,data_current after optima
 ***********/
 p_drawing_optima_data:
-	fetch 2,mem_data_pre
-	fetcht 2,mem_data_current
-	iadd temp,pdata
 	store 3,mem_data_sum
 	isolate1 16,pdata
 	branch p_data_sum_overflow,true
@@ -3615,7 +2447,7 @@
 p_pdata_get_new_value:	
 	call p_rega_in_out
 	sub pdata,0,pdata
-	store 1,mem_data_value_temp	
+	store 1,mem_data_value	
 	rtn
 
 p_pdata_invert:
@@ -3673,73 +2505,8 @@
 	sub pdata,0,pdata
 	branch p_data_abs_store
 endif
-	
-p_mouse_data_init:
-	jam 7,mem_mouse_data_queue	//data length
-	jam 4,mem_mouse_data_queue+1	//fifo depth
-	setarg mem_mouse_data_queue
-	store 2,mem_queue_ptr
-	branch queue_init
-
-p_mouse_data_push:
-	arg mem_mouse_key,rega
-	call queue_push
-	call p_mouse_queue_increase,user
-	
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	setarg MISC_LOST_MOUSEDATA
-	store 2,mem_debuglog_dataval
-	nbranch debuglog_push,user
 
-	setarg MISC_PUSH_MOUSEDATA
-	store 2,mem_debuglog_dataval
-	call debuglog_push
-endif
-endif
-	rtn
-p_mouse_queue_increase:
-	fetch 1,mem_mouse_data_queue_num
-	increase 1,pdata
-	store 1, mem_mouse_data_queue_num
-	rtn
 	
-p_mouse_data_pull:
-	arg mem_mouse_key,rega
-	call queue_pop
-	branch p_mouse_fill_data_le,user
-	rtn
-
-p_mouse_fill_data_le:
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	setarg MISC_PULL_MOUSEDATA
-	store 2,mem_debuglog_dataval
-	call debuglog_push
-
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_mouse_x
-	store 1,mem_debuglog_dataval
-	fetch 1,mem_mouse_y
-	store 1,mem_debuglog_dataval+1
-	call debuglog_push	
-endif
-endif
-	call le_clear_md
-	fetch 1,mem_mouse_data_queue_num
-	sub pdata,1,null
-	ncall le_set_md,positive
-	fetch 1,mem_mouse_data_queue_num
-	rtn blank
-	increase -1,pdata
-	store 1, mem_mouse_data_queue_num
-	branch mouse_fill_data_le
-
 ifdef DEBUGLOG 
 pdata_push:
 	store 8,mem_debuglog_pdata
@@ -3861,6 +2628,415 @@
 	rtn
 endif	
 
+ifdef TEST_MODE
+p_test_mode_start:
+	setarg mem_test_mode_end
+	arg mem_test_mode_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	call p_test_initialize_radio
+	call pp_pn9
+	jam TEST_MODE_CARRY,mem_test_mode_switch
+	jam 0x20,mem_fcc_data_new
+	jam 5,mem_fcc_ch_new
+	branch p_test_tx_new_param
+
+pp_pn9:
+	arg 0xff,loopcnt
+ 	arg mem_pn9,contw
+  	setarg 0x1ff
+	force 0,regb
+pp_pn9_loop:
+	rshift3 pdata,rega
+	rshift rega,rega
+	ixor rega,rega
+ 	isolate1 0,rega
+	setflag true,9,pdata
+	rshift temp,temp
+	isolate1 0,pdata
+	setflag true,7,temp
+	rshift pdata,pdata
+	increase 1,regb
+	compare 0,regb,0x7
+	nbranch pp_pn9_loop,true
+	istoret 1,contw
+	loop pp_pn9_loop
+	rtn
+
+p_test_initialize_radio:
+//	jam clksel_rc,core_clksel
+	//MAX TX IQ&DC for TX_0MIF, 2015_014_#12
+	jam 0x00,0x8907 //0M_IF
+	jam 0x00,0x8908
+	jam 0x00,0x8909
+	jam 0xff,0x890a
+	jam 0xff,0x890b	 //ff,Albert_AGC_disable
+
+	jam 0x2e,0x890f			/*For BR/EDR, tune AGC_gain_offset, Max added*/
+	jam 0x47,rf_agc_ctrl		/* invert demod, demod_clkoff , Max changed*/
+
+	jam 0xba,0x894b
+	jam 0xfb,0x894c			/* rx sensitivity, dac_reg2, Max changed */
+	jam 0xef,0x894d
+	jam 0xec,0x894e			/* push tia_bias for better sen, Max changed */
+	jam 0x5e,0x894f			/* tia_rc_en, Max changed */
+	
+	jam 0x88,0x896f
+	jam 0x00,0x8973			/* turn off charge pump */
+
+	jam 0x4a,0x895a
+	jam 0x80,0x895c
+
+	//AGC Table Setting Conservative, Based on 8PSK_sen, Max added for YC1021D
+	jam 0xa9,0x8930
+	jam 0xad,0x892f
+	jam 0xb1,0x892e
+	jam 0xb5,0x892d
+	jam 0xb9,0x892c
+	jam 0xbd,0x892b
+	jam 0xc2,0x892a
+	jam 0xc6,0x8929
+	jam 0xca,0x8928
+	jam 0xce,0x8927
+	jam 0xd2,0x8926
+	jam 0xd6,0x8925
+	jam 0xda,0x8924
+	jam 0xde,0x8923
+	jam 0xe2,0x8922
+	jam 0xe6,0x8921
+	jam 0xea,0x8920
+	jam 0xee,0x891f
+	jam 0xf2,0x891e
+	jam 0xf6,0x891d
+	jam 0xfb,0x891c
+	jam 0xfb,0x891b
+	jam 0xfb,0x891a
+
+	jam 0xf5,0x8947
+	jam 0xe6,0x8946
+	jam 0xD7,0x8945
+	jam 0xD6,0x8944
+	jam 0xC7,0x8943
+	jam 0xC6,0x8942
+	jam 0x87,0x8941
+	jam 0x86,0x8940
+	jam 0x85,0x893f
+	jam 0x46,0x893e
+	jam 0x07,0x893d
+	jam 0x06,0x893c
+	jam 0xC7,0x893b
+	jam 0xC6,0x893a
+	jam 0xC5,0x8939
+	jam 0xC4,0x8938
+	jam 0xC3,0x8937
+	jam 0xC2,0x8936
+	jam 0xC1,0x8935
+	jam 0xC0,0x8934
+	jam 0x80,0x8933
+	jam 0x80,0x8932
+	jam 0x80,0x8931
+
+	jam 0x7f,0x894a
+	jam 0xf8,0x8949
+	jam 0x00,0x8948
+
+	jam 0xd0, 0x8955  //jam 0xd8, 0x955 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	jam 0xe0, 0x8956   //jam 0xce, 0x956 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	jam 0x88, 0x8957
+	jam 0x6c, 0x8958
+	jam 0x10, 0x8959//0dbm
+	rtn
+
+p_test_set_sync_on:
+	//jam 0x38,rfen_rx // otherwise DAC has 1mA more current
+	jam 0x77,rfen_msc
+	jam 0x03,rfen_sn
+	nop 10
+	jam 0x83,rfen_sn
+	jam 0x7f,rfen_msc
+	jam 0xa7,rfen_sn
+	rtn
+
+p_test_shutdown_radio:
+	nop 100          /* flush out the last bit */  
+	jam 0xd8, 0x8955 
+	nop 40 
+	jam 0xd2, 0x8955  
+	nop 40  
+	jam 0xd1, 0x8955 
+	nop 40  
+	branch shutdown_radio_0db
+
+p_test_tx_new_param: 
+	call p_button_check
+	fetcht 1,mem_fcc_mod_new
+	and temp,0x0f,pdata
+	//storet 1,mem_fcc_mod_new  //check mod
+	//and temp,0x07,pdata
+	beq 1,p_test_txrx_param
+	beq 3,p_test_txrx_param
+	beq 7,p_test_txrx_param
+	jam 0x01,mem_fcc_mod_new
+p_test_txrx_param:
+	fetch 1,mem_fcc_txrx_new
+	and pdata,0x03,pdata
+	store 1,mem_fcc_txrx_new
+	beq 1,p_test_btble_param
+	beq 2,p_test_btble_param
+	beq 3,p_test_btble_param
+	jam 0x01,mem_fcc_txrx_new
+p_test_btble_param:
+	fetch 1,mem_fcc_btble_new
+	and pdata,0x0f,pdata
+	store 1,mem_fcc_btble_new
+	beq 1,p_test_isdate_param
+	beq 2,p_test_isdate_param
+	beq 4,p_test_isdate_param
+	jam 0x01,mem_fcc_btble_new
+p_test_isdate_param:
+	fetch 1,mem_fcc_data_new
+	and pdata,0x30,pdata
+	store 1,mem_fcc_data_new
+	beq 0,p_test_data_length_param
+	beq 0x20,p_test_data_length_param
+	jam 0,mem_fcc_data_new
+p_test_data_length_param:
+	fetch 1,mem_fcc_data_length_new
+	beq 0,p_data_length_equ0
+	branch p_test_bt_hop_stable_param
+p_data_length_equ0:
+	jam 0x19,mem_fcc_data_length_new
+p_test_bt_hop_stable_param:
+	fetch 1,mem_fcc_hop_new
+	and pdata,0x03,pdata
+	store 1,mem_fcc_hop_new
+	beq 1,p_test_tx_new_param_cont
+	beq 2,p_test_tx_new_param_cont
+	jam 0x02,mem_fcc_hop_new
+p_test_tx_new_param_cont:
+	fetch 1,mem_fcc_ch_new
+	beq 0,p_zero
+	arg 81,temp
+	isub temp,null
+	nbranch p_test_tx_new_param_copy,positive //check channel between  0-79
+p_zero:
+	jam 2,mem_fcc_ch_new
+p_test_tx_new_param_copy:
+	fetch 7,mem_fcc_param_new
+	store 7,mem_fcc_param
+p_test_tx_or_rx:
+	fetch 1,mem_fcc_txrx
+	beq 0x01,p_test_tx_start
+	beq 0x02,p_test_rx_start
+p_test_tx_start: 
+	fetcht 1,mem_fcc_ch
+	increase -1,temp
+//	fetch 1,mem_fcc_btble
+//	beq 0x01,p_test_bt_tx_on
+//	beq 0x02,p_test_ble_tx_on
+//	beq 0x04,p_test_24g_tx_on
+p_test_24g_tx_on:	
+	fetch 1,mem_fcc_data
+	beq 0,p_test_24g_tx_data
+	call p_test_set_sync_on
+	call p_test_set_freq_tx
+	disable enable_white
+	enable encode_fec0
+	enable is_tx
+	fetcht 1,mem_fcc_mod
+	copy temp,radio_ctrl
+	fetch 1,mem_fcc_data
+	hstore 1,0x8908
+p_test_tx_carrier_loop:
+	fetch 1,mem_fcc_data_length
+	copy pdata,loopcnt
+	arg mem_pn9,contr
+p_pnloop_carrier:
+	ifetch 1,contr
+	inject mod,8
+	loop p_pnloop_carrier
+	call hci_rx_packet
+	call p_button_check
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_test_tx_carrier_loop,zero
+	branch p_test_tx_new_param
+
+p_test_24g_tx_data:
+	call p_test_set_sync_on
+	call p_test_set_freq_tx
+	call p_le_enable
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	fetch 1,mem_fcc_data
+	hstore 1,0x8908
+	arg mem_24g_common_temp,contw
+	setarg 0xcccccc
+	store 3,mem_24g_common_temp
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	arg 24,loopcnt
+	arg mem_24g_common_temp,contr
+p_pnloop_stable:
+	ifetch 1,contr
+	inject mod,8
+	loop p_pnloop_stable
+	call p_test_ble_bt_tx_off
+	//able swfine
+	//g 0x350,stop_watch
+	//arg 0,stop_watch
+p_stable_stop:
+	branch p_test_tx_new_param,timeout
+	call hci_rx_packet
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_stable_stop,zero
+	call p_test_ble_bt_tx_off
+	branch p_test_tx_new_param 
+
+p_test_ble_bt_tx_off:
+	branch p_test_shutdown_radio
+
+p_test_set_freq_tx:
+	storet 1,mem_last_freq
+	add temp,1,rega			/* index to frequency */
+	call rf_write_freq
+	setarg param_pll_setup
+	call sleep
+p_test_txon:
+	jam 0x1,rfen_adc
+	jam 0x3c,rfen_rx
+	jam 0xe0,rfen_tx
+	jam 0x12,0x896d			/*Max added, for best Pout*/
+	nop 10 /* wait LDOs to turn ON*/
+	jam 0x01, rfen_mdm
+	jam 0x3d, rfen_mdm
+	nop 10 /* wait tx blocks to turn ON*/
+	jam 0xb7,rfen_sn
+	nop 10 /* wait tx lo buffer to turn ON*/
+	jam 0x7d, rfen_mdm
+	jam 0xce,0x8956//3dbm
+	nop 4
+	//can be deleted
+	jam 0xd1, 0x8955
+	nop 4
+	jam 0xd2, 0x8955
+	nop 4
+	jam 0xd8, 0x8955
+	nop 4
+	jam 0xd8,0x8955//3dbm
+	rtn
+
+p_test_rx_start:	 
+	fetcht 1,mem_fcc_ch
+	increase -1,temp
+	call p_test_ble_rx_on
+p_test_rx_loop:
+	call hci_rx_packet
+	call p_button_check
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_test_rx_loop,zero
+	branch p_test_tx_new_param
+
+p_test_ble_rx_on:
+	call p_test_ble_bt_tx_off	//close tx
+	branch lerx_setfreq+1
+
+p_button_check: 
+	call p_mouse_check_key_gpio
+ 	beq MOUSE_L_BUTTON,p_channel_map_change_incre
+	beq MOUSE_R_BUTTON,p_channel_map_change_decre
+	beq MOUSE_M_BUTTON,p_mode_change
+	jam 0,mem_test_mode_switch_enable
+	jam 0,mem_test_ch_switch_incre_enable
+	jam 0,mem_test_ch_switch_decre_enable
+	rtn
+p_mode_change: 
+	fetch 1,mem_test_mode_switch_enable
+	nrtn blank
+	jam 1,mem_test_mode_switch_enable
+	call p_mode_cnt
+	branch p_mode_judge
+p_mode_cnt:
+	fetch 1,mem_test_mode_switch
+	pincrease 1
+	store 1,mem_test_mode_switch
+	rtnne TEST_MODE_MAX_COUNT
+	jam TEST_MODE_CARRY,mem_test_mode_switch
+	rtn
+p_mode_judge:
+	fetch 1,mem_test_mode_switch
+	beq TEST_MODE_CARRY,p_mode_carry
+	beq TEST_MODE_CARRY_DATA,p_mode_carry_and_data
+	beq TEST_MODE_RX,p_mode_rx
+	rtn
+p_mode_carry:
+	jam 0x20,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_mode_carry_and_data:
+	jam 0,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_mode_rx:
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+
+p_channel_map_change_incre:
+	fetch 1,mem_test_ch_switch_incre_enable
+	nrtn blank
+	jam 1,mem_test_ch_switch_incre_enable
+	call p_channel_cnt
+	branch p_channel_judge_forward
+p_channel_cnt:
+	fetch 1,mem_test_ch_switch
+	pincrease 1
+	store 1,mem_test_ch_switch
+	sub pdata,4,null
+	nrtn zero
+	jam 1,mem_test_ch_switch
+	rtn
+p_channel_judge_forward:
+	fetch 1,mem_test_ch_switch
+	beq 1,p_chnnel_2405
+	beq 2,p_chnnel_2430
+	beq 3,p_chnnel_2470
+	rtn
+p_chnnel_2405:
+	jam 5,mem_fcc_ch_new
+	rtn
+p_chnnel_2430:
+	jam 30,mem_fcc_ch_new
+	rtn
+p_chnnel_2470:
+	jam 70,mem_fcc_ch_new
+	rtn
+
+p_channel_map_change_decre:
+	fetch 1,mem_test_ch_switch_decre_enable
+	nrtn blank
+	jam 1,mem_test_ch_switch_decre_enable
+	call p_channel_cnt
+p_channel_judge_back:
+	fetch 1,mem_test_ch_switch
+	beq 3,p_chnnel_2405
+	beq 1,p_chnnel_2430
+	beq 2,p_chnnel_2470
+	rtn
+
+endif
 
 endif
 
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/sched/mouse.dat	(revision 2170)
+++ /branch/mouse_project/YJX_Project/YJX_Only24g_New_LRpair/sched/mouse.dat	(working copy)
@@ -1,17 +1,11 @@
 mem_patch00:07
-#mem_patch03:00
-#mem_patch09:00
-#mem_patch0a:00
-#mem_patch0b:00
 mem_patch10:20
 mem_patch11:06
-mem_patch14:02
-#mem_patch15:00
-mem_patch16:06
+mem_patch14:80
+mem_patch16:04
 mem_patch18:10
 mem_patch19:06
 mem_patch1c:48
-mem_patch1d:1c
 mem_patch27:82
 mem_patch28:08
 mem_patch29:04
@@ -19,15 +13,7 @@
 mem_patch2c:88
 mem_patch2d:04
 mem_patch2e:80
-#mem_patch30:00
 mem_patch31:10
-#mem_patch39:00
-
-#debug
-#mem_patch31:11
-#mem_patch2f:40
-#mem_patch37:40
-#mem_patch3e:c0
 
 
 mem_device_option:40
@@ -121,21 +107,21 @@
 #2c 01 #timeout
 
 
-mem_le_adv_interval:00 00
-mem_le_adv_type:00 
-mem_le_adv_own_addr_type:00
-mem_le_adv_channel_map:07 
+#mem_le_adv_interval:00 00
+#mem_le_adv_type:00 
+#mem_le_adv_own_addr_type:00
+#mem_le_adv_channel_map:07 
 
 mem_le_lap:8e b1 3a 0e 8e ed
 
-mem_le_transmit_window:50
+#mem_le_transmit_window:50
 
-mem_le_notify_handle:19 00
-mem_le_pairing_handle:22 00
+#mem_le_notify_handle:19 00
+#mem_le_pairing_handle:22 00
 
 
-mem_discovery_timeout:08 07#3min
-mem_mouse_direct_timeout:50 00#8s
+#mem_discovery_timeout:08 07#3min
+#mem_mouse_direct_timeout:50 00#8s
 mem_mouse_no_data_timeout:70 17 #10min
 
 
@@ -145,11 +131,11 @@
 
 mem_device_number:02 #max device number
 mem_24g_device_number:02 #devie 2 :24g mode
-mem_adc_config_flag:01 #0 vinlpm 1 hvin 2 gpio
-mem_adc_channel:32 #gpio5
-mem_mouse_vdd_full_vol:a4 01#4.2v#96 00#1.5v
-18 01#mem_mouse_vdd_empty_vol#2.8v#:5a 00#0.9v
-40 01#mem_mouse_vdd_low_vol#3.7v#:64 00  #1v
+#mem_adc_config_flag:01 #0 vinlpm 1 hvin 2 gpio
+#mem_adc_channel:32 #gpio5
+#mem_mouse_vdd_full_vol:a4 01#4.2v#96 00#1.5v
+#18 01#mem_mouse_vdd_empty_vol#2.8v#:5a 00#0.9v
+#40 01#mem_mouse_vdd_low_vol#3.7v#:64 00  #1v
 
 mem_config_sensor_type:00
 03 #mem_config_sensor_motion:01
@@ -286,7 +272,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12
-mem_firmware_version:01 00
+mem_firmware_version:02 00
 
 mem_device_flag:
 02
