Index: format/app_mouse.format
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/format/app_mouse.format	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/format/app_mouse.format	(working copy)
@@ -441,6 +441,7 @@
 1 mem_mouse_commbination_logo_key
 
 1 mem_mouse_switch_flag
+1 mem_first_nerver_been_pair_flag
 
 )
 
Index: output/memmap.format
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/output/memmap.format	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/output/memmap.format	(working copy)
@@ -1977,90 +1977,91 @@
 0x4b24 mem_mouse_logo_key_count
 0x4b25 mem_mouse_commbination_logo_key
 0x4b26 mem_mouse_switch_flag
-0x4b27 mem_24g_txpayload_buf
-0x4b37 mem_release_data_from_receiver_enable
-0x4b38 mem_release_data_from_transmiter_enable
-0x4b39 mem_flippen_key0_gpio
-0x4b3a mem_flippen_key1_gpio
-0x4b3b mem_flippen_key2_gpio
-0x4b3c mem_flippen_key3_gpio
-0x4b3d mem_flippen_key4_gpio
-0x4b3e mem_flippen_key5_gpio
-0x4b3f mem_flippen_key6_gpio
-0x4b40 mem_flippen_key7_gpio
-0x4b41 mem_flippen_key0_press_status
-0x4b42 mem_flippen_key1_press_status
-0x4b43 mem_flippen_key2_press_status
-0x4b44 mem_flippen_key3_press_status
-0x4b45 mem_flippen_key4_press_status
-0x4b46 mem_flippen_key5_press_status
-0x4b47 mem_flippen_key6_press_status
-0x4b48 mem_flippen_key7_press_status
-0x4b49 mem_key_press_data
-0x4b49 mem_key_pageup_data
-0x4b52 mem_key_pagedown_data
-0x4b5b mem_key_shift_f5_data
-0x4b64 mem_key_esc_data
-0x4b6d mem_key_b_data
-0x4b76 mem_key_tab
-0x4b7f mem_key_enter
-0x4b88 mem_key_alt_tab
-0x4b91 mem_key_alt_f4
-0x4b9a mem_key_play_pause
-0x4ba3 mem_key_vol_up
-0x4bac mem_key_vol_down
-0x4bb5 mem_standard_key_release
-0x4bbe mem_system_ctrl_key_release
-0x4bc7 mem_media_key_release
-0x4bd0 mem_key0_long_press_flag
-0x4bd1 mem_key1_long_press_flag
-0x4bd2 mem_key2_long_press_flag
-0x4bd3 mem_key3_long_press_flag
-0x4bd4 mem_key4_long_press_flag
-0x4bd5 mem_key0_long_press_event
-0x4bd6 mem_key1_long_press_event
-0x4bd7 mem_key2_long_press_event
-0x4bd8 mem_key3_long_press_event
-0x4bd9 mem_key4_long_press_event
-0x4bda mem_key0_short_press_flag
-0x4bdb mem_key1_short_press_flag
-0x4bdc mem_key2_short_press_flag
-0x4bdd mem_key3_short_press_flag
-0x4bde mem_key4_short_press_flag
-0x4bdf mem_key0_press_timer_count
-0x4be0 mem_key1_press_timer_count
-0x4be1 mem_key2_press_timer_count
-0x4be2 mem_key3_press_timer_count
-0x4be3 mem_key4_press_timer_count
-0x4be4 mem_combination_key_down_flag
-0x4be5 mem_combination_key_longpress_flag
-0x4be6 mem_key_disable_timer
-0x4be7 mem_24g_calculate_package_id_disable
-0x4be8 mem_24g_package_id_abandon_flag
-0x4be9 mem_24g_package_id
-0x4bea mem_key_state
-0x4beb mem_key_press_state
-0x4bec mem_poweron_first_blank_data_enable
-0x4bed mem_flippen_no_data_timeout
-0x4bef mem_flippen_start_pair_no_data_timeout
-0x4bf1 mem_key_longpress_timer_init
-0x4bf3 mem_key_longpress_timer
-0x4bf5 mem_low_voltage_led_blink_flag
-0x4bf6 mem_low_voltage_led_blink_start_timer
-0x4bf7 mem_poweron_led_blink_flag
-0x4bf8 mem_24g_pair_enable_flag
-0x4bf9 mem_24g_ch_work
-0x4bfa mem_24g_pair_key_down_flag
-0x4bfb mem_24g_pairing_stop_flag
-0x4bfc mem_longpress_24g_enter_hibernate_flag
-0x4bfd mem_g24_connected_state
-0x4bfe mem_g24_pairing_stop_flag
-0x4bff mem_send_package_before_check
-0x4c00 mem_le_conn_rcv_new
-0x4c01 mem_le_conn_first_rcv
-0x4c02 mem_le_check_retransmit_flag
-0x4c03 mem_le_retransmit_cnt
-0x4c04 mem_le_check_retransmit_discon_flag
+0x4b27 mem_first_nerver_been_pair_flag
+0x4b28 mem_24g_txpayload_buf
+0x4b38 mem_release_data_from_receiver_enable
+0x4b39 mem_release_data_from_transmiter_enable
+0x4b3a mem_flippen_key0_gpio
+0x4b3b mem_flippen_key1_gpio
+0x4b3c mem_flippen_key2_gpio
+0x4b3d mem_flippen_key3_gpio
+0x4b3e mem_flippen_key4_gpio
+0x4b3f mem_flippen_key5_gpio
+0x4b40 mem_flippen_key6_gpio
+0x4b41 mem_flippen_key7_gpio
+0x4b42 mem_flippen_key0_press_status
+0x4b43 mem_flippen_key1_press_status
+0x4b44 mem_flippen_key2_press_status
+0x4b45 mem_flippen_key3_press_status
+0x4b46 mem_flippen_key4_press_status
+0x4b47 mem_flippen_key5_press_status
+0x4b48 mem_flippen_key6_press_status
+0x4b49 mem_flippen_key7_press_status
+0x4b4a mem_key_press_data
+0x4b4a mem_key_pageup_data
+0x4b53 mem_key_pagedown_data
+0x4b5c mem_key_shift_f5_data
+0x4b65 mem_key_esc_data
+0x4b6e mem_key_b_data
+0x4b77 mem_key_tab
+0x4b80 mem_key_enter
+0x4b89 mem_key_alt_tab
+0x4b92 mem_key_alt_f4
+0x4b9b mem_key_play_pause
+0x4ba4 mem_key_vol_up
+0x4bad mem_key_vol_down
+0x4bb6 mem_standard_key_release
+0x4bbf mem_system_ctrl_key_release
+0x4bc8 mem_media_key_release
+0x4bd1 mem_key0_long_press_flag
+0x4bd2 mem_key1_long_press_flag
+0x4bd3 mem_key2_long_press_flag
+0x4bd4 mem_key3_long_press_flag
+0x4bd5 mem_key4_long_press_flag
+0x4bd6 mem_key0_long_press_event
+0x4bd7 mem_key1_long_press_event
+0x4bd8 mem_key2_long_press_event
+0x4bd9 mem_key3_long_press_event
+0x4bda mem_key4_long_press_event
+0x4bdb mem_key0_short_press_flag
+0x4bdc mem_key1_short_press_flag
+0x4bdd mem_key2_short_press_flag
+0x4bde mem_key3_short_press_flag
+0x4bdf mem_key4_short_press_flag
+0x4be0 mem_key0_press_timer_count
+0x4be1 mem_key1_press_timer_count
+0x4be2 mem_key2_press_timer_count
+0x4be3 mem_key3_press_timer_count
+0x4be4 mem_key4_press_timer_count
+0x4be5 mem_combination_key_down_flag
+0x4be6 mem_combination_key_longpress_flag
+0x4be7 mem_key_disable_timer
+0x4be8 mem_24g_calculate_package_id_disable
+0x4be9 mem_24g_package_id_abandon_flag
+0x4bea mem_24g_package_id
+0x4beb mem_key_state
+0x4bec mem_key_press_state
+0x4bed mem_poweron_first_blank_data_enable
+0x4bee mem_flippen_no_data_timeout
+0x4bf0 mem_flippen_start_pair_no_data_timeout
+0x4bf2 mem_key_longpress_timer_init
+0x4bf4 mem_key_longpress_timer
+0x4bf6 mem_low_voltage_led_blink_flag
+0x4bf7 mem_low_voltage_led_blink_start_timer
+0x4bf8 mem_poweron_led_blink_flag
+0x4bf9 mem_24g_pair_enable_flag
+0x4bfa mem_24g_ch_work
+0x4bfb mem_24g_pair_key_down_flag
+0x4bfc mem_24g_pairing_stop_flag
+0x4bfd mem_longpress_24g_enter_hibernate_flag
+0x4bfe mem_g24_connected_state
+0x4bff mem_g24_pairing_stop_flag
+0x4c00 mem_send_package_before_check
+0x4c01 mem_le_conn_rcv_new
+0x4c02 mem_le_conn_first_rcv
+0x4c03 mem_le_check_retransmit_flag
+0x4c04 mem_le_retransmit_cnt
+0x4c05 mem_le_check_retransmit_discon_flag
 0x462d mem_remote_car_hard_soft_switch
 0x462e mem_remote_car_queue_each_size
 0x462f mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/output/otp.dat	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/output/otp.dat	(working copy)
@@ -27,7 +27,7 @@
 1e
 aa
 55
-10
+80
 16
 4e
 06
@@ -100,15 +100,15 @@
 35
 5a
 d3
-e6
+ca
 fb
 f0
 74
-4f
+5b
 61
 67
-7a
-ee
+7b
+12
 9a
 2a
 65
@@ -116,19 +116,19 @@
 f7
 dd
 43
-b6
+92
 ca
 91
 6a
-84
+98
 f6
 82
 fe
-b3
+8f
 0d
 bb
 0e
-fc
+98
 50
 83
 1c
@@ -136,7 +136,7 @@
 6f
 30
 dd
-3f
+36
 f3
 0e
 1c
@@ -144,11 +144,11 @@
 2b
 57
 51
-7e
+47
 9d
 88
 53
-c3
+ca
 6a
 da
 cf
@@ -168,7 +168,7 @@
 28
 23
 69
-36
+5a
 bc
 c2
 64
@@ -176,15 +176,15 @@
 41
 16
 1f
-f9
+dd
 ad
 40
-82
-c3
+83
+2f
 43
 39
-ce
-be
+cf
+5a
 59
 a9
 fa
@@ -252,7 +252,7 @@
 7b
 f7
 af
-46
+5a
 0f
 c5
 4f
@@ -1068,7 +1068,7 @@
 2e
 54
 73
-af
+cb
 32
 4e
 f5
@@ -1488,7 +1488,7 @@
 50
 e6
 11
-de
+df
 c8
 0d
 42
@@ -1512,7 +1512,7 @@
 dc
 27
 09
-09
+0a
 10
 72
 eb
@@ -1520,7 +1520,7 @@
 09
 06
 ce
-9b
+9a
 d4
 4f
 92
@@ -1528,11 +1528,11 @@
 e3
 73
 92
-fe
+fd
 29
 65
 35
-f9
+f8
 b4
 49
 b0
@@ -1556,7 +1556,7 @@
 8b
 bd
 e7
-c2
+c5
 5d
 03
 ee
@@ -1567,7 +1567,7 @@
 3e
 8e
 c5
-34
+35
 b3
 47
 5b
@@ -1575,7 +1575,7 @@
 7b
 de
 34
-a3
+a2
 7e
 24
 ab
@@ -1608,7 +1608,7 @@
 0e
 d8
 41
-81
+86
 00
 a3
 4b
@@ -1620,7 +1620,7 @@
 04
 d2
 c3
-d9
+de
 a7
 7d
 5f
@@ -1644,7 +1644,7 @@
 13
 19
 f9
-56
+57
 8d
 a5
 1a
@@ -1652,7 +1652,7 @@
 f6
 d1
 ca
-83
+82
 22
 8f
 f1
@@ -2172,7 +2172,7 @@
 8a
 d8
 ff
-b1
+b0
 4d
 04
 38
@@ -2180,7 +2180,7 @@
 42
 4a
 01
-20
+21
 73
 ee
 1c
@@ -2232,7 +2232,7 @@
 e8
 0a
 40
-46
+6a
 a5
 15
 1e
@@ -2315,8 +2315,8 @@
 94
 50
 1f
-35
-bd
+34
+59
 d0
 6c
 a8
@@ -2992,7 +2992,7 @@
 27
 bf
 62
-66
+02
 9c
 93
 cb
@@ -3977,1706 +3977,1818 @@
 58
 ba
 8a
-83
-e6
-d7
-02
-94
+79
+c6
+96
+fd
+6e
 9f
-19
-68
+7b
+fb
 98
-70
-50
-9d
+10
+47
+47
 c6
 1d
-bf
-e8
-2f
-5c
-99
-56
+b8
+98
 60
-7d
-c4
-85
+fc
+56
+61
+80
+3d
+21
+91
 ab
-88
-ea
-e0
+e8
+bd
+84
 c1
 79
-db
-0d
+ed
+ad
 46
 3a
-61
-c4
+35
+b8
 24
 a3
-ba
-6f
+b0
+8f
 12
 bf
-c8
-59
+cf
+b0
 8e
 b2
-10
-0a
+43
+31
 d8
 2d
-f0
-07
+ca
+2d
 0f
 70
-39
-ff
+03
+4a
 3b
 7d
-1c
-fd
+44
+e8
 71
 a5
