Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(revision 677)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-e6
-06
+8e
+07
 c2
 84
 00
@@ -34,8 +34,8 @@
 5c
 c0
 61
-80
-fb
+81
+12
 c0
 63
 80
@@ -55,27 +55,27 @@
 c0
 67
 01
-b3
+dd
 c0
 68
 01
-0a
+21
 c0
 6b
 00
-c4
+db
 c0
 6c
 81
-1b
+32
 c0
 6d
 01
-53
+7d
 c0
 74
 01
-5e
+88
 20
 20
 13
@@ -91,15 +91,15 @@
 c0
 43
 81
-5a
+84
 c0
 50
 81
-72
+9c
 c0
 60
 01
-7c
+a6
 c0
 75
 00
@@ -107,7 +107,7 @@
 c0
 76
 01
-b0
+da
 20
 20
 13
@@ -638,8 +638,8 @@
 31
 24
 34
-26
-a1
+00
+cd
 20
 40
 26
@@ -788,6 +788,98 @@
 20
 3e
 44
+70
+48
+a5
+00
+20
+40
+26
+52
+5f
+ff
+ff
+ff
+67
+e2
+48
+5c
+58
+00
+00
+00
+67
+e3
+c8
+d0
+70
+4b
+e1
+01
+20
+40
+42
+3c
+20
+20
+00
+d3
+6f
+e0
+c8
+a7
+20
+5a
+26
+a7
+6f
+e0
+c8
+bd
+c1
+00
+80
+00
+20
+40
+26
+9f
+20
+20
+00
+d3
+20
+40
+26
+bb
+24
+74
+00
+00
+6f
+e0
+cb
+e1
+24
+5a
+3e
+33
+6f
+e2
+48
+5c
+20
+40
+7d
+aa
+60
+4a
+41
+60
+20
+20
+14
+97
 1a
 62
 7e
@@ -795,23 +887,23 @@
 c0
 1e
 00
-e7
+fe
 c0
 1d
-00
-ed
+01
+04
 c0
 19
 00
-d3
+ea
 c0
 22
 00
-da
+f1
 c0
 0a
 80
-cb
+e2
 20
 20
 43
@@ -855,7 +947,7 @@
 c0
 00
 80
-d7
+ee
 70
 4b
 76
@@ -958,16 +1050,16 @@
 a5
 24
 3a
-47
-e1
+00
+c4
 6f
 e0
 c8
 8b
 c0
 01
-00
-f2
+01
+09
 20
 20
 48
@@ -1023,7 +1115,7 @@
 c0
 00
 01
-00
+17
 20
 20
 3d
@@ -1075,7 +1167,7 @@
 20
 40
 01
-0d
+24
 20
 20
 40
@@ -1127,7 +1219,7 @@
 20
 3a
 01
-29
+4b
 67
 e0
 cb
@@ -1163,7 +1255,7 @@
 20
 40
 01
-26
+48
 20
 40
 40
@@ -1175,11 +1267,55 @@
 20
 40
 01
-3e
-20
+60
 20
+40
 44
-c0
+ff
+20
+40
+45
+04
+20
+40
+45
+12
+20
+40
+45
+1f
+20
+40
+45
+15
+20
+40
+45
+2a
+20
+40
+45
+2d
+20
+40
+45
+32
+20
+40
+45
+35
+20
+40
+40
+22
+20
+40
+45
+47
+20
+20
+01
+75
 da
 60
 4b
@@ -1187,7 +1323,7 @@
 da
 40
 01
-29
+4b
 20
 20
 31
@@ -1243,11 +1379,11 @@
 20
 41
 01
-38
+5a
 24
 41
 01
-3c
+5e
 20
 20
 48
@@ -1283,7 +1419,7 @@
 c0
 00
 01
-44
+66
 6f
 e4
 4b
@@ -1299,7 +1435,7 @@
 20
 20
 01
-47
+69
 6f
 e4
 4b
@@ -1335,7 +1471,7 @@
 20
 22
 81
-4e
+70
 20
 20
 44
@@ -1361,6 +1497,38 @@
 00
 00
 6f
+e0
+c9
+2a
+c3
+83
+80
+00
+da
+60
+4a
+b2
+da
+40
+01
+7a
+20
+20
+31
+91
+6f
+e0
+c9
+38
+c0
+00
+00
+c4
+20
+20
+43
+1b
+6f
 e1
 47
 8c
@@ -1431,7 +1599,7 @@
 c0
 04
 81
-66
+90
 20
 20
 4d
@@ -1531,7 +1699,7 @@
 c0
 02
 01
-7f
+a9
 20
 20
 19
@@ -1543,7 +1711,7 @@
 c3
 1d
 81
-84
+ae
 20
 40
 7c
@@ -1551,7 +1719,7 @@
 20
 40
 01
-99
+c3
 20
 40
 7c
@@ -1567,11 +1735,11 @@
 c0
 05
 01
-89
+b3
 c0
 09
 01
-a0
+ca
 20
 20
 1c
@@ -1591,7 +1759,7 @@
 c2
 81
 81
