Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(revision 646)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-be
+e6
 06
 c2
 84
@@ -35,7 +35,7 @@
 c0
 61
 80
-f1
+fb
 c0
 63
 80
@@ -55,11 +55,11 @@
 c0
 67
 01
-a9
+b3
 c0
 68
 01
-00
+0a
 c0
 6b
 00
@@ -67,15 +67,15 @@
 c0
 6c
 81
-11
+1b
 c0
 6d
 01
-49
+53
 c0
 74
 01
-54
+5e
 20
 20
 13
@@ -91,15 +91,15 @@
 c0
 43
 81
-50
+5a
 c0
 50
 81
-68
+72
 c0
 60
 01
-72
+7c
 c0
 75
 00
@@ -107,7 +107,7 @@
 c0
 76
 01
-a6
+b0
 20
 20
 13
@@ -795,23 +795,59 @@
 c0
 1e
 00
-dd
+e7
 c0
 1d
 00
-e3
+ed
 c0
 19
 00
-ca
+d3
 c0
 22
 00
-d1
+da
+c0
+0a
+80
+cb
 20
 20
 43
 36
+70
+4a
+c6
+00
+58
+00
+00
+06
+67
+e1
+43
+72
+67
+e1
+43
+74
+6f
+e4
+4b
+ab
+c2
+8d
+c3
+66
+58
+00
+00
+07
+20
+20
+43
+64
 6f
 e0
 ca
@@ -819,7 +855,7 @@
 c0
 00
 80
-ce
+d7
 70
 4b
 76
@@ -864,6 +900,10 @@
 e0
 82
 c3
+20
+3a
+43
+9a
 68
 48
 cb
@@ -927,7 +967,7 @@
 c0
 01
 00
-e8
+f2
 20
 20
 48
@@ -982,8 +1022,8 @@
 38
 c0
 00
+01
 00
-f6
 20
 20
 3d
@@ -1035,7 +1075,7 @@
 20
 40
 01
-03
+0d
 20
 20
 40
@@ -1087,7 +1127,7 @@
 20
 3a
 01
-1f
+29
 67
 e0
 cb
@@ -1123,7 +1163,7 @@
 20
 40
 01
-1c
+26
 20
 40
 40
@@ -1135,7 +1175,7 @@
 20
 40
 01
-34
+3e
 20
 20
 44
@@ -1147,7 +1187,7 @@
 da
 40
 01
-1f
+29
 20
 20
 31
@@ -1203,11 +1243,11 @@
 20
 41
 01
-2e
+38
 24
 41
 01
-32
+3c
 20
 20
 48
@@ -1243,7 +1283,7 @@
 c0
 00
 01
-3a
+44
 6f
 e4
 4b
@@ -1259,7 +1299,7 @@
 20
 20
 01
-3d
+47
 6f
 e4
 4b
@@ -1295,7 +1335,7 @@
 20
 22
 81
-44
+4e
 20
 20
 44
@@ -1391,7 +1431,7 @@
 c0
 04
 81
-5c
+66
 20
 20
 4d
@@ -1491,7 +1531,7 @@
 c0
 02
 01
-75
+7f
 20
 20
 19
@@ -1503,7 +1543,7 @@
 c3
 1d
 81
-7a
+84
 20
 40
 7c
@@ -1511,7 +1551,7 @@
 20
 40
 01
-8f
+99
 20
 40
 7c
@@ -1527,11 +1567,11 @@
 c0
 05
 01
-7f
+89
 c0
 09
 01
-96
+a0
 20
 20
 1c
@@ -1551,7 +1591,7 @@
 c2
 81
 81
-89
+93
 6f
 e4
 4b
@@ -1559,7 +1599,7 @@
 c3
 1d
 81
-87
+91
 6f
 e1
 44
@@ -1587,7 +1627,7 @@
 24
 22
 81
-83
+8d
 20
 40
 1e
@@ -1595,7 +1635,7 @@
 24
 34
 01
-83
+8d
 20
 20
 1e
@@ -1728,8 +1768,8 @@
 20
 3f
 75
-6c
-9f
+a7
+38
 aa
 55
 40
@@ -2904,48 +2944,8 @@
 55
 6c
 5d
-8f
-f3
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+33
+ac
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-36
-d8
+99
+84
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(revision 646)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-be
+e6
 06
 c2
 84
@@ -35,7 +35,7 @@
 c0
 61
 80
-f1
+fb
 c0
 63
 80
@@ -55,11 +55,11 @@
 c0
 67
 01
-a9
+b3
 c0
 68
 01
-00
+0a
 c0
 6b
 00