-55
-41
+3b
+a3
 61
 ac
-e7
-41
+e3
+7d
 70
 07
-d9
-30
+86
+c4
 93
 1d
-9c
-a2
+90
+6a
 a6
 db
 f8
-da
+ba
 65
 43
-fe
-ae
+a1
+2f
 a6
 12
-62
-bb
+6f
+c3
 f3
 cf
-f9
-58
+fe
+85
 01
-4d
-7b
-a4
-11
-cd
-5c
-3e
+2d
+7c
+40
+5e
+6c
+40
+51
 1b
-33
-62
-a8
-64
-95
-90
-a5
-99
-5b
-11
-ef
-84
-b4
+09
+39
+4c
+2b
+35
+00
 7c
-6b
-20
-bc
-a7
-58
-22
-0d
-8b
-2c
-25
-b1
-e8
-f3
-fb
-83
-53
-fc
-fc
-41
-ca
+99
+61
+15
+de
+66
+74
+a9
+27
+c2
+7d
+ff
 55
-60
-8c
-40
-e8
+22
 4d
-45
-dd
+d7
 29
-33
-48
-88
-d6
-e2
-0a
-45
-c9
-20
-c8
-4e
-d0
+25
+b0
+64
+57
+1a
+86
+d3
+fc
+b3
+e1
+59
+ff
+5a
+d7
+3e
+ef
 e7
-37
-b4
+8d
+92
+0d
+69
+8f
+f0
+dc
+e2
+48
+c1
+cc
+3f
+63
+a1
+eb
+06
+28
+34
 5f
-ea
-ae
-c8
-96
-4c
-12
-86
-ab
-f6
-c3
-0a
+a5
+0e
+58
+64
+76
+09
+fc
+ad
+44
 eb
-ae
-be
+8a
+ea
+ec
+b8
+66
+18
+32
+46
+e1
+dd
+30
+6a
 1e
-10
+be
+fc
+92
+77
+6a
+92
+c7
+c3
+e0
 32
-44
+e3
+a5
+1d
+38
+f8
+81
+01
+8b
+e2
+93
+06
+63
+5a
+d3
+cc
 27
-31
-2f
-c1
-f1
-83
-1c
-f2
+8e
+85
+fd
+8c
+3f
+16
+5f
 f3
-66
+d5
+2b
+96
+2d
+55
+f1
+ea
+a8
+ff
 3d
-27
-0f
-94
-32
 b9
-a1
-15
-92
-d3
-e9
-25
-71
-c2
-97
-09
-33
-31
-b2
-2d
-68
-0e
-4e
-de
-23
-df
-59
-6f
-17
-ef
-4e
-99
-2d
-15
-90
-fa
-b7
-54
-d5
-98
-44
-b2
-3f
+a5
+ad
+bf
 f5
-da
-3a
-9b
-e8
-f3
-47
+c5
+90
+ff
+79
+f7
+5d
 ca
 3e
 ab
-92
-1e
-be
-c4
-6d
-d5
-72
-35
+93
 90
-9d
-77
-01
-26
-39
-1c
-e9
-6c
-c8
-3f
-23
-97
-76
-24
-9a
-03
-27
-3d
-1c
-4a
-6a
-5c
-50
-3d
-64
-ed
-fa
-40
-49
-db
-e1
-49
-38
-ce
-ab
-fb
-dc
 45
-ca
-28
-d3
-6d
-83
-d5
-d9
-fa
+c4
+2d
+b4
+68
+7a
 51
-df
-91
-bd
+b9
+b9
 4a
-50
-9f
-80
-22
-97
-19
-cc
-77
-89
-14
-7e
-6f
-51
-fe
-11
-46
-b0
-f1
-fd
-c0
-12
-d2
-25
-96
-b5
+bc
+f2
+3d
+47
 f3
-52
-f6
-11
-5b
+8f
+3e
+68
+0c
+31
+b4
+9e
+39
+7f
+b5
+69
+8a
+51
+83
+1c
+0f
+af
+cc
+0d
+e7
 70
-cb
+05
+e5
+11
+bc
+ea
+b4
+50
+3b
+5a
 ce
-92
-3e
+32
+d3
+6d
+79
+f5
+ca
+52
+91
+be
+b9
+40
+02
+38
+16
+41
+60
+b1
 2f
-9d
-a6
-64
+c9
+8d
+eb
+ca
+ba
+3f
+3a
+9c
 ef
-55
-94
-70
-dd
+bc
+b0
+b6
+83
+c0
+32
+9d
+28
+6c
+d5
+e7
+48
+b9
 d1
-27
-1a
-3e
-2b
-b2
-ba
 d0
-2d
-29
-f0
+fb
+76
+4e
+18
+fb
+85
+9a
+81
+88
+ef
+15
+d6
+90
+27
+f1
+39
+89
+c4
+4b
 ea
-ab
-f0
+95
+ea
+6f
+15
+10
+45
+6b
+3d
+70
+41
+52
+4d
 53
-e6
-b8
-09
-de
-a9
-13
-01
 19
-00
-fa
-b8
-0c
-9e
-25
-ac
-95
-9e
-f2
 4d
-62
-e1
-2c
-e5
-91
+78
+25
+e0
+84
+bc
+66
+7e
+79
+71
+02
+7e
+cf
+15
 06
+3b
+44
+9f
+ad
+e6
 45
-32
-41
-cb
-e4
-ec
-1e
-33
-c2
-24
-96
-f2
-48
-8d
-95
-5b
-67
-df
-77
-3d
-be
+6c
+cd
+53
+ee
+68
+4a
+94
+39
+6c
+d1
+12
+76
+d3
+34
+f4
+9b
+9c
+63
 3d
-52
-51
-3e
-c5
-d8
+a3
+bd
+97
+e1
+7c
+85
+8f
 4a
 12
-42
-42
-91
-d2
-73
-5f
+1c
+c4
+e9
+92
+29
+b0
+eb
 fc
+6f
+cd
+60
+19
+d9
 56
-67
-ca
-2f
-d9
-4f
-86
-3a
-39
-8c
-dc
 32
-c0
-08
-e5
-11
-6a
-b8
-06
-eb
-ec
-28
-ed
-96
-91
+39
+87
+48
+d2
+e0
+d6
+59
+0e
+c2
 36
-9e
-72
 16
-a7
-87
+ef
+b6
+2c
+a1
+c6
+9b
+68
+70
+72
+14
+e6
 9c
-a7
-bf
-8d
-97
-54
-db
-99
-9f
+d3
+27
+73
+8c
 a8
-86
-b3
-b7
+b4
+17
+9b
+d8
+68
+16
+41
+bf
 9a
 2e
-0a
-b2
-46
+0b
+ce
+3c
 1f
 ec
-60
-ab
-42
-aa
+77
+00
+01
+6b
 7b
-78
+75
+69
+41
+96
 f8
-5f
-6e
-d8
 74
-cb
-9e
-6f
+cd
+a9
+8b
+67
+5c
 20
-4f
-85
-3a
-c7
-56
-5e
-80
-5b
-2c
-4d
-06
-6f
-da
-85
+57
+89
+05
+e1
+20
+91
+2e
 75
-04
-76
+4f
+2d
+09
+82
+dd
+01
+63
 68
 0e
-e5
+b3
 c5
-3c
-7e
-b1
-2f
-ce
-73
-af
-39
-ce
-a4
-8c
-b0
+94
+77
+e7
+29
 81
-41
-e5
-11
-74
-aa
-2d
-24
-e8
 d7
-cd
-18
-a4
-8b
-59
-92
-a2
-4d
+c1
+e1
+2c
+69
+53
+95
+36
+e0
+a6
+f9
+d6
+60
+eb
+96
 4a
-98
-7d
-1c
-6f
-b9
+1e
+cd
+31
+f4
+ec
+c7
+88
+bd
+e5
+5f
+77
+9f
+dc
+04
+8e
+6e
 21
-81
-30
-26
-33
+a3
+1e
+43
 08
-86
-4e
-02
-a5
-84
-39
-11
-68
-80
-1c
-54
-8c
-cb
-7d
-74
-b5
-9e
+bb
+a2
+e0
+66
+5b
+70
+13
+69
+16
+49
+1b
+4c
+5b
+63
 3f
-51
-93
-b4
-53
-f4
+6e
 89
-37
-4d
-4c
-51
-3b
-11
-fc
-47
-ec
-39
-ef
-bb
-ba
 79
-ec
-b7
-61
-70
-dc
-4e
-8c
-63
-b6
-43
-e4
-ec
-c6
-3d
-25
-e4
-b6
-9e
-40
+b3
+33
+a2
+62
+f4
+8b
+ba
+81
+34
+52
+00
+fa
+bb
+e5
+f1
+89
+0f
+7a
+5b
+8a
 a3
-49
-15
-06
-5e
+17
+f1
+7e
+d8
+34
 b9
-e5
-f7
-d4
-4f
-8e
-ef
-a6
-1e
-77
-6f
+44
+b6
+23
+ea
+52
+d9
+98
+1d
+6b
+a1
+39
+f9
+4b
+5e
+b2
+a2
+cf
+f6
+47
+87
+66
+07
 84
+f6
+49
+a6
+71
+72
+0a
 ea
-57
-8e
-19
-b4
-aa
-c8
-29
-df
-9c
-16
-ee
-bd
-d2
-e6
-59
-74
-e9
-c0
-cc
+75
+54
+6a
+e4
+ad
+b1
+55
+8f
+f9
+8a
+ac
 ed
-74
-71
-c3
-be
-95
-16
-d3
+d7
+00
+25
+3b
+2b
+e5
+a0
+ea
+de
+fe
+20
+41
+33
+ab
+92
 60
-9e
-64
-b9
+dc
+84
+af
 f1
 b8
 41
-de
-84
-ee
-88
-db
+21
+cb
 2e
-9e
-03
-e6
-7a
-c9
-f4
-97
-6e
-74
-ee
-72
-7d
+20
+e3
+cf
+de
+87
+65
+35
+09
+52
+13
+25
+ae
+7b
+87
+75
 c0
-4b
-2f
-62
-45
-21
-34
-8a
-bf
-61
-72
+4f
+8c
+82
+67
+c5
+b3
+6a
+ff
 e1
-6c
+78
+4e
 8d
-da
-15
-da
-6e
-67
+c1
+38
+f4
+fa
+8e
+32
 20
-ae
-23
-84
-ea
-64
-c4
+aa
+a2
+97
+0c
+c1
+9f
+c8
+f2
+3e
+71
+3c
+db
+47
+50
+b8
+3f
+83
+3a
+19
+df
+08
+9c
 b7
-5f
-46
-b0
-53
-3b
-65
-b4
-79
+63
+49
+09
+6a
+b7
+1c
+8b
 90
-62
-fb
-5f
-78
-e8
-5d
-c3
-33
-2c
-8b
-3a
-f8
-d8
-f9
-b7
-1b
-6a
-1a
-96
-41
-b5
-0a
-bd
-be
-30
-c8
-f8
-c3
-47
-73
-0c
-6d
-88
-b9
-83
-a2
-67
-0a
+b6
+11
+59
+18
+40
+32
+6e
+7b
 12
+cd
+6f
+84
+6c
+a5
+d5
+c4
+25
+82
+9f
+7d
+4a
+67
+10
+13
 48
-95
-12
-4b
-7c
-ee
-02
-9a
-11
-a4
-15
-08
 97
-73
-c0
-57
-e0
-0c
-d8
+c2
 43
+33
+2a
+25
+ee
+a2
+f0
+52
+50
+3a
+1a
+e6
+33
+45
+67
+fd
+cc
 ef
 c5
-d9
-c7
-28
-bb
-5b
-8b
-d0
-d1
+bd
+0d
+84
+42
+7c
+ff
+32
+6e
 d2
-2a
+1a
 0c
-2e
+2f
+7a
+57
+03
+f5
+59
+d5
 f9
-e7
-a4
-14
-18
-a4
-a9
-fc
-a7
-8d
+99
+11
+19
 3a
-7f
-ed
-8c
-89
-c7
-b4
-4e
-70
-57
-36
-ac
-ce
-0e
-77
-4d
-e2
-5a
-4a
-80
-d4
-df
-a2
-8e
-8a
-fa
-e6
-2f
-2f
-4f
+1f
+b9
+27
+c6
+03
+a7
 eb
-cb
-ba
-5a
-df
-f0
+93
+08
+02
 59
-35
-94
-57
-bf
-65
+81
+da
+b4
+fd
+52
+1c
+cc
+d9
+9b
+7e
+85
+b7
+9d
+5d
+c5
+f0
+7f
+2a
+5d
+5b
+f5
+9e
+ad
+d7
+f4
+4a
+56
+9f
+bc
+7a
 b6
-90
+ae
 10
-f5
-a8
-2c
+d5
+f2
+84
 59
-ca
-ef
-b9
-00
+aa
+bf
+80
+4f
+ad
+d8
+01
+c9
+4e
+95
+89
+d5
 7d
-ff
-4b
-2a
-66
-15
-ce
-9a
-d9
-fa
-ff
 dc
-da
-0a
-11
-13
-b4
-f6
-25
-2c
-48
-c3
-04
-44
-33
-c3
-4d
-46
-3f
+79
+3e
+05
+5a
+05
 5c
-4c
-c9
-8a
-3b
-e3
-dd
-4c
-63
+60
+50
+24
+83
+ac
+80
+d2
+a6
 8b
+93
+7a
+46
+5f
+5d
+f0
+86
+4a
+ae
+14
+9a
+ec
+fd
+20
 a4
