Index: format/app_quickconn_ble.format
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/format/app_quickconn_ble.format	(revision 3200)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/format/app_quickconn_ble.format	(working copy)
@@ -1,7 +1,35 @@
 
 
 cmemalloc 0(
+1 mem_le_conn_sm
+6 mem_app_peer_addr
+3 mem_le_app_peer_addr
+6 mem_le_slave_peer_addr
 
+1 mem_le_rx_adv_data_len
+31 mem_le_rx_adv_data
 
+1 mem_le_receive_caps_data
+1 mem_le_send_write_request_count
+
+0 mem_le_scan_led_style
+1 mem_le_scan_led_type
+1 mem_le_scan_led_blink_count
+1 mem_le_scan_led_gpio
+2 mem_le_scan_led_on_time
+2 mem_le_scan_led_off_time
+2 mem_le_scan_led_on_callback
+2 mem_le_scan_led_off_callback
+
+)
+
+
+/* mem_le_conn_sm */
+( 
+0x00 CONN_SM_NULL
+0x21 CONN_SM_SEND_WRITE_REQ                      
+0x25 CONN_SM_WAIT_WRITE_RES
+0x26 CONN_SM_WAIT_WRITE_RES1
 )
 
+
Index: format/app_quickconn_common.format
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/format/app_quickconn_common.format	(revision 3204)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/format/app_quickconn_common.format	(working copy)
@@ -10,6 +10,19 @@
 1 mem_quickconn_ble_led_gpio
 1 mem_quickconn_classic_led_gpio
 
+
+
+0 mem_quickconn_led_style
+1 mem_quickconn_led_type
+1 mem_quickconn_led_blink_count
+1 mem_quickconn_led_gpio
+2 mem_quickconn_led_on_time
+2 mem_quickconn_led_off_time
+2 mem_quickconn_led_cb_on
+2 mem_quickconn_led_cb_off
+
+
+
 )
 
 //mem_app_mode_select