-93
+bd
 6f
 e4
 4b
@@ -1599,7 +1767,7 @@
 c3
 1d
 81
-91
+bb
 6f
 e1
 44
@@ -1627,7 +1795,7 @@
 24
 22
 81
-8d
+b7
 20
 40
 1e
@@ -1635,7 +1803,7 @@
 24
 34
 01
-8d
+b7
 20
 20
 1e
@@ -1768,8 +1936,8 @@
 20
 3f
 75
-a7
-38
+e0
+f3
 aa
 55
 40
@@ -2944,176 +3112,8 @@
 55
 6c
 5d
-33
-ac
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+3c
+44
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-99
-84
+74
+8b
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(revision 677)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-e6
-06
+8e
+07
 c2
 84
 00
@@ -34,8 +34,8 @@
 5c
 c0
 61
-80
-fb
+81
+12
 c0
 63
 80
@@ -55,27 +55,27 @@
 c0
 67
 01
-b3
+dd
 c0
 68
 01
-0a
+21
 c0
 6b
 00
-c4
+db
 c0
 6c
 81
-1b
+32
 c0
 6d
 01
-53
+7d
 c0
 74
 01
-5e
+88
 20
 20
 13
@@ -91,15 +91,15 @@
 c0
 43
 81
-5a
+84
 c0
 50
 81
-72
+9c
 c0
 60
 01
-7c
+a6
 c0
 75
 00
@@ -107,7 +107,7 @@
 c0
 76
 01
-b0
+da
 20
 20
 13
@@ -638,8 +638,8 @@
 31
 24
 34
-26
-a1
+00
+cd
 20
 40
 26
@@ -788,6 +788,98 @@
 20
 3e
 44
+70
+48
+a5
+00
+20
+40
+26
+52
+5f
+ff
+ff
+ff
+67
+e2
+48
+5c
+58
+00
+00
+00
+67
+e3
+c8
+d0
+70
+4b
+e1
+01
+20
+40
+42
+3c
+20
+20
+00
+d3
+6f
+e0
+c8
+a7
+20
+5a
+26
+a7
+6f
+e0
+c8
+bd
+c1
+00
+80
+00
+20
+40
+26
+9f
+20
+20
+00
+d3
+20
+40
+26
+bb
+24
+74
+00
+00
+6f
+e0
+cb
+e1
+24
+5a
+3e
+33
+6f
+e2
+48
+5c
+20
+40
+7d
+aa
+60
+4a
+41
+60
+20
+20
+14
+97
 1a
 62
 7e
@@ -795,23 +887,23 @@
 c0
 1e
 00
-e7
+fe
 c0
 1d
-00
-ed
+01
+04
 c0
 19
 00
-d3
+ea
 c0
 22
 00
-da
+f1
 c0
 0a
 80
-cb
+e2
 20
 20
 43
@@ -855,7 +947,7 @@
 c0
 00
 80
-d7
+ee
 70
 4b
 76
@@ -958,16 +1050,16 @@
 a5
 24
 3a
-47
-e1
+00
+c4
 6f
 e0
 c8
 8b
 c0
 01
-00
-f2
+01
+09
 20
 20
 48
@@ -1023,7 +1115,7 @@
 c0
 00
 01
-00
+17
 20
 20
 3d
@@ -1075,7 +1167,7 @@
 20
 40
 01
-0d
+24
 20
 20
 40
@@ -1127,7 +1219,7 @@
 20
 3a
 01
-29
+4b
 67
 e0
 cb
@@ -1163,7 +1255,7 @@
 20
 40
 01
-26
+48
 20
 40
 40
@@ -1175,11 +1267,55 @@
 20
 40
 01
-3e
-20
+60
 20
+40
 44
-c0
+ff
+20
+40
+45
+04
+20
+40
+45
+12
+20
+40
+45
+1f
+20
+40
+45
+15
+20
+40
+45
+2a
+20
+40
+45
+2d
+20
+40
+45
+32
+20
+40
+45
+35
+20
+40
+40
+22
+20
+40
+45
+47
+20
+20
+01
+75
 da
 60
 4b
@@ -1187,7 +1323,7 @@
 da
 40
 01
-29
+4b
 20
 20
 31
@@ -1243,11 +1379,11 @@
 20
 41
 01
-38
+5a
 24
 41
 01
-3c
+5e
 20
 20
 48
@@ -1283,7 +1419,7 @@
 c0
 00
 01
-44
+66
 6f
 e4
 4b
@@ -1299,7 +1435,7 @@
 20
 20
 01
-47
+69
 6f
 e4
 4b
@@ -1335,7 +1471,7 @@
 20
 22
 81
-4e
+70
 20
 20
 44
@@ -1361,6 +1497,38 @@
 00
 00
 6f
+e0
+c9
+2a
+c3
+83
+80
+00
+da
+60
+4a
+b2
+da
+40
+01
+7a
+20
+20
+31
+91
+6f
+e0
+c9
+38
+c0
+00
+00
+c4
+20
+20
+43
+1b
+6f
 e1
 47
 8c