-4d
-ee
-92
-e6
-a4
-f3
-d8
+19
+ea
+53
+b6
+a2
+f7
+d6
 5b
-37
-c1
-0c
-43
-7d
-ef
+57
+bd
+6b
+13
+7b
+8d
+32
+bb
+3a
+e0
+47
+b7
+50
+71
+16
+cc
+96
+b4
+23
+fe
 f3
-a4
-90
-81
-67
-f0
-91
-6a
-a9
-d3
-37
-11
-31
-1a
-c7
-2d
-99
+18
+ad
 8b
 fe
 b0
-50
-f5
-5c
-47
-a8
-dd
-79
-c1
-f3
-de
-38
-91
-e4
-f1
-9e
+7f
+f4
+23
+a7
+cf
+27
 19
-d1
-76
-1b
-12
+9b
+5b
+8e
+51
+e2
+46
+f6
+32
 98
-45
-1b
-d4
-48
-85
-a4
-8d
-6c
-8a
-56
-30
-40
-f3
-c0
-69
-8c
-33
-73
+8b
+95
+53
+f6
 7a
-72
-f3
-6d
-3e
-d2
-70
-f7
-3c
+45
+7b
+e3
+1c
+ca
+00
+9e
 d3
+68
+f7
+86
+f9
+f3
+c4
+e7
+eb
+ee
+09
+58
+ce
+5f
+95
 18
-a6
-5d
-6d
-0b
-2a
-fa
-40
-dd
-01
-d1
-44
+a9
+90
+c8
+e0
+9f
+22
+a7
+75
+a4
+0c
+82
+fb
+21
+65
+07
+f4
 02
-96
-f5
-54
+4a
+fc
+d3
+5a
 59
 08
 6f
-e5
-2b
-57
-f7
-47
+8a
+5e
+d5
+48
+06
 14
 f3
-b9
-42
-a6
+ba
 3d
-41
+99
+be
+bf
 2b
-71
-27
-46
-9b
-76
-41
-05
-90
+4e
+85
+00
+95
+4e
+43
+5b
+3a
 26
 23
-e6
-1e
-f6
-5e
-da
-96
-24
-35
-ac
-1a
-57
-30
+8c
+34
+9c
+77
+f8
+97
+24
+55
+a7
+ca
+22
+b6
+bf
+f3
+4c
+8c
+ac
+ba
+c7
+43
+db
+74
+63
 fc
-e0
-a8
-d8
-c2
-5c
-d5
-83
-b9
-3d
-82
-c3
-f9
-2d
-31
+20
+10
+cb
 89
-78
-f6
-22
-f7
-ed
-94
-4e
-73
-59
-d1
+21
+df
+72
+fe
+ac
+25
+02
+4f
+9f
+98
 1d
 a0
-07
-f4
+35
+ae
 5c
-de
-b5
-ee
-62
-5a
-fa
-54
-48
-19
+be
+e7
+ca
+2d
+9e
+8b
+5c
+d2
+8c
+ca
+d5
+1b
+4e
+4b
+af
 1c
 0b
-13
-4a
-82
+92
+a2
+10
+e1
 cd
-64
-0b
-b4
-bc
-5f
-61
-0b
-ef
-83
-d5
-a5
-2c
-ba
-5a
-6f
-f8
-65
-a8
-f1
-01
-22
-27
-2b
-e9
-90
-be
-aa
-d0
-e9
-9f
-2f
-0d
-04
-87
+bb
+33
+ec
+21
 c7
-9c
-39
-d7
-90
-6a
-50
-50
-41
-31
-f7
-4f
-93
+ba
+3a
+0f
 71
+55
+b7
+c8
+b7
+65
+85
+37
 00
-39
-f9
-5d
+a0
+f6
+6c
+99
+ae
+5c
+e3
+a4
+6e
+a2
+86
+9d
+7e
+77
+00
+ff
+6f
+93
+dd
+1a
+c8
+ed
+ed
+e3
+38
+3b
+db
+b8
 3c
 d1
-19
-0a
-3a
-f0
-24
-2b
+21
+54
+4f
+72
+e6
+66
 6a
 e7
-3d
-35
-99
-7a
-a8
-b9
+31
+c7
+eb
+50
+6a
+e3
 bd
 1e
-62
-94
-c8
-9a
-85
-e7
+59
+d9
+6d
+fa
+21
+f2
 99
 98
-9a
-4f
+96
+c7
 13
-5a
-0b
-8c
+3a
+33
+bf
 1b
 6c
+96
+00
+a1
+6f
+3d
+11
+9c
 a2
-8f
-a5
-3b
-69
-f3
-7a
-71
-f5
-ae
+c3
+10
 f1
 3a
-48
+1b
 38
-f5
-57
-a1
-d7
-0c
-1e
-6d
-6c
-4a
-c5
-3f
-ff
-b1
 f1
-de
-7e
-7f
+03
+97
+cc
+3b
+fe
+aa
+10
+5d
+66
+43
+e9
+f2
+49
+db
+73
+30
+3e
+89
+91
+eb
 ba
-ce
-82
-58
-f7
-26
-fa
-b0
-ef
-34
-80
-61
-f3
+23
+f2
+ff
+4f
+cb
+ab
+1a
+36
+5d
+46
+bd
+d5
+3f
+2e
 c2
-0f
-fa
-77
-7f
-8b
-ba
-f9
-ba
-a8
-bb
-19
-56
-90
-69
+d9
 da
-90
-7d
-9f
-13
-09
-23
+0a
+b3
+1a
+58
+8f
+d8
+62
+2f
+7c
+d0
+b3
+97
+b3
 dd
-19
-f3
-21
-a2
-23
-5d
-00
-2b
-ca
+43
+91
+0a
+9d
+83
+f8
+6d
 6c
-b2
-f9
+6a
 ae
-c4
-c4
-d1
-57
+ce
+81
+ee
+92
+6d
 d9
-91
+55
+57
+9b
 8b
-59
-82
-cf
-83
-10
-3a
-74
+39
+81
+ff
+cb
+18
+f8
+cb
 53
-52
-2e
-70
-ce
-2f
-5d
-52
+32
 79
-6c
-ad
-a2
-4e
-77
-57
-fc
+b9
+79
+8f
+94
+cb
+79
+56
+f8
+17
+71
+d5
+14
+e6
+f5
+47
 ca
-e1
-b4
-6f
-5d
-55
-0a
-aa
-7a
-cf
-9b
-c5
+5f
+59
+54
+0b
+95
+9c
+1c
+ce
+13
 38
 3e
-92
-0f
-79
-e1
-ee
+91
+e0
+47
+b7
+ea
 da
-85
-d1
-8d
+f2
+71
+ce
+47
+b0
 3a
-a0
-35
-29
-9a
-fa
-50
-09
-27
-e9
-4a
-26
-38
-e8
-98
-c1
-4e
-72
-64
-cb
-51
-43
-ae
+92
+3d
+06
+aa
+4b
+a1
+a6
+ee
 34
-c4
+f8
+4b
+db
+07
+03
+c5
+24
+41
+56
+47
+b4
+01
+a1
 a5
 f4
-12
-f6
-37
-7f
 4e
-b5
-07
-81
-fc
-02
-04
-8b
-15
-bd
-0a
-80
-02
-f9
+88
+d7
+47
+77
+48
+a8
+79
+e3
+9d
+05
+58
+90
+94
+45
+40
+9c
+d6
 3c
-56
-6a
+6c
+33
+02
 e5
-95
 59
-78
-92
-96
-35
-27
-64
-13
-7c
-60
-86
-c7
-d8
-5d
-3e
-2e
-04
-5d
-4c
-1a
-7e
-6d
-07
+4f
+37
+31
+f9
+65
+34
 6b
-0a
-da
-8c
-fe
+5c
+39
+d9
+d0
+73
+42
+72
+d4
+44
+4d
+34
+1a
+1e
+31
+93
+24
+ca
+1f
+d1
 b5
-94
-ff
+2f
+5d
+73
+65
+77
+93
+06
 2a
-ed
-57
-26
-f4
-fd
-da
+9f
+f8
 97
-63
-bf
-65
-08
-de
-3f
-ec
-1c
+13
+b9
+d0
+54
+3a
+1b
+3c
+f6
 78
-b0
-29
-8f
+d0
+25
+a1
 dd
 2c
-d6
-2f
-eb
-93
-55
-9d
-87
-94
-d2
-93
-d8
+d9
+ac
+9e
+51
+97
+c4
+5f
 ab
-80
-b4
-24
-06
-44
-c8
-3a
-80
-a1
-78
-39
-c0
-41
-7c
-8a
-17
-80
-d7
-29
-2e
+d3
 af
-e5
-79
-27
-be
-62
-c2
-79
-c4
-9b
-d6
-75
-16
-62
-52
-8f
-97
-29
-43
-d9
+d0
+ab
+81
+4a
+dc
+e6
 6d
-7c
-65
-fb
-7e
-58
-eb
-6c
+87
+3e
+a0
+74
+ab
+01
+88
+82
+15
+72
 f7
-0d
-c4
-b0
+aa
+59
+c9
+a2
+a3
+63
+79
 47
-d7
-4f
-cc
-46
-46
-fd
-07
-b0
-65
+bd
+15
+7a
 35
-06
-5d
-79
-84
-e9
-73
-e8
-b2
-f6
+e1
+c4
 4e
-76
-a4
-d8
-ab
-71
-9b
-23
-a5
-cb
-13
-07
 6d
-26
-c6
-bb
-ed
-69
-58
-b8
-94
-b2
-8e
-7e
-92
-a0
-f1
+cf
+a4
+f5
+40
+da
+2b
+43
+b9
+31
+1e
+1d
+bb
+27
+36
+a4
+cc
+56
+b3
+24
+dc
+95
+d9
+4f
+ac
+49
 0b
-21
-32
+ad
+0e
+b1
+79
+cf
+26
+12
+3d
+84
+e9
+7c
+71
+b2
+f6
+40
+1e
+41
+a7
 2b
-85
-7a
-42
-5c
-96
-ff
-ce
-52
-ea
-04
-1a
+71
+d4
+e3
+3e
+cc
+f2
 c7
-20
-b7
-b5
-ea
-ab
-b4
-ba
+35
+6a
+c6
 bb
-f6
-3f
-72
-61
-8d
-e8
+ed
+b9
+bc
+87
+49
+81
+c1
 be
-0e
-6d
-27
-35
-c5
+02
+da
+f5
+71
+23
+00
+64
+25
+e4
+93
 bc
-0b
-9c
-e7
-8b
+a9
+7f
+c0
+1a
+82
+95
+ee
+97
+29
+a0
+53
+be
+82
+4e
+ba
+93
+bf
+44
+72
+5e
+2f
+a5
+5b
+a6
+89
+b8
+24
+8a
+7c
+97
+f4
+07
+99
 59
 36
-8c
+f4
+db
+c2
+39
+b3
+e6
+81
+03
+2c
+4c
+65
+d1
+68
+70
 f9
-47
-50
 bb
-e5
-0f
+fa
+75
+ec
+d0
+49
+b9
+38
+0d
+7f
+29
+1e
+d8
+e0
+cf
+7b
+96
+df
+3e
+c0
+76
+6f
+c1
+82
+bf
+9b
 0c
-94
-4a
-1c
-9d
+d8
+35
+e2
+3d
+f7
 10
-52
-7c
-5d
-b2
+8c
+2e
+b3
+ab
+99
+ea
+03
+4f
 7d
-43
-71
-06
-19
-a9
-0d
+c4
+cd
+15
+b6
+78
+40
+3e
+ce
+2e
+aa
+bd
+08
+0f
+77
+d8
+95
+b0
+0c
+11
+54
+18
+c9
+5f
+e8
+fd
+8c
+76
+7f
+d5
+76
+d3
+64
+6a
+6a
+af
+12
+ab
+22
+8b
+eb
+57
+9c
+09
+ba
+f2
+cf
+ff
+b7
+78
+60
+d7
+42
+1d
+c4
 c7
-2f
-34
-ca
-e0
-ad
-a8
-f9
+61
+16
+e8
+42
+be
+d0
+ce
+5b
+63
+c4
+5c
+84
+ce
+74
+83
+2d
+74
+aa
+a7
+3e
+ee
+d0
+4d
+60
+37
+90
+09
+d4
+f4
+66
+aa
+68
+e2
+4a
 df
+49
+f7
+e4
+12
+5d
+17
+15
+ed
+25
 3e
-92
-e6
-6f
-a1
-d1
-ce
-d4
-cc
+0e
+ff
+1f
+96
+ed
+29
+b7
+e9
+96
+73
+21
+11
+65
+c0
+d6
+65
+5b
+33
+8b
+20
+96
 46
+b2
 87
-4b
-70
-b1
-55
-c3
-ee
-2a
-c4
-21
-ec
+2f
+1c
+eb
+04
+57
+cd
+cf
+b6
 27
-03
-32
-06
-d3
-44
-b2
-02
-4f
-b1
-81
-ee
-66
-46
-44
-7d
-e9
-c2
-da
-10
-92
-de
-ec
-1e
-b0
-2c
-e8
 ff
-5e
-ae
-2f
-dc
+c9
+d7
+4a
+2e
+9b
+6f
+9f
+7b
+3a
+12
+c5
+e0
 0a
-ac
-34
-03
-15
-c8
-42
-a2
-5c
-f4
-d4
-f5
-bd
-72
-f2
-9a
-5e
-5e
+d5
 f8