@@ -67,15 +67,15 @@
 c0
 6c
 81
-11
+1b
 c0
 6d
 01
-49
+53
 c0
 74
 01
-54
+5e
 20
 20
 13
@@ -91,15 +91,15 @@
 c0
 43
 81
-50
+5a
 c0
 50
 81
-68
+72
 c0
 60
 01
-72
+7c
 c0
 75
 00
@@ -107,7 +107,7 @@
 c0
 76
 01
-a6
+b0
 20
 20
 13
@@ -795,23 +795,59 @@
 c0
 1e
 00
-dd
+e7
 c0
 1d
 00
-e3
+ed
 c0
 19
 00
-ca
+d3
 c0
 22
 00
-d1
+da
+c0
+0a
+80
+cb
 20
 20
 43
 36
+70
+4a
+c6
+00
+58
+00
+00
+06
+67
+e1
+43
+72
+67
+e1
+43
+74
+6f
+e4
+4b
+ab
+c2
+8d
+c3
+66
+58
+00
+00
+07
+20
+20
+43
+64
 6f
 e0
 ca
@@ -819,7 +855,7 @@
 c0
 00
 80
-ce
+d7
 70
 4b
 76
@@ -864,6 +900,10 @@
 e0
 82
 c3
+20
+3a
+43
+9a
 68
 48
 cb
@@ -927,7 +967,7 @@
 c0
 01
 00
-e8
+f2
 20
 20
 48
@@ -982,8 +1022,8 @@
 38
 c0
 00
+01
 00
-f6
 20
 20
 3d
@@ -1035,7 +1075,7 @@
 20
 40
 01
-03
+0d
 20
 20
 40
@@ -1087,7 +1127,7 @@
 20
 3a
 01
-1f
+29
 67
 e0
 cb
@@ -1123,7 +1163,7 @@
 20
 40
 01
-1c
+26
 20
 40
 40
@@ -1135,7 +1175,7 @@
 20
 40
 01
-34
+3e
 20
 20
 44
@@ -1147,7 +1187,7 @@
 da
 40
 01
-1f
+29
 20
 20
 31
@@ -1203,11 +1243,11 @@
 20
 41
 01
-2e
+38
 24
 41
 01
-32
+3c
 20
 20
 48
@@ -1243,7 +1283,7 @@
 c0
 00
 01
-3a
+44
 6f
 e4
 4b
@@ -1259,7 +1299,7 @@
 20
 20
 01
-3d
+47
 6f
 e4
 4b
@@ -1295,7 +1335,7 @@
 20
 22
 81
-44
+4e
 20
 20
 44
@@ -1391,7 +1431,7 @@
 c0
 04
 81
-5c
+66
 20
 20
 4d
@@ -1491,7 +1531,7 @@
 c0
 02
 01
-75
+7f
 20
 20
 19
@@ -1503,7 +1543,7 @@
 c3
 1d
 81
-7a
+84
 20
 40
 7c
@@ -1511,7 +1551,7 @@
 20
 40
 01
-8f
+99
 20
 40
 7c
@@ -1527,11 +1567,11 @@
 c0
 05
 01
-7f
+89
 c0
 09
 01
-96
+a0
 20
 20
 1c
@@ -1551,7 +1591,7 @@
 c2
 81
 81
-89
+93
 6f
 e4
 4b
@@ -1559,7 +1599,7 @@
 c3
 1d
 81
-87
+91
 6f
 e1
 44
@@ -1587,7 +1627,7 @@
 24
 22
 81
-83
+8d
 20
 40
 1e
@@ -1595,7 +1635,7 @@
 24
 34
 01
-83
+8d
 20
 20
 1e
@@ -1728,8 +1768,8 @@
 20
 3f
 75
-6c
-9f
+a7
+38
 aa
 55
 40
@@ -2904,48 +2944,8 @@
 55
 6c
 5d
-8f
-f3
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+33
+ac
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-36
-d8
+99
+84
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(revision 646)
+++ /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 c06180f1 beq patch18_3 ,p_mouse_start_work 
+0007 c06180fb 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 c06701a9 beq patch19_6 ,p_mouse_motion 
-000d c0680100 beq patch1a_0 ,p_mouse_seting_dpi 
+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 c06c8111 beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 c06d0149 beq patch1b_2 ,p_mouse_start_discovery 
-0011 c0740154 beq patch1d_0 ,p_hid_rx_process 
+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 
 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 c0438150 beq patch30_7 ,p_ui_timer_check 
-0016 c0508168 beq patch34_1 ,p_le_slave_match 
-0017 c0600172 beq patch38_0 ,p_le_parse_l2cap 
+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 
 0018 c075009d beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0019 c07601a6 beq patch3d_4 ,p_g24_lpm_wait 