@@ -1431,7 +1599,7 @@
 c0
 04
 81
-66
+90
 20
 20
 4d
@@ -1531,7 +1699,7 @@
 c0
 02
 01
-7f
+a9
 20
 20
 19
@@ -1543,7 +1711,7 @@
 c3
 1d
 81
-84
+ae
 20
 40
 7c
@@ -1551,7 +1719,7 @@
 20
 40
 01
-99
+c3
 20
 40
 7c
@@ -1567,11 +1735,11 @@
 c0
 05
 01
-89
+b3
 c0
 09
 01
-a0
+ca
 20
 20
 1c
@@ -1591,7 +1759,7 @@
 c2
 81
 81
-93
+bd
 6f
 e4
 4b
@@ -1599,7 +1767,7 @@
 c3
 1d
 81
-91
+bb
 6f
 e1
 44
@@ -1627,7 +1795,7 @@
 24
 22
 81
-8d
+b7
 20
 40
 1e
@@ -1635,7 +1803,7 @@
 24
 34
 01
-8d
+b7
 20
 20
 1e
@@ -1768,8 +1936,8 @@
 20
 3f
 75
-a7
-38
+e0
+f3
 aa
 55
 40
@@ -2944,176 +3112,8 @@
 55
 6c
 5d
-33
-ac
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+3c
+44
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-99
-84
+74
+8b
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(revision 677)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(working copy)
@@ -7,27 +7,27 @@
 0004 c04f8073 beq patch13_7 ,p_init_param 
 0005 c0570075 beq patch15_6 ,p_app_init 
 0006 c058005c beq patch16_0 ,p_app_evt_100ms_loop 
-0007 c06180fb beq patch18_3 ,p_mouse_start_work 
+0007 c0618112 beq patch18_3 ,p_mouse_start_work 
 0008 c06380ac beq patch18_7 ,p_mouse_app_enter_hibernate 
 0009 c06480b0 beq patch19_1 ,p_mouse_setgpio_hibernate 
 000a c06500bb beq patch19_2 ,p_mouse_lpm_before_common 
 000b c0660058 beq patch19_4 ,p_mouse_adc_read_start 
-000c c06701b3 beq patch19_6 ,p_mouse_motion 
-000d c068010a beq patch1a_0 ,p_mouse_seting_dpi 
-000e c06b00c4 beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c811b beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 c06d0153 beq patch1b_2 ,p_mouse_start_discovery 
-0011 c074015e beq patch1d_0 ,p_hid_rx_process 
+000c c06701dd beq patch19_6 ,p_mouse_motion 
+000d c0680121 beq patch1a_0 ,p_mouse_seting_dpi 
+000e c06b00db beq patch1a_6 ,p_mouse_priority_bb_event 
+000f c06c8132 beq patch1b_1 ,p_mouse_bb_event_timer 
+0010 c06d017d beq patch1b_2 ,p_mouse_start_discovery 
+0011 c0740188 beq patch1d_0 ,p_hid_rx_process 
 0012 2020137c branch loop 
 
 pf_patch_ext:
 0013 c0198038 beq patch26_3 ,p_adc_init_data 
 0014 c01a003d beq patch26_4 ,p_enable_adc 
-0015 c043815a beq patch30_7 ,p_ui_timer_check 
-0016 c0508172 beq patch34_1 ,p_le_slave_match 
-0017 c060017c beq patch38_0 ,p_le_parse_l2cap 
+0015 c0438184 beq patch30_7 ,p_ui_timer_check 
+0016 c050819c beq patch34_1 ,p_le_slave_match 
+0017 c06001a6 beq patch38_0 ,p_le_parse_l2cap 
 0018 c075009d beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0019 c07601b0 beq patch3d_4 ,p_g24_lpm_wait 
+0019 c07601da beq patch3d_4 ,p_g24_lpm_wait 
 001a 2020137c branch loop 
 
 p_soft_reset:
@@ -194,7 +194,7 @@
 
 p_g24_transmit_no_interrupt:
 009d 20402631 call g24_txdata_prep 
-009e 243426a1 nbranch g24_nodata_transmit ,user 
+009e 243400cd nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 009f 20402646 call g24_transmit_process 
@@ -243,324 +243,376 @@
 00c2 20406093 call gpio_config_function_int 
 00c3 20203e44 branch mouse_lpm_before_common_next 
 
+p_mouse_24g_hibernate_set:
+00c4 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+00c5 20402652 call g24_transmit_next_packet 
+00c6 5fffffff setarg -1 
+00c7 67e2485c store 4 ,mem_24g_enter_hibernate 
+00c8 58000000 setarg 0 
+00c9 67e3c8d0 store 7 ,mem_mouse_key 
+00ca 704be101 jam 1 ,mem_sensor_shutdown_flag 
+00cb 2040423c call mouse_sensor_powerdown 
+00cc 202000d3 branch p_g24_long_sleep 
+
+p_g24_nodata_transmit:
+00cd 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+00ce 205a26a7 call g24_send_abort_packet ,blank 
+00cf 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+00d0 c1008000 rtneq g24_tx_timer_int_enable 
+00d1 2040269f call g24_search_receiver 
+00d2 202000d3 branch p_g24_long_sleep 
+
+p_g24_long_sleep:
+00d3 204026bb call g24_lpm_wait 
+00d4 24740000 nrtn user 
+00d5 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00d6 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+00d7 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+00d8 20407daa call clk2lpo 
+00d9 604a4160 storet 4 ,mem_sleep_counter 
+00da 20201497 branch lpm_sleep 
+
 p_mouse_priority_bb_event:
-00c4 1a627e00 copy regc ,pdata 
-00c5 c01e00e7 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00c6 c01d00ed beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00c7 c01900d3 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-00c8 c02200da beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-00c9 c00a80cb beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-00ca 20204336 branch mouse_priority_bb_event + 2 
+00db 1a627e00 copy regc ,pdata 
+00dc c01e00fe beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00dd c01d0104 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00de c01900ea beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+00df c02200f1 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+00e0 c00a80e2 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+00e1 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_disconnected:
-00cb 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
-00cc 58000006 setarg le_interval_7_5ms 
-00cd 67e14372 store 2 ,mem_le_interval_min 
-00ce 67e14374 store 2 ,mem_le_interval_min + 2 
-00cf 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d0 c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
-00d1 58000007 setarg le_interval_8_75ms 
-00d2 20204364 branch mouse_le_bb_disconnected_next 
+00e2 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
+00e3 58000006 setarg le_interval_7_5ms 
+00e4 67e14372 store 2 ,mem_le_interval_min 
+00e5 67e14374 store 2 ,mem_le_interval_min + 2 
+00e6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00e7 c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
+00e8 58000007 setarg le_interval_8_75ms 
+00e9 20204364 branch mouse_le_bb_disconnected_next 
 
 p_mouse_le_ll_start_encryt:
-00d3 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-00d4 c00080d7 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-00d5 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-00d6 20204373 branch mouse_le_ll_enable_start_enc_flag 
+00ea 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+00eb c00080ee beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+00ec 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+00ed 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-00d7 2040436c call mouse_updata_le_param 
-00d8 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-00d9 20204373 branch mouse_le_ll_enable_start_enc_flag 
+00ee 2040436c call mouse_updata_le_param 
+00ef 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+00f0 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-00da 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-00db 1fe67c0c sub pdata ,le_interval_15ms ,null 
-00dc 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-00dd 67e14372 store 2 ,mem_le_interval_min 
-00de 67e14374 store 2 ,mem_le_interval_min + 2 
-00df 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-00e0 203a439a branch mouse_le_lpm_mult_reinit ,blank 
-00e1 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-00e2 98467c00 isub temp ,null 
-00e3 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-00e4 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-00e5 67e0cb8a store 1 ,mem_lpm_mult_init 
-00e6 20204386 branch mouse_le_conn_param_lpm_enable 
+00f1 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+00f2 1fe67c0c sub pdata ,le_interval_15ms ,null 
+00f3 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+00f4 67e14372 store 2 ,mem_le_interval_min 
+00f5 67e14374 store 2 ,mem_le_interval_min + 2 
+00f6 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+00f7 203a439a branch mouse_le_lpm_mult_reinit ,blank 
+00f8 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+00f9 98467c00 isub temp ,null 
+00fa 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+00fb 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+00fc 67e0cb8a store 1 ,mem_lpm_mult_init 
+00fd 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_attempt_success:
-00e7 6fe2483c fetch 4 ,mem_24g_addr 
-00e8 67e24891 store 4 ,mem_24g_receiver_addr 
-00e9 67e24993 store 4 ,mem_mouse_24g_addr 
-00ea 2040257e call g24_ch_syncword_crc8_init 
-00eb 204048c6 call mouse_device_poweron_timer_init 
-00ec 2020484e branch mouse_24g_attempt_success 
+00fe 6fe2483c fetch 4 ,mem_24g_addr 
+00ff 67e24891 store 4 ,mem_24g_receiver_addr 
+0100 67e24993 store 4 ,mem_mouse_24g_addr 
+0101 2040257e call g24_ch_syncword_crc8_init 
+0102 204048c6 call mouse_device_poweron_timer_init 
+0103 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-00ed 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00ee 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
-00ef 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00f0 c00100f2 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00f1 20204837 branch mouse_24g_attempt_fail + 4 
+0104 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+0105 243a00c4 nbranch p_mouse_24g_hibernate_set ,blank 
+0106 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0107 c0010109 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0108 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-00f2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f3 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-00f4 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-00f5 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-00f6 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-00f7 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-00f8 98467c00 isub temp ,null 
-00f9 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00fa 20204806 branch mouse_24g_reconn_dongle_start 
+0109 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+010a c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+010b c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+010c c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+010d 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+010e 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+010f 98467c00 isub temp ,null 
+0110 2022c827 branch mouse_24g_start_pair_mode ,zero 
+0111 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_start_work:
-00fb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fc c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00fd 6fe0c938 fetch 1 ,mem_device_flag 
-00fe c0000100 beq mode_24g_device ,p_mouse_24g_start_mode 
-00ff 20203d57 branch mouse_start_work + 5 
+0112 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0113 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0114 6fe0c938 fetch 1 ,mem_device_flag 
+0115 c0000117 beq mode_24g_device ,p_mouse_24g_start_mode 
+0116 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0100 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0101 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0102 20403d65 call mouse_wakeup_from_power_check 
-0103 20344806 branch mouse_24g_reconn_dongle_start ,user 
-0104 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0105 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0106 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0107 20404110 call mouse_key_check_once 
-0108 1a217e07 and rega ,0x07 ,pdata 
-0109 202047ff branch mouse_24g_start_mode + 9 
+0117 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0118 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0119 20403d65 call mouse_wakeup_from_power_check 
+011a 20344806 branch mouse_24g_reconn_dongle_start ,user 
+011b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+011c c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+011d c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+011e 20404110 call mouse_key_check_once 
+011f 1a217e07 and rega ,0x07 ,pdata 
+0120 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-010a 2040408f call mouse_setting_dpi_4_level 
-010b 2040010d call p_mouse_dpi_led_blink_delay 
-010c 20204098 branch mouse_seting_sensor_type 
+0121 2040408f call mouse_setting_dpi_4_level 
+0122 20400124 call p_mouse_dpi_led_blink_delay 
+0123 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-010d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-010e c17f8000 rtneq gpio_disable 
-010f 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0110 247a0000 nrtn blank 
-0111 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0112 247a0000 nrtn blank 
-0113 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0114 247a0000 nrtn blank 
-0115 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0116 247a0000 nrtn blank 
-0117 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0118 203a0129 branch p_mouse_dpi_led_blink_init ,blank 
-0119 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-011a 20600000 rtn 
+0124 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0125 c17f8000 rtneq gpio_disable 
+0126 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0127 247a0000 nrtn blank 
+0128 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0129 247a0000 nrtn blank 
+012a 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+012b 247a0000 nrtn blank 
+012c 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+012d 247a0000 nrtn blank 
+012e 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+012f 203a014b branch p_mouse_dpi_led_blink_init ,blank 
+0130 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0131 20600000 rtn 
 
 p_mouse_bb_event_timer:
-011b 20403e9b call mouse_adc_read 
-011c 20404956 call mouse_low_voltage_led_timer 
-011d 2040232b call g24_pair_timeout_timer 
-011e 20402556 call g24_reconn_timeout_timer 
-011f 204047cd call mouse_24g_long_sleep_param_update_timer 
-0120 204048be call mouse_device_poweron_timer 
-0121 20400126 call p_mouse_dpi_led_blink_delay_timer 
-0122 2040407c call mouse_dpi_key_check_long_press 
-0123 204044cc call mouse_bt_discovery_check 
-0124 2040013e call p_mouse_commbination_key_process 
-0125 202044c0 branch mouse_bb_event_timer + 11 
+0132 20403e9b call mouse_adc_read 
+0133 20404956 call mouse_low_voltage_led_timer 
+0134 2040232b call g24_pair_timeout_timer 
+0135 20402556 call g24_reconn_timeout_timer 
+0136 204047cd call mouse_24g_long_sleep_param_update_timer 
+0137 204048be call mouse_device_poweron_timer 
+0138 20400148 call p_mouse_dpi_led_blink_delay_timer 
+0139 2040407c call mouse_dpi_key_check_long_press 
+013a 204044cc call mouse_bt_discovery_check 
+013b 20400160 call p_mouse_commbination_key_process 
+013c 204044ff call mouse_check_discovery_timeout_timer 
+013d 20404504 call mouse_check_direct_timeout_timer 
+013e 20404512 call mouse_le_enable_att_list_timer 
+013f 2040451f call mouse_le_battery_updata_timer 
+0140 20404515 call mouse_le_send_smp_security_request_timer 
+0141 2040452a call mouse_check_hid_handshake_timer 
+0142 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0143 20404532 call mouse_check_reconnect_delay_long_sleep 
+0144 20404535 call mouse_current_mult_update_timer 
+0145 20404022 call mouse_wheel_trigger_timer 
+0146 20404547 call mouse_store_information_delay_timer 
+0147 20200175 branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_dpi_led_blink_delay_timer:
-0126 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0127 da400129 arg p_mouse_dpi_led_blink_init ,regb 
-0128 2020318a branch timer_single_step 
+0148 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0149 da40014b arg p_mouse_dpi_led_blink_init ,regb 
+014a 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0129 6fe0c927 fetch 1 ,mem_config_sensor_type 
-012a c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-012b c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-012c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-012d 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-012e 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-012f 67e14930 store 2 ,mem_mouse_on_time 
-0130 67e14932 store 2 ,mem_mouse_off_time 
-0131 da200000 arg 0 ,rega 
-0132 6848c992 fetcht 1 ,mem_mouse_dpi 
-0133 18408402 increase 2 ,temp 
-0134 18467c03 sub temp ,3 ,null 
-0135 20410138 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0136 2441013c ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0137 202048ff branch mouse_dpi_led_blink_init_end 
+014b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+014c c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+014d c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+014e 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+014f 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0150 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0151 67e14930 store 2 ,mem_mouse_on_time 
+0152 67e14932 store 2 ,mem_mouse_off_time 
+0153 da200000 arg 0 ,rega 
+0154 6848c992 fetcht 1 ,mem_mouse_dpi 
+0155 18408402 increase 2 ,temp 
+0156 18467c03 sub temp ,3 ,null 
+0157 2041015a call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0158 2441015e ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0159 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0138 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0139 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-013a 18408401 increase 1 ,temp 
-013b 20600000 rtn 
+015a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+015b c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+015c 18408401 increase 1 ,temp 
+015d 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-013c 184085fd increase -3 ,temp 
-013d 20600000 rtn 
+015e 184085fd increase -3 ,temp 
+015f 20600000 rtn 
 
 p_mouse_commbination_key_process:
-013e 6fe0c938 fetch 1 ,mem_device_flag 
-013f c0000144 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0140 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0141 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0142 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0143 20200147 branch p_mouse_commbination_key_start 
+0160 6fe0c938 fetch 1 ,mem_device_flag 
+0161 c0000166 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0162 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0163 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0164 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0165 20200169 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0144 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0145 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0146 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0166 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0167 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0168 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0147 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0148 20404115 call mouse_check_key_gpio 
-0149 1fe17e07 and pdata ,0x07 ,pdata 
-014a 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-014b 98467c00 isub temp ,null 
-014c 2022814e branch p_mouse_commbination_key_down ,zero 
-014d 202044eb branch mouse_commbination_key_up 
+0169 6048cb9d storet 1 ,mem_mouse_commbination_key 
+016a 20404115 call mouse_check_key_gpio 
+016b 1fe17e07 and pdata ,0x07 ,pdata 
+016c 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+016d 98467c00 isub temp ,null 
+016e 20228170 branch p_mouse_commbination_key_down ,zero 
+016f 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-014e 204044f6 call mouse_combination_ui_timer 
-014f 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0150 c1008000 rtneq commbination_key_state_down 
-0151 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0152 20600000 rtn 
+0170 204044f6 call mouse_combination_ui_timer 
+0171 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0172 c1008000 rtneq commbination_key_state_down 
+0173 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0174 20600000 rtn 
+
+p_mouse_check_no_data_timeout_timer:
+0175 6fe0c92a fetch 1 ,mem_usb_addr 
+0176 c3838000 rtnbit1 7 
+0177 da604ab2 arg mem_mouse_no_data_timer ,regc 
+0178 da40017a arg p_mouse_check_no_data_timeout ,regb 
+0179 20203191 branch timer_single_step_2b 
+
+p_mouse_check_no_data_timeout:
+017a 6fe0c938 fetch 1 ,mem_device_flag 
+017b c00000c4 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+017c 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0153 6fe1478c fetch 2 ,mem_ui_state_map 
-0154 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0155 2040c581 call mouse_stop_le_adv ,true 
-0156 6fe1478c fetch 2 ,mem_ui_state_map 
-0157 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0158 2040c322 call mouse_cancel_reconnect ,true 
-0159 20204554 branch mouse_start_discovery + 1 
+017d 6fe1478c fetch 2 ,mem_ui_state_map 
+017e 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+017f 2040c581 call mouse_stop_le_adv ,true 
+0180 6fe1478c fetch 2 ,mem_ui_state_map 
+0181 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0182 2040c322 call mouse_cancel_reconnect ,true 
+0183 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-015a 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-015b 245a7861 ncall ui_timer_init ,blank 
-015c 704be200 jam 0 ,mem_power_on_flag 
-015d 20207851 branch ui_timer_check + 1 
+0184 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+0185 245a7861 ncall ui_timer_init ,blank 
+0186 704be200 jam 0 ,mem_power_on_flag 
+0187 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-015e 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-015f 1fe20c00 copy pdata ,contr 
-0160 efe08006 ifetch 1 ,contr 
-0161 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0162 1fe1040f and pdata ,0x0f ,temp 
-0163 1ff1fe00 rshift4 pdata ,pdata 
-0164 c0048166 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0165 20204d93 branch hid_rx_process + 7 
+0188 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0189 1fe20c00 copy pdata ,contr 
+018a efe08006 ifetch 1 ,contr 
+018b 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+018c 1fe1040f and pdata ,0x0f ,temp 
+018d 1ff1fe00 rshift4 pdata ,pdata 
+018e c0048190 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+018f 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0166 da200001 arg 1 ,rega 
-0167 20404dc0 call hid_malloc_tx_buff 
-0168 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0169 e7e10005 istore 2 ,contw 
-016a 58000000 setarg 0 
-016b e7e08005 istore 1 ,contw 
-016c 70095001 jam 1 ,mem_ui_data_txbuff_length 
-016d 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-016e 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-016f 67e0c4e2 store 1 ,mem_hid_control_state 
-0170 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0171 20207871 branch ui_ipc_send_event 
+0190 da200001 arg 1 ,rega 
+0191 20404dc0 call hid_malloc_tx_buff 
+0192 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0193 e7e10005 istore 2 ,contw 
+0194 58000000 setarg 0 
+0195 e7e08005 istore 1 ,contw 
+0196 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0197 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0198 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0199 67e0c4e2 store 1 ,mem_hid_control_state 
+019a 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+019b 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0172 6fe0c3dd fetch 1 ,mem_le_md_count 
-0173 1fe0fe01 pincrease 1 
-0174 67e0c3dd store 1 ,mem_le_md_count 
-0175 c006165a beq le_md_max_count ,le_slave_cont 
-0176 2040191b call le_acknowledge 
-0177 2040196a call le_prepare_tx 
-0178 6fe082bd fetch 1 ,mem_le_tx_phy 
-0179 2040168b call le_enable_phy_by_pdata 
-017a 20401838 call le_transmit 
-017b 20201655 branch le_slave_match + 10 
+019c 6fe0c3dd fetch 1 ,mem_le_md_count 
+019d 1fe0fe01 pincrease 1 
+019e 67e0c3dd store 1 ,mem_le_md_count 
+019f c006165a beq le_md_max_count ,le_slave_cont 
+01a0 2040191b call le_acknowledge 
+01a1 2040196a call le_prepare_tx 
+01a2 6fe082bd fetch 1 ,mem_le_tx_phy 
+01a3 2040168b call le_enable_phy_by_pdata 
+01a4 20401838 call le_transmit 
+01a5 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-017c efe10006 ifetch 2 ,contr 
-017d c002017f beq le_l2cap_cid_att ,p_le_parse_att 
-017e 202019e4 branch le_parse_l2cap + 10 
+01a6 efe10006 ifetch 2 ,contr 
+01a7 c00201a9 beq le_l2cap_cid_att ,p_le_parse_att 
+01a8 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-017f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0180 c31d8184 bbit0 mouse_enable_le_battery_service_cancel ,p_le_parse_att_next 
-0181 20407ceb call store_contr 
-0182 20400199 call p_mouse_le_reconn_write_enable_timer_reinit 
-0183 20407ce5 call get_contr 
+01a9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01aa c31d81ae bbit0 mouse_enable_le_battery_service_cancel ,p_le_parse_att_next 
+01ab 20407ceb call store_contr 
+01ac 204001c3 call p_mouse_le_reconn_write_enable_timer_reinit 
+01ad 20407ce5 call get_contr 
 
 p_le_parse_att_next:
-0184 efe18006 ifetch 3 ,contr 
-0185 67e1c436 store 3 ,mem_le_att_opcode 
-0186 c0050189 beq attop_read_request ,p_le_parse_att_read_request 
-0187 c00901a0 beq attop_write_request ,p_le_parse_att_write_request 
-0188 20201cd3 branch le_parse_att + 2 
+01ae efe18006 ifetch 3 ,contr 
+01af 67e1c436 store 3 ,mem_le_att_opcode 
+01b0 c00501b3 beq attop_read_request ,p_le_parse_att_read_request 
+01b1 c00901ca beq attop_write_request ,p_le_parse_att_write_request 
+01b2 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0189 20401e8d call le_check_encrypt_state 
-018a 68494437 fetcht 2 ,mem_le_att_handle 
-018b 6fe0c3c0 fetch 1 ,mem_le_configuration 
-018c c2818193 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+01b3 20401e8d call le_check_encrypt_state 
+01b4 68494437 fetcht 2 ,mem_le_att_handle 
+01b5 6fe0c3c0 fetch 1 ,mem_le_configuration 
+01b6 c28181bd bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-018d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-018e c31d8191 bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
-018f 6fe14437 fetch 2 ,mem_le_att_handle 
-0190 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+01b7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01b8 c31d81bb bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
+01b9 6fe14437 fetch 2 ,mem_le_att_handle 
+01ba c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
 
 p_le_send_att_read_response_next:
-0191 68494437 fetcht 2 ,mem_le_att_handle 
-0192 20201deb branch le_send_att_read_response 
+01bb 68494437 fetcht 2 ,mem_le_att_handle 
+01bc 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0193 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0194 98467c00 isub temp ,null 
-0195 2422818d nbranch p_le_send_att_read_response ,zero 
-0196 20401e8d call le_check_encrypt_state 
-0197 2434018d nbranch p_le_send_att_read_response ,user 
-0198 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+01bd 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+01be 98467c00 isub temp ,null 
+01bf 242281b7 nbranch p_le_send_att_read_response ,zero 
+01c0 20401e8d call le_check_encrypt_state 
+01c1 243401b7 nbranch p_le_send_att_read_response ,user 
+01c2 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-0199 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-019a 207a0000 rtn blank 
-019b 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-019c 1fe17e03 and pdata ,0x03 ,pdata 
-019d c1018000 rtneq 0x03 
-019e 704b7602 jam 2 ,mem_le_start_encrypt_timer 
-019f 20600000 rtn 
+01c3 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+01c4 207a0000 rtn blank 
+01c5 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+01c6 1fe17e03 and pdata ,0x03 ,pdata 
+01c7 c1018000 rtneq 0x03 
+01c8 704b7602 jam 2 ,mem_le_start_encrypt_timer 
+01c9 20600000 rtn 
 
 p_le_parse_att_write_request:
-01a0 18c22200 copy contr ,rega 
-01a1 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-01a2 1fe0a5fd add pdata ,-3 ,regb 
-01a3 20401a25 call le_writeatt_cb 
-01a4 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01a5 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-01a6 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-01a7 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-01a8 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-01a9 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01aa 5800001a setarg 0x001a 
-01ab 68494437 fetcht 2 ,mem_le_att_handle 
-01ac 98467c00 isub temp ,null 
-01ad 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-01ae 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-01af 20201ec9 branch le_send_att_error_response 
+01ca 18c22200 copy contr ,rega 
+01cb 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+01cc 1fe0a5fd add pdata ,-3 ,regb 
+01cd 20401a25 call le_writeatt_cb 
+01ce 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01cf c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+01d0 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+01d1 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+01d2 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+01d3 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+01d4 5800001a setarg 0x001a 
+01d5 68494437 fetcht 2 ,mem_le_att_handle 
+01d6 98467c00 isub temp ,null 
+01d7 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+01d8 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+01d9 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-01b0 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-01b1 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-01b2 202026bc branch g24_lpm_wait + 1 
+01da 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+01db 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+01dc 202026bc branch g24_lpm_wait + 1 
 
 p_mouse_motion:
-01b3 78547c00 disable user 
-01b4 58000000 setarg 0 
-01b5 67e348d1 store 6 ,mem_mouse_x 
-01b6 20404240 call mouse_check_sensor_data 
-01b7 2040408e call mouse_dpi_config 
-01b8 20203f75 branch mouse_motion + 5 
+01dd 78547c00 disable user 
+01de 58000000 setarg 0 
+01df 67e348d1 store 6 ,mem_mouse_x 
+01e0 20404240 call mouse_check_sensor_data 
+01e1 2040408e call mouse_dpi_config 
+01e2 20203f75 branch mouse_motion + 5 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(revision 677)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(working copy)
@@ -224,7 +224,7 @@
 
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
-	nbranch g24_nodata_transmit,user
+	nbranch p_g24_nodata_transmit,user
 p_g24_transmit_start:
 	call g24_transmit_process
 	call power_ctrl_start
@@ -275,6 +275,41 @@
 	branch mouse_lpm_before_common_next
 
 
+
+p_mouse_24g_hibernate_set:
+	jam 0,mem_24g_attempt_fail_flag
+	call g24_transmit_next_packet
+	setarg -1
+	store 4,mem_24g_enter_hibernate
+	setarg 0
+	store 7,mem_mouse_key
+	jam 1,mem_sensor_shutdown_flag
+	call mouse_sensor_powerdown
+	branch p_g24_long_sleep
+
+p_g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call g24_send_abort_packet,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+	call g24_search_receiver
+	branch p_g24_long_sleep
+
+
+p_g24_long_sleep:
+	call g24_lpm_wait
+	nrtn user
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_setgpio_hibernate,blank
+	fetch 4,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+
+
+
+
 p_mouse_priority_bb_event:
 	copy regc,pdata
 	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
@@ -332,7 +367,7 @@
 
 p_mouse_24g_attempt_fail:
 	fetch 1,mem_24g_attempt_fail_flag
-	nbranch mouse_24g_hibernate_set,blank
+	nbranch p_mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
 	beq FAST_CONN_AND_3_0_ADDR,p_mouse_24g_fast_conn_attempt_fail
 	branch mouse_24g_attempt_fail+4
@@ -406,7 +441,20 @@
 	call mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
 	call p_mouse_commbination_key_process
-	branch mouse_bb_event_timer+11
+	call mouse_check_discovery_timeout_timer
+	//ble
+	call mouse_check_direct_timeout_timer
+	call mouse_le_enable_att_list_timer
+	call mouse_le_battery_updata_timer
+	call mouse_le_send_smp_security_request_timer
+	//bt
+	call mouse_check_hid_handshake_timer
+	call mouse_bt_check_sniff_req_timeout_timer
+	call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
+	call mouse_current_mult_update_timer
+	call mouse_wheel_trigger_timer
+	call mouse_store_information_delay_timer
+	branch p_mouse_check_no_data_timeout_timer
 
 p_mouse_dpi_led_blink_delay_timer:
 	arg mem_mouse_dpi_led_delay_count,regc
@@ -470,6 +518,18 @@
 	jam COMMBINATION_KEY_STATE_DOWN,mem_commbination_key_statue
 	rtn
 
+p_mouse_check_no_data_timeout_timer:
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	arg mem_mouse_no_data_timer,regc
+	arg p_mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+
+p_mouse_check_no_data_timeout:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_24g_hibernate_set
+	branch mouse_disconnect	
+
 p_mouse_start_discovery:
 	fetch 2,mem_ui_state_map
 	isolate1 UI_STATE_BLE_ADV,pdata