-d8
-a3
+24
+d9
+a4
+06
+89
+82
 eb
-fa
-1b
-bd
-46
-61
-14
-3a
-22
-cb
-71
-76
-01
-db
-a2
-77
-77
-f4
-17
-78
-ac
-3c
-c2
-36
-8d
-9b
-71
-f5
-36
-8f
-f6
-22
-2d
-ce
-05
-51
-ee
-e2
+2c
+0a
+2c
+73
+c0
+6e
+27
+0b
+21
+98
+24
+0a
+1d
+c7
+b9
+eb
+13
+8c
+f1
+ca
+70
+3f
+06
+0c
+a9
+e5
+1a
+ef
+7e
+28
+49
+03
+b5
 2a
-df
-4d
-16
+26
 f6
-17
-c4
+11
+b6
+e9
+44
+6a
+de
+6e
+52
+5e
+ec
+dd
+fa
+b8
+7b
+bb
 aa
 55
 40
@@ -5757,10 +5869,10 @@
 c9
 12
 00
+02
 00
-00
-01
-1b
+0a
+5f
 aa
 55
 1e
@@ -5768,22 +5880,22 @@
 44
 46
 06
+07
+08
 08
 07
 06
-07
-08
-12
 14
+12
 0d
 0f
 ff
-00
-00
+02
+02
 00
 ff
 ff
-ff
+0a
 ff
 ff
 ff
@@ -5791,8 +5903,8 @@
 ff
 ff
 05
-ff
-ff
+0c
+0c
 ff
 ff
 ff
@@ -5893,7 +6005,7 @@
 00
 3d
 46
-64
+14
 aa
 55
 02
@@ -5908,7 +6020,7 @@
 00
 3c
 46
-64
+50
 aa
 55
 02
@@ -5945,7 +6057,7 @@
 00
 1b
 47
-01
+02
 aa
 55
 01
@@ -6937,8 +7049,8 @@
 aa
 aa
 55
-bc
-55
-39
-75
+d1
+52
+c7
+c9
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/output/program.lis	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/output/program.lis	(working copy)
@@ -17,28 +17,28 @@
 000e c03482e4 beq patch0d_1 ,p_mouse_load_device_info_check 
 000f c03502df beq patch0d_2 ,p_mouse_default_init 
 0010 c0360293 beq patch0d_4 ,p_mouse_param_init 
-0011 c037049d beq patch0d_6 ,p_mouse_start_work 
-0012 c03784a2 beq patch0d_7 ,p_mouse4_0_check_reconn_target 
-0013 c03984f2 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0011 c03704b1 beq patch0d_6 ,p_mouse_start_work 
+0012 c03784b6 beq patch0d_7 ,p_mouse4_0_check_reconn_target 
+0013 c039850e beq patch0e_3 ,p_mouse_setgpio_hibernate 
 0014 c03a023b beq patch0e_4 ,p_mouse_lpm_before_common 
-0015 c03c8515 beq patch0f_1 ,p_mouse_le_name_modify 
-0016 c03d0541 beq patch0f_2 ,p_mouse_motion 
-0017 c03f84d3 beq patch0f_7 ,p_mouse_3io6key_check 
-0018 c0408524 beq patch10_1 ,p_mouse_init_sensor 
+0015 c03c8531 beq patch0f_1 ,p_mouse_le_name_modify 
+0016 c03d055d beq patch0f_2 ,p_mouse_motion 
+0017 c03f84ef beq patch0f_7 ,p_mouse_3io6key_check 
+0018 c0408540 beq patch10_1 ,p_mouse_init_sensor 
 0019 c04203c1 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-001a c0428433 beq patch10_5 ,p_mouse_priority_bb_event 
+001a c042843a beq patch10_5 ,p_mouse_priority_bb_event 
 001b c0430210 beq patch10_6 ,p_mouse_le 
-001c c04383db beq patch10_7 ,p_mouse_bb_event_timer 
-001d c0440431 beq patch11_0 ,p_mouse_start_discovery 
+001c c04383e2 beq patch10_7 ,p_mouse_bb_event_timer 
+001d c0440438 beq patch11_0 ,p_mouse_start_discovery 
 001e c04503cc beq patch11_2 ,p_mouse_store_remote_bdaddr 
 001f c045832a beq patch11_3 ,p_mouse_app_initflag_check 
 0020 c0460346 beq patch11_4 ,p_mouse_store_device_info 
 0021 c0468393 beq patch11_5 ,p_mouse_store_dpi_info_check 
-0022 c04704ba beq patch11_6 ,p_mouse_idle 
+0022 c04704d6 beq patch11_6 ,p_mouse_idle 
 0023 c0480308 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0024 c049854c beq patch12_3 ,p_mouse_drawing_optima 
-0025 c04a84e9 beq patch12_5 ,p_mouse_24g_hibernate_set 
-0026 c04b04fe beq patch12_6 ,p_mouse_24g_package_data 
+0024 c0498568 beq patch12_3 ,p_mouse_drawing_optima 
+0025 c04a8505 beq patch12_5 ,p_mouse_24g_hibernate_set 
+0026 c04b051a beq patch12_6 ,p_mouse_24g_package_data 
 0027 c0628271 beq patch18_5 ,p_otp_read_data 
 0028 c06a822f beq patch1a_5 ,p_gpio_set_wake_by_current_state 
 0029 c06b0228 beq patch1a_6 ,p_gpio_set_wake 
@@ -57,7 +57,7 @@
 0034 c02681b2 beq patch29_5 ,p_le_init_adv 
 0035 c0480274 beq patch32_0 ,p_g24_reconn_dispatch 
 0036 c0490288 beq patch32_2 ,p_g24_reconn_device_fail 
-0037 c04b04e0 beq patch32_6 ,p_g24_short_sleep 
+0037 c04b04fc beq patch32_6 ,p_g24_short_sleep 
 0038 c04d00f7 beq patch33_2 ,p_mouse_g24_retransmit 
 0039 c04e8105 beq patch33_5 ,p_g24_transmit_hop_process 
 003a c04f82a0 beq patch33_7 ,p_power_ctrl_start 
@@ -305,7 +305,7 @@
 0100 d8e0000c arg 12 ,queue 
 0101 20407cef call timer_check 
 0102 247a0000 nrtn blank 
-0103 204004bf call p_mouse_dpi_check_retransmit 
+0103 204004db call p_mouse_dpi_check_retransmit 
 0104 20206102 branch mouse_g24_retransmit_event_set 
 
 p_g24_transmit_hop_process:
@@ -444,7 +444,7 @@
 016b 20200157 branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-016c 6fe0cc00 fetch 1 ,mem_le_conn_rcv_new 
+016c 6fe0cc01 fetch 1 ,mem_le_conn_rcv_new 
 016d da600100 arg 256 ,regc 
 016e 9a60fe00 iadd regc ,pdata 
 016f 20600000 rtn 
@@ -454,25 +454,25 @@
 0171 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-0172 6fe0cc01 fetch 1 ,mem_le_conn_first_rcv 
+0172 6fe0cc02 fetch 1 ,mem_le_conn_first_rcv 
 0173 207a0000 rtn blank 
-0174 6fe0cc02 fetch 1 ,mem_le_check_retransmit_flag 
+0174 6fe0cc03 fetch 1 ,mem_le_check_retransmit_flag 
 0175 247a0000 nrtn blank 
-0176 6848cc01 fetcht 1 ,mem_le_conn_first_rcv 
-0177 6fe0cc00 fetch 1 ,mem_le_conn_rcv_new 
+0176 6848cc02 fetcht 1 ,mem_le_conn_first_rcv 
+0177 6fe0cc01 fetch 1 ,mem_le_conn_rcv_new 
 0178 98467c00 isub temp ,null 
 0179 2441016c ncall p_le_check_retransmit_timesout ,positive 
 017a 98467e00 isub temp ,pdata 
 017b 1fe67c64 sub pdata ,100 ,null 
 017c 20210184 branch p_le_check_retransmit_count ,positive 
-017d 6fe0cc03 fetch 1 ,mem_le_retransmit_cnt 
+017d 6fe0cc04 fetch 1 ,mem_le_retransmit_cnt 
 017e 1fe67c14 sub pdata ,20 ,null 
 017f 24410182 ncall p_app_ble_disconnect ,positive 
-0180 704c0201 jam 1 ,mem_le_check_retransmit_flag 
+0180 704c0301 jam 1 ,mem_le_check_retransmit_flag 
 0181 20600000 rtn 
 
 p_app_ble_disconnect:
-0182 704c0401 jam 1 ,mem_le_check_retransmit_discon_flag 
+0182 704c0501 jam 1 ,mem_le_check_retransmit_discon_flag 
 0183 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
@@ -482,10 +482,10 @@
 0187 9842fe00 ixor temp ,pdata 
 0188 2feffe02 isolate1 nesn ,pdata 
 0189 58000000 setarg 0 
-018a 6848cc03 fetcht 1 ,mem_le_retransmit_cnt 
+018a 6848cc04 fetcht 1 ,mem_le_retransmit_cnt 
 018b 7920fe00 setflag true ,0 ,pdata 
 018c 98408400 iadd temp ,temp 
-018d 6048cc03 storet 1 ,mem_le_retransmit_cnt 
+018d 6048cc04 storet 1 ,mem_le_retransmit_cnt 
 018e 20600000 rtn 
 
 p_le_got_first_packet_new:
@@ -493,9 +493,9 @@
 0190 1fe0fe01 increase 1 ,pdata 
 0191 67e08005 store 1 ,mem_le_conn_rcv 
 0192 24368196 nbranch p_le_got_first_packet_new + 7 ,match 
-0193 6fe0cc00 fetch 1 ,mem_le_conn_rcv_new 
+0193 6fe0cc01 fetch 1 ,mem_le_conn_rcv_new 
 0194 1fe0fe01 increase 1 ,pdata 
-0195 67e0cc00 store 1 ,mem_le_conn_rcv_new 
+0195 67e0cc01 store 1 ,mem_le_conn_rcv_new 
 0196 2020259b branch le_got_first_packet + 4 
 
 p_le_rx_dec:
@@ -659,9 +659,9 @@
 0214 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
 0215 1fe17e03 and pdata ,0x03 ,pdata 
 0216 c1818000 rtnne 0x03 
-0217 6fe0cc02 fetch 1 ,mem_le_check_retransmit_flag 
+0217 6fe0cc03 fetch 1 ,mem_le_check_retransmit_flag 
 0218 207a0000 rtn blank 
-0219 6fe0cc04 fetch 1 ,mem_le_check_retransmit_discon_flag 
+0219 6fe0cc05 fetch 1 ,mem_le_check_retransmit_discon_flag 
 021a 247a0000 nrtn blank 
 
 p_mouse_le_next:
@@ -676,7 +676,7 @@
 0223 20405ab2 call mouse_check_125hz 
 0224 24740000 nrtn user 
 0225 20405abc call mouse_current_mult_update 
-0226 2040050a call p_mouse_data_xy_release 
+0226 20400526 call p_mouse_data_xy_release 
 0227 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
@@ -713,7 +713,7 @@
 023a 202023e2 branch lpm_write_wait 
 
 p_mouse_lpm_before_common:
-023b 204004e5 call p_clear_wake 
+023b 20400501 call p_clear_wake 
 023c 704b1f00 jam 0 ,mem_mouse_qdec_set_flag 
 023d 6848c654 fetcht 1 ,mem_matrix_public_gpio 
 023e 20406ef7 call gpio_out_active 
@@ -948,7 +948,7 @@
 02e3 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-02e4 204004b7 call p_mouse_store_normal_tx_power 
+02e4 204004d3 call p_mouse_store_normal_tx_power 
 02e5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
 02e6 c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
 02e7 c28a02e9 bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
@@ -1296,589 +1296,633 @@
 03d9 67e3466e store 6 ,mem_device1_locall_addr 
 03da 20600000 rtn 
 
+p_g24_pair_timeout_timer:
+03db da6045d8 arg mem_24g_pair_timeout ,regc 
+03dc da4003de arg p_g24_stop_24g_mode ,regb 
+03dd 202042e7 branch timer_single_step_2b 
+
+p_g24_stop_24g_mode:
+03de 20400483 call p_mouse_fetch_normal_tx_power 
+03df 6fe0cb27 fetch 1 ,mem_first_nerver_been_pair_flag 
+03e0 c00084a5 beq 1 ,p_mouse_24g_first_attempt_fail 
+03e1 2020367a branch g24_stop_24g_mode 
+
 p_mouse_bb_event_timer:
-03db 20400427 call p_mouse_le_send_conn_param_update_timer 
-03dc 2040614d call mouse_low_voltage_led_timer 
-03dd 2040553d call mouse_adc_read 
-03de 204003f3 call p_mouse_logo_led_ctrl_check_timer 
-03df 20400410 call p_mouse_logo_led_on_timer 
-03e0 204061b1 call mouse_led_multi_timer 
-03e1 2040611e call mouse_dpi_led_blink_delay_timer 
-03e2 2040328e call g24_pair_timeout_timer 
-03e3 20403531 call g24_reconn_timeout_timer 
-03e4 20405fdd call mouse_24g_long_sleep_param_update_timer 
-03e5 20400413 call p_mouse_commbination_dpi_check_timer 
-03e6 2040572c call mouse_dpi_key_check_long_press 
-03e7 20405b9b call mouse_bt_discovery_check 
-03e8 20405bab call mouse_commbination_key_process 
-03e9 20405bce call mouse_check_discovery_timeout_timer 
-03ea 20405bd3 call mouse_check_direct_timeout_timer 
-03eb 20405be1 call mouse_le_enable_att_list_timer 
-03ec 20405bee call mouse_le_battery_updata_timer 
-03ed 20405be4 call mouse_le_send_smp_security_request_timer 
-03ee 20405bfb call mouse_check_reconnect_delay_long_sleep 
-03ef 2040042a call p_mouse_current_mult_update_timer 
-03f0 204056b6 call mouse_wheel_trigger_timer 
-03f1 20405c0e call mouse_store_information_delay_timer 
-03f2 20205c05 branch mouse_check_no_data_timeout_timer 
+03e2 2040042e call p_mouse_le_send_conn_param_update_timer 
+03e3 2040614d call mouse_low_voltage_led_timer 
+03e4 2040553d call mouse_adc_read 
+03e5 204003fa call p_mouse_logo_led_ctrl_check_timer 
+03e6 20400417 call p_mouse_logo_led_on_timer 
+03e7 204061b1 call mouse_led_multi_timer 
+03e8 2040611e call mouse_dpi_led_blink_delay_timer 
+03e9 204003db call p_g24_pair_timeout_timer 
+03ea 20403531 call g24_reconn_timeout_timer 
+03eb 20405fdd call mouse_24g_long_sleep_param_update_timer 
+03ec 2040041a call p_mouse_commbination_dpi_check_timer 
+03ed 2040572c call mouse_dpi_key_check_long_press 
+03ee 20405b9b call mouse_bt_discovery_check 
+03ef 20405bab call mouse_commbination_key_process 
+03f0 20405bce call mouse_check_discovery_timeout_timer 
+03f1 20405bd3 call mouse_check_direct_timeout_timer 
+03f2 20405be1 call mouse_le_enable_att_list_timer 
+03f3 20405bee call mouse_le_battery_updata_timer 
+03f4 20405be4 call mouse_le_send_smp_security_request_timer 
+03f5 20405bfb call mouse_check_reconnect_delay_long_sleep 
+03f6 20400431 call p_mouse_current_mult_update_timer 
+03f7 204056b6 call mouse_wheel_trigger_timer 
+03f8 20405c0e call mouse_store_information_delay_timer 
+03f9 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_logo_led_ctrl_check_timer:
-03f3 6fe14781 fetch 2 ,mem_mouse_no_data_timer 
-03f4 207a0000 rtn blank 
-03f5 6fe0cb22 fetch 1 ,mem_mouse_logo_ctrl_type 
-03f6 207a0000 rtn blank 
-03f7 c28083fa bbit1 commbation_logo ,p_mouse_commbination_key_ctrl_logo 
-03f8 c2810403 bbit1 dpi_logo ,p_mouse_dpi_key_ctrl_logo 
-03f9 20600000 rtn 
+03fa 6fe14781 fetch 2 ,mem_mouse_no_data_timer 
+03fb 207a0000 rtn blank 
+03fc 6fe0cb22 fetch 1 ,mem_mouse_logo_ctrl_type 
+03fd 207a0000 rtn blank 
+03fe c2808401 bbit1 commbation_logo ,p_mouse_commbination_key_ctrl_logo 
+03ff c281040a bbit1 dpi_logo ,p_mouse_dpi_key_ctrl_logo 
+0400 20600000 rtn 
 
 p_mouse_commbination_key_ctrl_logo:
-03fa 6fe0cb25 fetch 1 ,mem_mouse_commbination_logo_key 
-03fb c17f8000 rtneq gpio_disable 
-03fc 20405888 call mouse_check_key_gpio 
-03fd 1a217e07 and rega ,0x07 ,pdata 
-03fe 6848cb25 fetcht 1 ,mem_mouse_commbination_logo_key 
-03ff 98467c00 isub temp ,null 
-0400 20228405 branch p_mouse_logo_led_state_check ,zero 
+0401 6fe0cb25 fetch 1 ,mem_mouse_commbination_logo_key 
+0402 c17f8000 rtneq gpio_disable 
+0403 20405888 call mouse_check_key_gpio 
+0404 1a217e07 and rega ,0x07 ,pdata 
+0405 6848cb25 fetcht 1 ,mem_mouse_commbination_logo_key 
+0406 98467c00 isub temp ,null 
+0407 2022840c branch p_mouse_logo_led_state_check ,zero 
 
 p_mouse_logo_key_count_init:
-0401 704b241e jam 0x1e ,mem_mouse_logo_key_count 
-0402 20600000 rtn 
+0408 704b241e jam 0x1e ,mem_mouse_logo_key_count 
+0409 20600000 rtn 
 
 p_mouse_dpi_key_ctrl_logo:
-0403 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-0404 203a0401 branch p_mouse_logo_key_count_init ,blank 
+040a 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+040b 203a0408 branch p_mouse_logo_key_count_init ,blank 
 
 p_mouse_logo_led_state_check:
-0405 da604b24 arg mem_mouse_logo_key_count ,regc 
-0406 da400408 arg p_mouse_logo_led_state_set ,regb 
-0407 202042e0 branch timer_single_step 
+040c da604b24 arg mem_mouse_logo_key_count ,regc 
+040d da40040f arg p_mouse_logo_led_state_set ,regb 
+040e 202042e0 branch timer_single_step 
 
 p_mouse_logo_led_state_set:
-0408 6fe0cb23 fetch 1 ,mem_mouse_logo_led_state 
-0409 c000840c beq on ,p_mouse_logo_ctrl_off_set 
-040a c000040e beq off ,p_mouse_logo_ctrl_on_set 
-040b 20600000 rtn 
+040f 6fe0cb23 fetch 1 ,mem_mouse_logo_led_state 
+0410 c0008413 beq on ,p_mouse_logo_ctrl_off_set 
+0411 c0000415 beq off ,p_mouse_logo_ctrl_on_set 
+0412 20600000 rtn 
 
 p_mouse_logo_ctrl_off_set:
-040c 704b2300 jam off ,mem_mouse_logo_led_state 
-040d 20600000 rtn 
+0413 704b2300 jam off ,mem_mouse_logo_led_state 
+0414 20600000 rtn 
 
 p_mouse_logo_ctrl_on_set:
-040e 704b2301 jam on ,mem_mouse_logo_led_state 
-040f 20600000 rtn 
+0415 704b2301 jam on ,mem_mouse_logo_led_state 
+0416 20600000 rtn 
 
 p_mouse_logo_led_on_timer:
-0410 6fe0cb23 fetch 1 ,mem_mouse_logo_led_state 
-0411 243a611a nbranch mouse_logo_led_off ,blank 
-0412 20206110 branch mouse_logo_led_on_timer 
+0417 6fe0cb23 fetch 1 ,mem_mouse_logo_led_state 
+0418 243a611a nbranch mouse_logo_led_off ,blank 
+0419 20206110 branch mouse_logo_led_on_timer 
 
 p_mouse_commbination_dpi_check_timer:
-0413 6fe0cb21 fetch 1 ,mem_mouse_commbination_key_dpi 
-0414 c17f8000 rtneq gpio_disable 
-0415 6fe14790 fetch 2 ,mem_mouse_discovery_timer 
-0416 247a0000 nrtn blank 
-0417 6fe145d8 fetch 2 ,mem_24g_pair_timeout 
-0418 247a0000 nrtn blank 
-0419 6fe145de fetch 2 ,mem_24g_reconn_timeout 
-041a 247a0000 nrtn blank 
-041b 6fe0c701 fetch 1 ,mem_mouse_multi_led_powon_timer 
-041c 247a0000 nrtn blank 
-041d 20405888 call mouse_check_key_gpio 
-041e 1a217e07 and rega ,0x07 ,pdata 
-041f 6848cb21 fetcht 1 ,mem_mouse_commbination_key_dpi 
-0420 98467c00 isub temp ,null 
-0421 20228424 branch p_mouse_commbination_dpi_check ,zero 
-0422 704b201e jam 0x1e ,mem_commbination_dpi_timer 
-0423 20600000 rtn 
+041a 6fe0cb21 fetch 1 ,mem_mouse_commbination_key_dpi 
+041b c17f8000 rtneq gpio_disable 
+041c 6fe14790 fetch 2 ,mem_mouse_discovery_timer 
+041d 247a0000 nrtn blank 
+041e 6fe145d8 fetch 2 ,mem_24g_pair_timeout 
+041f 247a0000 nrtn blank 
+0420 6fe145de fetch 2 ,mem_24g_reconn_timeout 
+0421 247a0000 nrtn blank 
+0422 6fe0c701 fetch 1 ,mem_mouse_multi_led_powon_timer 
+0423 247a0000 nrtn blank 
+0424 20405888 call mouse_check_key_gpio 
+0425 1a217e07 and rega ,0x07 ,pdata 
+0426 6848cb21 fetcht 1 ,mem_mouse_commbination_key_dpi 
+0427 98467c00 isub temp ,null 
+0428 2022842b branch p_mouse_commbination_dpi_check ,zero 
+0429 704b201e jam 0x1e ,mem_commbination_dpi_timer 
+042a 20600000 rtn 
 
 p_mouse_commbination_dpi_check:
-0424 da604b20 arg mem_commbination_dpi_timer ,regc 
-0425 da4056fa arg mouse_dpi_process_next ,regb 
-0426 202042e0 branch timer_single_step 
+042b da604b20 arg mem_commbination_dpi_timer ,regc 
+042c da4056fa arg mouse_dpi_process_next ,regb 
+042d 202042e0 branch timer_single_step 
 
 p_mouse_le_send_conn_param_update_timer:
-0427 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0428 da405aef arg mouse_updata_le_param ,regb 
-0429 202042e0 branch timer_single_step 
+042e da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+042f da405aef arg mouse_updata_le_param ,regb 
+0430 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-042a da60477e arg mem_mouse_current_mult_timer ,regc 
-042b da40042d arg p_mouse_current_mult_reinit ,regb 
-042c 202042e0 branch timer_single_step 
+0431 da60477e arg mem_mouse_current_mult_timer ,regc 
+0432 da400434 arg p_mouse_current_mult_reinit ,regb 
+0433 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-042d 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-042e 67e0c0c0 store 1 ,mem_lpm_mult 
-042f 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-0430 20600000 rtn 
+0434 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+0435 67e0c0c0 store 1 ,mem_lpm_mult 
+0436 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+0437 20600000 rtn 
 
 p_mouse_start_discovery:
-0431 204059ed call mouse_sensor_powerdown 
-0432 20205c1b branch mouse_start_discovery + 1 
+0438 204059ed call mouse_sensor_powerdown 
+0439 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0433 1a627e00 copy regc ,pdata 
-0434 c0200448 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0435 c00a844d beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0436 c019043f beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0437 c01e046a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0438 c01c847a beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0439 c01d047f beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-043a c00a043c beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-043b 20205ac3 branch mouse_priority_bb_event + 2 
+043a 1a627e00 copy regc ,pdata 
+043b c020044f beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+043c c00a8454 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+043d c0190446 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+043e c01e0471 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+043f c01c8481 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0440 c01d0486 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0441 c00a0443 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0442 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-043c 58000000 setarg 0 
-043d 67e24c01 store 4 ,mem_le_conn_first_rcv 
-043e 20205ad0 branch mouse_le_bb_event_connected 
+0443 58000000 setarg 0 
+0444 67e24c02 store 4 ,mem_le_conn_first_rcv 
+0445 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-043f 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0440 c0008443 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0441 70484414 jam 20 ,mem_le_start_encrypt_timer 
-0442 20200445 branch p_mouse_le_ll_reconn_start_encryt_new 
+0446 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+0447 c000844a beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0448 70484414 jam 20 ,mem_le_start_encrypt_timer 
+0449 2020044c branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-0443 20405aef call mouse_updata_le_param 
-0444 70484405 jam 5 ,mem_le_start_encrypt_timer 
+044a 20405aef call mouse_updata_le_param 
+044b 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-0445 6fe0cc00 fetch 1 ,mem_le_conn_rcv_new 
-0446 67e0cc01 store 1 ,mem_le_conn_first_rcv 
-0447 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+044c 6fe0cc01 fetch 1 ,mem_le_conn_rcv_new 
+044d 67e0cc02 store 1 ,mem_le_conn_first_rcv 
+044e 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0448 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-0449 247a0000 nrtn blank 
-044a 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-044b 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-044c 20600000 rtn 
+044f 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+0450 247a0000 nrtn blank 
+0451 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+0452 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0453 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-044d 58000000 setarg 0 
-044e 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-044f 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0450 58000000 setarg 0 
-0451 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-0452 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-0453 d8400006 arg le_interval_7_5ms ,temp 
-0454 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0455 c28d8457 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-0456 d8400007 arg le_interval_8_75ms ,temp 
+0454 58000000 setarg 0 
+0455 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+0456 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+0457 58000000 setarg 0 
+0458 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+0459 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+045a d8400006 arg le_interval_7_5ms ,temp 
+045b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+045c c28d845e bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+045d d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-0457 604942d3 storet 2 ,mem_le_interval_min 
-0458 604942d5 storet 2 ,mem_le_interval_min + 2 
-0459 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-045a 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-045b 204029cb call le_clr_config_more_data 
+045e 604942d3 storet 2 ,mem_le_interval_min 
+045f 604942d5 storet 2 ,mem_le_interval_min + 2 
+0460 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0461 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0462 204029cb call le_clr_config_more_data 
 
 p_mouse_bb_disconnected:
-045c 20405b7b call mouse_bb_discon_clear_stack 
-045d 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-045e c2838461 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-045f c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0460 20205c1a branch mouse_start_discovery 
+0463 20405b7b call mouse_bb_discon_clear_stack 
+0464 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0465 c2838468 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+0466 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0467 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-0461 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0462 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0463 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0464 1fe17e03 and pdata ,0x03 ,pdata 
-0465 20405b21 call mouse_le_clean_connect_flag 
-0466 c081d4a9 bne 0x03 ,mouse_start_reconnect 
-0467 6fe0cc04 fetch 1 ,mem_le_check_retransmit_discon_flag 
-0468 243a54a9 nbranch mouse_start_reconnect ,blank 
-0469 202054cd branch mouse_app_enter_hibernate 
+0468 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0469 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+046a 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+046b 1fe17e03 and pdata ,0x03 ,pdata 
+046c 20405b21 call mouse_le_clean_connect_flag 
+046d c081d4a9 bne 0x03 ,mouse_start_reconnect 
+046e 6fe0cc05 fetch 1 ,mem_le_check_retransmit_discon_flag 
+046f 243a54a9 nbranch mouse_start_reconnect ,blank 
+0470 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-046a 6fe2458f fetch 4 ,mem_24g_addr 
-046b 67e245e8 store 4 ,mem_24g_receiver_addr 
-046c 67e24691 store 4 ,mem_mouse_24g_addr 
-046d 2040355a call g24_ch_syncword_crc8_init 
-046e 20405c0b call mouse_no_data_timer_init 
-046f 2040618e call mouse_device_poweron_led_config 
-0470 20405a73 call mouse_init_sensor_reset 
-0471 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-0472 7045fc00 jam 0 ,mem_24g_conn_sm 
-0473 7045e200 jam 0 ,mem_24g_reconn_type 
-0474 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-0475 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0476 98467c00 isub temp ,null 
-0477 20628000 rtn zero 
-0478 2040047c call p_mouse_fetch_normal_tx_power 
-0479 20206042 branch mouse_24g_first_store_reconn_info 
+0471 6fe2458f fetch 4 ,mem_24g_addr 
+0472 67e245e8 store 4 ,mem_24g_receiver_addr 
+0473 67e24691 store 4 ,mem_mouse_24g_addr 
+0474 2040355a call g24_ch_syncword_crc8_init 
+0475 20405c0b call mouse_no_data_timer_init 
+0476 2040618e call mouse_device_poweron_led_config 
+0477 20405a73 call mouse_init_sensor_reset 
+0478 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+0479 7045fc00 jam 0 ,mem_24g_conn_sm 
+047a 7045e200 jam 0 ,mem_24g_reconn_type 
+047b 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+047c 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+047d 98467c00 isub temp ,null 
+047e 20628000 rtn zero 
+047f 20400483 call p_mouse_fetch_normal_tx_power 
+0480 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-047a 2040047c call p_mouse_fetch_normal_tx_power 
-047b 20206084 branch mouse_24g_pairing_complete 
+0481 20400483 call p_mouse_fetch_normal_tx_power 
+0482 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_fetch_normal_tx_power:
-047c 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-047d 67e0c141 store 1 ,mem_tx_power 
-047e 20206016 branch mouse_soft_agc_disable 
+0483 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+0484 67e0c141 store 1 ,mem_tx_power 
+0485 20206016 branch mouse_soft_agc_disable 
 
 p_mouse_24g_attempt_fail:
-047f 2040047c call p_mouse_fetch_normal_tx_power 
-0480 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-0481 c1008000 rtneq dpi_button_state_down 
-0482 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-0483 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-0484 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-0485 c0028491 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
-0486 c0008489 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
-0487 c0018498 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0488 20206055 branch mouse_24g_attempt_fail + 2 
+0486 20400483 call p_mouse_fetch_normal_tx_power 
+0487 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+0488 c1008000 rtneq dpi_button_state_down 
+0489 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+048a 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+048b 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+048c c00284a3 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
+048d c0008490 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+048e c00184aa beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+048f 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0489 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-048a c29f048d bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-048b c298048d bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-048c 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
+0490 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0491 c29f049d bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_fast_auto_pairing 
+0492 c298049f bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+0493 c31d6067 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+
+p_24g_nerver_been_paired_auto_pair:
+0494 6fe24691 fetch 4 ,mem_mouse_24g_addr 
+0495 684a46e6 fetcht 4 ,mem_mouse_compare_addr 
+0496 98467c00 isub temp ,null 
+0497 20228499 branch p_24g_first_nerver_been_paired ,zero 
+0498 20206067 branch mouse_24g_reconn_dongle_start 
+
+p_24g_first_nerver_been_paired:
+0499 704b2701 jam 1 ,mem_first_nerver_been_pair_flag 
+049a 6fe0c63d fetch 1 ,mem_mouse_24g_reconn_timeout_init 
+049b 67e145d6 store 2 ,mem_24g_pair_timeout_init 
+049c 20206047 branch mouse_24g_start_pair_mode 
+
+p_mouse_24g_fast_auto_pairing:
+049d c31d6067 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+049e 20200494 branch p_24g_nerver_been_paired_auto_pair 
 
 p_mouse_24g_start_auto_pair:
-048d 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
-048e 67e145de store 2 ,mem_24g_reconn_timeout 
-048f 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
-0490 20203534 branch g24_reconn_start 
+049f 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
+04a0 67e145de store 2 ,mem_24g_reconn_timeout 
+04a1 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
+04a2 20203534 branch g24_reconn_start 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0491 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0492 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0493 6fe0c71b fetch 1 ,mem_device_number 
-0494 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+04a3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04a4 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+
+p_mouse_24g_first_attempt_fail:
+04a5 6fe0c71b fetch 1 ,mem_device_number 
+04a6 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-0495 20406018 call mouse_24g_stop 
-0496 70466601 jam mode_bt_device1 ,mem_device_flag 
-0497 20205491 branch mouse_le_fast_conn_judge 
+04a7 20406018 call mouse_24g_stop 
+04a8 70466601 jam mode_bt_device1 ,mem_device_flag 
+04a9 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_reconn_dongle_attempt_fail:
-0498 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0499 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-049a c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-049b c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
-049c 2020048d branch p_mouse_24g_start_auto_pair 
+04aa 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04ab c29f04ae bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_reconn_attempt_fail 
+04ac c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+04ad 20600000 rtn 
+
+p_mouse_24g_first_reconn_attempt_fail:
+04ae 204054ac call mouse_wakeup_from_power_check 
+04af 20346059 branch mouse_24g_attempt_fail_enter_hibernate ,user 
+04b0 2020606d branch mouse_24g_first_attempt_fail 
 
 p_mouse_start_work:
-049d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-049e c29f04a4 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-049f 6fe0c666 fetch 1 ,mem_device_flag 
-04a0 c00004af beq mode_24g_device ,p_mouse_24g_start_mode 
-04a1 20205491 branch mouse_le_fast_conn_judge 
+04b1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04b2 c29f04b8 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+04b3 6fe0c666 fetch 1 ,mem_device_flag 
+04b4 c00004c5 beq mode_24g_device ,p_mouse_24g_start_mode 
+04b5 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse4_0_check_reconn_target:
-04a2 2040619f call mouse_device_le_reconn_led_config 
-04a3 202054b6 branch mouse4_0_check_reconn_target 
+04b6 2040619f call mouse_device_le_reconn_led_config 
+04b7 202054b6 branch mouse4_0_check_reconn_target 
 
 p_mouse_24g_first_start_auto_pair_mode:
-04a4 204054ac call mouse_wakeup_from_power_check 
-04a5 203404ab branch p_mouse_24g_first_start_reconn ,user 
+04b8 204054ac call mouse_wakeup_from_power_check 
+04b9 203404c1 branch p_mouse_24g_first_start_reconn ,user 
+04ba 70466600 jam mode_24g_device ,mem_device_flag 
+04bb 202004cd branch p_mouse_24g_start_power_on_pair_mode 
 
 p_mouse_24g_reconn_general_dongle:
-04a6 70466600 jam mode_24g_device ,mem_device_flag 
-04a7 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-04a8 67e145de store 2 ,mem_24g_reconn_timeout 
-04a9 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-04aa 20203534 branch g24_reconn_start 
+04bc 70466600 jam mode_24g_device ,mem_device_flag 
+04bd 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+04be 67e145de store 2 ,mem_24g_reconn_timeout 
+04bf 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+04c0 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-04ab 6fe0c666 fetch 1 ,mem_device_flag 
-04ac c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-04ad 20405aa8 call mouse_bluetooth_fast_conn_disable 
-04ae 20200495 branch p_mouse_24g_first_bluetooth_reconnect 
+04c1 6fe0c666 fetch 1 ,mem_device_flag 
+04c2 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+04c3 20405aa8 call mouse_bluetooth_fast_conn_disable 
+04c4 202004a7 branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-04af 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04b0 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-04b1 20406195 call mouse_device_24g_pair_led_config 
-04b2 204054ac call mouse_wakeup_from_power_check 
-04b3 20346067 branch mouse_24g_reconn_dongle_start ,user 
-04b4 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04b5 c29804a6 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-04b6 20206023 branch mouse_24g_start_mode + 7 
+04c5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04c6 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+04c7 20406195 call mouse_device_24g_pair_led_config 
+04c8 204054ac call mouse_wakeup_from_power_check 
+04c9 20346067 branch mouse_24g_reconn_dongle_start ,user 
+04ca 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04cb c29804bc bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+04cc c318e02f bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+
+p_mouse_24g_start_power_on_pair_mode:
+04cd 20405883 call mouse_key_check_once 
+04ce 1a217e07 and rega ,0x07 ,pdata 
+04cf 6848c728 fetcht 1 ,mem_mouse_commbination_key_24g 
+04d0 98467c00 isub temp ,null 
+04d1 2022e047 branch mouse_24g_start_pair_mode ,zero 
+04d2 202004bc branch p_mouse_24g_reconn_general_dongle 
 
 p_mouse_store_normal_tx_power:
-04b7 6fe0c141 fetch 1 ,mem_tx_power 
-04b8 67e0ca07 store 1 ,mem_normal_tx_power 
-04b9 20600000 rtn 
+04d3 6fe0c141 fetch 1 ,mem_tx_power 
+04d4 67e0ca07 store 1 ,mem_normal_tx_power 
+04d5 20600000 rtn 
 
 p_mouse_idle:
-04ba 2040620e call mouse_low_voltage_led_no_enter_lpm 
-04bb 204078aa call ui_check_paring_button 
-04bc 204004c1 call p_mouse_dpi_check 
-04bd 704b2601 jam 1 ,mem_mouse_switch_flag 
-04be 20205e61 branch mouse_idle + 4 
+04d6 2040620e call mouse_low_voltage_led_no_enter_lpm 
+04d7 204078aa call ui_check_paring_button 
+04d8 204004dd call p_mouse_dpi_check 
+04d9 704b2601 jam 1 ,mem_mouse_switch_flag 
+04da 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check_retransmit:
-04bf 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04c0 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
+04db 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04dc c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
 
 p_mouse_dpi_check:
-04c1 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-04c2 c17f8000 rtneq gpio_disable 
-04c3 da200000 arg 0 ,rega 
-04c4 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-04c5 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-04c6 204004c8 call p_mouse_dpi_key_check 
-04c7 202056c1 branch mouse_dpi_check_next 
+04dd 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+04de c17f8000 rtneq gpio_disable 
+04df da200000 arg 0 ,rega 
+04e0 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+04e1 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+04e2 204004e4 call p_mouse_dpi_key_check 
+04e3 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-04c8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04c9 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-04ca 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-04cb 1fe22600 copy pdata ,regc 
-04cc 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-04cd c07f84cf beq gpio_disable ,p_mouse_3io6key_dpi_check 
-04ce 202056ce branch mouse_dpi_key_check_next 
+04e4 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04e5 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+04e6 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+04e7 1fe22600 copy pdata ,regc 
+04e8 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+04e9 c07f84eb beq gpio_disable ,p_mouse_3io6key_dpi_check 
+04ea 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-04cf 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-04d0 20405946 call mouse_gpio_config_output_low 
-04d1 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-04d2 202004d3 branch p_mouse_3io6key_check 
+04eb 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+04ec 20405946 call mouse_gpio_config_output_low 
+04ed 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+04ee 202004ef branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-04d3 1a627e00 copy regc ,pdata 
-04d4 67e0c978 store 1 ,mem_mouse_key_status 
-04d5 1fe3fe00 lshift pdata ,pdata 
-04d6 1fe22400 copy pdata ,regb 
-04d7 18422600 copy temp ,regc 
-04d8 20406ef7 call gpio_out_active 
-04d9 1a620400 copy regc ,temp 
-04da 204055b1 call mouse_gpio_config_input_pd 
-04db 1a620400 copy regc ,temp 
-04dc 20406ee6 call gpio_get_bit 
-04dd 7d20a400 nsetflag true ,0 ,regb 
-04de 2040593d call mouse_check_press 
-04df 20205929 branch mouse_check_key_connect_gnd_1 
+04ef 1a627e00 copy regc ,pdata 
+04f0 67e0c978 store 1 ,mem_mouse_key_status 
+04f1 1fe3fe00 lshift pdata ,pdata 
+04f2 1fe22400 copy pdata ,regb 
+04f3 18422600 copy temp ,regc 
+04f4 20406ef7 call gpio_out_active 
+04f5 1a620400 copy regc ,temp 
+04f6 204055b1 call mouse_gpio_config_input_pd 
+04f7 1a620400 copy regc ,temp 
+04f8 20406ee6 call gpio_get_bit 
+04f9 7d20a400 nsetflag true ,0 ,regb 
+04fa 2040593d call mouse_check_press 
+04fb 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-04e0 204036b4 call g24_lpm_wait 
-04e1 24740000 nrtn user 
-04e2 204036be call g24_setgpio_lpm_before 
-04e3 204004e5 call p_clear_wake 
-04e4 2020361b branch g24_short_sleep_next 
+04fc 204036b4 call g24_lpm_wait 
+04fd 24740000 nrtn user 
+04fe 204036be call g24_setgpio_lpm_before 
+04ff 20400501 call p_clear_wake 
+0500 2020361b branch g24_short_sleep_next 
 
 p_clear_wake:
-04e5 58000000 setarg 0 
-04e6 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-04e7 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-04e8 20600000 rtn 
+0501 58000000 setarg 0 
+0502 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0503 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+0504 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-04e9 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-04ea 20403647 call g24_transmit_next_packet 
-04eb 5fffffff setarg -1 
-04ec 67e245af store 4 ,mem_24g_enter_hibernate 
-04ed 58000000 setarg 0 
-04ee 67e3c846 store 7 ,mem_mouse_key 
-04ef 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-04f0 204059ed call mouse_sensor_powerdown 
-04f1 2020622b branch mouse_24g_long_sleep 
+0505 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+0506 20403647 call g24_transmit_next_packet 
+0507 5fffffff setarg -1 
+0508 67e245af store 4 ,mem_24g_enter_hibernate 
+0509 58000000 setarg 0 
+050a 67e3c846 store 7 ,mem_mouse_key 
+050b 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+050c 204059ed call mouse_sensor_powerdown 
+050d 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-04f2 20405a92 call mouse_set_sdio_high 
-04f3 204004e5 call p_clear_wake 
-04f4 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-04f5 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-04f6 20405943 call mouse_gpio_config_output_high 
-04f7 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04f8 204055ab call mouse_gpio_set_pupd_by_input 
-04f9 d8400015 arg 21 ,temp 
-04fa 204055b5 call mouse_gpio_config_input_pu 
-04fb 2040611a call mouse_logo_led_off 
-04fc 2040023b call p_mouse_lpm_before_common 
-04fd 202054e2 branch mouse_setgpio_hibernate_next 
+050e 20405a92 call mouse_set_sdio_high 
+050f 20400501 call p_clear_wake 
+0510 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0511 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0512 20405943 call mouse_gpio_config_output_high 
+0513 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0514 204055ab call mouse_gpio_set_pupd_by_input 
+0515 d8400015 arg 21 ,temp 
+0516 204055b5 call mouse_gpio_config_input_pu 
+0517 2040611a call mouse_logo_led_off 
+0518 2040023b call p_mouse_lpm_before_common 
+0519 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-04fe c6930000 rtnmark0 mark_24g 
-04ff 20405601 call mouse_motion 
-0500 24740000 nrtn user 
-0501 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0502 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0503 245a0513 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0504 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0505 c30b0508 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0506 6fe0c96c fetch 1 ,mem_customer_key 
-0507 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+051a c6930000 rtnmark0 mark_24g 
+051b 20405601 call mouse_motion 
+051c 24740000 nrtn user 
+051d 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+051e 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+051f 245a052f ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+0520 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0521 c30b0524 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0522 6fe0c96c fetch 1 ,mem_customer_key 
+0523 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0508 2040050a call p_mouse_data_xy_release 
-0509 202060a2 branch mouse_24g_mouse_package_data + 1 
+0524 20400526 call p_mouse_data_xy_release 
+0525 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-050a 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-050b c1ff8000 rtnne gpio_disable 
-050c 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-050d 207a0000 rtn blank 
-050e 1fe0ffff increase -1 ,pdata 
-050f 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0510 58000000 setarg 0 
-0511 67e24847 store 4 ,mem_mouse_x 
-0512 20205a73 branch mouse_init_sensor_reset 
+0526 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0527 c1ff8000 rtnne gpio_disable 
+0528 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+0529 207a0000 rtn blank 
+052a 1fe0ffff increase -1 ,pdata 
+052b 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+052c 58000000 setarg 0 
+052d 67e24847 store 4 ,mem_mouse_x 
+052e 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0513 204004e5 call p_clear_wake 
-0514 20200262 branch p_lpm_write_gpio_wakeup 
+052f 20400501 call p_clear_wake 
+0530 20200262 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_le_name_modify:
-0515 6fe0c98c fetch 1 ,mem_le_name_patch_len 
-0516 207a0000 rtn blank 
-0517 1fe22200 copy pdata ,rega 
-0518 1fe67c0b sub pdata ,11 ,null 
-0519 242155dd nbranch mouse_le_name_patch_len_overflow ,positive 
-051a 204055d6 call mouse_le_name_clear 
-051b 204055ee call mouse_le_name_patch_len_next 
-051c 1a220400 copy rega ,temp 
-051d 18408401 increase 1 ,temp 
-051e 6048c7a7 storet 1 ,mem_le_adv_swift_pair + 7 
-051f d8a047a9 arg mem_le_adv_swift_pair + 9 ,contw 
-0520 204055d3 call mouse_le_name_modify_next 
-0521 6048c369 storet 1 ,mem_le_scan_data 
-0522 d8a0436b arg mem_le_scan_data + 2 ,contw 
-0523 202055d3 branch mouse_le_name_modify_next 
+0531 6fe0c98c fetch 1 ,mem_le_name_patch_len 
+0532 207a0000 rtn blank 
+0533 1fe22200 copy pdata ,rega 
+0534 1fe67c0b sub pdata ,11 ,null 
+0535 242155dd nbranch mouse_le_name_patch_len_overflow ,positive 
+0536 204055d6 call mouse_le_name_clear 
+0537 204055ee call mouse_le_name_patch_len_next 
+0538 1a220400 copy rega ,temp 
+0539 18408401 increase 1 ,temp 
+053a 6048c7a7 storet 1 ,mem_le_adv_swift_pair + 7 
+053b d8a047a9 arg mem_le_adv_swift_pair + 9 ,contw 
+053c 204055d3 call mouse_le_name_modify_next 
+053d 6048c369 storet 1 ,mem_le_scan_data 
+053e d8a0436b arg mem_le_scan_data + 2 ,contw 
+053f 202055d3 branch mouse_le_name_modify_next 
 
 p_mouse_init_sensor:
-0524 20405958 call mouse_read_sensor_id 
-0525 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
-0526 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0527 c02c0529 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0528 20205952 branch mouse_init_sensor + 5 
+0540 20405958 call mouse_read_sensor_id 
+0541 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+0542 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+0543 c02c0545 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+0544 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0529 204059e7 call mouse_sensor_poweron 
-052a 6fe0c85a fetch 1 ,mem_sensor_id2 
-052b c02c852d beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-052c 2020595f branch mouse_init_p32xx_id2_judge 
+0545 204059e7 call mouse_sensor_poweron 
+0546 6fe0c85a fetch 1 ,mem_sensor_id2 
+0547 c02c8549 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+0548 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-052d 7049570b jam ka8g2 ,mem_config_sensor_type 
-052e da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-052f 20205995 branch mouse_sensor_wr_seq 
+0549 7049570b jam ka8g2 ,mem_config_sensor_type 
+054a da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+054b 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_check_sensor_data:
-0530 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
-0531 247a0000 nrtn blank 
-0532 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-0533 c1800000 rtnne flash_sm_no_buys 
-0534 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0535 c0058537 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0536 202059f8 branch mouse_check_sensor_data + 2 
+054c 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
+054d 247a0000 nrtn blank 
+054e 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+054f c1800000 rtnne flash_sm_no_buys 
+0550 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0551 c0058553 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+0552 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-0537 20405a6d call mouse_clear_sensor_data 
-0538 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0539 c07f853d beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-053a 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-053b 20406ee6 call gpio_get_bit 
-053c 24608000 nrtn true 
+0553 20405a6d call mouse_clear_sensor_data 
+0554 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0555 c07f8559 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+0556 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+0557 20406ee6 call gpio_get_bit 
+0558 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-053d 58000000 setarg pan_reg_pid_l 
-053e 204069e5 call twspi_read 
-053f c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-0540 20205a2f branch mouse_p3212_sensor_motion_2 
+0559 58000000 setarg pan_reg_pid_l 
+055a 204069e5 call twspi_read 
+055b c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+055c 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-0541 78547c00 disable user 
-0542 58000000 setarg 0 
-0543 67e34847 store 6 ,mem_mouse_x 
-0544 20400530 call p_mouse_check_sensor_data 
-0545 58000089 setarg 0x0089 
-0546 204069e4 call twspi_write 
-0547 20405747 call mouse_setting_sensor_type 
-0548 20405612 call mouse_zwheel 
-0549 20405617 call mouse_t_zwheel 
-054a 2040054f call p_mouse_key 
-054b 2020560c branch mouse_motion + 11 
+055d 78547c00 disable user 
+055e 58000000 setarg 0 
+055f 67e34847 store 6 ,mem_mouse_x 
+0560 2040054c call p_mouse_check_sensor_data 
+0561 58000089 setarg 0x0089 
+0562 204069e4 call twspi_write 
+0563 20405747 call mouse_setting_sensor_type 
+0564 20405612 call mouse_zwheel 
+0565 20405617 call mouse_t_zwheel 
+0566 2040056b call p_mouse_key 
+0567 2020560c branch mouse_motion + 11 
 
 p_mouse_drawing_optima:
-054c 6fe0c957 fetch 1 ,mem_config_sensor_type 
-054d c1058000 rtneq ka8g2 
-054e 20205f27 branch mouse_drawing_optima + 1 
+0568 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0569 c1058000 rtneq ka8g2 
+056a 20205f27 branch mouse_drawing_optima + 1 
 
 p_mouse_key:
-054f 2040584c call mouse_check_firekey_gpio 
-0550 6fe0c987 fetch 1 ,mem_fire_key_flag 
-0551 243a5860 nbranch fire_key_press ,blank 
-0552 6fe0c982 fetch 1 ,mem_fire_key_status 
-0553 243a585f nbranch fire_key_process ,blank 
-0554 20405888 call mouse_check_key_gpio 
-0555 20400557 call p_mouse_ghost_key_check 
-0556 202057ad branch mouse_key + 7 
+056b 2040584c call mouse_check_firekey_gpio 
+056c 6fe0c987 fetch 1 ,mem_fire_key_flag 
+056d 243a5860 nbranch fire_key_press ,blank 
+056e 6fe0c982 fetch 1 ,mem_fire_key_status 
+056f 243a585f nbranch fire_key_process ,blank 
+0570 20405888 call mouse_check_key_gpio 
+0571 20400573 call p_mouse_ghost_key_check 
+0572 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-0557 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-0558 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-0559 70497b00 jam 0 ,mem_mouse_ghost_flag 
-055a 1fe22400 copy pdata ,regb 
-055b 6848c644 fetcht 1 ,mem_lbutton_gpio 
-055c 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-055d 98467c00 isub temp ,null 
-055e 20228569 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-055f 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-0560 98467c00 isub temp ,null 
-0561 2022856f branch p_mouse_matrix_ghost_key_l_fw ,zero 
-0562 6848c645 fetcht 1 ,mem_mbutton_gpio 
-0563 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-0564 98467c00 isub temp ,null 
-0565 20228578 branch p_mouse_ghost_key_mbk_rfw ,zero 
+0573 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+0574 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+0575 70497b00 jam 0 ,mem_mouse_ghost_flag 
+0576 1fe22400 copy pdata ,regb 
+0577 6848c644 fetcht 1 ,mem_lbutton_gpio 
+0578 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0579 98467c00 isub temp ,null 
+057a 20228585 branch p_mouse_matrix_ghost_key_l_bk ,zero 
+057b 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+057c 98467c00 isub temp ,null 
+057d 2022858b branch p_mouse_matrix_ghost_key_l_fw ,zero 
+057e 6848c645 fetcht 1 ,mem_mbutton_gpio 
+057f 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0580 98467c00 isub temp ,null 
+0581 20228594 branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-0566 204057fb call mouse_ghost_key_check_m_fw 
+0582 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-0567 2040057d call p_mouse_ghost_key_check_r_bk 
-0568 202057e5 branch mouse_ghost_key_check_next 
+0583 20400599 call p_mouse_ghost_key_check_r_bk 
+0584 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-0569 6848c645 fetcht 1 ,mem_mbutton_gpio 
-056a 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-056b 98467c00 isub temp ,null 
-056c 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+0585 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0586 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+0587 98467c00 isub temp ,null 
+0588 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-056d 204057ef call mouse_ghost_key_check_l_bk 
-056e 20200579 branch p_mouse_ghost_key_rfw 
+0589 204057ef call mouse_ghost_key_check_l_bk 
+058a 20200595 branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-056f 6848c645 fetcht 1 ,mem_mbutton_gpio 
-0570 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-0571 98467c00 isub temp ,null 
-0572 20228575 branch p_mouse_ghost_key_lfw_mbk ,zero 
+058b 6848c645 fetcht 1 ,mem_mbutton_gpio 
+058c 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+058d 98467c00 isub temp ,null 
+058e 20228591 branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-0573 2040057f call p_mouse_ghost_key_check_l_fw 
-0574 20200567 branch p_mouse_ghost_key_rbk 
+058f 2040059b call p_mouse_ghost_key_check_l_fw 
+0590 20200583 branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-0575 2040057f call p_mouse_ghost_key_check_l_fw 
-0576 2040057b call p_mouse_ghost_key_check_m_bk 
-0577 202057e5 branch mouse_ghost_key_check_next 
+0591 2040059b call p_mouse_ghost_key_check_l_fw 
+0592 20400597 call p_mouse_ghost_key_check_m_bk 
+0593 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-0578 2040057b call p_mouse_ghost_key_check_m_bk 
+0594 20400597 call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-0579 20400581 call p_mouse_ghost_key_check_r_fw 
-057a 202057e5 branch mouse_ghost_key_check_next 
+0595 2040059d call p_mouse_ghost_key_check_r_fw 
+0596 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-057b 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-057c 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+0597 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+0598 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-057d 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-057e 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+0599 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+059a 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-057f 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-0580 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+059b 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+059c 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-0581 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-0582 202057ff branch mouse_ghost_key_check_r_fw + 1 
+059d 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+059e 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
@@ -24001,6 +24045,8 @@
 mouse_24g_auto_pair_attempt_fail:
 606b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
 606c c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+