+0019 c07601b0 beq patch3d_4 ,p_g24_lpm_wait 
 001a 2020137c branch loop 
 
 p_soft_reset:
@@ -245,310 +245,322 @@
 
 p_mouse_priority_bb_event:
 00c4 1a627e00 copy regc ,pdata 
-00c5 c01e00dd beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00c6 c01d00e3 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00c7 c01900ca beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-00c8 c02200d1 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-00c9 20204336 branch mouse_priority_bb_event + 2 
+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 
+
+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 
 
 p_mouse_le_ll_start_encryt:
-00ca 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-00cb c00080ce beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-00cc 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-00cd 20204373 branch mouse_le_ll_enable_start_enc_flag 
+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 
 
 p_mouse_le_ll_reconn_start_encryt:
-00ce 2040436c call mouse_updata_le_param 
-00cf 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-00d0 20204373 branch mouse_le_ll_enable_start_enc_flag 
+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 
 
 p_mouse_le_parse_conn_param_accepted:
-00d1 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-00d2 1fe67c0c sub pdata ,le_interval_15ms ,null 
-00d3 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-00d4 67e14372 store 2 ,mem_le_interval_min 
-00d5 67e14374 store 2 ,mem_le_interval_min + 2 
-00d6 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-00d7 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-00d8 98467c00 isub temp ,null 
-00d9 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-00da 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-00db 67e0cb8a store 1 ,mem_lpm_mult_init 
-00dc 20204386 branch mouse_le_conn_param_lpm_enable 
+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 
 
 p_mouse_24g_attempt_success:
-00dd 6fe2483c fetch 4 ,mem_24g_addr 
-00de 67e24891 store 4 ,mem_24g_receiver_addr 
-00df 67e24993 store 4 ,mem_mouse_24g_addr 
-00e0 2040257e call g24_ch_syncword_crc8_init 
-00e1 204048c6 call mouse_device_poweron_timer_init 
-00e2 2020484e branch 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 
 
 p_mouse_24g_attempt_fail:
-00e3 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00e4 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
-00e5 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00e6 c00100e8 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00e7 20204837 branch mouse_24g_attempt_fail + 4 
+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 
 
 p_mouse_24g_fast_conn_attempt_fail:
-00e8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00e9 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-00ea c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-00eb c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-00ec 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-00ed 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-00ee 98467c00 isub temp ,null 
-00ef 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00f0 20204806 branch mouse_24g_reconn_dongle_start 
+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 
 
 p_mouse_start_work:
-00f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f2 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00f3 6fe0c938 fetch 1 ,mem_device_flag 
-00f4 c00000f6 beq mode_24g_device ,p_mouse_24g_start_mode 
-00f5 20203d57 branch mouse_start_work + 5 
+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 
 
 p_mouse_24g_start_mode:
-00f6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f7 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00f8 20403d65 call mouse_wakeup_from_power_check 
-00f9 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00fa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fb c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00fc c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00fd 20404110 call mouse_key_check_once 
-00fe 1a217e07 and rega ,0x07 ,pdata 
-00ff 202047ff branch mouse_24g_start_mode + 9 
+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 
 
 p_mouse_seting_dpi:
-0100 2040408f call mouse_setting_dpi_4_level 
-0101 20400103 call p_mouse_dpi_led_blink_delay 
-0102 20204098 branch mouse_seting_sensor_type 
+010a 2040408f call mouse_setting_dpi_4_level 
+010b 2040010d call p_mouse_dpi_led_blink_delay 
+010c 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-0103 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0104 c17f8000 rtneq gpio_disable 
-0105 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0106 247a0000 nrtn blank 
-0107 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0108 247a0000 nrtn blank 
-0109 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-010a 247a0000 nrtn blank 
-010b 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-010c 247a0000 nrtn blank 
-010d 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-010e 203a011f branch p_mouse_dpi_led_blink_init ,blank 
-010f 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0110 20600000 rtn 
+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 
 
 p_mouse_bb_event_timer:
-0111 20403e9b call mouse_adc_read 
-0112 20404956 call mouse_low_voltage_led_timer 
-0113 2040232b call g24_pair_timeout_timer 
-0114 20402556 call g24_reconn_timeout_timer 
-0115 204047cd call mouse_24g_long_sleep_param_update_timer 
-0116 204048be call mouse_device_poweron_timer 
-0117 2040011c call p_mouse_dpi_led_blink_delay_timer 
-0118 2040407c call mouse_dpi_key_check_long_press 
-0119 204044cc call mouse_bt_discovery_check 
-011a 20400134 call p_mouse_commbination_key_process 
-011b 202044c0 branch mouse_bb_event_timer + 11 
+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 
 
 p_mouse_dpi_led_blink_delay_timer:
-011c da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-011d da40011f arg p_mouse_dpi_led_blink_init ,regb 
-011e 2020318a branch timer_single_step 
+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 
 
 p_mouse_dpi_led_blink_init:
-011f 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0120 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0121 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0122 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0123 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0124 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0125 67e14930 store 2 ,mem_mouse_on_time 
-0126 67e14932 store 2 ,mem_mouse_off_time 
-0127 da200000 arg 0 ,rega 
-0128 6848c992 fetcht 1 ,mem_mouse_dpi 
-0129 18408402 increase 2 ,temp 
-012a 18467c03 sub temp ,3 ,null 
-012b 2041012e call p_mouse_dpi_led_blink_init_level_4 ,positive 
-012c 24410132 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-012d 202048ff branch mouse_dpi_led_blink_init_end 
+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 
 
 p_mouse_dpi_led_blink_init_level_4:
-012e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-012f c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0130 18408401 increase 1 ,temp 
-0131 20600000 rtn 
+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 
 
 p_mouse_dpi_led_blink_count_clean:
-0132 184085fd increase -3 ,temp 
-0133 20600000 rtn 
+013c 184085fd increase -3 ,temp 
+013d 20600000 rtn 
 
 p_mouse_commbination_key_process:
-0134 6fe0c938 fetch 1 ,mem_device_flag 
-0135 c000013a beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0136 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0137 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0138 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0139 2020013d branch p_mouse_commbination_key_start 
+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 
 
 p_mouse_24g_commbination_key_process:
-013a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-013b c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-013c 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+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 
 
 p_mouse_commbination_key_start:
-013d 6048cb9d storet 1 ,mem_mouse_commbination_key 
-013e 20404115 call mouse_check_key_gpio 
-013f 1fe17e07 and pdata ,0x07 ,pdata 
-0140 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-0141 98467c00 isub temp ,null 
-0142 20228144 branch p_mouse_commbination_key_down ,zero 
-0143 202044eb branch mouse_commbination_key_up 
+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 
 
 p_mouse_commbination_key_down:
-0144 204044f6 call mouse_combination_ui_timer 
-0145 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0146 c1008000 rtneq commbination_key_state_down 
-0147 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0148 20600000 rtn 
+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 
 
 p_mouse_start_discovery:
-0149 6fe1478c fetch 2 ,mem_ui_state_map 
-014a 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-014b 2040c581 call mouse_stop_le_adv ,true 
-014c 6fe1478c fetch 2 ,mem_ui_state_map 
-014d 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-014e 2040c322 call mouse_cancel_reconnect ,true 
-014f 20204554 branch mouse_start_discovery + 1 
+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 
 
 p_ui_timer_check:
-0150 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0151 245a7861 ncall ui_timer_init ,blank 
-0152 704be200 jam 0 ,mem_power_on_flag 
-0153 20207851 branch ui_timer_check + 1 
+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 
 
 p_hid_rx_process:
-0154 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0155 1fe20c00 copy pdata ,contr 
-0156 efe08006 ifetch 1 ,contr 
-0157 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0158 1fe1040f and pdata ,0x0f ,temp 
-0159 1ff1fe00 rshift4 pdata ,pdata 
-015a c004815c beq hid_type_set_idle ,p_hid_rx_process_handshake 
-015b 20204d93 branch hid_rx_process + 7 
+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 
 
 p_hid_rx_process_handshake:
-015c da200001 arg 1 ,rega 
-015d 20404dc0 call hid_malloc_tx_buff 
-015e 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-015f e7e10005 istore 2 ,contw 
-0160 58000000 setarg 0 
-0161 e7e08005 istore 1 ,contw 
-0162 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0163 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0164 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0165 67e0c4e2 store 1 ,mem_hid_control_state 
-0166 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0167 20207871 branch ui_ipc_send_event 
+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 
 
 p_le_slave_match:
-0168 6fe0c3dd fetch 1 ,mem_le_md_count 
-0169 1fe0fe01 pincrease 1 
-016a 67e0c3dd store 1 ,mem_le_md_count 
-016b c006165a beq le_md_max_count ,le_slave_cont 
-016c 2040191b call le_acknowledge 
-016d 2040196a call le_prepare_tx 
-016e 6fe082bd fetch 1 ,mem_le_tx_phy 
-016f 2040168b call le_enable_phy_by_pdata 
-0170 20401838 call le_transmit 
-0171 20201655 branch le_slave_match + 10 
+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 
 
 p_le_parse_l2cap:
-0172 efe10006 ifetch 2 ,contr 
-0173 c0020175 beq le_l2cap_cid_att ,p_le_parse_att 
-0174 202019e4 branch le_parse_l2cap + 10 
+017c efe10006 ifetch 2 ,contr 
+017d c002017f beq le_l2cap_cid_att ,p_le_parse_att 
+017e 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0175 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0176 c31d817a bbit0 mouse_enable_le_battery_service_cancel ,p_le_parse_att_next 
-0177 20407ceb call store_contr 
-0178 2040018f call p_mouse_le_reconn_write_enable_timer_reinit 
-0179 20407ce5 call get_contr 
+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 
 
 p_le_parse_att_next:
-017a efe18006 ifetch 3 ,contr 
-017b 67e1c436 store 3 ,mem_le_att_opcode 
-017c c005017f beq attop_read_request ,p_le_parse_att_read_request 
-017d c0090196 beq attop_write_request ,p_le_parse_att_write_request 
-017e 20201cd3 branch le_parse_att + 2 
+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 
 
 p_le_parse_att_read_request:
-017f 20401e8d call le_check_encrypt_state 
-0180 68494437 fetcht 2 ,mem_le_att_handle 
-0181 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0182 c2818189 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+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 
 
 p_le_send_att_read_response:
-0183 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0184 c31d8187 bbit0 mouse_enable_le_battery_service_cancel ,p_le_send_att_read_response_next 
-0185 6fe14437 fetch 2 ,mem_le_att_handle 
-0186 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+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 
 
 p_le_send_att_read_response_next:
-0187 68494437 fetcht 2 ,mem_le_att_handle 
-0188 20201deb branch le_send_att_read_response 
+0191 68494437 fetcht 2 ,mem_le_att_handle 
+0192 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0189 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-018a 98467c00 isub temp ,null 
-018b 24228183 nbranch p_le_send_att_read_response ,zero 
-018c 20401e8d call le_check_encrypt_state 
-018d 24340183 nbranch p_le_send_att_read_response ,user 
-018e 20201e10 branch le_send_att_read_response_error_insufficient_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 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-018f 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0190 207a0000 rtn blank 
-0191 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0192 1fe17e03 and pdata ,0x03 ,pdata 
-0193 c1018000 rtneq 0x03 
-0194 704b7602 jam 2 ,mem_le_start_encrypt_timer 
-0195 20600000 rtn 
+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 
 
 p_le_parse_att_write_request:
-0196 18c22200 copy contr ,rega 
-0197 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0198 1fe0a5fd add pdata ,-3 ,regb 
-0199 20401a25 call le_writeatt_cb 
-019a 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-019b c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-019c 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-019d 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-019e 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-019f c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01a0 5800001a setarg 0x001a 
-01a1 68494437 fetcht 2 ,mem_le_att_handle 
-01a2 98467c00 isub temp ,null 
-01a3 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-01a4 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-01a5 20201ec9 branch le_send_att_error_response 
+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 
 
 p_g24_lpm_wait:
-01a6 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-01a7 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-01a8 202026bc branch g24_lpm_wait + 1 
+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 
 
 p_mouse_motion:
-01a9 78547c00 disable user 
-01aa 58000000 setarg 0 
-01ab 67e348d1 store 6 ,mem_mouse_x 
-01ac 20404240 call mouse_check_sensor_data 
-01ad 2040408e call mouse_dpi_config 
-01ae 20203f75 branch mouse_motion + 5 
+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 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(revision 646)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(working copy)
@@ -281,8 +281,19 @@
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
 	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
+	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
 	branch mouse_priority_bb_event+2
 
+p_mouse_le_bb_disconnected:
+	jam 0,mem_mouse_le_bb_connected_flag
+	setarg LE_INTERVAL_7_5MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next+2
+	setarg LE_INTERVAL_8_75MS
+	branch mouse_le_bb_disconnected_next
+
 p_mouse_le_ll_start_encryt:
 	fetch 1,mem_mouse_le_reconnect_flag
 	beq 1,p_mouse_le_ll_reconn_start_encryt
@@ -300,6 +311,7 @@
 	store 2,mem_le_interval_min
 	store 2,mem_le_interval_min+2
 	fetch 1,mem_le_new_connslavelatency
+	branch mouse_le_lpm_mult_reinit,blank
 	fetcht 1,mem_lpm_mult_init
 	isub temp,null
 	branch mouse_le_lpm_mult_reinit,positive