Index: format/app_usb.format
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/format/app_usb.format	(revision 3208)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/format/app_usb.format	(working copy)
@@ -221,10 +221,10 @@
 
 (
 0x02 PC_EVT_TYPE
-0x00 PC_EVT_BB_CONNECTED
-0x02 PC_EVT_LE_CONNECTED
-0x03 PC_EVT_BB_DISCONNECTED
-0x05 PC_EVT_LE_DISCONNECTED
+0x00 PC_EVT_CLASSIC_CONNECTED
+0x02 PC_EVT_BLE_CONNECTED
+0x03 PC_EVT_CLASSIC_DISCONNECTED
+0x05 PC_EVT_BLE_DISCONNECTED
 0x28 PC_EVT_KB_NORMAL_DATA_UPLOAD
 0x30 PC_EVT_KB_MULTIMEDIA_DATA_UPLOAD
 0x31 PC_EVT_KB_SYSCTRL_DATA_UPLOAD
@@ -241,6 +241,9 @@
 0x03 PC_EVT_KB_MULTIMEDIA_DATA_LEN_3B
 0x08 PC_EVT_KB_NORMAL_DATA_LEN_8B
 
+
+0x06 PC_EVT_BT_MAC_LEN_6B
+0x00 PC_EVT_LEN_NULL
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/output/eeprom.dat	(revision 3208)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-76
-12
+ea
+15
 c2
 84
 00
@@ -11,39 +11,67 @@
 c0
 42
 80
-60
+6c
 c0
 44
 80
-62
+6e
 c0
 47
 00
-59
+65
 c0
 59
 01
-18
+f5
 c0
 62
 00
-0b
+12
 c0
 7b
 80
-af
+bb
 c0
 7c
 00
-da
+e6
 c0
 7e
 00
-c1
+cd
 20
 20
 2a
 8e
+c0
+1b
+81
+4b
+c0
+2d
+01
+6a
+c0
+2f
+81
+7f
+c0
+31
+01
+9a
+c0
+33
+01
+9d
+c0
+33
+81
+b3
+c0
+7c
+81
+e4
 20
 20
 2a
@@ -58,8 +86,8 @@
 a0
 58
 00
-02
-70
+03
+4d
 60
 01
 47
@@ -67,7 +95,7 @@
 58
 00
 00
-4a
+50
 60
 01
 41
@@ -75,7 +103,7 @@
 58
 00
 00
-52
+5e
 60
 01
 41
@@ -91,15 +119,15 @@
 20
 40
 00
-17
+1e
 20
 20
 00
-2a
+31
 68
 08
 c8
-0a
+47
 20
 40
 67
@@ -107,7 +135,7 @@
 68
 08
 c8
-0b
+48
 20
 40
 67
@@ -115,7 +143,7 @@
 68
 08
 c8
-0c
+49
 20
 40
 68
@@ -123,7 +151,7 @@
 68
 08
 c8
-0d
+4a
 20
 40
 68
@@ -131,7 +159,7 @@
 68
 08
 c8
-0e
+4b
 20
 20
 68
@@ -143,7 +171,7 @@
 68
 08
 c8
-0a
+47
 20
 40
 68
@@ -155,7 +183,7 @@
 68
 08
 c8
-0b
+48
 20
 40
 68
@@ -175,23 +203,23 @@
 20
 40
 00
-21
+28
 c0
 00
 80
-3c
+43
 c0
 01
 00
-40
+46
 c0
 00
 00
-30
+37
 c0
 01
 80
-34
+3b
 20
 60
 00
@@ -199,27 +227,27 @@
 60
 00
 c8
-09
+46
 68
 08
 c8
-0c
+49
 20
 40
 68
 29
 20
 20
-02
-a8
+03
+85
 60
 00
 c8
-09
+46
 68
 08
 c8
-0c
+49
 20
 40
 68
@@ -227,7 +255,7 @@
 68
 08
 c8
-0d
+4a
 20
 40
 68
@@ -235,7 +263,7 @@
 68
 08
 c8
-0e
+4b
 20
 40
 68
@@ -243,19 +271,15 @@
 20
 20
 01
-1d
+fa
 60
 00
 c8
-09
-68
-08
-c8
-0d
+46
 20
 40
-68
-29
+01
+48
 20
 60
 00
@@ -263,11 +287,11 @@
 60
 00
 c8
-09
+46
 68
 08
 c8
-0e
+4b
 20
 40
 68
@@ -279,11 +303,11 @@
 20
 40
 00
-21
+28
 68
 08
 c8
-09
+46
 98
 46
 7c
@@ -307,23 +331,27 @@
 c0
 1c
 80
-4e
+55
 c0
 1d
 00
-4f
+56
+c0
+0a
+80
+59
 20
 60
 00
 00
 20
 20
-01
-87
+02
+64
 20
 40
-02
-6d
+03
+4a
 20
 40
 65
@@ -332,10 +360,30 @@
 20
 2a
 8e
+58
+00
+00
+00
+60
+03
+44
+8f
+70
+48
+2d
+02
+20
+40
+01
+48
+20
+20
+01
+27
 20
 40
 00
-54
+60
 20
 60
 00
@@ -347,7 +395,7 @@
 da
 40
 00
-57
+63
 20
 20
 33
@@ -463,35 +511,35 @@
 c0
 00
 00
-79
+85
 c0
 00
 80
-81
+8d
 c0
 01
 00
-89
+95
 c0
 01
 80
-91
+9d
 c0
 02
 00
-99
+a5
 c0
 10
 00
-ab
+b7
 20
 20
 00
-89
+95
 20
 40
 00
-a1
+ad
 70
 89
 4b
@@ -523,7 +571,7 @@
 20
 40
 00
-a6
+b2
 70
 89
 4b
@@ -555,7 +603,7 @@
 20
 40
 00
-a6
+b2
 70
 89
 4b
@@ -587,7 +635,7 @@
 20
 40
 00
-a1
+ad
 70
 89
 4b
@@ -619,7 +667,7 @@
 20
 40
 00
-a1
+ad
 70
 89
 4b
@@ -719,7 +767,7 @@
 20
 40
 00
-b4
+c0
 20
 20
 48
@@ -927,7 +975,7 @@
 c0
 00
 00
-e8
+f4
 20
 20
 49
@@ -951,7 +999,7 @@
 c0
 00
 80
-ee
+fa
 20
 20
 49
@@ -963,7 +1011,7 @@
 c0
 04
 80
-f1
+fd
 20
 20
 49
@@ -994,16 +1042,16 @@
 20
 24
 5a
-00
-fb
+01
+07
 68
 00
 8d
 43
 24
 5a
-00
-fe
+01
+0a
 20
 20
 4a
@@ -1116,57 +1164,893 @@
 60
 00
 00
-20
-40
-48
+70
+13
+d2
+ba
+70
+13
 d3
-20
-60
-00
-00
-c5
-93
-01
-16
-68
-00
-c8
-09
-c0
-00
 02
-a3
-c0
-01
-81
-2a
-20
-60
-00
-00
-68
-11
+70
+13
+d4
+02
+70
+13
+d5
 00
-50
-79
 20
-7e
-0a
-60
-11
-00
-50
-79
 20
-00
-26
-79
-3f
-80
-2c
+31
+b8
 70
-47
-21
+13
+d2
+ba
+70
+13
+d3
+02
+70
+13
+d4
+05
+70
+13
+d5
+00
+20
+20
+31
+b8
+70
+13
+d2
+ba
+70
+13
+d3
+02
+70
+13
+d4
+00
+70
+13
+d5
+00
+20
+20
+31
+b8
+70
+13
+d2
+ba
+70
+13
+d3
+02
+70
+13
+d4
+03
+70
+13
+d5
+00
+20
+20
+31
+b8
+70
+13
+d2
+ba
+70
+13
+d3
+02
+70
+13
+d4
+33
+20
+20
+31
+b8
+20
+40
+48
+d3
+20
+60
+00
+00
+68
+00
+c2
+1a
+20
+7a
+00
+00
+da
+20
+00
+00
+20
+20
+7d
+24
+68
+00
+c2
+1a
+20
+7a
+00
+00
+da
+20
+00
+00
+20
+20
+7d
+19
+68
+00
+c2
+1a
+20
+7a
+00
+00
+da
+20
+00
+00
+20
+20
+7d
+14
+70
+43
+69
+01
+da
+60
+48
+2e
+20
+20
+01
+3c
+68
+00
+80
+05
+1f
+e0
+fe
+01
+60
+00
+80
+05
+20
+40
+55
+aa
+20
+40
+01
+52
+78
+54
+fc
+00
+20
+60
+00
+00
+68
+00
+c7
+fc
+c0
+10
+81
+57
+c0
+12
+81
+63
+c0
+13
+01
+69
+20
+60
+00
+00
+70
+47
+fc
+00
+58
+00
+00
+1a
+60
+01
+44
+6f
+18
+00
+22
+05
+20
+40
+5a
+82
+58
+00
+00
+12
+e0
+a0
+80
+00
+68
+01
+44
+6f
+e0
+a1
+00
+00
+58
+00
+00
+01
+e0
+a1
+00
+00
+20
+60
+00
+00
+70
+47
+fc
+26
+20
+40
+58
+ba
+68
+01
+46
+82
+79
+20
+7e
+09
+60
+01
+46
+82
+20
+60
+00
+00
+20
+60
+00
+00
+20
+40
+56
+ed
+20
+40
+55
+c0
+68
+00
+82
+d9
+2f
+ef
+fe
+04
+79
+20
+80
+2a
+1f
+e3
+7e
+00
+98
+42
+fe
+00
+2f
+ef
+fe
+02
+79
+20
+80
+0f
+c6
+07
+80
+00
+68
+00
+82
+da
+20
+3a
+01
+7b
+68
+00
+84
+3f
+c3
+02
+01
+7b
+20
+40
+74
+8d
+20
+40
+73
+fb
+24
+7a
+00
+00
+68
+08
+84
+56
+79
+40
+04
+02
+60
+08
+84
+56
+20
+20
+56
+7e
+68
+03
+02
+db
+60
+03
+04
+4f
+68
+0b
+44
+8f
+98
+46
+7c
+00
+20
+22
+d6
+08
+68
+0b
+48
+06
+98
+46
+7c
+00
+24
+62
+80
+00
+68
+00
+82
+ec
+20
+3a
+01
+98
+1f
+e6
+7c
+14
+24
+21
+01
+98
+1f
+e0
+ff
+ff
+60
+00
+c8
+0c
+1f
+e2
+72
+00
+d8
+a0
+48
+0d
+d8
+c0
+02
+ee
+20
+40
+7f
+01
+68
+03
+04
+4f
+60
+03
+47
+fd
+70
+43
+67
+1c
+58
+00
+00
+50
+60
+01
+44
+9c
+70
+43
+69
+00
+20
+20
+34
+00
+70
+48
+0c
+00
+20
+20
+01
+91
+70
+47
+fc
+21
+20
+40
+01
+44
+20
+20
+56
+14
+c6
+07
+80
+00
+20
+40
+58
+90
+24
+7a
+00
+00
+68
+00
+82
+d9
+1f
+e1
+7e
+03
+60
+00
+c5
+0c
+e8
+c0
+80
+00
+1f
+e1
+7e
+1f
+60
+00
+c5
+0b
+20
+7a
+00
+00
+18
+c2
+7e
+00
+60
+01
+45
+0d
+68
+00
+c5
+0c
+c0
+01
+81
+ae
+20
+40
+56
+9a
+24
+34
+56
+7a
+20
+20
+56
+8f
+68
+00
+82
+db
+c0
+01
+01
+b1
+20
+20
+5c
+65
+58
+00
+00
+03
+20
+20
+5c
+8f
+e8
+c1
+00
+00
+c0
+02
+01
+b6
+20
+20
+56
+96
+e8
+c1
+80
+00
+60
+01
+84
+77
+c0
+09
+81
+bb
+c0
+0d
+81
+d3
+20
+60
+00
+00
+68
+00
+c8
+2d
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+c8
+2d
+c0
+00
+81
+c2
+c0
+00
+01
+c7
+20
+60
+00
+00
+70
+47
+fc
+00
+58
+00
+00
+27
+60
+01
+44
+6f
+20
+40
+01
+5a
+20
+20
+01
+22
+70
+47
+fc
+00
+58
+00
+00
+60
+60
+01
+44
+6f
+20
+40
+01
+5a
+20
+40
+01
+36
+68
+00
+c8
+0c
+60
+00
+93
+d5
+20
+7a
+00
+00
+1f
+e2
+72
+00
+d8
+a0
+13
+d6
+d8
+c0
+48
+0d
+20
+20
+7f
+01
+68
+00
+82
+e0
+c0
+0c
+81
+d8
+c0
+0a
+81
+dc
+c0
+0e
+81
+e0
+20
+60
+00
+00
+20
+40
+01
+0e
+68
+03
+82
+e2
+60
+03
+93
+d6
+20
+20
+31
+b8
+20
+40
+01
+13
+68
+04
+02
+e2
+60
+04
+13
+d6
+20
+20
+31
+b8
+20
+40
+01
+18
+68
+01
+82
+e2
+60
+01
+93
+d6
+20
+20
+31
+b8
+18
+42
+7e
+00
+20
+7a
+00
+00
+c0
+0b
+01
+e8
+20
+20
+7d
+af
+68
+03
+47
+fd
+60
+03
+44
+8f
+20
+20
+7e
+15
+70
+47
+fc
+00
+18
+00
+22
+04
+20
+40
+5a
+82
+58
+00
+00
+52
+e0
+a0
+80
+00
+58
+00
+00
+21
+e0
+a1
+00
+00
+68
+00
+c8
+2c
+e0
+a1
+00
+00
+20
+60
+00
+00
+c5
+93
+01
+3a
+68
+00
+c8
+46
+c0
+00
+03
+80
+c0
+01
+82
+07
+20
+60
+00
+00
+68
+11
+00
+50
+79
+20
+7e
+0a
+60
+11
+00
+50
+79
+20
+00
+26
+79
+3f
+80
+2c
+70
+47
+21
 01
 70
 47
@@ -1194,48 +2078,48 @@
 1c
 20
 20
-01
-80
+02
+5d
 20
 40
 00
-44
+4a
 68
 00
 c7
 e4
 c2
 80
-81
-4f
+82
+2c
 20
 40
-01
-40
+02
+1d
 24
 74
 00
 00
 20
 40
-01
-34
+02
+11
 20
 40
-01
-ec
+02
+c9
 24
 74
 00
 00
 20
 40
-01
-d1
+02
+ae
 20
 20
 02
-00
+dd
 68
 00
 c7
@@ -1250,12 +2134,12 @@
 5b
 c0
 02
-01
-3e
+02
+1b
 c0
 02
-81
-3a
+82
+17
 20
 60
 00
@@ -1282,8 +2166,8 @@
 47
 20
 20
-01
-3c
+02
+19
 20
 40
 7f
@@ -1354,24 +2238,24 @@
 d4
 20
 40
-01
-72
+02
+4f
 20
 40
 02
-13
+f0
 24
 2c
-01
-8b
+02
+68
 24
 37
-81
-8b
+82
+68
 20
 40
-02
-38
+03
+15
 68
 02
 47
@@ -1386,12 +2270,12 @@
 00
 20
 22
-81
-5c
+82
+39
 20
 40
-01
-6c
+02
+49
 24
 74
 00
@@ -1422,8 +2306,8 @@
 00
 20
 22
-82
-3f
+83
+1c
 68
 02
 47
@@ -1438,8 +2322,8 @@
 00
 20
 42
-81
-70
+82
+4d
 79
 20
 00
@@ -1482,8 +2366,8 @@
 00
 20
 20
-03
-e4
+04
+c1
 70
 11
 9e
@@ -1514,12 +2398,12 @@
 9e
 20
 40
-01
-7b
+02
+58
 20
 20
-03
-ff
+04
+dc
 60
 08
 c7
@@ -1602,12 +2486,12 @@
 e8
 c0
 00
-01
-94
+02
+71
 c0
 01
-01
-9d
+02
+7a
 70
 47
 2a
@@ -1618,8 +2502,8 @@
 2c
 20
 20
-03
-e4
+04
+c1
 68
 02
 47
@@ -1638,8 +2522,8 @@
 2b
 20
 40
-01
-9b
+02
+78
 60
 08
 c7
@@ -1650,12 +2534,12 @@
 00
 20
 40
-03
-e5
+04
+c2
 20
 20
 04
-11
+ee
 68
 02
 47
@@ -1674,8 +2558,8 @@
 2b
 20
 40
-01
-9b
+02
+78
 60
 08
 c7
@@ -1767,15 +2651,15 @@
 20
 20
 04
-11
+ee
 68
 00
 c7
 db
 c0
 80
-81
-a9
+82
+86
 68
 00
 c7
@@ -1790,12 +2674,12 @@
 d9
 c0
 02
-01
-c2
+02
+9f
 20
 40
 04
-11
+ee
 70
 47
 65
@@ -1803,15 +2687,15 @@
 20
 20
 02
-00
+dd
 70
 47
 d9
 00
 20
 20
-01
-a9
+02
+86
 70
 47
 de
@@ -1826,16 +2710,16 @@
 00
 20
 20
-01
-a9
+02
+86
 68
 00
 c7
 dd
 c0
 01
-81
-c5
+82
+a2
 68
 00
 c7
@@ -1846,20 +2730,20 @@
 04
 20
 20
-81
-a7
+82
+84
 68
 00
 c7
 dd
 c0
 00
-81
-c4
+82
+a1
 c0
 01
-01
-c5
+02
+a2
 20
 60
 00
@@ -1874,12 +2758,12 @@
 00
 20
 40
-01
-d6
+02
+b3
 24
 56
-01
-de
+02
+bb
 20
 60
 00
@@ -1922,8 +2806,8 @@
 de
 20
 3a
-01
-e6
+02
+c3
 1f
 e0
 ff
@@ -1939,7 +2823,7 @@
 20
 40
 04
-11
+ee
 70
 47
 65
@@ -1958,12 +2842,12 @@
 db
 24
 3a
-01
-b9
+02
+96
 20
 40
 04
-11
+ee
 70
 47
 65
@@ -1978,16 +2862,16 @@
 30
 c0
 ff
-82
-43
+83
+20
 20
 40
-01
-f2
+02
+cf
 20
 40
-03
-ff
+04
+dc
 70
 47
 25
@@ -2006,8 +2890,8 @@
 9c
 20
 34
-01
-f8
+02
+d5
 68
 03
 c6
@@ -2034,8 +2918,8 @@
 20
 20
 40
-01
-a9
+02
+86
 60
 00
 c6
@@ -2067,23 +2951,23 @@
 20
 40
 02
-13
+f0
 24
 2c
 02
-1e
+fb
 24
 37
 82
-1e
+fb
 20
 40
-01
-69
+02
+46
 20
 40
-02
-38
+03
+15
 68
 00
 c7
@@ -2098,20 +2982,20 @@
 1f
 20
 40
-01
-b2
+02
+8f
 68
 00
 c7
 30
 c0
 ff
-82
-5d
+83
+3a
 20
 40
-01
-c8
+02
+a5
 58
 00
 00
@@ -2134,8 +3018,8 @@
 00
 20
 40
-04
-79
+05
+56
 18
 00
 2a
@@ -2162,12 +3046,12 @@
 24
 20
 40
-04
-34
+05
+11
 20
 57
-84
-73
+85
+50
 20
 60
 00
@@ -2198,24 +3082,24 @@
 27
 c2
 80
-82
-2b
+83
+08
 68
 00
 c7
 30
 c0
 ff
-82
-29
+83
+06
 20
 40
-02
-2e
+03
+0b
 20
 20
 02
-01
+de
 68
 00
 c7
@@ -2247,7 +3131,7 @@
 24
 21
 04
-11
+ee
 1f
 e0
 fe
@@ -2258,28 +3142,28 @@
 29
 c0
 01
-01
-ad
+02
+8a
 c0
 03
-01
-b4
+02
+91
 c0
 04
-01
-ad
+02
+8a
 c0
 06
-01
-b4
+02
+91
 20
 60
 00
 00
 20
 40
-03
-f2
+04
+cf
 68
 00
 c7
@@ -2310,8 +3194,8 @@
 26
 20
 40
-01
-91
+02
+6e
 70
 47
 30
@@ -2334,16 +3218,16 @@
 30
 c0
 00
-82
-4a
+83
+27
 c0
 01
-02
-4d
+03
+2a
 c0
 01
-82
-50
+83
+2d
 20
 20
 2a
@@ -2358,8 +3242,8 @@
 aa
 20
 20
-02
-52
+03
+2f
 70
 47
 30
@@ -2370,8 +3254,8 @@
 55
 20
 20
-02
-52
+03
+2f
 70
 47
 30
@@ -2414,12 +3298,12 @@
 07
 20
 40
-01
-7b
+02
+58
 20
 40
-01
-ef
+02
+cc
 20
 20
 7f
@@ -2434,16 +3318,16 @@
 00
 c0
 08
-82
-63
+83
+40
 c0
 09
-02
-65
+03
+42
 c0
 09
-82
-67
+83
+44
 20
 60
 00
@@ -2455,7 +3339,7 @@
 20
 20
 02
-0f
+ec
 70
 47
 30
@@ -2463,7 +3347,7 @@
 20
 20
 02
-0f
+ec
 70
 47
 30
@@ -2482,12 +3366,12 @@
 00
 20
 40
-03
-e4
+04
+c1
 20
 20
 02
-0f
+ec
 79
 3f
 80
@@ -2518,32 +3402,32 @@
 32
 20
 21
-02
-7c
+03
+59
 1f
 e6
 7c
 64
 20
 21
-02
-87
+03
+64
 1f
 e6
 7c
 96
 20
 21
-02
-8f
+03
+6c
 1f
 e6
 7c
 c8
 20
 21
-02
-97
+03
+74
 20
 60
 00
@@ -2622,8 +3506,8 @@
 fa
 20
 20
-02
-83
+03
+60
 58
 00
 ff
@@ -2654,16 +3538,16 @@
 fa
 20
 20
-02
-83
+03
+60
 68
 00
 c7
 fb
 c0
 64
-02
-a1
+03
+7e
 58
 00
 ff
@@ -2694,36 +3578,36 @@
 fa
 20
 20
-02
-83
+03
+60
 70
 47
 fb
 00
 20
 20
-02
-99
+03
+76
 20
 40
-02
-b2
+03
+8f
 20
 40
 00
-44
+4a
 20
 40
-02
-b6
+03
+93
 20
 40
 01
-16
+3a
 20
 20
-02
-a4
+03
+81
 79
 20
 00
@@ -2790,20 +3674,20 @@
 00
 20
 40
-02
-bc
+03
+99
 20
 40
-02
-c8
+03
+a5
 20
 40
-03
-28
+04
+05
 20
 20
-02
-e7
+03
+c4
 68
 00
 c7
@@ -2842,32 +3726,32 @@
 8d
 20
 40
-03
-e4
+04
+c1
 20
 40
 04
-11
+ee
 20
 20
-03
-38
+04
+15
 68
 00
 c7
 9b
 c0
 00
-82
-e1
+83
+be
 68
 00
 c7
 a3
 c0
 00
-82
-db
+83
+b8
 68
 0a
 47
@@ -2927,7 +3811,7 @@
 20
 20
 04
-11
+ee
 70
 47
 a3
@@ -2935,7 +3819,7 @@
 20
 20
 04
-11
+ee
 1c
 42
 7e
@@ -2958,8 +3842,8 @@
 9e
 20
 40
-03
-d8
+04
+b5
 60
 08
 c7
@@ -2975,19 +3859,19 @@
 20
 20
 04
-11
+ee
 20
 40
-02
-ea
+03
+c7
 20
 40
-02
-f5
+03
+d2
 20
 20
-02
-fd
+03
+da
 68
 00
 c7
@@ -3014,12 +3898,12 @@
 00
 20
 40
-02
-f2
+03
+cf
 20
 20
 01
-02
+0e
 d8
 a0
 13
@@ -3058,12 +3942,12 @@
 00
 20
 40
-02
-f2
+03
+cf
 20
 20
 01
-07
+13
 68
 00
 c7
@@ -3090,20 +3974,20 @@
 00
 20
 40
-02
-f2
+03
+cf
 20
 20
 01
-0c
+18
 20
 40
-03
-38
+04
+15
 20
 40
-04
-2b
+05
+08
 24
 77
 80
@@ -3111,7 +3995,7 @@
 20
 20
 03
-09
+e6
 68
 00
 c6
@@ -3122,8 +4006,8 @@
 21
 20
 40
-03
-f2
+04
+cf
 68
 00
 c6
@@ -3135,23 +4019,23 @@
 20
 20
 83
-12
+ef
 20
 40
 03
-13
+f0
 20
 40
-03
-ff
+04
+dc
 20
 40
-04
-79
+05
+56
 20
 20
-04
-73
+05
+50
 70
 47
 20
@@ -3167,11 +4051,11 @@
 c0
 00
 83
-19
+f6
 c0
 01
 83
-1f
+fc
 20
 60
 00
@@ -3207,11 +4091,11 @@
 c0
 00
 83
-19
+f6
 c0
 7f
 83
-19
+f6
 70
 0d
 43
@@ -3239,31 +4123,31 @@
 20
 40
 03
-05
+e2
 24
 37
-83
-38
+84
+15
 20
 20
-03
-2b
+04
+08
 20
 40
-03
-3b
+04
+18
 24
 34
-03
-38
+04
+15
 68
 00
 c7
 1e
 20
 3a
-03
-38
+04
+15
 1f
 e0
 fe
@@ -3290,16 +4174,16 @@
 6d
 c0
 00
-83
-49
+84
+26
 c0
 01
-03
-65
+04
+42
 c0
 7f
-83
-b2
+84
+8f
 d8
 a0
 46
@@ -3370,8 +4254,8 @@
 00
 20
 40
-02
-dd
+03
+ba
 68
 00
 c7
@@ -3394,8 +4278,8 @@
 9b
 c0
 00
-83
-bc
+84
+99
 68
 00
 c7
@@ -3419,7 +4303,7 @@
 20
 40
 01
-02
+0e
 68
 03
 c7
@@ -3434,16 +4318,16 @@
 6e
 24
 5a
-03
-5d
+04
+3a
 68
 00
 c7
 6e
 20
 5a
-03
-61
+04
+3e
 20
 20
 31
@@ -3490,28 +4374,28 @@
 03
 20
 20
-83
-be
+84
+9b
 68
 00
 c7
 6e
 c0
 00
-03
-6d
+04
+4a
 c0
 01
-03
-a4
+04
+81
 c0
 01
-83
-8a
+84
+67
 20
 20
-03
-38
+04
+15
 68
 00
 c7
@@ -3527,31 +4411,31 @@
 20
 40
 01
-07
+13
 d8
 a0
 13
 d6
 20
 40
-03
-7f
+04
+5c
 68
 04
 13
 d6
 24
 5a
-03
-82
+04
+5f
 68
 04
 13
 d6
 20
 5a
-03
-86
+04
+63
 68
 04
 13
@@ -3582,8 +4466,8 @@
 ac
 20
 20
-03
-38
+04
+15
 d8
 c0
 47
@@ -3631,31 +4515,31 @@
 20
 40
 01
-0c
+18
 d8
 a0
 13
 d6
 20
 40
-03
-99
+04
+76
 68
 01
 13
 d7
 24
 5a
-03
-9c
+04
+79
 68
 01
 13
 d7
 20
 5a
-03
-a0
+04
+7d
 68
 01
 93
@@ -3686,8 +4570,8 @@
 b7
 20
 20
-03
-38
+04
+15
 d8
 c0
 47
@@ -3735,15 +4619,15 @@
 20
 40
 01
-11
+1d
 d8
 a0
 13
 d6
 20
 40
-03
-af
+04
+8c
 68
 01
 13
@@ -3774,8 +4658,8 @@
 cf
 20
 20
-03
-38
+04
+15
 d8
 c0
 47
@@ -3794,12 +4678,12 @@
 6e
 c0
 00
-83
-b6
+84
+93
 c0
 01
-03
-b9
+04
+96
 20
 60
 00
@@ -3834,16 +4718,16 @@
 75
 20
 20
-03
-b7
+04
+94
 68
 02
 47
 75
 20
 20
-03
-ba
+04
+97
 20
 40
 29
@@ -3861,9 +4745,9 @@
 0d
 9e
 20
-40
-03
-c7
+40
+04
+a4
 60
 08
 c7
@@ -3950,8 +4834,8 @@
 00
 c5
 16
-03
-dc
+04
+b9
 df
 20
 00
@@ -3974,8 +4858,8 @@
 00
 c2
 00
-03
-de
+04
+bb
 18
 49
 7e
@@ -4014,8 +4898,8 @@
 00
 c2
 00
-03
-e8
+04
+c5
 1a
 22
 7e
@@ -4175,7 +5059,7 @@
 20
 40
 04
-15
+f2
 60
 08
 c7
@@ -4187,7 +5071,7 @@
 20
 40
 04
-19
+f6
 18
 40
 84
@@ -4311,7 +5195,7 @@
 20
 40
 04
-22
+ff
 78
 57
 fc
@@ -4346,8 +5230,8 @@
 00
 24
 2c
-04
-71
+05
+4e
 78
 46
 fc
@@ -4366,8 +5250,8 @@
 00
 20
 40
-04
-6e
+05
+4b
 60
 00
 c7
@@ -4382,20 +5266,20 @@
 00
 24
 22
-84
-73
+85
+50
 20
 40
-04
-6e
+05
+4b
 60
 00
 c6
 9a
 c5
 16
-04
-4e
+05
+2b
 68
 00
 c6
@@ -4410,12 +5294,12 @@
 00
 24
 20
-84
-73
+85
+50
 20
 40
-04
-6e
+05
+4b
 e0
 a0
 80
@@ -4430,32 +5314,32 @@
 1f
 20
 22
-84
-56
+85
+33
 20
 40
-04
-6e
+05
+4b
 e0
 a0
 80
 00
 c2
 00
-04
-53
+05
+30
 c5
 16
-04
-5b
+05
+38
 18
 a2
 22
 00
 20
 40
-04
-6e
+05
+4b
 60
 00
 c7
@@ -4502,8 +5386,8 @@
 bb
 20
 23
-04
-73
+05
+50
 78
 37
 fc
@@ -4538,8 +5422,8 @@
 e1
 20
 20
-03
-ce
+04
+ab
 09
 80
 00
@@ -4558,8 +5442,8 @@
 2c
 20
 40
-83
-c0
+84
+9d
 78
 4d
 fc
@@ -4599,11 +5483,11 @@
 20
 40
 04
-22
+ff
 20
 40
-04
-76
+05
+53
 79
 20
 2a
@@ -4682,12 +5566,12 @@
 08
 c2
 00
-04
-8f
+05
+6c
 c5
 96
-04
-95
+05
+72
 68
 00
 c7
@@ -4728,8 +5612,8 @@
 60
 00
 00
-79
-b7
+61
+52
 aa
 55
 02
@@ -4762,6 +5646,28 @@
 11
 aa
 55
+01
+00
+26
+40
+80
+aa
+55
+02
+00
+2b
+40
+84
+c4
+aa
+55
+01
+00
+3f
+40
+02
+aa
+55
 08
 00
 75
@@ -4791,6 +5697,48 @@
 24
 aa
 55
+08
+00
+ad
+40
+12
+00
+00
+12
+12
+00
+00
+02
+aa
+55
+02
+00
+bb
+40
+20
+00
+aa
+55
+04
+00
+b7
+40
+20
+00
+00
+40
+aa
+55
+04
+00
+bf
+40
+80
+04
+00
+08
+aa
+55
 02
 00
 41
@@ -4815,8 +5763,8 @@
 55
 0d
 00
-fc
-47
+39
+48
 4b
 ba
 55
@@ -4836,8 +5784,8 @@
 00
 c3
 40
-fc
-47
+39
+48
 aa
 55
 13
@@ -5109,7 +6057,7 @@
 55
 05
 00
-0a
+47
 48
 1b
 1c
@@ -5118,6 +6066,38 @@
 05
 aa
 55
+02
+00
+1b
+42
+4c
+48
+aa
+55
+01
+00
+1a
+42
+01
+aa
+55
+0b
+00
+2e
+48
+01
+ff
+04
+96
+00
+96
+00
+00
+00
+00
+00
+aa
+55
 01
 00
 5c
@@ -5195,5 +6175,53 @@
 00
 00
 00
-3f
-c1
+aa
+55
+02
+00
+a6
+44
+17
+00
+aa
+55
+02
+00
+9e
+44
+01
+00
+aa
+55
+04
+00
+6a
+43
+30
+00
+0c
+00
+aa
+55
+09
+00
+03
+48
+0e
+10
+26
+0f
+0f
+0f
+0f
+0f
+0f
+aa
+55
+01
+00
+2d
+48
+02
+da
+ab
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/output/memmap.format	(revision 3204)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/output/memmap.format	(working copy)
@@ -1851,10 +1851,34 @@
 0x47f9 mem_m_z
 0x47fa mem_m_tz
 0x47fb mem_24g_matrix_cnt
-0x47fc mem_rf_init_data_new
-0x4809 mem_app_mode_select
-0x480a mem_quickconn_sel_27_gpio
-0x480b mem_quickconn_sel_28_gpio
-0x480c mem_quickconn_24g_led_gpio
-0x480d mem_quickconn_ble_led_gpio
-0x480e mem_quickconn_classic_led_gpio
+0x47fc mem_le_conn_sm
+0x47fd mem_app_peer_addr
+0x4803 mem_le_app_peer_addr
+0x4806 mem_le_slave_peer_addr
+0x480c mem_le_rx_adv_data_len
+0x480d mem_le_rx_adv_data
+0x482c mem_le_receive_caps_data
+0x482d mem_le_send_write_request_count
+0x482e mem_le_scan_led_style
+0x482e mem_le_scan_led_type
+0x482f mem_le_scan_led_blink_count
+0x4830 mem_le_scan_led_gpio
+0x4831 mem_le_scan_led_on_time
+0x4833 mem_le_scan_led_off_time
+0x4835 mem_le_scan_led_on_callback
+0x4837 mem_le_scan_led_off_callback
+0x4839 mem_rf_init_data_new
+0x4846 mem_app_mode_select
+0x4847 mem_quickconn_sel_27_gpio
+0x4848 mem_quickconn_sel_28_gpio
+0x4849 mem_quickconn_24g_led_gpio
+0x484a mem_quickconn_ble_led_gpio
+0x484b mem_quickconn_classic_led_gpio
+0x484c mem_quickconn_led_style
+0x484c mem_quickconn_led_type
+0x484d mem_quickconn_led_blink_count
+0x484e mem_quickconn_led_gpio
+0x484f mem_quickconn_led_on_time
+0x4851 mem_quickconn_led_off_time
+0x4853 mem_quickconn_led_cb_on
+0x4855 mem_quickconn_led_cb_off
Index: output/program.lis
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/output/program.lis	(revision 3208)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/output/program.lis	(working copy)
@@ -1,1576 +1,1873 @@
               include "bt_format "
               org 0x0000
 0000 c284000a bbit1 8 ,pf_patch_ext 
-0001 c0428060 beq patch10_5 ,p_shutdown_radio 
-0002 c0448062 beq patch11_1 ,p_set_freq_tx 
-0003 c0470059 beq patch11_6 ,p_save_rssi 
-0004 c0590118 beq patch16_2 ,p_g24_dispatch 
-0005 c062000b beq patch18_4 ,p_app_init 
-0006 c07b80af beq patch1e_7 ,p_usb_init 
-0007 c07c00da beq patch1f_0 ,p_usb_status1 
-0008 c07e00c1 beq patch1f_4 ,p_usb_tx 
+0001 c042806c beq patch10_5 ,p_shutdown_radio 
+0002 c044806e beq patch11_1 ,p_set_freq_tx 
+0003 c0470065 beq patch11_6 ,p_save_rssi 
+0004 c05901f5 beq patch16_2 ,p_g24_dispatch 
+0005 c0620012 beq patch18_4 ,p_app_init 
+0006 c07b80bb beq patch1e_7 ,p_usb_init 
+0007 c07c00e6 beq patch1f_0 ,p_usb_status1 
+0008 c07e00cd beq patch1f_4 ,p_usb_tx 
 0009 20202a8e branch loop 
 
 pf_patch_ext:
-000a 20202a8e branch loop 
+000a c01b814b beq patch26_7 ,p_le_master_dispatch 
+000b c02d016a beq patch2b_2 ,p_le_acknowledge 
+000c c02f817f beq patch2b_7 ,p_le_scan 
+000d c031019a beq patch2c_2 ,p_le_create_conn 
+000e c033019d beq patch2c_6 ,p_le_parse 
+000f c03381b3 beq patch2c_7 ,p_le_parse_l2cap 
+0010 c07c81e4 beq patch3f_1 ,p_check_51cmd_once 
+0011 20202a8e branch loop 
 
 p_app_init:
-000b 70895b86 jam 0x86 ,0x895b 
-000c 70895ca0 jam 0xa0 ,0x895c 
-000d 58000270 setarg p_g24_matrix_data 
-000e 600147d7 store 2 ,mem_cb_24g_data 
-000f 5800004a setarg p_app_priority_bb_event 
-0010 600141f5 store 2 ,mem_cb_bb_event_process 
-0011 58000052 setarg p_app_bb_event_timer 
-0012 600141fd store 2 ,mem_cb_event_timer 
-0013 204074b9 call enable_authrom 
-0014 204048ea call usb_init 
-0015 20400017 call p_app_ui_init 
-0016 2020002a branch p_app_mode_select 
+0012 70895b86 jam 0x86 ,0x895b 
+0013 70895ca0 jam 0xa0 ,0x895c 
+0014 5800034d setarg p_g24_matrix_data 
+0015 600147d7 store 2 ,mem_cb_24g_data 
+0016 58000050 setarg p_app_priority_bb_event 
+0017 600141f5 store 2 ,mem_cb_bb_event_process 
+0018 5800005e setarg p_app_bb_event_timer 
+0019 600141fd store 2 ,mem_cb_event_timer 
+001a 204074b9 call enable_authrom 
+001b 204048ea call usb_init 
+001c 2040001e call p_app_ui_init 
+001d 20200031 branch p_app_mode_select 
 
 p_app_ui_init:
-0017 6808c80a fetcht 1 ,mem_quickconn_sel_27_gpio 
-0018 204067fb call gpio_config_input 
-0019 6808c80b fetcht 1 ,mem_quickconn_sel_28_gpio 
-001a 204067fb call gpio_config_input 
-001b 6808c80c fetcht 1 ,mem_quickconn_24g_led_gpio 
-001c 2040680e call gpio_config_output 
-001d 6808c80d fetcht 1 ,mem_quickconn_ble_led_gpio 
-001e 2040680e call gpio_config_output 
-001f 6808c80e fetcht 1 ,mem_quickconn_classic_led_gpio 
-0020 2020680e branch gpio_config_output 
+001e 6808c847 fetcht 1 ,mem_quickconn_sel_27_gpio 
+001f 204067fb call gpio_config_input 
+0020 6808c848 fetcht 1 ,mem_quickconn_sel_28_gpio 
+0021 204067fb call gpio_config_input 
+0022 6808c849 fetcht 1 ,mem_quickconn_24g_led_gpio 
+0023 2040680e call gpio_config_output 
+0024 6808c84a fetcht 1 ,mem_quickconn_ble_led_gpio 
+0025 2040680e call gpio_config_output 
+0026 6808c84b fetcht 1 ,mem_quickconn_classic_led_gpio 
+0027 2020680e branch gpio_config_output 
 
 p_app_check_key_gpio:
-0021 da200000 arg 0 ,rega 
-0022 6808c80a fetcht 1 ,mem_quickconn_sel_27_gpio 
-0023 2040681d call gpio_get_bit 
-0024 7920a200 setflag true ,0 ,rega 
-0025 6808c80b fetcht 1 ,mem_quickconn_sel_28_gpio 
-0026 2040681d call gpio_get_bit 
-0027 7920a201 setflag true ,1 ,rega 
-0028 1a227e00 copy rega ,pdata 
-0029 20600000 rtn 
+0028 da200000 arg 0 ,rega 
+0029 6808c847 fetcht 1 ,mem_quickconn_sel_27_gpio 
+002a 2040681d call gpio_get_bit 
+002b 7920a200 setflag true ,0 ,rega 
+002c 6808c848 fetcht 1 ,mem_quickconn_sel_28_gpio 
+002d 2040681d call gpio_get_bit 
+002e 7920a201 setflag true ,1 ,rega 
+002f 1a227e00 copy rega ,pdata 
+0030 20600000 rtn 
 
 p_app_mode_select:
-002a 20400021 call p_app_check_key_gpio 
-002b c000803c beq quick_conn_ble ,p_app_mode_select_ble 
-002c c0010040 beq quick_conn_classic ,p_app_mode_select_classic 
-002d c0000030 beq quick_conn_24g_receiver ,p_app_mode_select_24g_receiver 
-002e c0018034 beq quick_conn_24g_transmitter ,p_app_mode_select_24g_transmitter 
-002f 20600000 rtn 
+0031 20400028 call p_app_check_key_gpio 
+0032 c0008043 beq quick_conn_ble ,p_app_mode_select_ble 
+0033 c0010046 beq quick_conn_classic ,p_app_mode_select_classic 
+0034 c0000037 beq quick_conn_24g_receiver ,p_app_mode_select_24g_receiver 
+0035 c001803b beq quick_conn_24g_transmitter ,p_app_mode_select_24g_transmitter 
+0036 20600000 rtn 
 
 p_app_mode_select_24g_receiver:
-0030 6000c809 store 1 ,mem_app_mode_select 
-0031 6808c80c fetcht 1 ,mem_quickconn_24g_led_gpio 
-0032 20406829 call gpio_out_active 
-0033 202002a8 branch p_g24_receiver_init 
+0037 6000c846 store 1 ,mem_app_mode_select 
+0038 6808c849 fetcht 1 ,mem_quickconn_24g_led_gpio 
+0039 20406829 call gpio_out_active 
+003a 20200385 branch p_g24_receiver_init 
 
 p_app_mode_select_24g_transmitter:
-0034 6000c809 store 1 ,mem_app_mode_select 
-0035 6808c80c fetcht 1 ,mem_quickconn_24g_led_gpio 
-0036 20406829 call gpio_out_active 
-0037 6808c80d fetcht 1 ,mem_quickconn_ble_led_gpio 
-0038 20406829 call gpio_out_active 
-0039 6808c80e fetcht 1 ,mem_quickconn_classic_led_gpio 
-003a 20406829 call gpio_out_active 
-003b 2020011d branch p_g24_transmitter_init 
+003b 6000c846 store 1 ,mem_app_mode_select 
+003c 6808c849 fetcht 1 ,mem_quickconn_24g_led_gpio 
+003d 20406829 call gpio_out_active 
+003e 6808c84a fetcht 1 ,mem_quickconn_ble_led_gpio 
+003f 20406829 call gpio_out_active 
+0040 6808c84b fetcht 1 ,mem_quickconn_classic_led_gpio 
+0041 20406829 call gpio_out_active 
+0042 202001fa branch p_g24_transmitter_init 
 
 p_app_mode_select_ble:
-003c 6000c809 store 1 ,mem_app_mode_select 
-003d 6808c80d fetcht 1 ,mem_quickconn_ble_led_gpio 
-003e 20406829 call gpio_out_active 
-003f 20600000 rtn 
+0043 6000c846 store 1 ,mem_app_mode_select 
+0044 20400148 call p_le_start_scan 
+0045 20600000 rtn 
 
 p_app_mode_select_classic:
-0040 6000c809 store 1 ,mem_app_mode_select 
-0041 6808c80e fetcht 1 ,mem_quickconn_classic_led_gpio 
-0042 20406829 call gpio_out_active 
-0043 20600000 rtn 
+0046 6000c846 store 1 ,mem_app_mode_select 
+0047 6808c84b fetcht 1 ,mem_quickconn_classic_led_gpio 
+0048 20406829 call gpio_out_active 
+0049 20600000 rtn 
 
 p_app_mode_check:
-0044 20400021 call p_app_check_key_gpio 
-0045 6808c809 fetcht 1 ,mem_app_mode_select 
-0046 98467c00 isub temp ,null 
-0047 20628000 rtn zero 
-0048 2040659a call soft_reset_chip 
-0049 20202a8e branch loop 
+004a 20400028 call p_app_check_key_gpio 
+004b 6808c846 fetcht 1 ,mem_app_mode_select 
+004c 98467c00 isub temp ,null 
+004d 20628000 rtn zero 
+004e 2040659a call soft_reset_chip 
+004f 20202a8e branch loop 
 
 p_app_priority_bb_event:
-004a 1a627e00 copy regc ,pdata 
-004b c01c804e beq bt_evt_24g_pairing_complete ,p_g24_transmitter_pairing_complete 
-004c c01d004f beq bt_evt_24g_attempt_fail ,p_g24_transmitter_attempt_fail 
-004d 20600000 rtn 
+0050 1a627e00 copy regc ,pdata 
+0051 c01c8055 beq bt_evt_24g_pairing_complete ,p_g24_transmitter_pairing_complete 
+0052 c01d0056 beq bt_evt_24g_attempt_fail ,p_g24_transmitter_attempt_fail 
+0053 c00a8059 beq bt_evt_le_disconnected ,p_le_master_disconnected 
+0054 20600000 rtn 
 
 p_g24_transmitter_pairing_complete:
-004e 20200187 branch p_g24_auto_pair_timeout_clear 
+0055 20200264 branch p_g24_auto_pair_timeout_clear 
 
 p_g24_transmitter_attempt_fail:
-004f 2040026d call p_g24_check_51cmd_stop_24g 
-0050 2040659a call soft_reset_chip 
-0051 20202a8e branch loop 
+0056 2040034a call p_g24_check_51cmd_stop_24g 
+0057 2040659a call soft_reset_chip 
+0058 20202a8e branch loop 
+
+p_le_master_disconnected:
+0059 58000000 setarg 0 
+005a 6003448f store 6 ,mem_le_conn_peer_addr 
+005b 70482d02 jam 2 ,mem_le_send_write_request_count 
+005c 20400148 call p_le_start_scan 
+005d 20200127 branch p_usb_ble_disconnected 
 
 p_app_bb_event_timer:
-0052 20400054 call p_g24_transmitter_pair_timeout_timer 
-0053 20600000 rtn 
+005e 20400060 call p_g24_transmitter_pair_timeout_timer 
+005f 20600000 rtn 
 
 p_g24_transmitter_pair_timeout_timer:
-0054 da6047e6 arg mem_24g_stop_g24_mode_timeout ,regc 
-0055 da400057 arg p_g24_transmitter_pair_timeout ,regb 
-0056 20203374 branch timer_single_step_2b 
+0060 da6047e6 arg mem_24g_stop_g24_mode_timeout ,regc 
+0061 da400063 arg p_g24_transmitter_pair_timeout ,regb 
+0062 20203374 branch timer_single_step_2b 
 
 p_g24_transmitter_pair_timeout:
-0057 7047e501 jam 1 ,mem_24g_stop_g24_mode 
-0058 20600000 rtn 
+0063 7047e501 jam 1 ,mem_24g_stop_g24_mode 
+0064 20600000 rtn 
 
 p_save_rssi:
-0059 68110981 hfetch 2 ,rf_afc_d2a 
-005a 1ff1fe00 rshift4 pdata ,pdata 
-005b 1fe97e00 rshift3 pdata ,pdata 
-005c 1fe67e00 sub pdata ,0 ,pdata 
-005d 1fe17eff and_into 0xff ,pdata 
-005e 6000c7c5 store 1 ,mem_rssi_hex 
-005f 202029c1 branch save_rssi + 6 
+0065 68110981 hfetch 2 ,rf_afc_d2a 
+0066 1ff1fe00 rshift4 pdata ,pdata 
+0067 1fe97e00 rshift3 pdata ,pdata 
+0068 1fe67e00 sub pdata ,0 ,pdata 
+0069 1fe17eff and_into 0xff ,pdata 
+006a 6000c7c5 store 1 ,mem_rssi_hex 
+006b 202029c1 branch save_rssi + 6 
 
 p_shutdown_radio:
-0060 18002a08 force 8 ,radio_ctrl 
-0061 202028fa branch shutdown_radio + 1 
+006c 18002a08 force 8 ,radio_ctrl 
+006d 202028fa branch shutdown_radio + 1 
 
 p_set_freq_tx:
-0062 60088017 storet 1 ,mem_last_freq 
-0063 1840a200 add temp ,0 ,rega 
-0064 20402981 call rf_write_freq 
-0065 58000500 setarg param_pll_setup 
-0066 20402a8f call sleep 
+006e 60088017 storet 1 ,mem_last_freq 
+006f 1840a200 add temp ,0 ,rega 
+0070 20402981 call rf_write_freq 
+0071 58000500 setarg param_pll_setup 
+0072 20402a8f call sleep 
 
 p_rf_tx_enable:
-0067 70890601 jam 0x1 ,rfen_adc 
-0068 7089003c jam 0x3c ,rfen_rx 
-0069 708901e0 jam 0xe0 ,rfen_tx 
-006a 2000000a nop 10 
-006b 70890201 jam 0x01 ,rfen_mdm 
-006c 7089023d jam 0x3d ,rfen_mdm 
-006d 2000000a nop 10 
-006e 708903b7 jam 0xb7 ,rfen_sn 
-006f 2000000a nop 10 
-0070 7089027d jam 0x7d ,rfen_mdm 
-0071 6800c1de fetch 1 ,mem_tx_power 
-0072 c0000079 beq tx_power_0db ,p_set_tx_power_0db 
-0073 c0008081 beq tx_power_3db ,p_set_tx_power_3db 
-0074 c0010089 beq tx_power_5db ,p_set_tx_power_5db 
-0075 c0018091 beq tx_power_f3db ,p_set_tx_power_f3db 
-0076 c0020099 beq tx_power_f5db ,p_set_tx_power_f5db 
-0077 c01000ab beq tx_power_pair ,p_set_tx_power_pair 
-0078 20200089 branch p_set_tx_power_5db 
+0073 70890601 jam 0x1 ,rfen_adc 
+0074 7089003c jam 0x3c ,rfen_rx 
+0075 708901e0 jam 0xe0 ,rfen_tx 
+0076 2000000a nop 10 
+0077 70890201 jam 0x01 ,rfen_mdm 
+0078 7089023d jam 0x3d ,rfen_mdm 
+0079 2000000a nop 10 
+007a 708903b7 jam 0xb7 ,rfen_sn 
+007b 2000000a nop 10 
+007c 7089027d jam 0x7d ,rfen_mdm 
+007d 6800c1de fetch 1 ,mem_tx_power 
+007e c0000085 beq tx_power_0db ,p_set_tx_power_0db 
+007f c000808d beq tx_power_3db ,p_set_tx_power_3db 
+0080 c0010095 beq tx_power_5db ,p_set_tx_power_5db 
+0081 c001809d beq tx_power_f3db ,p_set_tx_power_f3db 
+0082 c00200a5 beq tx_power_f5db ,p_set_tx_power_f5db 
+0083 c01000b7 beq tx_power_pair ,p_set_tx_power_pair 
+0084 20200095 branch p_set_tx_power_5db 
 
 p_set_tx_power_0db:
-0079 204000a1 call p_rx_low_sens 
-007a 70894bba jam 0xba ,0x894b 
-007b 708955d0 jam 0xd0 ,0x8955 
-007c 708956e0 jam 0xe0 ,0x8956 
-007d 70895788 jam 0x88 ,0x8957 
-007e 7089586c jam 0x6c ,0x8958 
-007f 70895910 jam 0x10 ,0x8959 
-0080 2020294b branch set_tx_power_0db 
+0085 204000ad call p_rx_low_sens 
+0086 70894bba jam 0xba ,0x894b 
+0087 708955d0 jam 0xd0 ,0x8955 
+0088 708956e0 jam 0xe0 ,0x8956 
+0089 70895788 jam 0x88 ,0x8957 
+008a 7089586c jam 0x6c ,0x8958 
+008b 70895910 jam 0x10 ,0x8959 
+008c 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_3db:
-0081 204000a6 call p_rx_high_sens 
-0082 70894bba jam 0xba ,0x894b 
-0083 708955d0 jam 0xd0 ,0x8955 
-0084 708956e0 jam 0xe0 ,0x8956 
-0085 70895788 jam 0x88 ,0x8957 
-0086 7089583c jam 0x3c ,0x8958 
-0087 70895910 jam 0x10 ,0x8959 
-0088 2020294f branch set_tx_power_3db 
+008d 204000b2 call p_rx_high_sens 
+008e 70894bba jam 0xba ,0x894b 
+008f 708955d0 jam 0xd0 ,0x8955 
+0090 708956e0 jam 0xe0 ,0x8956 
+0091 70895788 jam 0x88 ,0x8957 
+0092 7089583c jam 0x3c ,0x8958 
+0093 70895910 jam 0x10 ,0x8959 
+0094 2020294f branch set_tx_power_3db 
 
 p_set_tx_power_5db:
-0089 204000a6 call p_rx_high_sens 
-008a 70894bba jam 0xba ,0x894b 
-008b 708955d0 jam 0xd0 ,0x8955 
-008c 708956e0 jam 0xe0 ,0x8956 
-008d 70895788 jam 0x88 ,0x8957 
-008e 7089583c jam 0x3c ,0x8958 
-008f 70895910 jam 0x10 ,0x8959 
-0090 20202953 branch set_tx_power_5db 
+0095 204000b2 call p_rx_high_sens 
+0096 70894bba jam 0xba ,0x894b 
+0097 708955d0 jam 0xd0 ,0x8955 
+0098 708956e0 jam 0xe0 ,0x8956 
+0099 70895788 jam 0x88 ,0x8957 
+009a 7089583c jam 0x3c ,0x8958 
+009b 70895910 jam 0x10 ,0x8959 
+009c 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f3db:
-0091 204000a1 call p_rx_low_sens 
-0092 70894bba jam 0xba ,0x894b 
-0093 708955d0 jam 0xd0 ,0x8955 
-0094 708956c0 jam 0xc0 ,0x8956 
-0095 70895788 jam 0x88 ,0x8957 
-0096 7089586c jam 0x6c ,0x8958 
-0097 70895910 jam 0x10 ,0x8959 
-0098 20202957 branch set_tx_power_f3db 
+009d 204000ad call p_rx_low_sens 
+009e 70894bba jam 0xba ,0x894b 
+009f 708955d0 jam 0xd0 ,0x8955 
+00a0 708956c0 jam 0xc0 ,0x8956 
+00a1 70895788 jam 0x88 ,0x8957 
+00a2 7089586c jam 0x6c ,0x8958 
+00a3 70895910 jam 0x10 ,0x8959 
+00a4 20202957 branch set_tx_power_f3db 
 
 p_set_tx_power_f5db:
-0099 204000a1 call p_rx_low_sens 
-009a 70894bba jam 0xba ,0x894b 
-009b 708955d0 jam 0xd0 ,0x8955 
-009c 708956c0 jam 0xc0 ,0x8956 
-009d 70895788 jam 0x88 ,0x8957 
-009e 7089586c jam 0x6c ,0x8958 
-009f 70895910 jam 0x10 ,0x8959 
-00a0 2020295b branch set_tx_power_f5db 
+00a5 204000ad call p_rx_low_sens 
+00a6 70894bba jam 0xba ,0x894b 
+00a7 708955d0 jam 0xd0 ,0x8955 
+00a8 708956c0 jam 0xc0 ,0x8956 
+00a9 70895788 jam 0x88 ,0x8957 
+00aa 7089586c jam 0x6c ,0x8958 
+00ab 70895910 jam 0x10 ,0x8959 
+00ac 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-00a1 70894c5b jam 0x5b ,0x894c 
-00a2 70894d96 jam 0x96 ,0x894d 
-00a3 70894e2c jam 0x2c ,0x894e 
-00a4 70894f46 jam 0x46 ,0x894f 
-00a5 20600000 rtn 
+00ad 70894c5b jam 0x5b ,0x894c 
+00ae 70894d96 jam 0x96 ,0x894d 
+00af 70894e2c jam 0x2c ,0x894e 
+00b0 70894f46 jam 0x46 ,0x894f 
+00b1 20600000 rtn 
 
 p_rx_high_sens:
-00a6 70894cfb jam 0xfb ,0x894c 
-00a7 70894def jam 0xef ,0x894d 
-00a8 70894eec jam 0xec ,0x894e 
-00a9 70894f5e jam 0x5e ,0x894f 
-00aa 20600000 rtn 
+00b2 70894cfb jam 0xfb ,0x894c 
+00b3 70894def jam 0xef ,0x894d 
+00b4 70894eec jam 0xec ,0x894e 
+00b5 70894f5e jam 0x5e ,0x894f 
+00b6 20600000 rtn 
 
 p_set_tx_power_pair:
-00ab 70894bba jam 0xba ,0x894b 
-00ac 708956c2 jam 0xc2 ,0x8956 
-00ad 708955d0 jam 0xd0 ,0x8955 
-00ae 20600000 rtn 
+00b7 70894bba jam 0xba ,0x894b 
+00b8 708956c2 jam 0xc2 ,0x8956 
+00b9 708955d0 jam 0xd0 ,0x8955 
+00ba 20600000 rtn 
 
 p_usb_init:
-00af d8a013d2 arg mem_usb_pc_data ,contw 
-00b0 20407ed2 call clear_mem_512 
-00b1 708a0500 jam 0 ,core_usb_driver 
-00b2 204000b4 call p_usb_init_param 
-00b3 202048ec branch usb_init + 2 
+00bb d8a013d2 arg mem_usb_pc_data ,contw 
+00bc 20407ed2 call clear_mem_512 
+00bd 708a0500 jam 0 ,core_usb_driver 
+00be 204000c0 call p_usb_init_param 
+00bf 202048ec branch usb_init + 2 
 
 p_usb_init_param:
-00b4 700c6b02 jam 2 ,mem_usb0_state 
-00b5 58000000 setarg 0x0 
-00b6 60008b67 store 1 ,mem_remain 
-00b7 60010c65 store 2 ,mem_usb_zero_packet 
-00b8 1fe0fe01 pincrease 1 
-00b9 60010c67 store 2 ,mem_usb_ones_packet 
-00ba 1fe0fe01 pincrease 1 
-00bb 60010c69 store 2 ,mem_usb_two_packet 
-00bc 580011c8 setarg mem_hidreportdesc_kb_temp 
-00bd 60010b7c store 2 ,mem_hidreportdesc_kb 
-00be 58001290 setarg mem_hidreportdesc_m_temp 
-00bf 60010b7e store 2 ,mem_hidreportdesc_m 
-00c0 20600000 rtn 
+00c0 700c6b02 jam 2 ,mem_usb0_state 
+00c1 58000000 setarg 0x0 
+00c2 60008b67 store 1 ,mem_remain 
+00c3 60010c65 store 2 ,mem_usb_zero_packet 
+00c4 1fe0fe01 pincrease 1 
+00c5 60010c67 store 2 ,mem_usb_ones_packet 
+00c6 1fe0fe01 pincrease 1 
+00c7 60010c69 store 2 ,mem_usb_two_packet 
+00c8 580011c8 setarg mem_hidreportdesc_kb_temp 
+00c9 60010b7c store 2 ,mem_hidreportdesc_kb 
+00ca 58001290 setarg mem_hidreportdesc_m_temp 
+00cb 60010b7e store 2 ,mem_hidreportdesc_m 
+00cc 20600000 rtn 
 
 p_usb_tx:
-00c1 68008d38 fetch 1 ,mem_usb_tx_enable 
-00c2 207a0000 rtn blank 
-00c3 68008d37 fetch 1 ,mem_usb_tx_wait 
-00c4 243a4bac nbranch usb_inwake_state_tx_dispose ,blank 
-00c5 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
-00c6 203a4b86 branch usb_tx_fifo_release ,blank 
-00c7 68008d36 fetch 1 ,mem_usb_state 
-00c8 c001cbbf beq usb_sleep ,usb_windows_wakeup 
-00c9 c0814b86 bne usb_connected ,usb_tx_fifo_release 
-00ca 68008d3a fetch 1 ,mem_usb_clear_remote_wakeup 
-00cb 243a4b86 nbranch usb_tx_fifo_release ,blank 
-00cc 20404b6f call usb_tx_data_ep1 
-
-p_usb_tx_data_ep2:
 00cd 68008d38 fetch 1 ,mem_usb_tx_enable 
-00ce c4010000 rtnbit0 2 
+00ce 207a0000 rtn blank 
 00cf 68008d37 fetch 1 ,mem_usb_tx_wait 
-00d0 c3810000 rtnbit1 2 
-00d1 68008d38 fetch 1 ,mem_usb_tx_enable 
-00d2 793ffe02 set0 2 ,pdata 
-00d3 60008d38 store 1 ,mem_usb_tx_enable 
-00d4 68008d52 fetch 1 ,mem_usb_ep2_data 
-00d5 207a0000 rtn blank 
-00d6 700d5200 jam 0 ,mem_usb_ep2_data 
-00d7 df200040 arg 64 ,loopcnt 
-00d8 d8c013d2 arg mem_usb_pc_data ,contr 
-00d9 20204b5e branch usb_tx_ep2 
+00d0 243a4bac nbranch usb_inwake_state_tx_dispose ,blank 
+00d1 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
+00d2 203a4b86 branch usb_tx_fifo_release ,blank 
+00d3 68008d36 fetch 1 ,mem_usb_state 
+00d4 c001cbbf beq usb_sleep ,usb_windows_wakeup 
+00d5 c0814b86 bne usb_connected ,usb_tx_fifo_release 
+00d6 68008d3a fetch 1 ,mem_usb_clear_remote_wakeup 
+00d7 243a4b86 nbranch usb_tx_fifo_release ,blank 
+00d8 20404b6f call usb_tx_data_ep1 
+
+p_usb_tx_data_ep2:
+00d9 68008d38 fetch 1 ,mem_usb_tx_enable 
+00da c4010000 rtnbit0 2 
+00db 68008d37 fetch 1 ,mem_usb_tx_wait 
+00dc c3810000 rtnbit1 2 
+00dd 68008d38 fetch 1 ,mem_usb_tx_enable 
+00de 793ffe02 set0 2 ,pdata 
+00df 60008d38 store 1 ,mem_usb_tx_enable 
+00e0 68008d52 fetch 1 ,mem_usb_ep2_data 
+00e1 207a0000 rtn blank 
+00e2 700d5200 jam 0 ,mem_usb_ep2_data 
+00e3 df200040 arg 64 ,loopcnt 
+00e4 d8c013d2 arg mem_usb_pc_data ,contr 
+00e5 20204b5e branch usb_tx_ep2 
 
 p_usb_status1:
-00da 708a2611 jam 0x11 ,core_usb_status 
-00db 68108a20 hfetch 1 ,core_usb_ep_len 
-00dc 60008b24 store 1 ,mem_usb_read_len 
-00dd 1fe27200 copy pdata ,loopcnt 
-00de 203a4943 branch usb_rx_no_data ,blank 
-00df d8a00c6e arg mem_usb_setup ,contw 
-00e0 20404946 call usb_rx_read 
-00e1 68008b24 fetch 1 ,mem_usb_read_len 
-00e2 1fe67c07 sub pdata ,7 ,null 
-00e3 20610000 rtn positive 
-00e4 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
-00e5 1fe17e80 and_into 0x80 ,pdata 
-00e6 c00000e8 beq out_device ,p_usb_out_device 
-00e7 20204957 branch usb_class_type + 2 
+00e6 708a2611 jam 0x11 ,core_usb_status 
+00e7 68108a20 hfetch 1 ,core_usb_ep_len 
+00e8 60008b24 store 1 ,mem_usb_read_len 
+00e9 1fe27200 copy pdata ,loopcnt 
+00ea 203a4943 branch usb_rx_no_data ,blank 
+00eb d8a00c6e arg mem_usb_setup ,contw 
+00ec 20404946 call usb_rx_read 
+00ed 68008b24 fetch 1 ,mem_usb_read_len 
+00ee 1fe67c07 sub pdata ,7 ,null 
+00ef 20610000 rtn positive 
+00f0 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+00f1 1fe17e80 and_into 0x80 ,pdata 
+00f2 c00000f4 beq out_device ,p_usb_out_device 
+00f3 20204957 branch usb_class_type + 2 
 
 p_usb_out_device:
-00e8 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
-00e9 1ff1fe00 rshift4 pdata ,pdata 
-00ea 1fe37e00 rshift pdata ,pdata 
-00eb 1fe17e03 and_into 0x03 ,pdata 
-00ec c00080ee beq class_req ,p_usb_out_class_req 
-00ed 20204966 branch usb_out_device + 4 
+00f4 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+00f5 1ff1fe00 rshift4 pdata ,pdata 
+00f6 1fe37e00 rshift pdata ,pdata 
+00f7 1fe17e03 and_into 0x03 ,pdata 
+00f8 c00080fa beq class_req ,p_usb_out_class_req 
+00f9 20204966 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-00ee 68008c6f fetch 1 ,mem_usb_setup_brequest 
-00ef c00480f1 beq set_report ,p_usb_set_report 
-00f0 2020497f branch usb_out_class_req + 1 
+00fa 68008c6f fetch 1 ,mem_usb_setup_brequest 
+00fb c00480fd beq set_report ,p_usb_set_report 
+00fc 2020497f branch usb_out_class_req + 1 
 
 p_usb_set_report:
-00f1 700d5001 jam 1 ,mem_usb0_get_set_report 
-00f2 20404b03 call usb_set_report_resume_judge 
-00f3 68010c70 fetch 2 ,mem_usb_setup_bvalue 
-00f4 60010d4e store 2 ,mem_usb_setup_bvalue_temp 
-00f5 20003a98 nop 15000 
-00f6 68108a20 hfetch 1 ,core_usb_ep_len 
-00f7 245a00fb ncall p_usb_set_report_rxdata ,blank 
-00f8 68008d43 fetch 1 ,mem_usb_tx_win_enable 
-00f9 245a00fe ncall p_usb_get_output_data ,blank 
-00fa 20204afd branch usb_set_report + 4 
+00fd 700d5001 jam 1 ,mem_usb0_get_set_report 
+00fe 20404b03 call usb_set_report_resume_judge 
+00ff 68010c70 fetch 2 ,mem_usb_setup_bvalue 
+0100 60010d4e store 2 ,mem_usb_setup_bvalue_temp 
+0101 20003a98 nop 15000 
+0102 68108a20 hfetch 1 ,core_usb_ep_len 
+0103 245a0107 ncall p_usb_set_report_rxdata ,blank 
+0104 68008d43 fetch 1 ,mem_usb_tx_win_enable 
+0105 245a010a ncall p_usb_get_output_data ,blank 
+0106 20204afd branch usb_set_report + 4 
 
 p_usb_set_report_rxdata:
-00fb 1fe27200 copy pdata ,loopcnt 
-00fc d8a00c76 arg mem_usb0_setup ,contw 
-00fd 20204946 branch usb_rx_read 
+0107 1fe27200 copy pdata ,loopcnt 
+0108 d8a00c76 arg mem_usb0_setup ,contw 
+0109 20204946 branch usb_rx_read 
 
 p_usb_get_output_data:
-00fe 68008c76 fetch 1 ,mem_usb0_setup 
-00ff 6000c7e3 store 1 ,mem_24g_led_status 
-0100 7047a203 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
-0101 20600000 rtn 
+010a 68008c76 fetch 1 ,mem_usb0_setup 
+010b 6000c7e3 store 1 ,mem_24g_led_status 
+010c 7047a203 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
+010d 20600000 rtn 
 
 p_usb_ms_data_header:
-0102 7013d2ba jam pc_report_id ,mem_usb_pc_data 
-0103 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
-0104 7013d432 jam pc_evt_ms_data_7b_upload ,mem_usb_pc_data + 2 
-0105 7013d507 jam pc_evt_ms_data_len_7b ,mem_usb_pc_data + 3 
-0106 20600000 rtn 
+010e 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+010f 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0110 7013d432 jam pc_evt_ms_data_7b_upload ,mem_usb_pc_data + 2 
+0111 7013d507 jam pc_evt_ms_data_len_7b ,mem_usb_pc_data + 3 
+0112 20600000 rtn 
 
 p_usb_kb_normal_data_header:
-0107 7013d2ba jam pc_report_id ,mem_usb_pc_data 
-0108 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
-0109 7013d428 jam pc_evt_kb_normal_data_upload ,mem_usb_pc_data + 2 
-010a 7013d508 jam pc_evt_kb_normal_data_len_8b ,mem_usb_pc_data + 3 
-010b 20600000 rtn 
+0113 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0114 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0115 7013d428 jam pc_evt_kb_normal_data_upload ,mem_usb_pc_data + 2 
+0116 7013d508 jam pc_evt_kb_normal_data_len_8b ,mem_usb_pc_data + 3 
+0117 20600000 rtn 
 
 p_usb_kb_multimedia_data_header:
-010c 7013d2ba jam pc_report_id ,mem_usb_pc_data 
-010d 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
-010e 7013d430 jam pc_evt_kb_multimedia_data_upload ,mem_usb_pc_data + 2 
-010f 7013d503 jam pc_evt_kb_multimedia_data_len_3b ,mem_usb_pc_data + 3 
-0110 20600000 rtn 
+0118 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0119 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+011a 7013d430 jam pc_evt_kb_multimedia_data_upload ,mem_usb_pc_data + 2 
+011b 7013d503 jam pc_evt_kb_multimedia_data_len_3b ,mem_usb_pc_data + 3 
+011c 20600000 rtn 
 
 p_usb_kb_sysctrl_data_header:
-0111 7013d2ba jam pc_report_id ,mem_usb_pc_data 
-0112 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
-0113 7013d431 jam pc_evt_kb_sysctrl_data_upload ,mem_usb_pc_data + 2 
-0114 7013d502 jam pc_evt_kb_sysctrl_data_len_2b ,mem_usb_pc_data + 3 
-0115 20600000 rtn 
+011d 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+011e 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+011f 7013d431 jam pc_evt_kb_sysctrl_data_upload ,mem_usb_pc_data + 2 
+0120 7013d502 jam pc_evt_kb_sysctrl_data_len_2b ,mem_usb_pc_data + 3 
+0121 20600000 rtn 
+
+p_usb_ble_connected_header:
+0122 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0123 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0124 7013d402 jam pc_evt_ble_connected ,mem_usb_pc_data + 2 
+0125 7013d500 jam pc_evt_len_null ,mem_usb_pc_data + 3 
+0126 202031b8 branch usb_ep2_tx_enable 
+
+p_usb_ble_disconnected:
+0127 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0128 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0129 7013d405 jam pc_evt_ble_disconnected ,mem_usb_pc_data + 2 
+012a 7013d500 jam pc_evt_len_null ,mem_usb_pc_data + 3 
+012b 202031b8 branch usb_ep2_tx_enable 
+
+p_usb_classic_connected_header:
+012c 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+012d 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+012e 7013d400 jam pc_evt_classic_connected ,mem_usb_pc_data + 2 
+012f 7013d500 jam pc_evt_len_null ,mem_usb_pc_data + 3 
+0130 202031b8 branch usb_ep2_tx_enable 
+
+p_usb_classic_disconnected:
+0131 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0132 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0133 7013d403 jam pc_evt_classic_disconnected ,mem_usb_pc_data + 2 
+0134 7013d500 jam pc_evt_len_null ,mem_usb_pc_data + 3 
+0135 202031b8 branch usb_ep2_tx_enable 
+
+p_usb_bt_device_name:
+0136 7013d2ba jam pc_report_id ,mem_usb_pc_data 
+0137 7013d302 jam pc_evt_type ,mem_usb_pc_data + 1 
+0138 7013d433 jam pc_evt_device_name_upload ,mem_usb_pc_data + 2 
+0139 202031b8 branch usb_ep2_tx_enable 
 
 p_usb_dispatch:
-0116 204048d3 call usb_isr 
-0117 20600000 rtn 
+013a 204048d3 call usb_isr 
+013b 20600000 rtn 
+
+p_app_led_config:
+013c 6800c21a fetch 1 ,mem_ui_led_struct_num 
+013d 207a0000 rtn blank 
+013e da200000 arg 0 ,rega 
+013f 20207d24 branch ui_led_set_style_global 
+
+p_app_led_off:
+0140 6800c21a fetch 1 ,mem_ui_led_struct_num 
+0141 207a0000 rtn blank 
+0142 da200000 arg 0 ,rega 
+0143 20207d19 branch ui_led_off_global 
+
+p_app_led_on:
+0144 6800c21a fetch 1 ,mem_ui_led_struct_num 
+0145 207a0000 rtn blank 
+0146 da200000 arg 0 ,rega 
+0147 20207d14 branch ui_led_on_global 
+
+p_le_start_scan:
+0148 70436901 jam on ,mem_le_scan_enable 
+0149 da60482e arg mem_le_scan_led_style ,regc 
+014a 2020013c branch p_app_led_config 
+
+p_le_master_dispatch:
+014b 68008005 fetch 1 ,mem_le_conn_rcv 
+014c 1fe0fe01 increase 1 ,pdata 
+014d 60008005 store 1 ,mem_le_conn_rcv 
+014e 204055aa call le_acknowledge 
+014f 20400152 call p_le_master_sm 
+0150 7854fc00 disable master 
+0151 20600000 rtn 
+
+p_le_master_sm:
+0152 6800c7fc fetch 1 ,mem_le_conn_sm 
+0153 c0108157 beq conn_sm_send_write_req ,p_le_data_send_write_req 
+0154 c0128163 beq conn_sm_wait_write_res ,p_le_data_wait_write_res 
+0155 c0130169 beq conn_sm_wait_write_res1 ,p_le_data_wait_write_res1 
+0156 20600000 rtn 
+
+p_le_data_send_write_req:
+0157 7047fc00 jam 0 ,mem_le_conn_sm 
+0158 5800001a setarg 0x1a 
+0159 6001446f store 2 ,mem_le_notify_handle 
+
+p_le_send_att_write_request:
+015a 18002205 force 5 ,rega 
+015b 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+015c 58000012 setarg attop_write_request 
+015d e0a08000 istore 1 ,contw 
+015e 6801446f fetch 2 ,mem_le_notify_handle 
+015f e0a10000 istore 2 ,contw 
+0160 58000001 setarg 0x0001 
+0161 e0a10000 istore 2 ,contw 
+0162 20600000 rtn 
+
+p_le_data_wait_write_res:
+0163 7047fc26 jam conn_sm_wait_write_res1 ,mem_le_conn_sm 
+0164 204058ba call le_send_att_exchange_mtu_requset 
+0165 68014682 fetch 2 ,mem_ui_state_map 
+0166 79207e09 set1 ui_state_ble_connected ,pdata 
+0167 60014682 store 2 ,mem_ui_state_map 
+0168 20600000 rtn 
+
+p_le_data_wait_write_res1:
+0169 20600000 rtn 
+
+p_le_acknowledge:
+016a 204056ed call le_supervision_flush 
+016b 204055c0 call le_check_wak 
+016c 680082d9 fetch 1 ,mem_le_rxbuf 
+016d 2feffe04 isolate1 md ,pdata 
+016e 7920802a setflag true ,mark_ble_rx_md ,mark 
+016f 1fe37e00 rshift pdata ,pdata 
+0170 9842fe00 ixor temp ,pdata 
+0171 2feffe02 isolate1 nesn ,pdata 
+0172 7920800f setflag true ,mark_old_packet ,mark 
+0173 c6078000 rtnmark1 mark_old_packet 
+0174 680082da fetch 1 ,mem_le_rxbuf + 1 
+0175 203a017b branch p_le_ack_unenc ,blank 
+0176 6800843f fetch 1 ,mem_le_state 
+0177 c302017b bbit0 lestate_encryption ,p_le_ack_unenc 
+0178 2040748d call load_sk 
+0179 204073fb call le_decrypt 
+017a 247a0000 nrtn blank 
+
+p_le_ack_unenc:
+017b 68088456 fetcht 1 ,mem_le_arq 
+017c 79400402 setflip nesn ,temp 
+017d 60088456 storet 1 ,mem_le_arq 
+017e 2020567e branch le_parse 
+
+p_le_scan:
+017f 680302db fetch 6 ,mem_le_rxbuf + 2 
+0180 6003044f store 6 ,mem_le_plap 
+0181 680b448f fetcht 6 ,mem_le_conn_peer_addr 
+0182 98467c00 isub temp ,null 
+0183 2022d608 branch le_create_conn ,zero 
+
+p_le_addr_compare:
+0184 680b4806 fetcht 6 ,mem_le_slave_peer_addr 
+0185 98467c00 isub temp ,null 
+0186 24628000 nrtn zero 
+0187 680082ec fetch 1 ,mem_le_rxbuf + 19 
+0188 203a0198 branch p_le_no_device_name_process ,blank 
+0189 1fe67c14 sub pdata ,20 ,null 
+018a 24210198 nbranch p_le_no_device_name_process ,positive 
+018b 1fe0ffff increase -1 ,pdata 
+018c 6000c80c store 1 ,mem_le_rx_adv_data_len 
+018d 1fe27200 copy pdata ,loopcnt 
+018e d8a0480d arg mem_le_rx_adv_data ,contw 
+018f d8c002ee arg mem_le_rxbuf + 21 ,contr 
+0190 20407f01 call memcpy 
+
+p_le_no_device_name:
+0191 6803044f fetch 6 ,mem_le_plap 
+0192 600347fd store 6 ,mem_app_peer_addr 
+0193 7043671c jam 28 ,mem_le_conn_interval 
+0194 58000050 setarg 0x50 
+0195 6001449c store 2 ,mem_le_timeout 
+0196 70436900 jam off ,mem_le_scan_enable 
+0197 20203400 branch app_ble_start_conn 
+
+p_le_no_device_name_process:
+0198 70480c00 jam 0 ,mem_le_rx_adv_data_len 
+0199 20200191 branch p_le_no_device_name 
+
+p_le_create_conn:
+019a 7047fc21 jam conn_sm_send_write_req ,mem_le_conn_sm 
+019b 20400144 call p_app_led_on 
+019c 20205614 branch le_create_conn + 12 
+
+p_le_parse:
+019d c6078000 rtnmark1 mark_old_packet 
+019e 20405890 call le_fifo_check_full 
+019f 247a0000 nrtn blank 
+01a0 680082d9 fetch 1 ,mem_le_rxbuf 
+01a1 1fe17e03 and pdata ,0x3 ,pdata 
+01a2 6000c50c store 1 ,mem_le_packet_llid 
+01a3 e8c08000 ifetch 1 ,contr 
+01a4 1fe17e1f and pdata ,0x1f ,pdata 
+01a5 6000c50b store 1 ,mem_le_packet_size 
+01a6 207a0000 rtn blank 
+01a7 18c27e00 copy contr ,pdata 
+01a8 6001450d store 2 ,mem_le_payload_ptr 
+01a9 6800c50c fetch 1 ,mem_le_packet_llid 
+01aa c00181ae beq llid_le_ll ,p_le_parse_ll 
+01ab 2040569a call le_check_l2cap_complete 
+01ac 2434567a nbranch get_lpm_wake_ble_rx_lock ,user 
+01ad 2020568f branch le_parse_l2cap + 2 
+
+p_le_parse_ll:
+01ae 680082db fetch 1 ,mem_le_rxbuf + 2 
+01af c00101b1 beq ll_terminate_ind ,p_le_parse_terminate_ind 
+01b0 20205c65 branch le_parse_ll + 1 
+
+p_le_parse_terminate_ind:
+01b1 58000003 setarg 3 
+01b2 20205c8f branch le_parse_terminate_ind + 1 
+
+p_le_parse_l2cap:
+01b3 e8c10000 ifetch 2 ,contr 
+01b4 c00201b6 beq le_l2cap_cid_att ,p_le_parse_att 
+01b5 20205696 branch le_parse_l2cap + 9 
+
+p_le_parse_att:
+01b6 e8c18000 ifetch 3 ,contr 
+01b7 60018477 store 3 ,mem_le_att_opcode 
+01b8 c00981bb beq attop_write_response ,p_le_parse_att_write_response 
+01b9 c00d81d3 beq attop_handle_value_notification ,p_le_parse_att_handle_value_notify 
+01ba 20600000 rtn 
+
+p_le_parse_att_write_response:
+01bb 6800c82d fetch 1 ,mem_le_send_write_request_count 
+01bc 207a0000 rtn blank 
+01bd 1fe0ffff increase -1 ,pdata 
+01be 6000c82d store 1 ,mem_le_send_write_request_count 
+01bf c00081c2 beq 1 ,p_le_att_send_write_request1 
+01c0 c00001c7 beq 0 ,p_le_att_send_write_request0 
+01c1 20600000 rtn 
+
+p_le_att_send_write_request1:
+01c2 7047fc00 jam conn_sm_null ,mem_le_conn_sm 
+01c3 58000027 setarg 0x27 
+01c4 6001446f store 2 ,mem_le_notify_handle 
+01c5 2040015a call p_le_send_att_write_request 
+01c6 20200122 branch p_usb_ble_connected_header 
+
+p_le_att_send_write_request0:
+01c7 7047fc00 jam conn_sm_null ,mem_le_conn_sm 
+01c8 58000060 setarg 0x60 
+01c9 6001446f store 2 ,mem_le_notify_handle 
+01ca 2040015a call p_le_send_att_write_request 
+01cb 20400136 call p_usb_bt_device_name 
+01cc 6800c80c fetch 1 ,mem_le_rx_adv_data_len 
+01cd 600093d5 store 1 ,mem_usb_pc_data + 3 
+01ce 207a0000 rtn blank 
+01cf 1fe27200 copy pdata ,loopcnt 
+01d0 d8a013d6 arg mem_usb_pc_data + 4 ,contw 
+01d1 d8c0480d arg mem_le_rx_adv_data ,contr 
+01d2 20207f01 branch memcpy 
+
+p_le_parse_att_handle_value_notify:
+01d3 680082e0 fetch 1 ,mem_le_rxbuf + 7 
+01d4 c00c81d8 beq 0x19 ,p_le_usb_tx_mouse 
+01d5 c00a81dc beq 0x15 ,p_le_usb_tx_kb_standard 
+01d6 c00e81e0 beq 0x1d ,p_le_usb_tx_kb_multimedia 
+01d7 20600000 rtn 
+
+p_le_usb_tx_mouse:
+01d8 2040010e call p_usb_ms_data_header 
+01d9 680382e2 fetch 7 ,mem_le_rxbuf + 9 
+01da 600393d6 store 7 ,mem_usb_pc_data + 4 
+01db 202031b8 branch usb_ep2_tx_enable 
+
+p_le_usb_tx_kb_standard:
+01dc 20400113 call p_usb_kb_normal_data_header 
+01dd 680402e2 fetch 8 ,mem_le_rxbuf + 9 
+01de 600413d6 store 8 ,mem_usb_pc_data + 4 
+01df 202031b8 branch usb_ep2_tx_enable 
+
+p_le_usb_tx_kb_multimedia:
+01e0 20400118 call p_usb_kb_multimedia_data_header 
+01e1 680182e2 fetch 3 ,mem_le_rxbuf + 9 
+01e2 600193d6 store 3 ,mem_usb_pc_data + 4 
+01e3 202031b8 branch usb_ep2_tx_enable 
+
+p_check_51cmd_once:
+01e4 18427e00 copy temp ,pdata 
+01e5 207a0000 rtn blank 
+01e6 c00b01e8 beq bt_cmd_le_start_conn ,p_check_51cmd_le_start_con 
+01e7 20207daf branch check_51cmd_once + 8 
+
+p_check_51cmd_le_start_con:
+01e8 680347fd fetch 6 ,mem_app_peer_addr 
+01e9 6003448f store 6 ,mem_le_conn_peer_addr 
+01ea 20207e15 branch check_51cmd_le_start_con 
+
+p_le_capslock_send_write_command:
+01eb 7047fc00 jam conn_sm_null ,mem_le_conn_sm 
+01ec 18002204 force 4 ,rega 
+01ed 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+01ee 58000052 setarg attop_write_command 
+01ef e0a08000 istore 1 ,contw 
+01f0 58000021 setarg 0x21 
+01f1 e0a10000 istore 2 ,contw 
+01f2 6800c82c fetch 1 ,mem_le_receive_caps_data 
+01f3 e0a10000 istore 2 ,contw 
+01f4 20600000 rtn 
 
 p_g24_dispatch:
-0118 c5930116 bmark0 mark_24g ,p_usb_dispatch 
-0119 6800c809 fetch 1 ,mem_app_mode_select 
-011a c00002a3 beq quick_conn_24g_receiver ,p_g24_receiver 
-011b c001812a beq quick_conn_24g_transmitter ,p_g24_transmitter 
-011c 20600000 rtn 
+01f5 c593013a bmark0 mark_24g ,p_usb_dispatch 
+01f6 6800c846 fetch 1 ,mem_app_mode_select 
+01f7 c0000380 beq quick_conn_24g_receiver ,p_g24_receiver 
+01f8 c0018207 beq quick_conn_24g_transmitter ,p_g24_transmitter 
+01f9 20600000 rtn 
 
 p_g24_transmitter_init:
-011d 68110050 hfetch 2 ,core_clkoff 
-011e 79207e0a set1 clock_off_usb ,pdata 
-011f 60110050 hstore 2 ,core_clkoff 
-0120 79200026 set1 mark_24g ,mark 
-0121 793f802c set0 mark_24g_rxmode ,mark 
-0122 70472101 jam 1 ,mem_24g_data_type 
-0123 70476504 jam 4 ,mem_24g_max_retry 
-0124 580012c0 setarg 0x12c0 
-0125 60014723 store 2 ,mem_24g_rx_window 
-0126 70474519 jam 0x19 ,mem_24g_interval 
-0127 70474619 jam 0x19 ,mem_24g_interval_min 
-0128 7047471c jam 0x1c ,mem_24g_interval_max 
-0129 20200180 branch p_g24_auto_pair_start 
+01fa 68110050 hfetch 2 ,core_clkoff 
+01fb 79207e0a set1 clock_off_usb ,pdata 
+01fc 60110050 hstore 2 ,core_clkoff 
+01fd 79200026 set1 mark_24g ,mark 
+01fe 793f802c set0 mark_24g_rxmode ,mark 
+01ff 70472101 jam 1 ,mem_24g_data_type 
+0200 70476504 jam 4 ,mem_24g_max_retry 
+0201 580012c0 setarg 0x12c0 
+0202 60014723 store 2 ,mem_24g_rx_window 
+0203 70474519 jam 0x19 ,mem_24g_interval 
+0204 70474619 jam 0x19 ,mem_24g_interval_min 
+0205 7047471c jam 0x1c ,mem_24g_interval_max 
+0206 2020025d branch p_g24_auto_pair_start 
 
 p_g24_transmitter:
-012a 20400044 call p_app_mode_check 
-012b 6800c7e4 fetch 1 ,mem_24g_conn_sm 
-012c c280814f bbit1 state_24g_pair ,p_g24_pair_dispatch 
-012d 20400140 call p_g24_timer_check 
-012e 24740000 nrtn user 
-012f 20400134 call p_g24_interval_calibrate 
-0130 204001ec call p_g24_txdata_prep 
-0131 24740000 nrtn user 
-0132 204001d1 call p_g24_rf_sta_check 
-0133 20200200 branch p_g24_transmit_packet 
+0207 2040004a call p_app_mode_check 
+0208 6800c7e4 fetch 1 ,mem_24g_conn_sm 
+0209 c280822c bbit1 state_24g_pair ,p_g24_pair_dispatch 
+020a 2040021d call p_g24_timer_check 
+020b 24740000 nrtn user 
+020c 20400211 call p_g24_interval_calibrate 
+020d 204002c9 call p_g24_txdata_prep 
+020e 24740000 nrtn user 
+020f 204002ae call p_g24_rf_sta_check 
+0210 202002dd branch p_g24_transmit_packet 
 
 p_g24_interval_calibrate:
-0134 6800c75b fetch 1 ,mem_24g_pac_index 
-0135 1fe0fe01 increase 1 ,pdata 
-0136 6000c75b store 1 ,mem_24g_pac_index 
-0137 c002013e beq 4 ,p_g24_interval_max 
-0138 c002813a beq 5 ,p_g24_interval_min 
-0139 20600000 rtn 
+0211 6800c75b fetch 1 ,mem_24g_pac_index 
+0212 1fe0fe01 increase 1 ,pdata 
+0213 6000c75b store 1 ,mem_24g_pac_index 
+0214 c002021b beq 4 ,p_g24_interval_max 
+0215 c0028217 beq 5 ,p_g24_interval_min 
+0216 20600000 rtn 
 
 p_g24_interval_min:
-013a 70475b00 jam 0 ,mem_24g_pac_index 
-013b 6800c746 fetch 1 ,mem_24g_interval_min 
+0217 70475b00 jam 0 ,mem_24g_pac_index 
+0218 6800c746 fetch 1 ,mem_24g_interval_min 
 
 p_g24_interval_store:
-013c 6000c745 store 1 ,mem_24g_interval 
-013d 20600000 rtn 
+0219 6000c745 store 1 ,mem_24g_interval 
+021a 20600000 rtn 
 
 p_g24_interval_max:
-013e 6800c747 fetch 1 ,mem_24g_interval_max 
-013f 2020013c branch p_g24_interval_store 
+021b 6800c747 fetch 1 ,mem_24g_interval_max 
+021c 20200219 branch p_g24_interval_store 
 
 p_g24_timer_check:
-0140 20407fe9 call disable_user 
-0141 680a4741 fetcht 4 ,mem_24g_tx_btclk 
-0142 1c427e00 copy clkn_bt ,pdata 
-0143 98467c00 isub temp ,null 
-0144 24412d18 ncall g24_timer_timeout ,positive 
-0145 1fe22400 copy pdata ,regb 
-0146 68024741 fetch 4 ,mem_24g_tx_btclk 
-0147 6808c745 fetcht 1 ,mem_24g_interval 
-0148 98408400 iadd temp ,temp 
-0149 1a427e00 copy regb ,pdata 
-014a 98467c00 isub temp ,null 
-014b 24610000 nrtn positive 
-014c 793ffe1c set0 28 ,pdata 
-014d 60024741 store 4 ,mem_24g_tx_btclk 
-014e 20207fe7 branch enable_user 
+021d 20407fe9 call disable_user 
+021e 680a4741 fetcht 4 ,mem_24g_tx_btclk 
+021f 1c427e00 copy clkn_bt ,pdata 
+0220 98467c00 isub temp ,null 
+0221 24412d18 ncall g24_timer_timeout ,positive 
+0222 1fe22400 copy pdata ,regb 
+0223 68024741 fetch 4 ,mem_24g_tx_btclk 
+0224 6808c745 fetcht 1 ,mem_24g_interval 
+0225 98408400 iadd temp ,temp 
+0226 1a427e00 copy regb ,pdata 
+0227 98467c00 isub temp ,null 
+0228 24610000 nrtn positive 
+0229 793ffe1c set0 28 ,pdata 
+022a 60024741 store 4 ,mem_24g_tx_btclk 
+022b 20207fe7 branch enable_user 
 
 p_g24_pair_dispatch:
-014f 6800c7e5 fetch 1 ,mem_24g_stop_g24_mode 
-0150 c000add4 beq 1 ,g24_stop_24g_mode 
-0151 20400172 call p_g24_tx_attemp_data_prep 
-0152 20400213 call p_g24_transmit_receive_ack 
-0153 242c018b nbranch p_g24_pair_txdata_retry ,sync 
-0154 2437818b nbranch p_g24_pair_txdata_retry ,user3 
-0155 20400238 call p_g24_ackpayload_parse 
-0156 68024748 fetch 4 ,mem_24g_addr 
-0157 680a47ee fetcht 4 ,mem_24g_allpowerful_addr 
-0158 98467c00 isub temp ,null 
-0159 2022815c branch p_g24_auto_pair_skip_rx_length ,zero 
-015a 2040016c call p_g24_pair_ackpayload_length_check 
-015b 24740000 nrtn user 
+022c 6800c7e5 fetch 1 ,mem_24g_stop_g24_mode 
+022d c000add4 beq 1 ,g24_stop_24g_mode 
+022e 2040024f call p_g24_tx_attemp_data_prep 
+022f 204002f0 call p_g24_transmit_receive_ack 
+0230 242c0268 nbranch p_g24_pair_txdata_retry ,sync 
+0231 24378268 nbranch p_g24_pair_txdata_retry ,user3 
+0232 20400315 call p_g24_ackpayload_parse 
+0233 68024748 fetch 4 ,mem_24g_addr 
+0234 680a47ee fetcht 4 ,mem_24g_allpowerful_addr 
+0235 98467c00 isub temp ,null 
+0236 20228239 branch p_g24_auto_pair_skip_rx_length ,zero 
+0237 20400249 call p_g24_pair_ackpayload_length_check 
+0238 24740000 nrtn user 
 
 p_g24_auto_pair_skip_rx_length:
-015c 6800c7e4 fetch 1 ,mem_24g_conn_sm 
-015d 793ffe01 set0 state_24g_pair ,pdata 
-015e 6000c7e4 store 1 ,mem_24g_conn_sm 
-015f 68024748 fetch 4 ,mem_24g_addr 
-0160 680a472c fetcht 4 ,mem_24g_paring_addr 
-0161 98467c00 isub temp ,null 
-0162 2022823f branch p_g24_start_pairing_sm1 ,zero 
-0163 68024748 fetch 4 ,mem_24g_addr 
-0164 680a4757 fetcht 4 ,mem_24g_device_addr 
-0165 98467c00 isub temp ,null 
-0166 20428170 call p_g24_store_dongle_addr ,zero 
+0239 6800c7e4 fetch 1 ,mem_24g_conn_sm 
+023a 793ffe01 set0 state_24g_pair ,pdata 
+023b 6000c7e4 store 1 ,mem_24g_conn_sm 
+023c 68024748 fetch 4 ,mem_24g_addr 
+023d 680a472c fetcht 4 ,mem_24g_paring_addr 
+023e 98467c00 isub temp ,null 
+023f 2022831c branch p_g24_start_pairing_sm1 ,zero 
+0240 68024748 fetch 4 ,mem_24g_addr 
+0241 680a4757 fetcht 4 ,mem_24g_device_addr 
+0242 98467c00 isub temp ,null 
+0243 2042824d call p_g24_store_dongle_addr ,zero 
 
 p_g24_tx_attemp_dongle_succ:
-0167 79200026 set1 mark_24g ,mark 
-0168 20402f20 call g24_tx_attemp_dongle_succ + 4 
+0244 79200026 set1 mark_24g ,mark 
+0245 20402f20 call g24_tx_attemp_dongle_succ + 4 
 
 p_g24_txbuf_clear:
-0169 df200004 arg 4 ,loopcnt 
-016a d8a046bc arg mem_24g_txbuf ,contw 
-016b 20207ec6 branch memset0 
+0246 df200004 arg 4 ,loopcnt 
+0247 d8a046bc arg mem_24g_txbuf ,contw 
+0248 20207ec6 branch memset0 
 
 p_g24_pair_ackpayload_length_check:
-016c 6800c71e fetch 1 ,mem_24g_rxdata_length 
-016d c0047fe7 beq bind_ackpayload_length ,enable_user 
-016e c003ffe7 beq bind_ackpayload_length_yc1131 ,enable_user 
-016f 20207fe9 branch disable_user 
+0249 6800c71e fetch 1 ,mem_24g_rxdata_length 
+024a c0047fe7 beq bind_ackpayload_length ,enable_user 
+024b c003ffe7 beq bind_ackpayload_length_yc1131 ,enable_user 
+024c 20207fe9 branch disable_user 
 
 p_g24_store_dongle_addr:
-0170 68024700 fetch 4 ,mem_24g_rxpayload + 2 
-0171 202003e4 branch p_g24_update_addr_and_synccrc8 
+024d 68024700 fetch 4 ,mem_24g_rxpayload + 2 
+024e 202004c1 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_tx_attemp_data_prep:
-0172 70119eff jam 0xff ,mem_24g_common_temp 
-0173 6800c721 fetch 1 ,mem_24g_data_type 
-0174 6000919f store 1 ,mem_24g_common_temp + 1 
-0175 68024757 fetch 4 ,mem_24g_device_addr 
-0176 600211a0 store 4 ,mem_24g_common_temp + 2 
-0177 d8400006 arg 6 ,temp 
-0178 da20119e arg mem_24g_common_temp ,rega 
-0179 2040017b call p_g24_put_data_in_buff 
-017a 202003ff branch p_g24_transmit_prep 
+024f 70119eff jam 0xff ,mem_24g_common_temp 
+0250 6800c721 fetch 1 ,mem_24g_data_type 
+0251 6000919f store 1 ,mem_24g_common_temp + 1 
+0252 68024757 fetch 4 ,mem_24g_device_addr 
+0253 600211a0 store 4 ,mem_24g_common_temp + 2 
+0254 d8400006 arg 6 ,temp 
+0255 da20119e arg mem_24g_common_temp ,rega 
+0256 20400258 call p_g24_put_data_in_buff 
+0257 202004dc branch p_g24_transmit_prep 
 
 p_g24_put_data_in_buff:
-017b 6008c720 storet 1 ,mem_24g_datalen 
-017c 18427200 copy temp ,loopcnt 
-017d d8a046bc arg mem_24g_txbuf ,contw 
-017e 1a220c00 copy rega ,contr 
-017f 20207f01 branch memcpy 
+0258 6008c720 storet 1 ,mem_24g_datalen 
+0259 18427200 copy temp ,loopcnt 
+025a d8a046bc arg mem_24g_txbuf ,contw 
+025b 1a220c00 copy rega ,contr 
+025c 20207f01 branch memcpy 
 
 p_g24_auto_pair_start:
-0180 6800c7e4 fetch 1 ,mem_24g_conn_sm 
-0181 79207e01 set1 state_24g_pair ,pdata 
-0182 6000c7e4 store 1 ,mem_24g_conn_sm 
+025d 6800c7e4 fetch 1 ,mem_24g_conn_sm 
+025e 79207e01 set1 state_24g_pair ,pdata 
+025f 6000c7e4 store 1 ,mem_24g_conn_sm 
 
 p_g24_auto_pair_timeout_init:
-0183 58000708 setarg g24_disconn_nodata_timer 
-0184 600147e6 store 2 ,mem_24g_stop_g24_mode_timeout 
-0185 7047e500 jam 0 ,mem_24g_stop_g24_mode 
-0186 20600000 rtn 
+0260 58000708 setarg g24_disconn_nodata_timer 
+0261 600147e6 store 2 ,mem_24g_stop_g24_mode_timeout 
+0262 7047e500 jam 0 ,mem_24g_stop_g24_mode 
+0263 20600000 rtn 
 
 p_g24_auto_pair_timeout_clear:
-0187 58000000 setarg 0 
-0188 6000c7e5 store 1 ,mem_24g_stop_g24_mode 
-0189 600147e6 store 2 ,mem_24g_stop_g24_mode_timeout 
-018a 20600000 rtn 
+0264 58000000 setarg 0 
+0265 6000c7e5 store 1 ,mem_24g_stop_g24_mode 
+0266 600147e6 store 2 ,mem_24g_stop_g24_mode_timeout 
+0267 20600000 rtn 
 
 p_g24_pair_txdata_retry:
-018b 6800c7e8 fetch 1 ,mem_24g_auto_paring_switch 
-018c 1fe0fe01 increase 1 ,pdata 
-018d 1fe17e03 and_into 3 ,pdata 
-018e 6000c7e8 store 1 ,mem_24g_auto_paring_switch 
-018f c0000194 beq 0 ,p_g24_auto_pair_first_attemp 
-0190 c001019d beq 2 ,p_g24_auto_pair_all_powerful 
+0268 6800c7e8 fetch 1 ,mem_24g_auto_paring_switch 
+0269 1fe0fe01 increase 1 ,pdata 
+026a 1fe17e03 and_into 3 ,pdata 
+026b 6000c7e8 store 1 ,mem_24g_auto_paring_switch 
+026c c0000271 beq 0 ,p_g24_auto_pair_first_attemp 
+026d c001027a beq 2 ,p_g24_auto_pair_all_powerful 
 
 p_g24_pair_init:
-0191 70472a4e jam g24_pair_ch ,mem_24g_ch 
-0192 6802472c fetch 4 ,mem_24g_paring_addr 
-0193 202003e4 branch p_g24_update_addr_and_synccrc8 
+026e 70472a4e jam g24_pair_ch ,mem_24g_ch 
+026f 6802472c fetch 4 ,mem_24g_paring_addr 
+0270 202004c1 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_auto_pair_first_attemp:
-0194 68024757 fetch 4 ,mem_24g_device_addr 
-0195 60024748 store 4 ,mem_24g_addr 
-0196 6800c7f2 fetch 1 ,mem_24g_pair_current_ch_num 
-0197 6000c72b store 1 ,mem_24g_current_ch_number 
-0198 2040019b call p_g24_ch_syncword_crc8_init 
-0199 6008c7f2 storet 1 ,mem_24g_pair_current_ch_num 
-019a 20600000 rtn 
+0271 68024757 fetch 4 ,mem_24g_device_addr 
+0272 60024748 store 4 ,mem_24g_addr 
+0273 6800c7f2 fetch 1 ,mem_24g_pair_current_ch_num 
+0274 6000c72b store 1 ,mem_24g_current_ch_number 
+0275 20400278 call p_g24_ch_syncword_crc8_init 
+0276 6008c7f2 storet 1 ,mem_24g_pair_current_ch_num 
+0277 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-019b 204003e5 call p_g24_syncword_crc8 
-019c 20200411 branch p_g24_ch 
+0278 204004c2 call p_g24_syncword_crc8 
+0279 202004ee branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
-019d 680247ee fetch 4 ,mem_24g_allpowerful_addr 
-019e 60024748 store 4 ,mem_24g_addr 
-019f 6800c7f3 fetch 1 ,mem_24g_powerful_current_ch_num 
-01a0 6000c72b store 1 ,mem_24g_current_ch_number 
-01a1 2040019b call p_g24_ch_syncword_crc8_init 
-01a2 6008c7f3 storet 1 ,mem_24g_powerful_current_ch_num 
-01a3 20600000 rtn 
+027a 680247ee fetch 4 ,mem_24g_allpowerful_addr 
+027b 60024748 store 4 ,mem_24g_addr 
+027c 6800c7f3 fetch 1 ,mem_24g_powerful_current_ch_num 
+027d 6000c72b store 1 ,mem_24g_current_ch_number 
+027e 20400278 call p_g24_ch_syncword_crc8_init 
+027f 6008c7f3 storet 1 ,mem_24g_powerful_current_ch_num 
+0280 20600000 rtn 
 
 p_g24_set_device_addr:
-01a4 680240a0 fetch 4 ,mem_lap 
-01a5 60024757 store 4 ,mem_24g_device_addr 
-01a6 20600000 rtn 
+0281 680240a0 fetch 4 ,mem_lap 
+0282 60024757 store 4 ,mem_24g_device_addr 
+0283 20600000 rtn 
 
 p_g24_transmit_rf_sta_init:
-01a7 7047dc01 jam 1 ,mem_24g_rf_last_sta 
-01a8 7047de00 jam 0 ,mem_24g_sync_cnt 
+0284 7047dc01 jam 1 ,mem_24g_rf_last_sta 
+0285 7047de00 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-01a9 6800c721 fetch 1 ,mem_24g_data_type 
-01aa 1fe17e07 and_into bits_data ,pdata 
-01ab 6000c721 store 1 ,mem_24g_data_type 
-01ac 20600000 rtn 
+0286 6800c721 fetch 1 ,mem_24g_data_type 
+0287 1fe17e07 and_into bits_data ,pdata 
+0288 6000c721 store 1 ,mem_24g_data_type 
+0289 20600000 rtn 
 
 p_g24_hop_ch_enable:
-01ad 6800c721 fetch 1 ,mem_24g_data_type 
-01ae 79207e04 set1 bit_hop ,pdata 
-01af 6000c721 store 1 ,mem_24g_data_type 
-01b0 6000c6dc store 1 ,mem_24g_txpayload 
-01b1 20600000 rtn 
+028a 6800c721 fetch 1 ,mem_24g_data_type 
+028b 79207e04 set1 bit_hop ,pdata 
+028c 6000c721 store 1 ,mem_24g_data_type 
+028d 6000c6dc store 1 ,mem_24g_txpayload 
+028e 20600000 rtn 
 
 p_g24_hop_enable_packet:
-01b2 6800c721 fetch 1 ,mem_24g_data_type 
-01b3 c4020000 rtnbit0 bit_hop 
+028f 6800c721 fetch 1 ,mem_24g_data_type 
+0290 c4020000 rtnbit0 bit_hop 
 
 p_g24_hop_ch_disable:
-01b4 6800c721 fetch 1 ,mem_24g_data_type 
-01b5 793ffe04 set0 bit_hop ,pdata 
-01b6 6000c721 store 1 ,mem_24g_data_type 
-01b7 6000c6dc store 1 ,mem_24g_txpayload 
-01b8 20200411 branch p_g24_ch 
+0291 6800c721 fetch 1 ,mem_24g_data_type 
+0292 793ffe04 set0 bit_hop ,pdata 
+0293 6000c721 store 1 ,mem_24g_data_type 
+0294 6000c6dc store 1 ,mem_24g_txpayload 
+0295 202004ee branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
-01b9 6800c7db fetch 1 ,mem_24g_rf_hop_ch 
-01ba c08081a9 bne 1 ,p_g24_transmit_rf_ctrl_clear 
+0296 6800c7db fetch 1 ,mem_24g_rf_hop_ch 
+0297 c0808286 bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-01bb 6800c7d9 fetch 1 ,mem_24g_hop_fastly_cnt 
-01bc 1fe0fe01 increase 1 ,pdata 
-01bd 6000c7d9 store 1 ,mem_24g_hop_fastly_cnt 
-01be c00201c2 beq 4 ,p_g24_rf_hop_fastly_exit 
-01bf 20400411 call p_g24_ch 
-01c0 70476502 jam 2 ,mem_24g_max_retry 
-01c1 20200200 branch p_g24_transmit_packet 
+0298 6800c7d9 fetch 1 ,mem_24g_hop_fastly_cnt 
+0299 1fe0fe01 increase 1 ,pdata 
+029a 6000c7d9 store 1 ,mem_24g_hop_fastly_cnt 
+029b c002029f beq 4 ,p_g24_rf_hop_fastly_exit 
+029c 204004ee call p_g24_ch 
+029d 70476502 jam 2 ,mem_24g_max_retry 
+029e 202002dd branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-01c2 7047d900 jam 0 ,mem_24g_hop_fastly_cnt 
-01c3 202001a9 branch p_g24_transmit_rf_ctrl_clear 
+029f 7047d900 jam 0 ,mem_24g_hop_fastly_cnt 
+02a0 20200286 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-01c4 7047de02 jam 2 ,mem_24g_sync_cnt 
+02a1 7047de02 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-01c5 7047dc01 jam 1 ,mem_24g_rf_last_sta 
-01c6 7047db00 jam 0 ,mem_24g_rf_hop_ch 
-01c7 202001a9 branch p_g24_transmit_rf_ctrl_clear 
+02a2 7047dc01 jam 1 ,mem_24g_rf_last_sta 
+02a3 7047db00 jam 0 ,mem_24g_rf_hop_ch 
+02a4 20200286 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-01c8 6800c7dd fetch 1 ,mem_24g_rf_work_stage 
-01c9 c00181c5 beq 3 ,p_g24_transmit_hop_pac_succ 
-01ca 6800c721 fetch 1 ,mem_24g_data_type 
-01cb 2fec0004 isolate0 bit_hop ,pdata 
-01cc 202081a7 branch p_g24_transmit_rf_sta_init ,true 
-01cd 6800c7dd fetch 1 ,mem_24g_rf_work_stage 
-01ce c00081c4 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
-01cf c00101c5 beq 2 ,p_g24_transmit_hop_pac_succ 
-01d0 20600000 rtn 
+02a5 6800c7dd fetch 1 ,mem_24g_rf_work_stage 
+02a6 c00182a2 beq 3 ,p_g24_transmit_hop_pac_succ 
+02a7 6800c721 fetch 1 ,mem_24g_data_type 
+02a8 2fec0004 isolate0 bit_hop ,pdata 
+02a9 20208284 branch p_g24_transmit_rf_sta_init ,true 
+02aa 6800c7dd fetch 1 ,mem_24g_rf_work_stage 
+02ab c00082a1 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+02ac c00102a2 beq 2 ,p_g24_transmit_hop_pac_succ 
+02ad 20600000 rtn 
 
 p_g24_rf_sta_check:
-01d1 6800c730 fetch 1 ,mem_24g_pairing_sm 
-01d2 c1ff8000 rtnne state_24g_pairing_success 
-01d3 204001d6 call p_g24_rf_laststa_synccnt_check 
-01d4 245601de ncall p_g24_rf_sync_cnt_check ,user2 
-01d5 20600000 rtn 
+02ae 6800c730 fetch 1 ,mem_24g_pairing_sm 
+02af c1ff8000 rtnne state_24g_pairing_success 
+02b0 204002b3 call p_g24_rf_laststa_synccnt_check 
+02b1 245602bb ncall p_g24_rf_sync_cnt_check ,user2 
+02b2 20600000 rtn 
 
 p_g24_rf_laststa_synccnt_check:
-01d6 78567c00 disable user2 
-01d7 6800c7dc fetch 1 ,mem_24g_rf_last_sta 
-01d8 c1808000 rtnne 1 
-01d9 6800c7de fetch 1 ,mem_24g_sync_cnt 
-01da c1800000 rtnne 0 
-01db 7047dd01 jam 1 ,mem_24g_rf_work_stage 
-01dc 70476504 jam 4 ,mem_24g_max_retry 
-01dd 20207feb branch enable_user2 
+02b3 78567c00 disable user2 
+02b4 6800c7dc fetch 1 ,mem_24g_rf_last_sta 
+02b5 c1808000 rtnne 1 
+02b6 6800c7de fetch 1 ,mem_24g_sync_cnt 
+02b7 c1800000 rtnne 0 
+02b8 7047dd01 jam 1 ,mem_24g_rf_work_stage 
+02b9 70476504 jam 4 ,mem_24g_max_retry 
+02ba 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-01de 6800c7de fetch 1 ,mem_24g_sync_cnt 
-01df 203a01e6 branch p_g24_rf_hop_attemp ,blank 
-01e0 1fe0ffff increase -1 ,pdata 
-01e1 6000c7de store 1 ,mem_24g_sync_cnt 
-01e2 7047dd02 jam 2 ,mem_24g_rf_work_stage 
-01e3 20400411 call p_g24_ch 
-01e4 70476504 jam 4 ,mem_24g_max_retry 
-01e5 20600000 rtn 
+02bb 6800c7de fetch 1 ,mem_24g_sync_cnt 
+02bc 203a02c3 branch p_g24_rf_hop_attemp ,blank 
+02bd 1fe0ffff increase -1 ,pdata 
+02be 6000c7de store 1 ,mem_24g_sync_cnt 
+02bf 7047dd02 jam 2 ,mem_24g_rf_work_stage 
+02c0 204004ee call p_g24_ch 
+02c1 70476504 jam 4 ,mem_24g_max_retry 
+02c2 20600000 rtn 
 
 p_g24_rf_hop_attemp:
-01e6 7047dd03 jam 3 ,mem_24g_rf_work_stage 
-01e7 6800c7db fetch 1 ,mem_24g_rf_hop_ch 
-01e8 243a01b9 nbranch p_g24_rf_hop_attemp_again ,blank 
-01e9 20400411 call p_g24_ch 
-01ea 70476502 jam 2 ,mem_24g_max_retry 
-01eb 20600000 rtn 
+02c3 7047dd03 jam 3 ,mem_24g_rf_work_stage 
+02c4 6800c7db fetch 1 ,mem_24g_rf_hop_ch 
+02c5 243a0296 nbranch p_g24_rf_hop_attemp_again ,blank 
+02c6 204004ee call p_g24_ch 
+02c7 70476502 jam 2 ,mem_24g_max_retry 
+02c8 20600000 rtn 
 
 p_g24_txdata_prep:
-01ec 6800c730 fetch 1 ,mem_24g_pairing_sm 
-01ed c0ff8243 bne state_24g_pairing_success ,p_g24_pairing_sm 
+02c9 6800c730 fetch 1 ,mem_24g_pairing_sm 
+02ca c0ff8320 bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
-01ee 204001f2 call p_g24_package_data 
+02cb 204002cf call p_g24_package_data 
 
 p_g24_txdata_enable_tx:
-01ef 204003ff call p_g24_transmit_prep 
-01f0 70472501 jam ensure_on_24g ,mem_24g_ensure 
-01f1 20600000 rtn 
+02cc 204004dc call p_g24_transmit_prep 
+02cd 70472501 jam ensure_on_24g ,mem_24g_ensure 
+02ce 20600000 rtn 
 
 p_g24_package_data:
-01f2 680147d7 fetch 2 ,mem_cb_24g_data 
-01f3 20407f9c call callback_func 
-01f4 203401f8 branch p_g24_accumulate_mouse_data ,user 
-01f5 6803c6bd fetch 7 ,mem_24g_txbuf + 1 
-01f6 207a0000 rtn blank 
-01f7 20207fe7 branch enable_user 
+02cf 680147d7 fetch 2 ,mem_cb_24g_data 
+02d0 20407f9c call callback_func 
+02d1 203402d5 branch p_g24_accumulate_mouse_data ,user 
+02d2 6803c6bd fetch 7 ,mem_24g_txbuf + 1 
+02d3 207a0000 rtn blank 
+02d4 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-01f8 70474c00 jam 0 ,mem_24g_abort_pac 
-01f9 1a20fe01 add rega ,1 ,pdata 
-01fa 6000c720 store 1 ,mem_24g_datalen 
-01fb 204001a9 call p_g24_transmit_rf_ctrl_clear 
-01fc 6000c6bc store 1 ,mem_24g_txbuf 
-01fd 1a420c00 copy regb ,contr 
-01fe 1a227200 copy rega ,loopcnt 
-01ff 20207f01 branch memcpy 
+02d5 70474c00 jam 0 ,mem_24g_abort_pac 
+02d6 1a20fe01 add rega ,1 ,pdata 
+02d7 6000c720 store 1 ,mem_24g_datalen 
+02d8 20400286 call p_g24_transmit_rf_ctrl_clear 
+02d9 6000c6bc store 1 ,mem_24g_txbuf 
+02da 1a420c00 copy regb ,contr 
+02db 1a227200 copy rega ,loopcnt 
+02dc 20207f01 branch memcpy 
 
 p_g24_transmit_packet:
-0200 70472900 jam 0 ,mem_24g_retry 
+02dd 70472900 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0201 d9600d00 arg param_rx_setup ,timeup 
-0202 34730200 until clkn_rt ,meet 
-0203 20400213 call p_g24_transmit_receive_ack 
-0204 242c021e nbranch p_g24_retransmit ,sync 
-0205 2437821e nbranch p_g24_retransmit ,user3 
-0206 20400169 call p_g24_txbuf_clear 
-0207 20400238 call p_g24_ackpayload_parse 
+02de d9600d00 arg param_rx_setup ,timeup 
+02df 34730200 until clkn_rt ,meet 
+02e0 204002f0 call p_g24_transmit_receive_ack 
+02e1 242c02fb nbranch p_g24_retransmit ,sync 
+02e2 243782fb nbranch p_g24_retransmit ,user3 
+02e3 20400246 call p_g24_txbuf_clear 
+02e4 20400315 call p_g24_ackpayload_parse 
 
 p_g24_transmit_next_packet:
-0208 6800c71f fetch 1 ,mem_24g_pid 
-0209 1fe0fe01 increase 1 ,pdata 
-020a 6000c71f store 1 ,mem_24g_pid 
-020b 204001b2 call p_g24_hop_enable_packet 
-020c 6800c730 fetch 1 ,mem_24g_pairing_sm 
-020d c0ff825d bne state_24g_pairing_success ,p_g24_paring_mode 
-020e 204001c8 call p_g24_transmit_succ_rf_config 
+02e5 6800c71f fetch 1 ,mem_24g_pid 
+02e6 1fe0fe01 increase 1 ,pdata 
+02e7 6000c71f store 1 ,mem_24g_pid 
+02e8 2040028f call p_g24_hop_enable_packet 
+02e9 6800c730 fetch 1 ,mem_24g_pairing_sm 
+02ea c0ff833a bne state_24g_pairing_success ,p_g24_paring_mode 
+02eb 204002a5 call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
-020f 58000000 setarg 0 
-0210 60024725 store 4 ,mem_24g_ensure 
-0211 6000c7da store 1 ,mem_24g_hop_pac_retry 
-0212 20600000 rtn 
+02ec 58000000 setarg 0 
+02ed 60024725 store 4 ,mem_24g_ensure 
+02ee 6000c7da store 1 ,mem_24g_hop_pac_retry 
+02ef 20600000 rtn 
 
 p_g24_transmit_receive_ack:
-0213 7857fc00 disable user3 
-0214 20400479 call p_g24_transmit 
-0215 18002a00 force 0 ,radio_ctrl 
-0216 68024748 fetch 4 ,mem_24g_addr 
-0217 98001200 iforce access 
-0218 68088017 fetcht 1 ,mem_last_freq 
-0219 2040291f call set_freq_rx 
-021a 20402924 call rf_rx_enable 
-021b 20400434 call p_g24_receive_rxon 
-021c 20578473 call p_g24_end_of_packet ,user3 
-021d 20600000 rtn 
+02f0 7857fc00 disable user3 
+02f1 20400556 call p_g24_transmit 
+02f2 18002a00 force 0 ,radio_ctrl 
+02f3 68024748 fetch 4 ,mem_24g_addr 
+02f4 98001200 iforce access 
+02f5 68088017 fetcht 1 ,mem_last_freq 
+02f6 2040291f call set_freq_rx 
+02f7 20402924 call rf_rx_enable 
+02f8 20400511 call p_g24_receive_rxon 
+02f9 20578550 call p_g24_end_of_packet ,user3 
+02fa 20600000 rtn 
 
 p_g24_retransmit:
-021e 6800c74c fetch 1 ,mem_24g_abort_pac 
-021f 247a0000 nrtn blank 
-0220 68014726 fetch 2 ,mem_24g_txfail_cnt 
-0221 1fe0fe01 increase 1 ,pdata 
-0222 60014726 store 2 ,mem_24g_txfail_cnt 
-0223 6800c727 fetch 1 ,mem_24g_txfail_cnt + 1 
-0224 c280822b bbit1 1 ,p_g24_tx_attempt_fail 
-0225 6800c730 fetch 1 ,mem_24g_pairing_sm 
-0226 c0ff8229 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
-0227 2040022e call p_g24_tx_hop_ch_process 
-0228 20200201 branch p_g24_transmit_loop 
+02fb 6800c74c fetch 1 ,mem_24g_abort_pac 
+02fc 247a0000 nrtn blank 
+02fd 68014726 fetch 2 ,mem_24g_txfail_cnt 
+02fe 1fe0fe01 increase 1 ,pdata 
+02ff 60014726 store 2 ,mem_24g_txfail_cnt 
+0300 6800c727 fetch 1 ,mem_24g_txfail_cnt + 1 
+0301 c2808308 bbit1 1 ,p_g24_tx_attempt_fail 
+0302 6800c730 fetch 1 ,mem_24g_pairing_sm 
+0303 c0ff8306 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+0304 2040030b call p_g24_tx_hop_ch_process 
+0305 202002de branch p_g24_transmit_loop 
 
 p_g24_tx_paring_retry:
-0229 6800c726 fetch 1 ,mem_24g_txfail_cnt 
-022a c1ff8000 rtnne 0xff 
+0306 6800c726 fetch 1 ,mem_24g_txfail_cnt 
+0307 c1ff8000 rtnne 0xff 
 
 p_g24_tx_attempt_fail:
-022b 58000000 setarg 0 
-022c 60014726 store 2 ,mem_24g_txfail_cnt 
-022d 20202dd4 branch g24_stop_24g_mode 
+0308 58000000 setarg 0 
+0309 60014726 store 2 ,mem_24g_txfail_cnt 
+030a 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_hop_ch_process:
-022e 6800c729 fetch 1 ,mem_24g_retry 
-022f 1fe67c0b sub pdata ,11 ,null 
-0230 24210411 nbranch p_g24_ch ,positive 
-0231 1fe0fe01 increase 1 ,pdata 
-0232 6000c729 store 1 ,mem_24g_retry 
-0233 c00101ad beq 2 ,p_g24_hop_ch_enable 
-0234 c00301b4 beq 6 ,p_g24_hop_ch_disable 
-0235 c00401ad beq 8 ,p_g24_hop_ch_enable 
-0236 c00601b4 beq 12 ,p_g24_hop_ch_disable 
-0237 20600000 rtn 
+030b 6800c729 fetch 1 ,mem_24g_retry 
+030c 1fe67c0b sub pdata ,11 ,null 
+030d 242104ee nbranch p_g24_ch ,positive 
+030e 1fe0fe01 increase 1 ,pdata 
+030f 6000c729 store 1 ,mem_24g_retry 
+0310 c001028a beq 2 ,p_g24_hop_ch_enable 
+0311 c0030291 beq 6 ,p_g24_hop_ch_disable 
+0312 c004028a beq 8 ,p_g24_hop_ch_enable 
+0313 c0060291 beq 12 ,p_g24_hop_ch_disable 
+0314 20600000 rtn 
 
 p_g24_ackpayload_parse:
-0238 204003f2 call p_g24_read_len_pid_crc 
-0239 6800c71e fetch 1 ,mem_24g_rxdata_length 
-023a 207a0000 rtn blank 
-023b 98007200 iforce loopcnt 
-023c d8c0469c arg mem_24g_rxbuf + 2 ,contr 
-023d d8a046fe arg mem_24g_rxpayload ,contw 
-023e 20207f01 branch memcpy 
+0315 204004cf call p_g24_read_len_pid_crc 
+0316 6800c71e fetch 1 ,mem_24g_rxdata_length 
+0317 207a0000 rtn blank 
+0318 98007200 iforce loopcnt 
+0319 d8c0469c arg mem_24g_rxbuf + 2 ,contr 
+031a d8a046fe arg mem_24g_rxpayload ,contw 
+031b 20207f01 branch memcpy 
 
 p_g24_start_pairing_sm1:
-023f 79200026 set1 mark_24g ,mark 
-0240 20400191 call p_g24_pair_init 
+031c 79200026 set1 mark_24g ,mark 
+031d 2040026e call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-0241 70473001 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
-0242 20600000 rtn 
+031e 70473001 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+031f 20600000 rtn 
 
 p_g24_pairing_sm:
-0243 6800c725 fetch 1 ,mem_24g_ensure 
-0244 c000ffe7 beq ensure_on_24g ,enable_user 
-0245 6800c730 fetch 1 ,mem_24g_pairing_sm 
-0246 c000824a beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
-0247 c001024d beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
-0248 c0018250 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
-0249 20202a8c branch assert 
+0320 6800c725 fetch 1 ,mem_24g_ensure 
+0321 c000ffe7 beq ensure_on_24g ,enable_user 
+0322 6800c730 fetch 1 ,mem_24g_pairing_sm 
+0323 c0008327 beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+0324 c001032a beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+0325 c001832d beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+0326 20202a8c branch assert 
 
 p_g24_pairing_sm_1:
-024a 70473011 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
-024b 70119eaa jam 0xaa ,mem_24g_common_temp 
-024c 20200252 branch p_g24_pairing_sm_common 
+0327 70473011 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+0328 70119eaa jam 0xaa ,mem_24g_common_temp 
+0329 2020032f branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_2:
-024d 70473012 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
-024e 70119e55 jam 0x55 ,mem_24g_common_temp 
-024f 20200252 branch p_g24_pairing_sm_common 
+032a 70473012 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+032b 70119e55 jam 0x55 ,mem_24g_common_temp 
+032c 2020032f branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_3:
-0250 70473013 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
-0251 70119e22 jam 0x22 ,mem_24g_common_temp 
+032d 70473013 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+032e 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 p_g24_pairing_sm_common:
-0252 6800c721 fetch 1 ,mem_24g_data_type 
-0253 1fe17e07 and_into bits_data ,pdata 
-0254 6000919f store 1 ,mem_24g_common_temp + 1 
-0255 68024757 fetch 4 ,mem_24g_device_addr 
-0256 600211a0 store 4 ,mem_24g_common_temp + 2 
+032f 6800c721 fetch 1 ,mem_24g_data_type 
+0330 1fe17e07 and_into bits_data ,pdata 
+0331 6000919f store 1 ,mem_24g_common_temp + 1 
+0332 68024757 fetch 4 ,mem_24g_device_addr 
+0333 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 p_g24_put_pairing_data_in_buff:
-0257 7011a400 jam 0 ,mem_24g_common_temp + 6 
-0258 da20119e arg mem_24g_common_temp ,rega 
-0259 d8400007 arg 7 ,temp 
-025a 2040017b call p_g24_put_data_in_buff 
-025b 204001ef call p_g24_txdata_enable_tx 
-025c 20207fe7 branch enable_user 
+0334 7011a400 jam 0 ,mem_24g_common_temp + 6 
+0335 da20119e arg mem_24g_common_temp ,rega 
+0336 d8400007 arg 7 ,temp 
+0337 20400258 call p_g24_put_data_in_buff 
+0338 204002cc call p_g24_txdata_enable_tx 
+0339 20207fe7 branch enable_user 
 
 p_g24_paring_mode:
-025d 6800c730 fetch 1 ,mem_24g_pairing_sm 
-025e c17f8000 rtneq state_24g_pairing_success 
-025f c0088263 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
-0260 c0090265 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
-0261 c0098267 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
-0262 20600000 rtn 
+033a 6800c730 fetch 1 ,mem_24g_pairing_sm 
+033b c17f8000 rtneq state_24g_pairing_success 
+033c c0088340 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+033d c0090342 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+033e c0098344 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+033f 20600000 rtn 
 
 p_g24_pairing_sm_1_waiting_ack:
-0263 70473002 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
-0264 2020020f branch p_g24_transmit_abandon 
+0340 70473002 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0341 202002ec branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_2_waiting_ack:
-0265 70473003 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
-0266 2020020f branch p_g24_transmit_abandon 
+0342 70473003 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0343 202002ec branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_3_waiting_ack:
-0267 704730ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
-0268 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-0269 20407d86 call ui_ipc_send_event 
-026a 68024700 fetch 4 ,mem_24g_rxpayload + 2 
-026b 204003e4 call p_g24_update_addr_and_synccrc8 
-026c 2020020f branch p_g24_transmit_abandon 
+0344 704730ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0345 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0346 20407d86 call ui_ipc_send_event 
+0347 68024700 fetch 4 ,mem_24g_rxpayload + 2 
+0348 204004c1 call p_g24_update_addr_and_synccrc8 
+0349 202002ec branch p_g24_transmit_abandon 
 
 p_g24_check_51cmd_stop_24g:
-026d 793f8026 set0 mark_24g ,mark 
-026e 7047e400 jam state_24g_stop ,mem_24g_conn_sm 
-026f 202053ce branch le_disable 
+034a 793f8026 set0 mark_24g ,mark 
+034b 7047e400 jam state_24g_stop ,mem_24g_conn_sm 
+034c 202053ce branch le_disable 
 
 p_g24_matrix_data:
-0270 6800c7fb fetch 1 ,mem_24g_matrix_cnt 
-0271 1fe0fe01 increase 1 ,pdata 
-0272 6000c7fb store 1 ,mem_24g_matrix_cnt 
-0273 1fe67c32 sub pdata ,50 ,null 
-0274 2021027c branch p_ms_x_right ,positive 
-0275 1fe67c64 sub pdata ,100 ,null 
-0276 20210287 branch p_ms_y_up ,positive 
-0277 1fe67c96 sub pdata ,150 ,null 
-0278 2021028f branch p_ms_x_left ,positive 
-0279 1fe67cc8 sub pdata ,200 ,null 
-027a 20210297 branch p_ms_y_down ,positive 
-027b 20600000 rtn 
+034d 6800c7fb fetch 1 ,mem_24g_matrix_cnt 
+034e 1fe0fe01 increase 1 ,pdata 
+034f 6000c7fb store 1 ,mem_24g_matrix_cnt 
+0350 1fe67c32 sub pdata ,50 ,null 
+0351 20210359 branch p_ms_x_right ,positive 
+0352 1fe67c64 sub pdata ,100 ,null 
+0353 20210364 branch p_ms_y_up ,positive 
+0354 1fe67c96 sub pdata ,150 ,null 
+0355 2021036c branch p_ms_x_left ,positive 
+0356 1fe67cc8 sub pdata ,200 ,null 
+0357 20210374 branch p_ms_y_down ,positive 
+0358 20600000 rtn 
 
 p_ms_x_right:
-027c 58000005 setarg 0x05 
-027d 600147f5 store 2 ,mem_m_x 
-027e 58000000 setarg 0 
-027f 600147f7 store 2 ,mem_m_y 
-0280 6000c7f9 store 1 ,mem_m_z 
-0281 6000c7f4 store 1 ,mem_m_key 
-0282 6000c7fa store 1 ,mem_m_tz 
+0359 58000005 setarg 0x05 
+035a 600147f5 store 2 ,mem_m_x 
+035b 58000000 setarg 0 
+035c 600147f7 store 2 ,mem_m_y 
+035d 6000c7f9 store 1 ,mem_m_z 
+035e 6000c7f4 store 1 ,mem_m_key 
+035f 6000c7fa store 1 ,mem_m_tz 
 
 p_data:
-0283 78347c00 enable user 
-0284 da200007 arg 7 ,rega 
-0285 da4047f4 arg mem_m_key ,regb 
-0286 20600000 rtn 
+0360 78347c00 enable user 
+0361 da200007 arg 7 ,rega 
+0362 da4047f4 arg mem_m_key ,regb 
+0363 20600000 rtn 
 
 p_ms_y_up:
-0287 58000005 setarg 0x05 
-0288 600147f7 store 2 ,mem_m_y 
-0289 58000000 setarg 0 
-028a 600147f5 store 2 ,mem_m_x 
-028b 6000c7f9 store 1 ,mem_m_z 
-028c 6000c7f4 store 1 ,mem_m_key 
-028d 6000c7fa store 1 ,mem_m_tz 
-028e 20200283 branch p_data 
+0364 58000005 setarg 0x05 
+0365 600147f7 store 2 ,mem_m_y 
+0366 58000000 setarg 0 
+0367 600147f5 store 2 ,mem_m_x 
+0368 6000c7f9 store 1 ,mem_m_z 
+0369 6000c7f4 store 1 ,mem_m_key 
+036a 6000c7fa store 1 ,mem_m_tz 
+036b 20200360 branch p_data 
 
 p_ms_x_left:
-028f 5800fffb setarg 0xfffb 
-0290 600147f5 store 2 ,mem_m_x 
-0291 58000000 setarg 0 
-0292 600147f7 store 2 ,mem_m_y 
-0293 6000c7f9 store 1 ,mem_m_z 
-0294 6000c7f4 store 1 ,mem_m_key 
-0295 6000c7fa store 1 ,mem_m_tz 
-0296 20200283 branch p_data 
+036c 5800fffb setarg 0xfffb 
+036d 600147f5 store 2 ,mem_m_x 
+036e 58000000 setarg 0 
+036f 600147f7 store 2 ,mem_m_y 
+0370 6000c7f9 store 1 ,mem_m_z 
+0371 6000c7f4 store 1 ,mem_m_key 
+0372 6000c7fa store 1 ,mem_m_tz 
+0373 20200360 branch p_data 
 
 p_ms_y_down:
-0297 6800c7fb fetch 1 ,mem_24g_matrix_cnt 
-0298 c06402a1 beq 200 ,p_mem_usb_data_square_cnt_set0 
-0299 5800fffb setarg 0xfffb 
-029a 600147f7 store 2 ,mem_m_y 
-029b 58000000 setarg 0 
-029c 600147f5 store 2 ,mem_m_x 
-029d 6000c7f9 store 1 ,mem_m_z 
-029e 6000c7f4 store 1 ,mem_m_key 
-029f 6000c7fa store 1 ,mem_m_tz 
-02a0 20200283 branch p_data 
+0374 6800c7fb fetch 1 ,mem_24g_matrix_cnt 
+0375 c064037e beq 200 ,p_mem_usb_data_square_cnt_set0 
+0376 5800fffb setarg 0xfffb 
+0377 600147f7 store 2 ,mem_m_y 
+0378 58000000 setarg 0 
+0379 600147f5 store 2 ,mem_m_x 
+037a 6000c7f9 store 1 ,mem_m_z 
+037b 6000c7f4 store 1 ,mem_m_key 
+037c 6000c7fa store 1 ,mem_m_tz 
+037d 20200360 branch p_data 
 
 p_mem_usb_data_square_cnt_set0:
-02a1 7047fb00 jam 0 ,mem_24g_matrix_cnt 
-02a2 20200299 branch p_ms_y_down + 2 
+037e 7047fb00 jam 0 ,mem_24g_matrix_cnt 
+037f 20200376 branch p_ms_y_down + 2 
 
 p_g24_receiver:
-02a3 204002b2 call p_dongle_check_mode 
+0380 2040038f call p_dongle_check_mode 
 
 p_g24_receiver_main_loop:
-02a4 20400044 call p_app_mode_check 
-02a5 204002b6 call p_g24_dongle_work_mode 
-02a6 20400116 call p_usb_dispatch 
-02a7 202002a4 branch p_g24_receiver_main_loop 
+0381 2040004a call p_app_mode_check 
+0382 20400393 call p_g24_dongle_work_mode 
+0383 2040013a call p_usb_dispatch 
+0384 20200381 branch p_g24_receiver_main_loop 
 
 p_g24_receiver_init:
-02a8 79200026 set1 mark_24g ,mark 
-02a9 7920002c set1 mark_24g_rxmode ,mark 
-02aa 58007530 setarg 0x7530 
-02ab 60014723 store 2 ,mem_24g_rx_window 
-02ac 680247ee fetch 4 ,mem_24g_allpowerful_addr 
-02ad 6002478d store 4 ,mem_24g_rx_addr 
-02ae 7047a11e jam 0x1e ,mem_24g_hop_interval 
-02af df200080 arg 0x80 ,loopcnt 
-02b0 d8a00d9e arg mem_rssi_noise_buffer ,contw 
-02b1 20207ec6 branch memset0 
+0385 79200026 set1 mark_24g ,mark 
+0386 7920002c set1 mark_24g_rxmode ,mark 
+0387 58007530 setarg 0x7530 
+0388 60014723 store 2 ,mem_24g_rx_window 
+0389 680247ee fetch 4 ,mem_24g_allpowerful_addr 
+038a 6002478d store 4 ,mem_24g_rx_addr 
+038b 7047a11e jam 0x1e ,mem_24g_hop_interval 
+038c df200080 arg 0x80 ,loopcnt 
+038d d8a00d9e arg mem_rssi_noise_buffer ,contw 
+038e 20207ec6 branch memset0 
 
 p_dongle_check_mode:
-02b2 7047a200 jam 0 ,mem_24g_ackpayload_enable 
+038f 7047a200 jam 0 ,mem_24g_ackpayload_enable 
 
 p_dongle_work_mode_enable:
-02b3 70479200 jam dongle_work ,mem_dongle_work_mode 
-02b4 70479100 jam clear_init ,mem_dongle_mode_init 
-02b5 20600000 rtn 
+0390 70479200 jam dongle_work ,mem_dongle_work_mode 
+0391 70479100 jam clear_init ,mem_dongle_mode_init 
+0392 20600000 rtn 
 
 p_g24_dongle_work_mode:
-02b6 6800c792 fetch 1 ,mem_dongle_work_mode 
-02b7 c1800000 rtnne dongle_work 
+0393 6800c792 fetch 1 ,mem_dongle_work_mode 
+0394 c1800000 rtnne dongle_work 
 
 p_g24_dongle_work_mode_start:
-02b8 204002bc call p_g24_dongle_work_init 
-02b9 204002c8 call p_g24_ch_process 
-02ba 20400328 call p_g24_receive_packet_start 
-02bb 202002e7 branch p_g24_blank_data_process 
+0395 20400399 call p_g24_dongle_work_init 
+0396 204003a5 call p_g24_ch_process 
+0397 20400405 call p_g24_receive_packet_start 
+0398 202003c4 branch p_g24_blank_data_process 
 
 p_g24_dongle_work_init:
-02bc 6800c791 fetch 1 ,mem_dongle_mode_init 
-02bd c3800000 rtnbit1 dongle_work 
-02be 79207e00 set1 dongle_work ,pdata 
-02bf 6000c791 store 1 ,mem_dongle_mode_init 
-02c0 7047a200 jam 0 ,mem_24g_ackpayload_enable 
-02c1 700d3800 jam 0 ,mem_usb_tx_enable 
-02c2 70479b01 jam 1 ,mem_24g_abort_packet 
-02c3 70471f00 jam 0 ,mem_24g_pid 
-02c4 6802478d fetch 4 ,mem_24g_rx_addr 
-02c5 204003e4 call p_g24_update_addr_and_synccrc8 
-02c6 20400411 call p_g24_ch 
-02c7 20200338 branch p_g24_rx_interrupt_clear 
+0399 6800c791 fetch 1 ,mem_dongle_mode_init 
+039a c3800000 rtnbit1 dongle_work 
+039b 79207e00 set1 dongle_work ,pdata 
+039c 6000c791 store 1 ,mem_dongle_mode_init 
+039d 7047a200 jam 0 ,mem_24g_ackpayload_enable 
+039e 700d3800 jam 0 ,mem_usb_tx_enable 
+039f 70479b01 jam 1 ,mem_24g_abort_packet 
+03a0 70471f00 jam 0 ,mem_24g_pid 
+03a1 6802478d fetch 4 ,mem_24g_rx_addr 
+03a2 204004c1 call p_g24_update_addr_and_synccrc8 
+03a3 204004ee call p_g24_ch 
+03a4 20200415 branch p_g24_rx_interrupt_clear 
 
 p_g24_ch_process:
-02c8 6800c79b fetch 1 ,mem_24g_abort_packet 
-02c9 c00082e1 beq 1 ,p_g24_noise_rssi 
-02ca 6800c7a3 fetch 1 ,mem_24g_hop_packet 
-02cb c00082db beq 1 ,p_g24_ch_receive_hop_pac 
-02cc 680a479d fetcht 4 ,mem_24g_hop_btclk 
-02cd 1c427e00 copy clkn_bt ,pdata 
-02ce 98467c00 isub temp ,null 
-02cf 24412d18 ncall g24_timer_timeout ,positive 
-02d0 1fe22400 copy pdata ,regb 
-02d1 6802479d fetch 4 ,mem_24g_hop_btclk 
-02d2 6808c7a1 fetcht 1 ,mem_24g_hop_interval 
-02d3 98408400 iadd temp ,temp 
-02d4 1a427e00 copy regb ,pdata 
-02d5 98467c00 isub temp ,null 
-02d6 24610000 nrtn positive 
-02d7 793ffe1c set0 28 ,pdata 
-02d8 6002479d store 4 ,mem_24g_hop_btclk 
-02d9 70479b01 jam 1 ,mem_24g_abort_packet 
-02da 20200411 branch p_g24_ch 
+03a5 6800c79b fetch 1 ,mem_24g_abort_packet 
+03a6 c00083be beq 1 ,p_g24_noise_rssi 
+03a7 6800c7a3 fetch 1 ,mem_24g_hop_packet 
+03a8 c00083b8 beq 1 ,p_g24_ch_receive_hop_pac 
+03a9 680a479d fetcht 4 ,mem_24g_hop_btclk 
+03aa 1c427e00 copy clkn_bt ,pdata 
+03ab 98467c00 isub temp ,null 
+03ac 24412d18 ncall g24_timer_timeout ,positive 
+03ad 1fe22400 copy pdata ,regb 
+03ae 6802479d fetch 4 ,mem_24g_hop_btclk 
+03af 6808c7a1 fetcht 1 ,mem_24g_hop_interval 
+03b0 98408400 iadd temp ,temp 
+03b1 1a427e00 copy regb ,pdata 
+03b2 98467c00 isub temp ,null 
+03b3 24610000 nrtn positive 
+03b4 793ffe1c set0 28 ,pdata 
+03b5 6002479d store 4 ,mem_24g_hop_btclk 
+03b6 70479b01 jam 1 ,mem_24g_abort_packet 
+03b7 202004ee branch p_g24_ch 
 
 p_g24_ch_receive_hop_pac:
-02db 7047a300 jam 0 ,mem_24g_hop_packet 
-02dc 20200411 branch p_g24_ch 
+03b8 7047a300 jam 0 ,mem_24g_hop_packet 
+03b9 202004ee branch p_g24_ch 
 
 p_g24_ch_timer_reinit:
-02dd 1c427e00 copy clkn_bt ,pdata 
-02de 6002479d store 4 ,mem_24g_hop_btclk 
-02df 70479c00 jam 0 ,mem_24g_rf_laststa 
-02e0 20600000 rtn 
+03ba 1c427e00 copy clkn_bt ,pdata 
+03bb 6002479d store 4 ,mem_24g_hop_btclk 
+03bc 70479c00 jam 0 ,mem_24g_rf_laststa 
+03bd 20600000 rtn 
 
 p_g24_noise_rssi:
-02e1 da200d9e arg mem_rssi_noise_buffer ,rega 
-02e2 204003d8 call p_rssi_average 
-02e3 6008c7c6 storet 1 ,mem_rssi_noise_avg 
-02e4 18467c50 sub temp ,rssi_thresh_noise ,null 
-02e5 24610000 nrtn positive 
-02e6 20200411 branch p_g24_ch 
+03be da200d9e arg mem_rssi_noise_buffer ,rega 
+03bf 204004b5 call p_rssi_average 
+03c0 6008c7c6 storet 1 ,mem_rssi_noise_avg 
+03c1 18467c50 sub temp ,rssi_thresh_noise ,null 
+03c2 24610000 nrtn positive 
+03c3 202004ee branch p_g24_ch 
 
 p_g24_blank_data_process:
-02e7 204002ea call p_g24_ms_blank_data 
-02e8 204002f5 call p_g24_kb_blank_data 
-02e9 202002fd branch p_g24_kb_mul_blank_data 
+03c4 204003c7 call p_g24_ms_blank_data 
+03c5 204003d2 call p_g24_kb_blank_data 
+03c6 202003da branch p_g24_kb_mul_blank_data 
 
 p_g24_ms_blank_data:
-02ea 6800c7bc fetch 1 ,mem_24g_ms_blank_data_enable 
-02eb 207a0000 rtn blank 
-02ec d8e0000b arg timer_new_ms_blank ,queue 
-02ed 20407f16 call timer_check 
-02ee 247a0000 nrtn blank 
-02ef 7047bc00 jam 0 ,mem_24g_ms_blank_data_enable 
-02f0 204002f2 call p_usb_pc_blank_data2ep2 
-02f1 20200102 branch p_usb_ms_data_header 
+03c7 6800c7bc fetch 1 ,mem_24g_ms_blank_data_enable 
+03c8 207a0000 rtn blank 
+03c9 d8e0000b arg timer_new_ms_blank ,queue 
+03ca 20407f16 call timer_check 
+03cb 247a0000 nrtn blank 
+03cc 7047bc00 jam 0 ,mem_24g_ms_blank_data_enable 
+03cd 204003cf call p_usb_pc_blank_data2ep2 
+03ce 2020010e branch p_usb_ms_data_header 
 
 p_usb_pc_blank_data2ep2:
-02f2 d8a013d2 arg mem_usb_pc_data ,contw 
-02f3 20407ed2 call clear_mem_512 
-02f4 202031b8 branch g24_data_type1_usbtx_enable 
+03cf d8a013d2 arg mem_usb_pc_data ,contw 
+03d0 20407ed2 call clear_mem_512 
+03d1 202031b8 branch usb_ep2_tx_enable 
 
 p_g24_kb_blank_data:
-02f5 6800c7ba fetch 1 ,mem_24g_kb_blank_data_enable 
-02f6 207a0000 rtn blank 
-02f7 d8e0000e arg timer_new_kb_blank ,queue 
-02f8 20407f16 call timer_check 
-02f9 247a0000 nrtn blank 
-02fa 7047ba00 jam 0 ,mem_24g_kb_blank_data_enable 
-02fb 204002f2 call p_usb_pc_blank_data2ep2 
-02fc 20200107 branch p_usb_kb_normal_data_header 
+03d2 6800c7ba fetch 1 ,mem_24g_kb_blank_data_enable 
+03d3 207a0000 rtn blank 
+03d4 d8e0000e arg timer_new_kb_blank ,queue 
+03d5 20407f16 call timer_check 
+03d6 247a0000 nrtn blank 
+03d7 7047ba00 jam 0 ,mem_24g_kb_blank_data_enable 
+03d8 204003cf call p_usb_pc_blank_data2ep2 
+03d9 20200113 branch p_usb_kb_normal_data_header 
 
 p_g24_kb_mul_blank_data:
-02fd 6800c7bb fetch 1 ,mem_24g_kb_mul_blank_data_enable 
-02fe 207a0000 rtn blank 
-02ff d8e0000c arg timer_new_kb_mul_blank ,queue 
-0300 20407f16 call timer_check 
-0301 247a0000 nrtn blank 
-0302 7047bb00 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-0303 204002f2 call p_usb_pc_blank_data2ep2 
-0304 2020010c branch p_usb_kb_multimedia_data_header 
+03da 6800c7bb fetch 1 ,mem_24g_kb_mul_blank_data_enable 
+03db 207a0000 rtn blank 
+03dc d8e0000c arg timer_new_kb_mul_blank ,queue 
+03dd 20407f16 call timer_check 
+03de 247a0000 nrtn blank 
+03df 7047bb00 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+03e0 204003cf call p_usb_pc_blank_data2ep2 
+03e1 20200118 branch p_usb_kb_multimedia_data_header 
 
 p_g24_receive_transmit_ack:
-0305 20400338 call p_g24_rx_interrupt_clear 
-0306 2040042b call p_g24_receive_packet 
-0307 24778000 nrtn user3 
-0308 20200309 branch p_g24_transmit_ack 
+03e2 20400415 call p_g24_rx_interrupt_clear 
+03e3 20400508 call p_g24_receive_packet 
+03e4 24778000 nrtn user3 
+03e5 202003e6 branch p_g24_transmit_ack 
 
 p_g24_transmit_ack:
-0309 6800c69a fetch 1 ,mem_24g_rxbuf 
-030a 6000c721 store 1 ,mem_24g_data_type 
-030b 204003f2 call p_g24_read_len_pid_crc 
-030c 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
-030d 2feffe00 isolate1 bit_ack_24g ,pdata 
-030e 20208312 branch p_g24tx_no_ack ,true 
+03e6 6800c69a fetch 1 ,mem_24g_rxbuf 
+03e7 6000c721 store 1 ,mem_24g_data_type 
+03e8 204004cf call p_g24_read_len_pid_crc 
+03e9 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
+03ea 2feffe00 isolate1 bit_ack_24g ,pdata 
+03eb 202083ef branch p_g24tx_no_ack ,true 
 
 p_g24tx_with_ack:
-030f 20400313 call p_g24_ackpayload_prep 
-0310 204003ff call p_g24_transmit_prep 
-0311 20400479 call p_g24_transmit 
+03ec 204003f0 call p_g24_ackpayload_prep 
+03ed 204004dc call p_g24_transmit_prep 
+03ee 20400556 call p_g24_transmit 
 
 p_g24tx_no_ack:
-0312 20200473 branch p_g24_end_of_packet 
+03ef 20200550 branch p_g24_end_of_packet 
 
 p_g24_ackpayload_prep:
-0313 70472000 jam 0 ,mem_24g_datalen 
-0314 6800c7a2 fetch 1 ,mem_24g_ackpayload_enable 
-0315 207a0000 rtn blank 
-0316 c0008319 beq bind_ackpayload ,p_g24_bind_ackpayload_prep 
-0317 c001831f beq kb_led_ackpayload ,p_g24_kb_led_ackpayload_prep 
-0318 20600000 rtn 
+03f0 70472000 jam 0 ,mem_24g_datalen 
+03f1 6800c7a2 fetch 1 ,mem_24g_ackpayload_enable 
+03f2 207a0000 rtn blank 
+03f3 c00083f6 beq bind_ackpayload ,p_g24_bind_ackpayload_prep 
+03f4 c00183fc beq kb_led_ackpayload ,p_g24_kb_led_ackpayload_prep 
+03f5 20600000 rtn 
 
 p_g24_bind_ackpayload_prep:
-0319 7047a201 jam 1 ,mem_24g_ackpayload_enable 
-031a 70472008 jam 0x08 ,mem_24g_datalen 
-031b df200008 arg 0x08 ,loopcnt 
-031c d8c04793 arg mem_24g_bind_payload ,contr 
-031d d8a046bc arg mem_24g_txbuf ,contw 
-031e 20207f01 branch memcpy 
+03f6 7047a201 jam 1 ,mem_24g_ackpayload_enable 
+03f7 70472008 jam 0x08 ,mem_24g_datalen 
+03f8 df200008 arg 0x08 ,loopcnt 
+03f9 d8c04793 arg mem_24g_bind_payload ,contr 
+03fa d8a046bc arg mem_24g_txbuf ,contw 
+03fb 20207f01 branch memcpy 
 
 p_g24_kb_led_ackpayload_prep:
-031f 6800c69c fetch 1 ,mem_24g_rxbuf + 2 
-0320 c0008319 beq 0x01 ,p_g24_bind_ackpayload_prep 
-0321 c07f8319 beq 0xff ,p_g24_bind_ackpayload_prep 
-0322 700d4300 jam 0 ,mem_usb_tx_win_enable 
-0323 70472001 jam 0x01 ,mem_24g_datalen 
-0324 df200001 arg 0x01 ,loopcnt 
-0325 d8c047e3 arg mem_24g_led_status ,contr 
-0326 d8a046bc arg mem_24g_txbuf ,contw 
-0327 20207f01 branch memcpy 
+03fc 6800c69c fetch 1 ,mem_24g_rxbuf + 2 
+03fd c00083f6 beq 0x01 ,p_g24_bind_ackpayload_prep 
+03fe c07f83f6 beq 0xff ,p_g24_bind_ackpayload_prep 
+03ff 700d4300 jam 0 ,mem_usb_tx_win_enable 
+0400 70472001 jam 0x01 ,mem_24g_datalen 
+0401 df200001 arg 0x01 ,loopcnt 
+0402 d8c047e3 arg mem_24g_led_status ,contr 
+0403 d8a046bc arg mem_24g_txbuf ,contw 
+0404 20207f01 branch memcpy 
 
 p_g24_receive_packet_start:
-0328 20400305 call p_g24_receive_transmit_ack 
-0329 24378338 nbranch p_g24_rx_interrupt_clear ,user3 
-032a 2020032b branch p_g24_receive_packet_parse 
+0405 204003e2 call p_g24_receive_transmit_ack 
+0406 24378415 nbranch p_g24_rx_interrupt_clear ,user3 
+0407 20200408 branch p_g24_receive_packet_parse 
 
 p_g24_receive_packet_parse:
-032b 2040033b call p_g24_receive_packet_parse_pid_crc 
-032c 24340338 nbranch p_g24_rx_interrupt_clear ,user 
-032d 6800c71e fetch 1 ,mem_24g_rxdata_length 
-032e 203a0338 branch p_g24_rx_interrupt_clear ,blank 
-032f 1fe0fe02 increase 2 ,pdata 
-0330 98007200 iforce loopcnt 
-0331 d8c0469a arg mem_24g_rxbuf ,contr 
-0332 d8a0476b arg mem_24g_rxdata_temp ,contw 
-0333 20407f01 call memcpy 
-0334 6800c76d fetch 1 ,mem_24g_rxdata_temp + 2 
-0335 c0008349 beq 0x01 ,p_g24_data_type1 
-0336 c0010365 beq 0x02 ,p_g24_data_type2 
-0337 c07f83b2 beq 0xff ,p_g24_data_attemp 
+0408 20400418 call p_g24_receive_packet_parse_pid_crc 
+0409 24340415 nbranch p_g24_rx_interrupt_clear ,user 
+040a 6800c71e fetch 1 ,mem_24g_rxdata_length 
+040b 203a0415 branch p_g24_rx_interrupt_clear ,blank 
+040c 1fe0fe02 increase 2 ,pdata 
+040d 98007200 iforce loopcnt 
+040e d8c0469a arg mem_24g_rxbuf ,contr 
+040f d8a0476b arg mem_24g_rxdata_temp ,contw 
+0410 20407f01 call memcpy 
+0411 6800c76d fetch 1 ,mem_24g_rxdata_temp + 2 
+0412 c0008426 beq 0x01 ,p_g24_data_type1 
+0413 c0010442 beq 0x02 ,p_g24_data_type2 
+0414 c07f848f beq 0xff ,p_g24_data_attemp 
 
 p_g24_rx_interrupt_clear:
-0338 d8a0469a arg mem_24g_rxbuf ,contw 
-0339 df200042 arg 66 ,loopcnt 
-033a 20207ed4 branch clear_mem 
+0415 d8a0469a arg mem_24g_rxbuf ,contw 
+0416 df200042 arg 66 ,loopcnt 
+0417 20207ed4 branch clear_mem 
 
 p_g24_receive_packet_parse_pid_crc:
-033b 20407fe9 call disable_user 
-033c 6800c763 fetch 1 ,mem_24g_sta_pid 
-033d 6808c764 fetcht 1 ,mem_24g_last_pid 
-033e 98467c00 isub temp ,null 
-033f 2442ffe7 ncall enable_user ,zero 
-0340 6800c763 fetch 1 ,mem_24g_sta_pid 
-0341 6000c764 store 1 ,mem_24g_last_pid 
-0342 6801c75d fetch 3 ,mem_24g_sta_crc 
-0343 6809c760 fetcht 3 ,mem_24g_last_crc 
-0344 98467c00 isub temp ,null 
-0345 2442ffe7 ncall enable_user ,zero 
-0346 6801c75d fetch 3 ,mem_24g_sta_crc 
-0347 6001c760 store 3 ,mem_24g_last_crc 
-0348 20600000 rtn 
+0418 20407fe9 call disable_user 
+0419 6800c763 fetch 1 ,mem_24g_sta_pid 
+041a 6808c764 fetcht 1 ,mem_24g_last_pid 
+041b 98467c00 isub temp ,null 
+041c 2442ffe7 ncall enable_user ,zero 
+041d 6800c763 fetch 1 ,mem_24g_sta_pid 
+041e 6000c764 store 1 ,mem_24g_last_pid 
+041f 6801c75d fetch 3 ,mem_24g_sta_crc 
+0420 6809c760 fetcht 3 ,mem_24g_last_crc 
+0421 98467c00 isub temp ,null 
+0422 2442ffe7 ncall enable_user ,zero 
+0423 6801c75d fetch 3 ,mem_24g_sta_crc 
+0424 6001c760 store 3 ,mem_24g_last_crc 
+0425 20600000 rtn 
 
 p_g24_data_type1:
-0349 204002dd call p_g24_ch_timer_reinit 
-034a 6800c79b fetch 1 ,mem_24g_abort_packet 
-034b 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
-034c 284ffe03 isolate1 bit_abort ,temp 
-034d 7920fe00 setflag true ,0 ,pdata 
-034e 6000c79b store 1 ,mem_24g_abort_packet 
-034f c00083bc beq 1 ,p_g24_data_attemp_mouse_abort 
-0350 6800c7a3 fetch 1 ,mem_24g_hop_packet 
-0351 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
-0352 284ffe04 isolate1 bit_hop ,temp 
-0353 7920fe00 setflag true ,0 ,pdata 
-0354 6000c7a3 store 1 ,mem_24g_hop_packet 
-0355 20400102 call p_usb_ms_data_header 
-0356 6803c76e fetch 7 ,mem_24g_rxdata_temp + 3 
-0357 600393d6 store 7 ,mem_usb_pc_data + 4 
-0358 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
-0359 245a035d ncall p_g24_ms_enable_blank_data_forcibly ,blank 
-035a 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
-035b 205a0361 call p_g24_ms_disable_blank_data_forcibly ,blank 
-035c 202031b8 branch g24_data_type1_usbtx_enable 
+0426 204003ba call p_g24_ch_timer_reinit 
+0427 6800c79b fetch 1 ,mem_24g_abort_packet 
+0428 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
+0429 284ffe03 isolate1 bit_abort ,temp 
+042a 7920fe00 setflag true ,0 ,pdata 
+042b 6000c79b store 1 ,mem_24g_abort_packet 
+042c c0008499 beq 1 ,p_g24_data_attemp_mouse_abort 
+042d 6800c7a3 fetch 1 ,mem_24g_hop_packet 
+042e 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
+042f 284ffe04 isolate1 bit_hop ,temp 
+0430 7920fe00 setflag true ,0 ,pdata 
+0431 6000c7a3 store 1 ,mem_24g_hop_packet 
+0432 2040010e call p_usb_ms_data_header 
+0433 6803c76e fetch 7 ,mem_24g_rxdata_temp + 3 
+0434 600393d6 store 7 ,mem_usb_pc_data + 4 
+0435 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
+0436 245a043a ncall p_g24_ms_enable_blank_data_forcibly ,blank 
+0437 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
+0438 205a043e call p_g24_ms_disable_blank_data_forcibly ,blank 
+0439 202031b8 branch usb_ep2_tx_enable 
 
 p_g24_ms_enable_blank_data_forcibly:
-035d 7047bc01 jam 1 ,mem_24g_ms_blank_data_enable 
-035e 58000180 setarg timer_new_ms_blank_delay 
-035f d8e0000b arg timer_new_ms_blank ,queue 
-0360 20207f08 branch timer_init 
+043a 7047bc01 jam 1 ,mem_24g_ms_blank_data_enable 
+043b 58000180 setarg timer_new_ms_blank_delay 
+043c d8e0000b arg timer_new_ms_blank ,queue 
+043d 20207f08 branch timer_init 
 
 p_g24_ms_disable_blank_data_forcibly:
-0361 7047bc00 jam 0 ,mem_24g_ms_blank_data_enable 
-0362 58000000 setarg 0 
-0363 d8e0000b arg timer_new_ms_blank ,queue 
-0364 20207f08 branch timer_init 
+043e 7047bc00 jam 0 ,mem_24g_ms_blank_data_enable 
+043f 58000000 setarg 0 
+0440 d8e0000b arg timer_new_ms_blank ,queue 
+0441 20207f08 branch timer_init 
 
 p_g24_data_type2:
-0365 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
-0366 284ffe03 isolate1 bit_abort ,temp 
-0367 202083be branch p_g24_data_attemp_kbd_abort ,true 
-0368 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
-0369 c000036d beq 0 ,p_g24_data_type2_data1 
-036a c00103a4 beq 2 ,p_g24_data_type2_data3 
-036b c001838a beq 3 ,p_g24_data_type2_data2 
-036c 20200338 branch p_g24_rx_interrupt_clear 
+0442 6808c76b fetcht 1 ,mem_24g_rxdata_temp 
+0443 284ffe03 isolate1 bit_abort ,temp 
+0444 2020849b branch p_g24_data_attemp_kbd_abort ,true 
+0445 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
+0446 c000044a beq 0 ,p_g24_data_type2_data1 
+0447 c0010481 beq 2 ,p_g24_data_type2_data3 
+0448 c0018467 beq 3 ,p_g24_data_type2_data2 
+0449 20200415 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_data1:
-036d 6800c770 fetch 1 ,mem_24g_rxdata_temp + 5 
-036e 6000c7a2 store 1 ,mem_24g_ackpayload_enable 
-036f 70477000 jam 0 ,mem_24g_rxdata_temp + 5 
-0370 20400107 call p_usb_kb_normal_data_header 
-0371 d8a013d6 arg mem_usb_pc_data + 4 ,contw 
-0372 2040037f call p_g24_data_type2_copy_data1 
-0373 680413d6 fetch 8 ,mem_usb_pc_data + 4 
-0374 245a0382 ncall p_g24_kb_enable_blank_data_forcibly ,blank 
-0375 680413d6 fetch 8 ,mem_usb_pc_data + 4 
-0376 205a0386 call p_g24_kb_disable_blank_data_forcibly ,blank 
-0377 680413d6 fetch 8 ,mem_usb_pc_data + 4 
-0378 600447a4 store 8 ,mem_24g_kb_data_sta_data 
-0379 680c47ac fetcht 8 ,mem_24g_kb_data_last_data 
-037a 98467c00 isub temp ,null 
-037b 2442b1b8 ncall g24_data_type1_usbtx_enable ,zero 
-037c 680447a4 fetch 8 ,mem_24g_kb_data_sta_data 
-037d 600447ac store 8 ,mem_24g_kb_data_last_data 
-037e 20200338 branch p_g24_rx_interrupt_clear 
+044a 6800c770 fetch 1 ,mem_24g_rxdata_temp + 5 
+044b 6000c7a2 store 1 ,mem_24g_ackpayload_enable 
+044c 70477000 jam 0 ,mem_24g_rxdata_temp + 5 
+044d 20400113 call p_usb_kb_normal_data_header 
+044e d8a013d6 arg mem_usb_pc_data + 4 ,contw 
+044f 2040045c call p_g24_data_type2_copy_data1 
+0450 680413d6 fetch 8 ,mem_usb_pc_data + 4 
+0451 245a045f ncall p_g24_kb_enable_blank_data_forcibly ,blank 
+0452 680413d6 fetch 8 ,mem_usb_pc_data + 4 
+0453 205a0463 call p_g24_kb_disable_blank_data_forcibly ,blank 
+0454 680413d6 fetch 8 ,mem_usb_pc_data + 4 
+0455 600447a4 store 8 ,mem_24g_kb_data_sta_data 
+0456 680c47ac fetcht 8 ,mem_24g_kb_data_last_data 
+0457 98467c00 isub temp ,null 
+0458 2442b1b8 ncall usb_ep2_tx_enable ,zero 
+0459 680447a4 fetch 8 ,mem_24g_kb_data_sta_data 
+045a 600447ac store 8 ,mem_24g_kb_data_last_data 
+045b 20200415 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data1:
-037f d8c0476f arg mem_24g_rxdata_temp + 4 ,contr 
-0380 df200008 arg 8 ,loopcnt 
-0381 20207f01 branch memcpy 
+045c d8c0476f arg mem_24g_rxdata_temp + 4 ,contr 
+045d df200008 arg 8 ,loopcnt 
+045e 20207f01 branch memcpy 
 
 p_g24_kb_enable_blank_data_forcibly:
-0382 7047ba01 jam 1 ,mem_24g_kb_blank_data_enable 
-0383 58000180 setarg timer_new_kb_blank_delay 
-0384 d8e0000e arg timer_new_kb_blank ,queue 
-0385 20207f08 branch timer_init 
+045f 7047ba01 jam 1 ,mem_24g_kb_blank_data_enable 
+0460 58000180 setarg timer_new_kb_blank_delay 
+0461 d8e0000e arg timer_new_kb_blank ,queue 
+0462 20207f08 branch timer_init 
 
 p_g24_kb_disable_blank_data_forcibly:
-0386 7047ba00 jam 0 ,mem_24g_kb_blank_data_enable 
-0387 58000000 setarg 0 
-0388 d8e0000e arg timer_new_kb_blank ,queue 
-0389 20207f08 branch timer_init 
+0463 7047ba00 jam 0 ,mem_24g_kb_blank_data_enable 
+0464 58000000 setarg 0 
+0465 d8e0000e arg timer_new_kb_blank ,queue 
+0466 20207f08 branch timer_init 
 
 p_g24_data_type2_data2:
-038a 2040010c call p_usb_kb_multimedia_data_header 
-038b d8a013d6 arg mem_usb_pc_data + 4 ,contw 
-038c 20400399 call p_g24_data_type2_copy_data2 
-038d 680113d7 fetch 2 ,mem_usb_pc_data + 5 
-038e 245a039c ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
-038f 680113d7 fetch 2 ,mem_usb_pc_data + 5 
-0390 205a03a0 call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
-0391 680193d6 fetch 3 ,mem_usb_pc_data + 4 
-0392 6001c7b4 store 3 ,mem_24g_kb_multikey_sta_data 
-0393 6809c7b7 fetcht 3 ,mem_24g_kb_multikey_last_data 
-0394 98467c00 isub temp ,null 
-0395 2442b1b8 ncall g24_data_type1_usbtx_enable ,zero 
-0396 6801c7b4 fetch 3 ,mem_24g_kb_multikey_sta_data 
-0397 6001c7b7 store 3 ,mem_24g_kb_multikey_last_data 
-0398 20200338 branch p_g24_rx_interrupt_clear 
+0467 20400118 call p_usb_kb_multimedia_data_header 
+0468 d8a013d6 arg mem_usb_pc_data + 4 ,contw 
+0469 20400476 call p_g24_data_type2_copy_data2 
+046a 680113d7 fetch 2 ,mem_usb_pc_data + 5 
+046b 245a0479 ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
+046c 680113d7 fetch 2 ,mem_usb_pc_data + 5 
+046d 205a047d call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
+046e 680193d6 fetch 3 ,mem_usb_pc_data + 4 
+046f 6001c7b4 store 3 ,mem_24g_kb_multikey_sta_data 
+0470 6809c7b7 fetcht 3 ,mem_24g_kb_multikey_last_data 
+0471 98467c00 isub temp ,null 
+0472 2442b1b8 ncall usb_ep2_tx_enable ,zero 
+0473 6801c7b4 fetch 3 ,mem_24g_kb_multikey_sta_data 
+0474 6001c7b7 store 3 ,mem_24g_kb_multikey_last_data 
+0475 20200415 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data2:
-0399 d8c0476e arg mem_24g_rxdata_temp + 3 ,contr 
-039a df200003 arg 3 ,loopcnt 
-039b 20207f01 branch memcpy 
+0476 d8c0476e arg mem_24g_rxdata_temp + 3 ,contr 
+0477 df200003 arg 3 ,loopcnt 
+0478 20207f01 branch memcpy 
 
 p_g24_kb_mul_enable_blank_data_forcibly:
-039c 7047bb01 jam 1 ,mem_24g_kb_mul_blank_data_enable 
-039d 58000180 setarg timer_new_kb_mul_blank_delay 
-039e d8e0000c arg timer_new_kb_mul_blank ,queue 
-039f 20207f08 branch timer_init 
+0479 7047bb01 jam 1 ,mem_24g_kb_mul_blank_data_enable 
+047a 58000180 setarg timer_new_kb_mul_blank_delay 
+047b d8e0000c arg timer_new_kb_mul_blank ,queue 
+047c 20207f08 branch timer_init 
 
 p_g24_kb_mul_disable_blank_data_forcibly:
-03a0 7047bb00 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-03a1 58000000 setarg 0 
-03a2 d8e0000c arg timer_new_kb_mul_blank ,queue 
-03a3 20207f08 branch timer_init 
+047d 7047bb00 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+047e 58000000 setarg 0 
+047f d8e0000c arg timer_new_kb_mul_blank ,queue 
+0480 20207f08 branch timer_init 
 
 p_g24_data_type2_data3:
-03a4 20400111 call p_usb_kb_sysctrl_data_header 
-03a5 d8a013d6 arg mem_usb_pc_data + 4 ,contw 
-03a6 204003af call p_g24_data_type2_copy_data3 
-03a7 680113d6 fetch 2 ,mem_usb_pc_data + 4 
-03a8 600113cc store 2 ,mem_usb_kb_system_sta_data 
-03a9 680913cf fetcht 2 ,mem_usb_kb_system_last_data 
-03aa 98467c00 isub temp ,null 
-03ab 2442b1b8 ncall g24_data_type1_usbtx_enable ,zero 
-03ac 680113cc fetch 2 ,mem_usb_kb_system_sta_data 
-03ad 600113cf store 2 ,mem_usb_kb_system_last_data 
-03ae 20200338 branch p_g24_rx_interrupt_clear 
+0481 2040011d call p_usb_kb_sysctrl_data_header 
+0482 d8a013d6 arg mem_usb_pc_data + 4 ,contw 
+0483 2040048c call p_g24_data_type2_copy_data3 
+0484 680113d6 fetch 2 ,mem_usb_pc_data + 4 
+0485 600113cc store 2 ,mem_usb_kb_system_sta_data 
+0486 680913cf fetcht 2 ,mem_usb_kb_system_last_data 
+0487 98467c00 isub temp ,null 
+0488 2442b1b8 ncall usb_ep2_tx_enable ,zero 
+0489 680113cc fetch 2 ,mem_usb_kb_system_sta_data 
+048a 600113cf store 2 ,mem_usb_kb_system_last_data 
+048b 20200415 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data3:
-03af d8c0476e arg mem_24g_rxdata_temp + 3 ,contr 
-03b0 df200002 arg 2 ,loopcnt 
-03b1 20207f01 branch memcpy 
+048c d8c0476e arg mem_24g_rxdata_temp + 3 ,contr 
+048d df200002 arg 2 ,loopcnt 
+048e 20207f01 branch memcpy 
 
 p_g24_data_attemp:
-03b2 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
-03b3 c00083b6 beq datatype_mouse ,p_g24_data_attemp_mouse 
-03b4 c00103b9 beq datatype_keyboard ,p_g24_data_attemp_kbd 
-03b5 20600000 rtn 
+048f 6800c76e fetch 1 ,mem_24g_rxdata_temp + 3 
+0490 c0008493 beq datatype_mouse ,p_g24_data_attemp_mouse 
+0491 c0010496 beq datatype_keyboard ,p_g24_data_attemp_kbd 
+0492 20600000 rtn 
 
 p_g24_data_attemp_mouse:
-03b6 6802476f fetch 4 ,mem_24g_rxdata_temp + 4 
+0493 6802476f fetch 4 ,mem_24g_rxdata_temp + 4 
 
 p_g24_store_mouse_addr:
-03b7 600247c1 store 4 ,mem_24g_ms_addr 
-03b8 20600000 rtn 
+0494 600247c1 store 4 ,mem_24g_ms_addr 
+0495 20600000 rtn 
 
 p_g24_data_attemp_kbd:
-03b9 6802476f fetch 4 ,mem_24g_rxdata_temp + 4 
+0496 6802476f fetch 4 ,mem_24g_rxdata_temp + 4 
 
 p_g24_store_kbd_addr:
-03ba 600247bd store 4 ,mem_24g_kb_addr 
-03bb 20600000 rtn 
+0497 600247bd store 4 ,mem_24g_kb_addr 
+0498 20600000 rtn 
 
 p_g24_data_attemp_mouse_abort:
-03bc 68024775 fetch 4 ,mem_24g_rxdata_temp + 10 
-03bd 202003b7 branch p_g24_store_mouse_addr 
+0499 68024775 fetch 4 ,mem_24g_rxdata_temp + 10 
+049a 20200494 branch p_g24_store_mouse_addr 
 
 p_g24_data_attemp_kbd_abort:
-03be 68024775 fetch 4 ,mem_24g_rxdata_temp + 10 
-03bf 202003ba branch p_g24_store_kbd_addr 
+049b 68024775 fetch 4 ,mem_24g_rxdata_temp + 10 
+049c 20200497 branch p_g24_store_kbd_addr 
 
 p_rssi_noise:
-03c0 204029bb call save_rssi 
-03c1 207a0000 rtn blank 
-03c2 6808c7c7 fetcht 1 ,mem_rssi_noise_index 
-03c3 da200d9e arg mem_rssi_noise_buffer ,rega 
-03c4 204003c7 call p_rssi_store 
-03c5 6008c7c7 storet 1 ,mem_rssi_noise_index 
-03c6 20600000 rtn 
+049d 204029bb call save_rssi 
+049e 207a0000 rtn blank 
+049f 6808c7c7 fetcht 1 ,mem_rssi_noise_index 
+04a0 da200d9e arg mem_rssi_noise_buffer ,rega 
+04a1 204004a4 call p_rssi_store 
+04a2 6008c7c7 storet 1 ,mem_rssi_noise_index 
+04a3 20600000 rtn 
 
 p_rssi_store:
-03c7 1a227e00 copy rega ,pdata 
-03c8 98408a00 iadd temp ,contw 
-03c9 68008018 fetch 1 ,mem_rssi 
-03ca e0a08000 istore 1 ,contw 
-03cb 18408401 increase 1 ,temp 
-03cc 184104ff and_into rssi_buf_len_noise ,temp 
-03cd 20600000 rtn 
+04a4 1a227e00 copy rega ,pdata 
+04a5 98408a00 iadd temp ,contw 
+04a6 68008018 fetch 1 ,mem_rssi 
+04a7 e0a08000 istore 1 ,contw 
+04a8 18408401 increase 1 ,temp 
+04a9 184104ff and_into rssi_buf_len_noise ,temp 
+04aa 20600000 rtn 
 
 p_rssi_signal:
-03ce 1fe22200 copy pdata ,rega 
-03cf 6808c7c8 fetcht 1 ,mem_rssi_signal_index 
-03d0 580047cf setarg mem_rssi_signal_buf 
-03d1 98408a00 iadd temp ,contw 
-03d2 1a227e00 copy rega ,pdata 
-03d3 e0a08000 istore 1 ,contw 
-03d4 18408401 increase 1 ,temp 
-03d5 18410407 and_into rssi_buf_len_signal ,temp 
-03d6 6008c7c8 storet 1 ,mem_rssi_signal_index 
-03d7 20600000 rtn 
+04ab 1fe22200 copy pdata ,rega 
+04ac 6808c7c8 fetcht 1 ,mem_rssi_signal_index 
+04ad 580047cf setarg mem_rssi_signal_buf 
+04ae 98408a00 iadd temp ,contw 
+04af 1a227e00 copy rega ,pdata 
+04b0 e0a08000 istore 1 ,contw 
+04b1 18408401 increase 1 ,temp 
+04b2 18410407 and_into rssi_buf_len_signal ,temp 
+04b3 6008c7c8 storet 1 ,mem_rssi_signal_index 
+04b4 20600000 rtn 
 
 p_rssi_average:
-03d8 d8400000 arg 0 ,temp 
-03d9 df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
-03da c51603dc bmark1 mark_24g_rxmode ,p_rssi_average2 
-03db df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+04b5 d8400000 arg 0 ,temp 
+04b6 df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
+04b7 c51604b9 bmark1 mark_24g_rxmode ,p_rssi_average2 
+04b8 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
 
 p_rssi_average2:
-03dc 1a220c00 copy rega ,contr 
-03dd c5162e64 bmark1 mark_24g_rxmode ,rssi_average_loop 
+04b9 1a220c00 copy rega ,contr 
+04ba c5162e64 bmark1 mark_24g_rxmode ,rssi_average_loop 
 
 p_rssi_average_loop:
-03de e8c08000 ifetch 1 ,contr 
-03df 98408400 iadd temp ,temp 
-03e0 c20003de loop p_rssi_average_loop 
-03e1 18497e00 rshift3 temp ,pdata 
-03e2 1fe20400 copy pdata ,temp 
-03e3 20600000 rtn 
+04bb e8c08000 ifetch 1 ,contr 
+04bc 98408400 iadd temp ,temp 
+04bd c20004bb loop p_rssi_average_loop 
+04be 18497e00 rshift3 temp ,pdata 
+04bf 1fe20400 copy pdata ,temp 
+04c0 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-03e4 60024748 store 4 ,mem_24g_addr 
+04c1 60024748 store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-03e5 da200000 arg 0 ,rega 
-03e6 df200004 arg 4 ,loopcnt 
-03e7 d8c04748 arg mem_24g_addr ,contr 
+04c2 da200000 arg 0 ,rega 
+04c3 df200004 arg 4 ,loopcnt 
+04c4 d8c04748 arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-03e8 e8c08000 ifetch 1 ,contr 
-03e9 9a20a200 iadd rega ,rega 
-03ea c20003e8 loop p_g24_syncword_crc8_loop 
-03eb 1a227e00 copy rega ,pdata 
-03ec 60014767 store 2 ,mem_24g_syncword 
-03ed 6800c767 fetch 1 ,mem_24g_syncword 
-03ee 6808c768 fetcht 1 ,mem_24g_syncword + 1 
-03ef 9840fe00 iadd temp ,pdata 
-03f0 6000c769 store 1 ,mem_24g_syncword_crc8 
-03f1 20600000 rtn 
+04c5 e8c08000 ifetch 1 ,contr 
+04c6 9a20a200 iadd rega ,rega 
+04c7 c20004c5 loop p_g24_syncword_crc8_loop 
+04c8 1a227e00 copy rega ,pdata 
+04c9 60014767 store 2 ,mem_24g_syncword 
+04ca 6800c767 fetch 1 ,mem_24g_syncword 
+04cb 6808c768 fetcht 1 ,mem_24g_syncword + 1 
+04cc 9840fe00 iadd temp ,pdata 
+04cd 6000c769 store 1 ,mem_24g_syncword_crc8 
+04ce 20600000 rtn 
 
 p_g24_read_len_pid_crc:
-03f2 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
-03f3 1fe97e00 rshift3 pdata ,pdata 
-03f4 6000c71e store 1 ,mem_24g_rxdata_length 
-03f5 1fe0fe01 increase 1 ,pdata 
-03f6 d8c0469b arg mem_24g_rxbuf + 1 ,contr 
-03f7 98c08c00 iadd contr ,contr 
-03f8 e8c18000 ifetch 3 ,contr 
-03f9 6001c75d store 3 ,mem_24g_sta_crc 
-03fa 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
-03fb 1fe37e00 rshift pdata ,pdata 
-03fc 1fe17e03 and pdata ,0x03 ,pdata 
-03fd 6000c763 store 1 ,mem_24g_sta_pid 
-03fe 20600000 rtn 
+04cf 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
+04d0 1fe97e00 rshift3 pdata ,pdata 
+04d1 6000c71e store 1 ,mem_24g_rxdata_length 
+04d2 1fe0fe01 increase 1 ,pdata 
+04d3 d8c0469b arg mem_24g_rxbuf + 1 ,contr 
+04d4 98c08c00 iadd contr ,contr 
+04d5 e8c18000 ifetch 3 ,contr 
+04d6 6001c75d store 3 ,mem_24g_sta_crc 
+04d7 6800c69b fetch 1 ,mem_24g_rxbuf + 1 
+04d8 1fe37e00 rshift pdata ,pdata 
+04d9 1fe17e03 and pdata ,0x03 ,pdata 
+04da 6000c763 store 1 ,mem_24g_sta_pid 
+04db 20600000 rtn 
 
 p_g24_transmit_prep:
-03ff 6800c720 fetch 1 ,mem_24g_datalen 
-0400 1fe0fe02 increase 2 ,pdata 
-0401 6000c722 store 1 ,mem_24g_txlen 
-0402 6800c721 fetch 1 ,mem_24g_data_type 
-0403 6000c6dc store 1 ,mem_24g_txpayload 
-0404 6800c720 fetch 1 ,mem_24g_datalen 
-0405 1fe9fe00 lshift3 pdata ,pdata 
-0406 6808c71f fetcht 1 ,mem_24g_pid 
-0407 18410403 and temp ,0x03 ,temp 
-0408 18438400 lshift temp ,temp 
-0409 9841fe00 ior temp ,pdata 
-040a 6808c75c fetcht 1 ,mem_24g_no_ack 
-040b 9840fe00 iadd temp ,pdata 
-040c e0a08000 istore 1 ,contw 
-040d 6800c720 fetch 1 ,mem_24g_datalen 
-040e 98007200 iforce loopcnt 
-040f d8c046bc arg mem_24g_txbuf ,contr 
-0410 20207f01 branch memcpy 
+04dc 6800c720 fetch 1 ,mem_24g_datalen 
+04dd 1fe0fe02 increase 2 ,pdata 
+04de 6000c722 store 1 ,mem_24g_txlen 
+04df 6800c721 fetch 1 ,mem_24g_data_type 
+04e0 6000c6dc store 1 ,mem_24g_txpayload 
+04e1 6800c720 fetch 1 ,mem_24g_datalen 
+04e2 1fe9fe00 lshift3 pdata ,pdata 
+04e3 6808c71f fetcht 1 ,mem_24g_pid 
+04e4 18410403 and temp ,0x03 ,temp 
+04e5 18438400 lshift temp ,temp 
+04e6 9841fe00 ior temp ,pdata 
+04e7 6808c75c fetcht 1 ,mem_24g_no_ack 
+04e8 9840fe00 iadd temp ,pdata 
+04e9 e0a08000 istore 1 ,contw 
+04ea 6800c720 fetch 1 ,mem_24g_datalen 
+04eb 98007200 iforce loopcnt 
+04ec d8c046bc arg mem_24g_txbuf ,contr 
+04ed 20207f01 branch memcpy 
 
 p_g24_ch:
-0411 6808c72b fetcht 1 ,mem_24g_current_ch_number 
-0412 20400415 call p_g24_ch_map_size 
-0413 6008c72b storet 1 ,mem_24g_current_ch_number 
-0414 20600000 rtn 
+04ee 6808c72b fetcht 1 ,mem_24g_current_ch_number 
+04ef 204004f2 call p_g24_ch_map_size 
+04f0 6008c72b storet 1 ,mem_24g_current_ch_number 
+04f1 20600000 rtn 
 
 p_g24_ch_map_size:
-0415 20400419 call p_g24_ch_calc 
-0416 18408401 increase 1 ,temp 
-0417 18410403 and_into 3 ,temp 
-0418 20600000 rtn 
+04f2 204004f6 call p_g24_ch_calc 
+04f3 18408401 increase 1 ,temp 
+04f4 18410403 and_into 3 ,temp 
+04f5 20600000 rtn 
 
 p_g24_ch_calc:
-0419 6800c748 fetch 1 ,mem_24g_addr 
-041a 1fe17e03 and_into 0x03 ,pdata 
-041b 1fefa204 mul32 pdata ,4 ,rega 
-041c 58004731 setarg mem_24g_ch_map1 
-041d 9a20fe00 iadd rega ,pdata 
-041e 98408c00 iadd temp ,contr 
-041f e8c08000 ifetch 1 ,contr 
-0420 6000c72a store 1 ,mem_24g_ch 
-0421 20600000 rtn 
+04f6 6800c748 fetch 1 ,mem_24g_addr 
+04f7 1fe17e03 and_into 0x03 ,pdata 
+04f8 1fefa204 mul32 pdata ,4 ,rega 
+04f9 58004731 setarg mem_24g_ch_map1 
+04fa 9a20fe00 iadd rega ,pdata 
+04fb 98408c00 iadd temp ,contr 
+04fc e8c08000 ifetch 1 ,contr 
+04fd 6000c72a store 1 ,mem_24g_ch 
+04fe 20600000 rtn 
 
 p_g24_prep:
-0422 7844fc00 disable enable_crc 
-0423 7843fc00 disable enable_white 
-0424 58555555 setarg 0x555555 
-0425 98001e00 iforce crc24_init 
-0426 6800c72a fetch 1 ,mem_24g_ch 
-0427 1fed8400 reverse pdata ,temp 
-0428 79200401 set1 1 ,temp 
-0429 18431c00 rshift temp ,white_init 
-042a 20600000 rtn 
+04ff 7844fc00 disable enable_crc 
+0500 7843fc00 disable enable_white 
+0501 58555555 setarg 0x555555 
+0502 98001e00 iforce crc24_init 
+0503 6800c72a fetch 1 ,mem_24g_ch 
+0504 1fed8400 reverse pdata ,temp 
+0505 79200401 set1 1 ,temp 
+0506 18431c00 rshift temp ,white_init 
+0507 20600000 rtn 
 
 p_g24_receive_packet:
-042b 204053c4 call le_enable 
-042c 68024748 fetch 4 ,mem_24g_addr 
-042d 98001200 iforce access 
-042e 20402918 call set_sync_on 
-042f 6808c72a fetcht 1 ,mem_24g_ch 
-0430 2040291f call set_freq_rx 
-0431 58000500 setarg param_pll_setup 
-0432 20402a8f call sleep 
-0433 20402924 call rf_rx_enable 
+0508 204053c4 call le_enable 
+0509 68024748 fetch 4 ,mem_24g_addr 
+050a 98001200 iforce access 
+050b 20402918 call set_sync_on 
+050c 6808c72a fetcht 1 ,mem_24g_ch 
+050d 2040291f call set_freq_rx 
+050e 58000500 setarg param_pll_setup 
+050f 20402a8f call sleep 
+0510 20402924 call rf_rx_enable 
 
 p_g24_receive_rxon:
-0434 20400422 call p_g24_prep 
-0435 7857fc00 disable user3 
-0436 7826fc00 enable decode_fec0 
-0437 7830fc00 enable is_rx 
-0438 78507c00 disable is_tx 
-0439 78287c00 enable swfine 
-043a 68014723 fetch 2 ,mem_24g_rx_window 
-043b 98003600 iforce stop_watch 
-043c 37c18400 correlate null ,timeout 
-043d 242c0471 nbranch p_g24_sync_timeout ,sync 
-043e 7846fc00 disable decode_fec0 
-043f 7825fc00 enable decode_fec1 
-0440 7823fc00 enable enable_white 
-0441 7824fc00 enable enable_crc 
-0442 2040046e call p_g24_receive_byte 
-0443 6000c76a store 1 ,mem_24g_get_syncword_crc8 
-0444 6808c769 fetcht 1 ,mem_24g_syncword_crc8 
-0445 98467c00 isub temp ,null 
-0446 24228473 nbranch p_g24_end_of_packet ,zero 
-0447 2040046e call p_g24_receive_byte 
-0448 6000c69a store 1 ,mem_24g_rxbuf 
-0449 c516044e bmark1 mark_24g_rxmode ,p_g24_receive_skip 
-044a 6800c69a fetch 1 ,mem_24g_rxbuf 
-044b 6808c721 fetcht 1 ,mem_24g_data_type 
-044c a8400e00 icompare bits_data ,temp 
-044d 24208473 nbranch p_g24_end_of_packet ,true 
+0511 204004ff call p_g24_prep 
+0512 7857fc00 disable user3 
+0513 7826fc00 enable decode_fec0 
+0514 7830fc00 enable is_rx 
+0515 78507c00 disable is_tx 
+0516 78287c00 enable swfine 
+0517 68014723 fetch 2 ,mem_24g_rx_window 
+0518 98003600 iforce stop_watch 
+0519 37c18400 correlate null ,timeout 
+051a 242c054e nbranch p_g24_sync_timeout ,sync 
+051b 7846fc00 disable decode_fec0 
+051c 7825fc00 enable decode_fec1 
+051d 7823fc00 enable enable_white 
+051e 7824fc00 enable enable_crc 
+051f 2040054b call p_g24_receive_byte 
+0520 6000c76a store 1 ,mem_24g_get_syncword_crc8 
+0521 6808c769 fetcht 1 ,mem_24g_syncword_crc8 
+0522 98467c00 isub temp ,null 
+0523 24228550 nbranch p_g24_end_of_packet ,zero 
+0524 2040054b call p_g24_receive_byte 
+0525 6000c69a store 1 ,mem_24g_rxbuf 
+0526 c516052b bmark1 mark_24g_rxmode ,p_g24_receive_skip 
+0527 6800c69a fetch 1 ,mem_24g_rxbuf 
+0528 6808c721 fetcht 1 ,mem_24g_data_type 
+0529 a8400e00 icompare bits_data ,temp 
+052a 24208550 nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-044e 2040046e call p_g24_receive_byte 
-044f e0a08000 istore 1 ,contw 
-0450 1fe97e00 rshift3 pdata ,pdata 
-0451 1fe1721f and pdata ,0x1f ,loopcnt 
-0452 20228456 branch p_g24rx_nopayload ,zero 
+052b 2040054b call p_g24_receive_byte 
+052c e0a08000 istore 1 ,contw 
+052d 1fe97e00 rshift3 pdata ,pdata 
+052e 1fe1721f and pdata ,0x1f ,loopcnt 
+052f 20228533 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-0453 2040046e call p_g24_receive_byte 
-0454 e0a08000 istore 1 ,contw 
-0455 c2000453 loop p_g24rx_loop 
+0530 2040054b call p_g24_receive_byte 
+0531 e0a08000 istore 1 ,contw 
+0532 c2000530 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-0456 c516045b bmark1 mark_24g_rxmode ,p_g24rx_crc 
-0457 18a22200 copy contw ,rega 
-0458 2040046e call p_g24_receive_byte 
-0459 6000c7e1 store 1 ,mem_rssi_hex_received 
-045a 1a220a00 copy rega ,contw 
+0533 c5160538 bmark1 mark_24g_rxmode ,p_g24rx_crc 
+0534 18a22200 copy contw ,rega 
+0535 2040054b call p_g24_receive_byte 
+0536 6000c7e1 store 1 ,mem_rssi_hex_received 
+0537 1a220a00 copy rega ,contw 
 
 p_g24rx_crc:
-045b 09800018 parse demod ,bucket ,24 
-045c 78287c00 enable swfine 
-045d db600664 arg param_sifs ,stop_watch 
-045e 1fef7e00 rshift32 pdata ,pdata 
-045f 1ff17e00 rshift16 pdata ,pdata 
-0460 e0a18000 istore 3 ,contw 
-0461 7845fc00 disable decode_fec1 
-0462 280ffe2c isolate1 mark_24g_rxmode ,mark 
-0463 2040a9bb call save_rssi ,true 
-0464 20230473 branch p_g24_end_of_packet ,crc_failed 
-0465 7837fc00 enable user3 
-0466 68008017 fetch 1 ,mem_last_freq 
-0467 1fe0a200 add pdata ,0 ,rega 
-0468 20402981 call rf_write_freq 
-0469 7846fc00 disable decode_fec0 
-046a 20402918 call set_sync_on 
-046b c6160000 rtnmark1 mark_24g_rxmode 
-046c 6800c7e1 fetch 1 ,mem_rssi_hex_received 
-046d 202003ce branch p_rssi_signal 
+0538 09800018 parse demod ,bucket ,24 
+0539 78287c00 enable swfine 
+053a db600664 arg param_sifs ,stop_watch 
+053b 1fef7e00 rshift32 pdata ,pdata 
+053c 1ff17e00 rshift16 pdata ,pdata 
+053d e0a18000 istore 3 ,contw 
+053e 7845fc00 disable decode_fec1 
+053f 280ffe2c isolate1 mark_24g_rxmode ,mark 
+0540 2040a9bb call save_rssi ,true 
+0541 20230550 branch p_g24_end_of_packet ,crc_failed 
+0542 7837fc00 enable user3 
+0543 68008017 fetch 1 ,mem_last_freq 
+0544 1fe0a200 add pdata ,0 ,rega 
+0545 20402981 call rf_write_freq 
+0546 7846fc00 disable decode_fec0 
+0547 20402918 call set_sync_on 
+0548 c6160000 rtnmark1 mark_24g_rxmode 
+0549 6800c7e1 fetch 1 ,mem_rssi_hex_received 
+054a 202004ab branch p_rssi_signal 
 
 p_g24_receive_byte:
-046e 09800008 parse demod ,bucket ,8 
-046f 19897e00 rshift3 pwindow ,pdata 
-0470 20600000 rtn 
+054b 09800008 parse demod ,bucket ,8 
+054c 19897e00 rshift3 pwindow ,pdata 
+054d 20600000 rtn 
 
 p_g24_sync_timeout:
-0471 280ffe2c isolate1 mark_24g_rxmode ,mark 
-0472 204083c0 call p_rssi_noise ,true 
+054e 280ffe2c isolate1 mark_24g_rxmode ,mark 
+054f 2040849d call p_rssi_noise ,true 
 
 p_g24_end_of_packet:
-0473 784dfc00 disable encode_fec1 
-0474 7845fc00 disable decode_fec1 
-0475 2020264d branch end_of_packet 
+0550 784dfc00 disable encode_fec1 
+0551 7845fc00 disable decode_fec1 
+0552 2020264d branch end_of_packet 
 
 p_g24_set_freq_tx:
-0476 20402918 call set_sync_on 
-0477 6808c72a fetcht 1 ,mem_24g_ch 
-0478 20202933 branch set_freq_tx 
+0553 20402918 call set_sync_on 
+0554 6808c72a fetcht 1 ,mem_24g_ch 
+0555 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-0479 204053c4 call le_enable 
-047a 68024748 fetch 4 ,mem_24g_addr 
-047b 98001200 iforce access 
-047c 20400422 call p_g24_prep 
-047d 20400476 call p_g24_set_freq_tx 
-047e 79202a00 set1 txgfsk ,radio_ctrl 
-047f 782efc00 enable encode_fec0 
-0480 78307c00 enable is_tx 
-0481 7850fc00 disable is_rx 
-0482 19317e00 rshift16 access ,pdata 
-0483 1fecfe00 rshift8 pdata ,pdata 
-0484 1ff1fe00 rshift4 pdata ,pdata 
-0485 08008628 inject mod ,40 
-0486 784efc00 disable encode_fec0 
-0487 782dfc00 enable encode_fec1 
-0488 7823fc00 enable enable_white 
-0489 7824fc00 enable enable_crc 
-048a 6800c769 fetch 1 ,mem_24g_syncword_crc8 
-048b 08008608 inject mod ,8 
-048c 6800c722 fetch 1 ,mem_24g_txlen 
-048d 98007200 iforce loopcnt 
-048e d8c046dc arg mem_24g_txpayload ,contr 
+0556 204053c4 call le_enable 
+0557 68024748 fetch 4 ,mem_24g_addr 
+0558 98001200 iforce access 
+0559 204004ff call p_g24_prep 
+055a 20400553 call p_g24_set_freq_tx 
+055b 79202a00 set1 txgfsk ,radio_ctrl 
+055c 782efc00 enable encode_fec0 
+055d 78307c00 enable is_tx 
+055e 7850fc00 disable is_rx 
+055f 19317e00 rshift16 access ,pdata 
+0560 1fecfe00 rshift8 pdata ,pdata 
+0561 1ff1fe00 rshift4 pdata ,pdata 
+0562 08008628 inject mod ,40 
+0563 784efc00 disable encode_fec0 
+0564 782dfc00 enable encode_fec1 
+0565 7823fc00 enable enable_white 
+0566 7824fc00 enable enable_crc 
+0567 6800c769 fetch 1 ,mem_24g_syncword_crc8 
+0568 08008608 inject mod ,8 
+0569 6800c722 fetch 1 ,mem_24g_txlen 
+056a 98007200 iforce loopcnt 
+056b d8c046dc arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-048f e8c08000 ifetch 1 ,contr 
-0490 08008608 inject mod ,8 
-0491 c200048f loop p_g24tr_loop 
-0492 c5960495 bmark0 mark_24g_rxmode ,p_g24tr_crc 
-0493 6800c7c5 fetch 1 ,mem_rssi_hex 
-0494 08008608 inject mod ,8 
+056c e8c08000 ifetch 1 ,contr 
+056d 08008608 inject mod ,8 
+056e c200056c loop p_g24tr_loop 
+056f c5960572 bmark0 mark_24g_rxmode ,p_g24tr_crc 
+0570 6800c7c5 fetch 1 ,mem_rssi_hex 
+0571 08008608 inject mod ,8 
 
 p_g24tr_crc:
-0495 78247c00 enable enable_parity 
-0496 08008618 inject mod ,24 
-0497 78447c00 disable enable_parity 
-0498 37d38200 until null ,tx_clear 
-0499 20000064 nop 100 
-049a 784efc00 disable encode_fec0 
-049b 784dfc00 disable encode_fec1 
-049c 20600000 rtn 
+0572 78247c00 enable enable_parity 
+0573 08008618 inject mod ,24 
+0574 78447c00 disable enable_parity 
+0575 37d38200 until null ,tx_clear 
+0576 20000064 nop 100 
+0577 784efc00 disable encode_fec0 
+0578 784dfc00 disable encode_fec1 
+0579 20600000 rtn 
               org 0x2000
 
 start:
@@ -6754,7 +7051,7 @@
 2fa1 60008d54 store 1 ,mem_usb_mouse_data 
 2fa2 58000000 setarg 0 
 2fa3 e0a38000 istore 7 ,contw 
-2fa4 202031b8 branch g24_data_type1_usbtx_enable 
+2fa4 202031b8 branch usb_ep2_tx_enable 
 
 g24_kb_blank_data:
 2fa5 5800017e setarg offset_24g_kb_blank_data_enable 
@@ -7451,7 +7748,7 @@
 31b6 2040329e call g24_fetch_mem_rxdata_temp_add3_7byte 
 31b7 205a31c2 call g24_ms_disable_blank_data_forcibly ,blank 
 
-g24_data_type1_usbtx_enable:
+usb_ep2_tx_enable:
 31b8 700d5220 jam usb_ep2_ms ,mem_usb_ep2_data 
 
 g24_data_type1_usbtx_enable_ep2:
Index: program/24g.prog
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/program/24g.prog	(revision 3200)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/program/24g.prog	(working copy)
@@ -1316,7 +1316,7 @@
 	store 1,mem_usb_mouse_data
 	setarg 0
 	istore 7,contw
-	branch g24_data_type1_usbtx_enable
+	branch usb_ep2_tx_enable
 
 g24_kb_blank_data:
 	setarg offset_24g_kb_blank_data_enable
@@ -2155,7 +2155,7 @@
 	call g24_fetch_mem_rxdata_temp_add3_7byte
 	//fetch 7,mem_24g_rxdata_temp+3	//key
 	call g24_ms_disable_blank_data_forcibly,blank
-g24_data_type1_usbtx_enable:
+usb_ep2_tx_enable:
 	jam USB_EP2_MS,mem_usb_ep2_data
 g24_data_type1_usbtx_enable_ep2:	
 	fetch 1,mem_usb_tx_enable
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/program/patch.prog	(revision 3208)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/program/patch.prog	(working copy)
@@ -13,6 +13,13 @@
 	beq patch1f_4,p_usb_tx
 	branch loop
 pf_patch_ext:
+	beq patch26_7,p_le_master_dispatch
+	beq patch2b_2,p_le_acknowledge
+	beq patch2b_7,p_le_scan
+	beq patch2c_2,p_le_create_conn
+	beq patch2c_6,p_le_parse
+	beq patch2c_7,p_le_parse_l2cap
+	beq patch3f_1,p_check_51cmd_once
 	branch loop
 
 
@@ -86,9 +93,8 @@
 
 //gpio27 ground
 p_app_mode_select_ble:
-	store 1,mem_app_mode_select
-	fetcht 1,mem_quickconn_ble_led_gpio
-	call gpio_out_active
+	store 1,mem_app_mode_select	
+	call p_le_start_scan
 	rtn
 
 //gpio28 ground
@@ -111,6 +117,9 @@
 	copy regc,pdata
 	beq BT_EVT_24G_PAIRING_COMPLETE,p_g24_transmitter_pairing_complete
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_g24_transmitter_attempt_fail
+
+	beq BT_EVT_LE_DISCONNECTED,p_le_master_disconnected
+	
 	rtn
 
 p_g24_transmitter_pairing_complete:
@@ -121,6 +130,14 @@
 	call soft_reset_chip
 	branch loop
 
+p_le_master_disconnected:
+	setarg 0
+	store 6,mem_le_conn_peer_addr
+	jam 2,mem_le_send_write_request_count
+	call p_le_start_scan
+	branch p_usb_ble_disconnected
+
+
 
 p_app_bb_event_timer:
 	call p_g24_transmitter_pair_timeout_timer
@@ -397,6 +414,45 @@
 	jam PC_EVT_KB_SYSCTRL_DATA_LEN_2B,mem_usb_pc_data+3
 	rtn
 
+
+p_usb_ble_connected_header:
+	jam PC_REPORT_ID,mem_usb_pc_data
+	jam PC_EVT_TYPE,mem_usb_pc_data+1
+	jam PC_EVT_BLE_CONNECTED,mem_usb_pc_data+2
+	jam PC_EVT_LEN_NULL,mem_usb_pc_data+3
+	branch usb_ep2_tx_enable
+
+p_usb_ble_disconnected:
+	jam PC_REPORT_ID,mem_usb_pc_data
+	jam PC_EVT_TYPE,mem_usb_pc_data+1
+	jam PC_EVT_BLE_DISCONNECTED,mem_usb_pc_data+2
+	jam PC_EVT_LEN_NULL,mem_usb_pc_data+3
+	branch usb_ep2_tx_enable
+
+p_usb_classic_connected_header:
+	jam PC_REPORT_ID,mem_usb_pc_data
+	jam PC_EVT_TYPE,mem_usb_pc_data+1
+	jam PC_EVT_CLASSIC_CONNECTED,mem_usb_pc_data+2
+	jam PC_EVT_LEN_NULL,mem_usb_pc_data+3
+	branch usb_ep2_tx_enable
+
+p_usb_classic_disconnected:
+	jam PC_REPORT_ID,mem_usb_pc_data
+	jam PC_EVT_TYPE,mem_usb_pc_data+1
+	jam PC_EVT_CLASSIC_DISCONNECTED,mem_usb_pc_data+2
+	jam PC_EVT_LEN_NULL,mem_usb_pc_data+3
+	branch usb_ep2_tx_enable
+
+
+p_usb_bt_device_name:
+	jam PC_REPORT_ID,mem_usb_pc_data
+	jam PC_EVT_TYPE,mem_usb_pc_data+1
+	jam PC_EVT_DEVICE_NAME_UPLOAD,mem_usb_pc_data+2
+	branch usb_ep2_tx_enable
+
+	
+
+
 p_usb_dispatch:
 	call usb_isr
 	rtn
@@ -404,6 +460,260 @@
 //////////////////////////////USB FUNC//////////////////////////////////
 
 
+p_app_led_config:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	arg 0,rega
+	branch ui_led_set_style_global
+
+p_app_led_off:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	arg 0,rega
+	branch ui_led_off_global
+
+p_app_led_on:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	arg 0,rega
+	branch ui_led_on_global
+
+//////////////////////////////BLE FUNC//////////////////////////////////
+
+p_le_start_scan:
+	jam ON,mem_le_scan_enable
+	arg mem_le_scan_led_style,regc
+	branch p_app_led_config
+
+
+p_le_master_dispatch:
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	call le_acknowledge
+	call p_le_master_sm
+	disable master
+	rtn
+
+p_le_master_sm:
+ 	fetch 1,mem_le_conn_sm
+	beq CONN_SM_SEND_WRITE_REQ,p_le_data_send_write_req
+	beq CONN_SM_WAIT_WRITE_RES,p_le_data_wait_write_res
+	beq CONN_SM_WAIT_WRITE_RES1,p_le_data_wait_write_res1
+	rtn
+
+p_le_data_send_write_req:
+	jam 0,mem_le_conn_sm
+	setarg 0x1a
+	store 2,mem_le_notify_handle
+p_le_send_att_write_request:
+	force 5,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_REQUEST
+	istore 1,contw
+	fetch 2,mem_le_notify_handle
+	istore 2,contw
+	setarg 0x0001
+	istore 2,contw
+	rtn
+
+p_le_data_wait_write_res:
+	jam CONN_SM_WAIT_WRITE_RES1,mem_le_conn_sm
+	call le_send_att_exchange_mtu_requset
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+p_le_data_wait_write_res1:
+	rtn	
+
+
+p_le_acknowledge:
+	call le_supervision_flush
+	call le_check_wak
+	fetch 1,mem_le_rxbuf
+	isolate1 md,pdata
+	setflag true,mark_ble_rx_md,mark
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	/* retransmit */
+	rtnmark1 mark_old_packet
+	fetch 1,mem_le_rxbuf+1			
+	branch p_le_ack_unenc,blank		/* empty packet, no decryption */
+	fetch 1,mem_le_state
+	bbit0 lestate_encryption,p_le_ack_unenc
+	call load_sk
+	call le_decrypt
+	nrtn blank
+p_le_ack_unenc:
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	branch le_parse
+
+
+p_le_scan:
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+	fetcht 6,mem_le_conn_peer_addr
+	isub temp,null
+	branch le_create_conn,zero
+p_le_addr_compare:
+	fetcht 6,mem_le_slave_peer_addr
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_le_rxbuf+19
+	branch p_le_no_device_name_process,blank
+	sub pdata,20,null	// device name length less than 20
+	nbranch p_le_no_device_name_process,positive
+	increase -1,pdata
+	store 1,mem_le_rx_adv_data_len
+	copy pdata,loopcnt
+	arg mem_le_rx_adv_data,contw
+	arg mem_le_rxbuf+21,contr
+	call memcpy
+p_le_no_device_name:	
+	fetch 6,mem_le_plap
+	store 6,mem_app_peer_addr 	
+	jam 28,mem_le_conn_interval
+	setarg 0x50		// 800ms timeout
+	store 2,mem_le_timeout
+	jam OFF,mem_le_scan_enable
+	branch app_ble_start_conn
+
+p_le_no_device_name_process:
+	jam 0,mem_le_rx_adv_data_len
+	branch p_le_no_device_name
+
+p_le_create_conn:
+	jam CONN_SM_SEND_WRITE_REQ,mem_le_conn_sm
+	call p_app_led_on
+	branch le_create_conn+12
+
+p_le_parse:
+	rtnmark1 mark_old_packet
+	call le_fifo_check_full
+	nrtn blank
+	fetch 1,mem_le_rxbuf
+	and pdata,0x3,pdata
+	store 1,mem_le_packet_llid
+	ifetch 1,contr
+	and pdata,0x1f,pdata
+	store 1,mem_le_packet_size
+	rtn blank							//empty rtn
+	copy contr,pdata
+	store 2,mem_le_payload_ptr
+	fetch 1,mem_le_packet_llid
+	beq LLID_LE_LL,p_le_parse_ll
+	call le_check_l2cap_complete
+	nbranch get_lpm_wake_ble_rx_lock,user
+	branch le_parse_l2cap+2
+
+p_le_parse_ll:
+	fetch 1,mem_le_rxbuf+2
+	beq LL_TERMINATE_IND,p_le_parse_terminate_ind
+	branch le_parse_ll+1
+p_le_parse_terminate_ind:
+	setarg 3
+	branch le_parse_terminate_ind+1
+
+
+p_le_parse_l2cap:
+	ifetch 2,contr
+	beq LE_L2CAP_CID_ATT,p_le_parse_att
+	branch le_parse_l2cap+9
+
+p_le_parse_att:
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_WRITE_RESPONSE,p_le_parse_att_write_response
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,p_le_parse_att_handle_value_notify
+	rtn
+
+p_le_parse_att_write_response:
+	fetch 1,mem_le_send_write_request_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_le_send_write_request_count
+	beq 1,p_le_att_send_write_request1
+	beq 0,p_le_att_send_write_request0
+	rtn
+
+p_le_att_send_write_request1:
+	jam CONN_SM_NULL,mem_le_conn_sm
+	setarg 0x27
+	store 2,mem_le_notify_handle
+	call p_le_send_att_write_request
+	branch p_usb_ble_connected_header
+
+p_le_att_send_write_request0:
+	jam CONN_SM_NULL,mem_le_conn_sm
+	setarg 0x60
+	store 2,mem_le_notify_handle
+	call p_le_send_att_write_request
+	call p_usb_bt_device_name
+	fetch 1,mem_le_rx_adv_data_len
+	store 1,mem_usb_pc_data+3
+	rtn blank
+	copy pdata,loopcnt
+	arg mem_usb_pc_data+4,contw
+	arg mem_le_rx_adv_data,contr
+	branch memcpy
+
+
+p_le_parse_att_handle_value_notify:
+	fetch 1,mem_le_rxbuf+7
+	beq 0x19,p_le_usb_tx_mouse
+	beq 0x15,p_le_usb_tx_kb_standard
+	beq 0x1d,p_le_usb_tx_kb_multimedia
+	rtn
+p_le_usb_tx_mouse:
+	call p_usb_ms_data_header
+	fetch 7,mem_le_rxbuf+9
+	store 7,mem_usb_pc_data+4
+	branch usb_ep2_tx_enable
+
+p_le_usb_tx_kb_standard:
+	call p_usb_kb_normal_data_header
+	fetch 8,mem_le_rxbuf+9
+	store 8,mem_usb_pc_data+4
+	branch usb_ep2_tx_enable
+
+p_le_usb_tx_kb_multimedia:
+	call p_usb_kb_multimedia_data_header
+	fetch 3,mem_le_rxbuf+9
+	store 3,mem_usb_pc_data+4
+	branch usb_ep2_tx_enable
+
+
+p_check_51cmd_once:
+	copy temp,pdata
+	rtn blank
+	beq BT_CMD_LE_START_CONN,p_check_51cmd_le_start_con
+	branch check_51cmd_once+8
+
+p_check_51cmd_le_start_con:
+	fetch 6,mem_app_peer_addr
+	store 6,mem_le_conn_peer_addr
+	branch check_51cmd_le_start_con
+
+p_le_capslock_send_write_command:
+	jam CONN_SM_NULL,mem_le_conn_sm
+	force 4,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_COMMAND
+	istore 1,contw
+	setarg 0x21
+	istore 2,contw
+	fetch 1,mem_le_receive_caps_data
+	istore 2,contw
+	rtn
+
+//////////////////////////////BLE FUNC//////////////////////////////////
+
+
 
 //////////////////////////////G24 FUNC//////////////////////////////////
 
@@ -1055,7 +1365,7 @@
 p_usb_pc_blank_data2ep2:
 	arg mem_usb_pc_data,contw
 	call clear_mem_512
-	branch g24_data_type1_usbtx_enable
+	branch usb_ep2_tx_enable
 
 p_g24_kb_blank_data:
 	fetch 1,mem_24g_kb_blank_data_enable
@@ -1191,7 +1501,7 @@
 	ncall p_g24_ms_enable_blank_data_forcibly,blank//get kb data
 	fetch 1,mem_24g_rxdata_temp+3	//key
 	call p_g24_ms_disable_blank_data_forcibly,blank
-	branch g24_data_type1_usbtx_enable
+	branch usb_ep2_tx_enable
 
 p_g24_ms_enable_blank_data_forcibly:
 	jam 1,mem_24g_ms_blank_data_enable
@@ -1229,7 +1539,7 @@
 	store 8,mem_24g_kb_data_sta_data
 	fetcht 8,mem_24g_kb_data_last_data
 	isub temp,null
-	ncall g24_data_type1_usbtx_enable,zero
+	ncall usb_ep2_tx_enable,zero
 	fetch 8,mem_24g_kb_data_sta_data
 	store 8,mem_24g_kb_data_last_data
 	branch p_g24_rx_interrupt_clear
@@ -1264,7 +1574,7 @@
 	store 3,mem_24g_kb_multikey_sta_data
 	fetcht 3,mem_24g_kb_multikey_last_data
 	isub temp,null
-	ncall g24_data_type1_usbtx_enable,zero
+	ncall usb_ep2_tx_enable,zero
 	fetch 3,mem_24g_kb_multikey_sta_data
 	store 3,mem_24g_kb_multikey_last_data
 	branch p_g24_rx_interrupt_clear
@@ -1295,7 +1605,7 @@
 	store 2,mem_usb_kb_system_sta_data
 	fetcht 2,mem_usb_kb_system_last_data
 	isub temp,null
-	ncall g24_data_type1_usbtx_enable,zero
+	ncall usb_ep2_tx_enable,zero
 	fetch 2,mem_usb_kb_system_sta_data
 	store 2,mem_usb_kb_system_last_data
 	branch p_g24_rx_interrupt_clear
Index: sched/1021s.dat
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/sched/1021s.dat	(revision 3200)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/sched/1021s.dat	(working copy)
@@ -5,6 +5,13 @@
 mem_patch18:10
 mem_patch1e:80
 mem_patch1f:11
+mem_patch26:80
+mem_patch2b:84
+mem_patch2c:c4
+mem_patch3f:02
+
+
+
 
 mem_lpm_config:8f 1d ca	#4khz
 mem_lpm_xtalcnt:00 0a 0b ef 07
@@ -12,6 +19,17 @@
 
 mem_fcomp_mul:02
 mem_fcomp_div:24
+mem_iscan_window:12 00
+mem_iscan_interval:00 12
+mem_pscan_window:12 00
+mem_pscan_interval:00 02
+mem_inq_window:20 00
+mem_page_window:20 00
+mem_page_to:00 40
+mem_rx_window_init:80 04
+mem_rx_window_sniff:00 08
+
+
 
 #write to null
 mem_24g_head_ptr:00 84
Index: sched/rf.dat
===================================================================
--- /branch/mouse_project/TestTools/1021s_quick_connector/sched/rf.dat	(revision 3204)
+++ /branch/mouse_project/TestTools/1021s_quick_connector/sched/rf.dat	(working copy)
@@ -5,6 +5,24 @@
 mem_quickconn_24g_led_gpio:08
 mem_quickconn_ble_led_gpio:04
 mem_quickconn_classic_led_gpio:05
+
+mem_ui_led_struct_ptr:mem_quickconn_led_style
+mem_ui_led_struct_num:01
+
+mem_le_scan_led_style:
+01	#type:stop blink
+ff	#blink count:no blink
+04	#led gpio number:GPIO01
+96 00	#led blink light time
+96 00	#led blink dark time
+00 00	#call back function when light time
+00 00	#call back function when dark time
+
+
+
+
+
+
 #ui config end
 
 
@@ -23,7 +41,23 @@
 #24g config end
 
 
+#ble config
+mem_le_local_mtu:17 00
+
+mem_le_scan_type:01
+mem_le_scan_own_addr_type:00
+mem_le_scan_interval:30 00
+mem_le_scan_window:0c 00
+
+mem_le_app_peer_addr:0e 10 26
+mem_le_slave_peer_addr:0f 0f 0f 0f 0f 0f
+mem_le_send_write_request_count:02
+
+
+
+
 
+#ble config end
 
 
 