+mouse_24g_first_attempt_fail:
 606d 6fe0c71b fetch 1 ,mem_device_number 
 606e c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 606f 2020603b branch mouse_24g_first_bluetooth_reconnect 
Index: output/sched.rom
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/output/sched.rom	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/output/sched.rom	(working copy)
@@ -117,7 +117,7 @@
 #bit4 MOUSE_ENABLE_LOW_FOR_LED
 #bit5 MOUSE_ENABLE_DPI_FOR_LED
 #bit6 MOUSE_ENABLE_DPI_LOW_FOR_LED
-00
+02
 
 #mouse flag byte6 
 #bit0 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
@@ -139,7 +139,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-01
+0a
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -150,26 +150,26 @@
 #bit5 MOUSE_ENABLE_24G_2M_PHY
 #bit6 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
 #bit7 MOUSE_ENABLE_SWITCH_GPIO_CONNECT_VIN
-1b
+5f
 
 mem_mouse_param_config:
 06 #mem_lbutton_gpio
-08 #mem_mbutton_gpio
-07 #mem_rbutton_gpio
-06 #mem_bk_button_gpio
+07 #mem_mbutton_gpio
+08 #mem_rbutton_gpio
+08 #mem_bk_button_gpio
 07 #mem_fw_button_gpio
-08 #mem_dpi_button_gpio
-12 #mem_whee_a_data_gpio
-14 #mem_whee_b_data_gpio
+06 #mem_dpi_button_gpio
+14 #mem_whee_a_data_gpio
+12 #mem_whee_b_data_gpio
 0d #mem_mouse_sensor_sclk_gpio
 0f #mem_mouse_sensor_sdio_gpio
 ff #mem_select_sensor_angle_gpio
-00 #mem_sensor_angle_default
-00 #mem_sensor_angle_switch
+02 #mem_sensor_angle_default
+02 #mem_sensor_angle_switch
 00 #mem_config_sensor_dpi	#power on default dpi 00--1200  01--1600
 ff #mem_whee_ta_data_gpio
 ff #mem_whee_tb_data_gpio
-ff #mem_matrix_public_gpio
+0a #mem_matrix_public_gpio
 ff #mem_config_select_device_button_gpio
 ff #mem_customer_key_gpio
 ff #mem_firebutton_gpio
@@ -177,8 +177,8 @@
 ff #mem_sensor_motion_gpio
 ff #mem_device_switch_gpio
 05 #mem_mouse_reuse_2ice_gpio
-ff #mem_mouse_logo_led_gpio
-ff #mem_mouse_1io2led_multi_24gled
+0c #mem_mouse_logo_led_gpio
+0c #mem_mouse_1io2led_multi_24gled
 ff #mem_mouse_1io2led_multi_bt1led
 ff #mem_mouse_1io2led_multi_bt2led
 ff #mem_mouse_low_voltage_alarm_gpio
@@ -213,16 +213,16 @@
 #time parm
 mem_mouse_logo_led_on_time_init:58 02	#1min
 mem_mouse_24g_pair_timeout_init:58 02  #1min	    24g reconn timer&pair timer
-mem_mouse_24g_reconn_timeout_init:64 #10s
+mem_mouse_24g_reconn_timeout_init:14 #10s
 mem_mouse_24g_power_on_fast_conn_timer:05 00	#500ms
-mem_mouse_direct_timeout:64  #10s
+mem_mouse_direct_timeout:50  #10s
 mem_mouse_discovery_timeout:b0 04	#2min
 mem_mouse_fast_direct_timeout:0a #1s
 mem_mouse_no_data_timeout:70 17   #10mins
 
 #device parm
 mem_device_option:08
-mem_device_number:01   #01--only 2.4g   02--2.4g+ble
+mem_device_number:02   #01--only 2.4g   02--2.4g+ble
 
 mem_lpm_mode:01
 mem_lpm_mult:20
Index: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/program/app_mouse.prog	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/program/app_mouse.prog	(working copy)
@@ -4493,6 +4493,7 @@
 mouse_24g_auto_pair_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+mouse_24g_first_attempt_fail:
 	fetch 1,mem_device_number
 	beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
 	branch mouse_24g_first_bluetooth_reconnect
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/program/patch.prog	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/program/patch.prog	(working copy)
@@ -1471,6 +1471,15 @@
 	store 6,mem_device1_locall_addr
 	rtn
 
+p_g24_pair_timeout_timer:
+	arg mem_24g_pair_timeout,regc
+	arg p_g24_stop_24g_mode,regb
+	branch timer_single_step_2B
+p_g24_stop_24g_mode:
+	call p_mouse_fetch_normal_tx_power			//功率恢复
+	fetch 1,mem_first_nerver_been_pair_flag
+	beq 1,p_mouse_24g_first_attempt_fail
+	branch g24_stop_24g_mode
 p_mouse_bb_event_timer:
 	call p_mouse_le_send_conn_param_update_timer
 	call mouse_low_voltage_led_timer
@@ -1485,7 +1494,7 @@
 	call mouse_led_multi_timer
 	call mouse_dpi_led_blink_delay_timer
 	//24g
-	call g24_pair_timeout_timer
+	call p_g24_pair_timeout_timer
 	call g24_reconn_timeout_timer
 	call mouse_24g_long_sleep_param_update_timer
 ifdef COMMBINATION_DPI
@@ -1714,9 +1723,24 @@
 
 p_mouse_24g_fast_conn_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
-	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_start_auto_pair
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_fast_auto_pairing
 	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_start_auto_pair
-	branch mouse_24g_fast_conn_attempt_fail+3
+	// branch mouse_24g_fast_conn_attempt_fail+3
+	bbit0 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED,mouse_24g_reconn_dongle_start
+p_24g_nerver_been_paired_auto_pair:
+	fetch 4,mem_mouse_24g_addr		// auto pair first time
+	fetcht 4,mem_mouse_compare_addr
+	isub temp,null
+	branch p_24g_first_nerver_been_paired,zero
+	branch mouse_24g_reconn_dongle_start
+p_24g_first_nerver_been_paired:
+	jam 1,mem_first_nerver_been_pair_flag
+	fetch 1,mem_mouse_24g_reconn_timeout_init
+	store 2,mem_24g_pair_timeout_init  //2.4G优先首次面对码，对码时间设置为回连时间(1~2s),超时切模式到蓝牙
+	branch mouse_24g_start_pair_mode
+p_mouse_24g_fast_auto_pairing:
+	bbit0 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED,mouse_24g_reconn_dongle_start
+	branch p_24g_nerver_been_paired_auto_pair
 
 p_mouse_24g_start_auto_pair:
 	fetch 2,mem_24g_pair_timeout_init
@@ -1727,6 +1751,7 @@
 p_mouse_24g_auto_pair_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+p_mouse_24g_first_attempt_fail:
 	fetch 1,mem_device_number
 	beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
 p_mouse_24g_first_bluetooth_reconnect:
@@ -1736,11 +1761,17 @@
 
 p_mouse_reconn_dongle_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_first_reconn_attempt_fail
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
-	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
-	bbit1 MOUSE_ENABLE_OTP,mouse_24g_attempt_fail_enter_hibernate
-//	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
-	branch p_mouse_24g_start_auto_pair
+	rtn
+// 	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
+// 	bbit1 MOUSE_ENABLE_OTP,mouse_24g_attempt_fail_enter_hibernate
+// //	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+// 	branch p_mouse_24g_start_auto_pair
+p_mouse_24g_first_reconn_attempt_fail:
+	call mouse_wakeup_from_power_check
+	branch mouse_24g_attempt_fail_enter_hibernate,user  	// wake from hibernate :enble user
+	branch mouse_24g_first_attempt_fail
 
 p_mouse_start_work:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1756,6 +1787,8 @@
 p_mouse_24g_first_start_auto_pair_mode:	
 	call mouse_wakeup_from_power_check
 	branch p_mouse_24g_first_start_reconn,user 
+	jam MODE_24G_DEVICE,mem_device_flag
+	branch p_mouse_24g_start_power_on_pair_mode
 p_mouse_24g_reconn_general_dongle:
 	jam MODE_24G_DEVICE,mem_device_flag
 	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
@@ -1777,7 +1810,14 @@
 	branch mouse_24g_reconn_dongle_start,user
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_reconn_general_dongle
-	branch mouse_24g_start_mode+7
+	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,mouse_24g_reconn_general_dongle
+p_mouse_24g_start_power_on_pair_mode:
+	call mouse_key_check_once
+	and rega,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key_24g
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch p_mouse_24g_reconn_general_dongle
 	
 p_mouse_store_normal_tx_power:
 	fetch 1,mem_tx_power
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/mouse_public_Single_Mode/sched/mouse.dat	(revision 5889)
+++ /1121s/branch/mouse/mouse_public_Single_Mode/sched/mouse.dat	(working copy)
@@ -50,7 +50,7 @@
 #bit4 MOUSE_ENABLE_LOW_FOR_LED
 #bit5 MOUSE_ENABLE_DPI_FOR_LED
 #bit6 MOUSE_ENABLE_DPI_LOW_FOR_LED
-00
+02
 
 #mouse flag byte6 
 #bit0 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
@@ -72,7 +72,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-01
+0a
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -83,26 +83,26 @@
 #bit5 MOUSE_ENABLE_24G_2M_PHY
 #bit6 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
 #bit7 MOUSE_ENABLE_SWITCH_GPIO_CONNECT_VIN
-1b
+5f
 
 mem_mouse_param_config:
 06 #mem_lbutton_gpio
-08 #mem_mbutton_gpio
-07 #mem_rbutton_gpio
-06 #mem_bk_button_gpio
+07 #mem_mbutton_gpio
+08 #mem_rbutton_gpio
+08 #mem_bk_button_gpio
 07 #mem_fw_button_gpio
-08 #mem_dpi_button_gpio
-12 #mem_whee_a_data_gpio
-14 #mem_whee_b_data_gpio
+06 #mem_dpi_button_gpio
+14 #mem_whee_a_data_gpio
+12 #mem_whee_b_data_gpio
 0d #mem_mouse_sensor_sclk_gpio
 0f #mem_mouse_sensor_sdio_gpio
 ff #mem_select_sensor_angle_gpio
-00 #mem_sensor_angle_default
-00 #mem_sensor_angle_switch
+02 #mem_sensor_angle_default
+02 #mem_sensor_angle_switch
 00 #mem_config_sensor_dpi	#power on default dpi 00--1200  01--1600
 ff #mem_whee_ta_data_gpio
 ff #mem_whee_tb_data_gpio
-ff #mem_matrix_public_gpio
+0a #mem_matrix_public_gpio
 ff #mem_config_select_device_button_gpio
 ff #mem_customer_key_gpio
 ff #mem_firebutton_gpio
@@ -110,8 +110,8 @@
 ff #mem_sensor_motion_gpio
 ff #mem_device_switch_gpio
 05 #mem_mouse_reuse_2ice_gpio
-ff #mem_mouse_logo_led_gpio
-ff #mem_mouse_1io2led_multi_24gled
+0c #mem_mouse_logo_led_gpio
+0c #mem_mouse_1io2led_multi_24gled
 ff #mem_mouse_1io2led_multi_bt1led
 ff #mem_mouse_1io2led_multi_bt2led
 ff #mem_mouse_low_voltage_alarm_gpio
@@ -146,16 +146,16 @@
 #time parm
 mem_mouse_logo_led_on_time_init:58 02	#1min
 mem_mouse_24g_pair_timeout_init:58 02  #1min	    24g reconn timer&pair timer
-mem_mouse_24g_reconn_timeout_init:64 #10s
+mem_mouse_24g_reconn_timeout_init:14 #10s
 mem_mouse_24g_power_on_fast_conn_timer:05 00	#500ms
-mem_mouse_direct_timeout:64  #10s
+mem_mouse_direct_timeout:50  #10s
 mem_mouse_discovery_timeout:b0 04	#2min
 mem_mouse_fast_direct_timeout:0a #1s
 mem_mouse_no_data_timeout:70 17   #10mins
 
 #device parm
 mem_device_option:08
-mem_device_number:01   #01--only 2.4g   02--2.4g+ble
+mem_device_number:02   #01--only 2.4g   02--2.4g+ble
 
 mem_lpm_mode:01
 mem_lpm_mult:20
