Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(revision 726)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-72
+8e
 07
 c2
 84
@@ -35,19 +35,19 @@
 c0
 61
 81
-28
+2f
 c0
 63
 80
-af
+ad
 c0
 64
 80
-b3
+b1
 c0
 65
 00
-d1
+cf
 c0
 66
 00
@@ -55,27 +55,27 @@
 c0
 67
 01
-d6
+dd
 c0
 68
 01
-37
+3e
 c0
 6b
 00
-f1
+ef
 c0
 6c
 81
-48
+4f
 c0
 6d
 01
-93
+9a
 c0
 74
 01
-9e
+a5
 20
 20
 13
@@ -91,27 +91,27 @@
 c0
 43
 81
-9a
+a1
 c0
 50
 81
-b2
+b9
 c0
 60
 01
-bc
+c3
 c0
 71
-00
-9e
+01
+2d
 c0
 75
 00
-a0
+9e
 c0
 76
 01
-d3
+da
 20
 20
 13
@@ -636,14 +636,6 @@
 20
 26
 e1
-70
-48
-8b
-00
-20
-20
-23
-41
 20
 40
 26
@@ -651,7 +643,7 @@
 24
 34
 00
-e3
+e1
 20
 40
 26
@@ -667,7 +659,7 @@
 24
 3a
 00
-aa
+a8
 6f
 e4
 48
@@ -787,7 +779,7 @@
 20
 20
 00
-c4
+c2
 6f
 e1
 cb
@@ -835,7 +827,7 @@
 c2
 00
 00
-c8
+c6
 20
 60
 00
@@ -911,7 +903,7 @@
 20
 20
 00
-e9
+e7
 6f
 e0
 c8
@@ -935,7 +927,7 @@
 20
 20
 00
-e9
+e7
 20
 40
 26
@@ -973,29 +965,45 @@
 7e
 00
 c0
+00
+80
+f8
+c0
 1e
 01
-14
+18
+c0
+1c
+81
+16
 c0
 1d
 01
-1a
+1f
 c0
 19
 01
-00
+02
 c0
 22
 01
-07
+09
 c0
 0a
 80
-f8
+fa
 20
 20
 43
 36
+20
+40
+45
+44
+20
+20
+43
+fa
 70
 4a
 c6
@@ -1035,7 +1043,7 @@
 c0
 00
 81
-04
+06
 70
 4b
 76
@@ -1108,6 +1116,14 @@
 20
 43
 86
+20
+40
+45
+44
+20
+20
+48
+57
 6f
 e2
 48
@@ -1129,6 +1145,10 @@
 48
 c6
 20
+40
+45
+44
+20
 20
 48
 4e
@@ -1139,7 +1159,7 @@
 24
 3a
 00
-da
+d8
 6f
 e0
 c8
@@ -1147,7 +1167,7 @@
 c0
 01
 01
-1f
+24
 20
 20
 48
@@ -1188,6 +1208,14 @@
 20
 48
 06
+70
+48
+8b
+00
+20
+20
+23
+41
 6f
 e4
 4b
@@ -1203,7 +1231,7 @@
 c0
 00
 01
-2d
+34
 20
 20
 3d
@@ -1255,7 +1283,7 @@
 20
 40
 01
-3a
+41
 20
 20
 40
@@ -1307,7 +1335,7 @@
 20
 3a
 01
-61
+68
 67
 e0
 cb
@@ -1343,7 +1371,7 @@
 20
 40
 01
-5e
+65
 20
 40
 40
@@ -1355,7 +1383,7 @@
 20
 40
 01
-76
+7d
 20
 40
 44
@@ -1403,7 +1431,7 @@
 20
 20
 01
-8b
+92
 da
 60
 4b
@@ -1411,7 +1439,7 @@
 da
 40
 01
-61
+68
 20
 20
 31
@@ -1467,11 +1495,11 @@
 20
 41
 01
-70
+77
 24
 41
 01
-74
+7b
 20
 20
 48
@@ -1507,7 +1535,7 @@
 c0
 00
 01
-7c
+83
 6f
 e4
 4b
@@ -1523,7 +1551,7 @@
 20
 20
 01
-7f
+86
 6f
 e4
 4b
@@ -1559,7 +1587,7 @@
 20
 22
 81
-86
+8d
 20
 20
 44
@@ -1599,7 +1627,7 @@
 da
 40
 01
-90
+97
 20
 20
 31
@@ -1611,7 +1639,7 @@
 c0
 00
 00
-da
+d8
 20
 20
 43
@@ -1687,7 +1715,7 @@
 c0
 04
 81
-a6
+ad
 20
 20
 4d
@@ -1787,7 +1815,7 @@
 c0
 02
 01
-bf
+c6
 20
 20
 19
@@ -1803,7 +1831,7 @@
 c0
 09
 01
-c3
+ca
 20
 20
 1c
@@ -1908,8 +1936,8 @@
 20
 3f
 75
-35
-e1
+04
+a7
 aa
 55
 40
@@ -3084,36 +3112,8 @@
 55
 70
 5d
-dc
-ce
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+b9
+c8
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-44
-12
+74
+8b
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(revision 726)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-72
+8e
 07
 c2
 84
@@ -35,19 +35,19 @@
 c0
 61
 81
-28
+2f
 c0
 63
 80
-af
+ad
 c0
 64
 80
-b3
+b1
 c0
 65
 00
-d1
+cf
 c0
 66
 00
@@ -55,27 +55,27 @@
 c0
 67
 01
-d6
+dd
 c0
 68
 01
-37
+3e
 c0
 6b
 00
-f1
+ef
 c0
 6c
 81
-48
+4f
 c0
 6d
 01
-93
+9a
 c0
 74
 01
-9e
+a5
 20
 20
 13
@@ -91,27 +91,27 @@
 c0
 43
 81
-9a
+a1
 c0
 50
 81
-b2
+b9
 c0
 60
 01
-bc
+c3
 c0
 71
-00
-9e
+01
+2d
 c0
 75
 00
-a0
+9e
 c0
 76
 01
-d3
+da
 20
 20
 13
@@ -636,14 +636,6 @@
 20
 26
 e1
-70
-48
-8b
-00
-20
-20
-23
-41
 20
 40
 26
@@ -651,7 +643,7 @@
 24
 34
 00
-e3
+e1
 20
 40
 26
@@ -667,7 +659,7 @@
 24
 3a
 00
-aa
+a8
 6f
 e4
 48
@@ -787,7 +779,7 @@
 20
 20
 00
-c4
+c2
 6f
 e1
 cb
@@ -835,7 +827,7 @@
 c2
 00
 00
-c8
+c6
 20
 60
 00
@@ -911,7 +903,7 @@
 20
 20
 00
-e9
+e7
 6f
 e0
 c8
@@ -935,7 +927,7 @@
 20
 20
 00
-e9
+e7
 20
 40
 26
@@ -973,29 +965,45 @@
 7e
 00
 c0
+00
+80
+f8
+c0
 1e
 01
-14
+18
+c0
+1c
+81
+16
 c0
 1d
 01
-1a
+1f
 c0
 19
 01
-00
+02
 c0
 22
 01
-07
+09
 c0
 0a
 80
-f8
+fa
 20
 20
 43
 36
+20
+40
+45
+44
+20
+20
+43
+fa
 70
 4a
 c6
@@ -1035,7 +1043,7 @@
 c0
 00
 81
-04
+06
 70
 4b
 76
@@ -1108,6 +1116,14 @@
 20
 43
 86
+20
+40
+45
+44
+20
+20
+48
+57
 6f
 e2
 48
@@ -1129,6 +1145,10 @@
 48
 c6
 20
+40
+45
+44
+20
 20
 48
 4e
@@ -1139,7 +1159,7 @@
 24
 3a
 00
-da
+d8
 6f
 e0
 c8
@@ -1147,7 +1167,7 @@
 c0
 01
 01
-1f
+24
 20
 20
 48
@@ -1188,6 +1208,14 @@
 20
 48
 06
+70
+48
+8b
+00
+20
+20
+23
+41
 6f
 e4
 4b
@@ -1203,7 +1231,7 @@
 c0
 00
 01
-2d
+34
 20
 20
 3d
@@ -1255,7 +1283,7 @@
 20
 40
 01
-3a
+41
 20
 20
 40
@@ -1307,7 +1335,7 @@
 20
 3a
 01
-61
+68
 67
 e0
 cb
@@ -1343,7 +1371,7 @@
 20
 40
 01
-5e
+65
 20
 40
 40
@@ -1355,7 +1383,7 @@
 20
 40
 01
-76
+7d
 20
 40
 44
@@ -1403,7 +1431,7 @@
 20
 20
 01
-8b
+92
 da
 60
 4b
@@ -1411,7 +1439,7 @@
 da
 40
 01
-61
+68
 20
 20
 31
@@ -1467,11 +1495,11 @@
 20
 41
 01
-70
+77
 24
 41
 01
-74
+7b
 20
 20
 48
@@ -1507,7 +1535,7 @@
 c0
 00
 01
-7c
+83
 6f
 e4
 4b
@@ -1523,7 +1551,7 @@
 20
 20
 01
-7f
+86
 6f
 e4
 4b
@@ -1559,7 +1587,7 @@
 20
 22
 81
-86
+8d
 20
 20
 44
@@ -1599,7 +1627,7 @@
 da
 40
 01
-90
+97
 20
 20
 31
@@ -1611,7 +1639,7 @@
 c0
 00
 00
-da
+d8
 20
 20
 43
@@ -1687,7 +1715,7 @@
 c0
 04
 81
-a6
+ad
 20
 20
 4d
@@ -1787,7 +1815,7 @@
 c0
 02
 01
-bf
+c6
 20
 20
 19
@@ -1803,7 +1831,7 @@
 c0
 09
 01
-c3
+ca
 20
 20
 1c
@@ -1908,8 +1936,8 @@
 20
 3f
 75
-35
-e1
+04
+a7
 aa
 55
 40
@@ -3084,36 +3112,8 @@
 55
 70
 5d
-dc
-ce
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+b9
+c8
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-44
-12
+74
+8b
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(revision 726)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/program.lis	(working copy)
@@ -7,28 +7,28 @@
 0004 c04f8074 beq patch13_7 ,p_init_param 
 0005 c0570076 beq patch15_6 ,p_app_init 
 0006 c058005d beq patch16_0 ,p_app_evt_100ms_loop 
-0007 c0618128 beq patch18_3 ,p_mouse_start_work 
-0008 c06380af beq patch18_7 ,p_mouse_app_enter_hibernate 
-0009 c06480b3 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500d1 beq patch19_2 ,p_mouse_lpm_before_common 
+0007 c061812f beq patch18_3 ,p_mouse_start_work 
+0008 c06380ad beq patch18_7 ,p_mouse_app_enter_hibernate 
+0009 c06480b1 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c06500cf beq patch19_2 ,p_mouse_lpm_before_common 
 000b c0660059 beq patch19_4 ,p_mouse_adc_read_start 
-000c c06701d6 beq patch19_6 ,p_mouse_motion 
-000d c0680137 beq patch1a_0 ,p_mouse_seting_dpi 
-000e c06b00f1 beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c8148 beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 c06d0193 beq patch1b_2 ,p_mouse_start_discovery 
-0011 c074019e beq patch1d_0 ,p_hid_rx_process 
+000c c06701dd beq patch19_6 ,p_mouse_motion 
+000d c068013e beq patch1a_0 ,p_mouse_seting_dpi 
+000e c06b00ef beq patch1a_6 ,p_mouse_priority_bb_event 
+000f c06c814f beq patch1b_1 ,p_mouse_bb_event_timer 
+0010 c06d019a beq patch1b_2 ,p_mouse_start_discovery 
+0011 c07401a5 beq patch1d_0 ,p_hid_rx_process 
 0012 2020137c branch loop 
 
 pf_patch_ext:
 0013 c0198039 beq patch26_3 ,p_adc_init_data 
 0014 c01a003e beq patch26_4 ,p_enable_adc 
-0015 c043819a beq patch30_7 ,p_ui_timer_check 
-0016 c05081b2 beq patch34_1 ,p_le_slave_match 
-0017 c06001bc beq patch38_0 ,p_le_parse_l2cap 
-0018 c071009e beq patch3c_2 ,p_g24_pair_dispatch 
-0019 c07500a0 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-001a c07601d3 beq patch3d_4 ,p_g24_lpm_wait 
+0015 c04381a1 beq patch30_7 ,p_ui_timer_check 
+0016 c05081b9 beq patch34_1 ,p_le_slave_match 
+0017 c06001c3 beq patch38_0 ,p_le_parse_l2cap 
+0018 c071012d beq patch3c_2 ,p_g24_pair_dispatch 
+0019 c075009e beq patch3d_2 ,p_g24_transmit_no_interrupt 
+001a c07601da beq patch3d_4 ,p_g24_lpm_wait 
 001b 2020137c branch loop 
 
 p_soft_reset:
@@ -193,413 +193,424 @@
 009c 207a0000 rtn blank 
 009d 202026e1 branch g24_transmit_by_interrupt_enable 
 
-p_g24_pair_dispatch:
-009e 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-009f 20202341 branch g24_pair_dispatch + 1 
-
 p_g24_transmit_no_interrupt:
-00a0 20402631 call g24_txdata_prep 
-00a1 243400e3 nbranch p_g24_nodata_transmit ,user 
+009e 20402631 call g24_txdata_prep 
+009f 243400e1 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00a2 20402646 call g24_transmit_process 
-00a3 204026ee call power_ctrl_start 
-00a4 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00a5 243a00aa nbranch p_g24_short_sleep ,blank 
-00a6 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-00a7 67e4485c store 8 ,mem_24g_enter_hibernate 
-00a8 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00a9 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+00a0 20402646 call g24_transmit_process 
+00a1 204026ee call power_ctrl_start 
+00a2 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00a3 243a00a8 nbranch p_g24_short_sleep ,blank 
+00a4 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+00a5 67e4485c store 8 ,mem_24g_enter_hibernate 
+00a6 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+00a7 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00aa 204026bb call g24_lpm_wait 
-00ab 24740000 nrtn user 
-00ac 20407fdc call clear_wake 
-00ad 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-00ae 202026b8 branch g24_long_sleep2 
+00a8 204026bb call g24_lpm_wait 
+00a9 24740000 nrtn user 
+00aa 20407fdc call clear_wake 
+00ab 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+00ac 202026b8 branch g24_long_sleep2 
 
 p_mouse_app_enter_hibernate:
-00af 58000006 setarg pan_reg_config 
-00b0 20405b0d call twspi_read 
-00b1 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-00b2 20203e21 branch mouse_app_enter_hibernate + 1 
+00ad 58000006 setarg pan_reg_config 
+00ae 20405b0d call twspi_read 
+00af c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+00b0 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-00b3 204042e9 call mouse_set_sdio_high 
-00b4 20407fdc call clear_wake 
-00b5 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00b1 204042e9 call mouse_set_sdio_high 
+00b2 20407fdc call clear_wake 
+00b3 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00b4 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00b5 20406069 call gpio_out_active 
 00b6 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00b7 20406069 call gpio_out_active 
-00b8 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00b9 20406042 call gpio_clr_wake 
-00ba 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00bb d840003f arg gpcfg_output_high ,temp 
-00bc 20406093 call gpio_config_function_int 
-00bd d8400003 arg 3 ,temp 
-00be 20403f56 call mouse_gpio_config_input_pu 
-00bf 20403e40 call mouse_lpm_before_common 
-00c0 20406082 call gpio_pd_idle 
-00c1 d8400013 arg 19 ,temp 
-00c2 20403f56 call mouse_gpio_config_input_pu 
-00c3 202000c4 branch p_mouse_gpio_set_high_impedance 
+00b7 20406042 call gpio_clr_wake 
+00b8 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00b9 d840003f arg gpcfg_output_high ,temp 
+00ba 20406093 call gpio_config_function_int 
+00bb d8400003 arg 3 ,temp 
+00bc 20403f56 call mouse_gpio_config_input_pu 
+00bd 20403e40 call mouse_lpm_before_common 
+00be 20406082 call gpio_pd_idle 
+00bf d8400013 arg 19 ,temp 
+00c0 20403f56 call mouse_gpio_config_input_pu 
+00c1 202000c2 branch p_mouse_gpio_set_high_impedance 
 
 p_mouse_gpio_set_high_impedance:
-00c4 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-00c5 67e1895c store 3 ,mem_pdatatemp 
-00c6 df200014 arg 20 ,loopcnt 
-00c7 d8400000 arg 0 ,temp 
+00c2 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+00c3 67e1895c store 3 ,mem_pdatatemp 
+00c4 df200014 arg 20 ,loopcnt 
+00c5 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-00c8 6fe1895c fetch 3 ,mem_pdatatemp 
-00c9 2feffe00 isolate1 0 ,pdata 
-00ca 2040e07f call gpio_set_high_impedance ,true 
-00cb 6fe1895c fetch 3 ,mem_pdatatemp 
-00cc 1fe37e00 rshift pdata ,pdata 
-00cd 67e1895c store 3 ,mem_pdatatemp 
-00ce 18408401 increase 1 ,temp 
-00cf c20000c8 loop p_mouse_gpio_set_high_impedance_bit_loop 
-00d0 20600000 rtn 
+00c6 6fe1895c fetch 3 ,mem_pdatatemp 
+00c7 2feffe00 isolate1 0 ,pdata 
+00c8 2040e07f call gpio_set_high_impedance ,true 
+00c9 6fe1895c fetch 3 ,mem_pdatatemp 
+00ca 1fe37e00 rshift pdata ,pdata 
+00cb 67e1895c store 3 ,mem_pdatatemp 
+00cc 18408401 increase 1 ,temp 
+00cd c20000c6 loop p_mouse_gpio_set_high_impedance_bit_loop 
+00ce 20600000 rtn 
 
 p_mouse_lpm_before_common:
-00d1 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+00cf 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+00d0 20406050 call gpio_config_input 
+00d1 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
 00d2 20406050 call gpio_config_input 
-00d3 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-00d4 20406050 call gpio_config_input 
-00d5 20403f88 call mouse_wheel_check 
-00d6 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00d7 d840003f arg gpcfg_output_high ,temp 
-00d8 20406093 call gpio_config_function_int 
-00d9 20203e44 branch mouse_lpm_before_common_next 
+00d3 20403f88 call mouse_wheel_check 
+00d4 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00d5 d840003f arg gpcfg_output_high ,temp 
+00d6 20406093 call gpio_config_function_int 
+00d7 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_24g_hibernate_set:
-00da 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-00db 20402652 call g24_transmit_next_packet 
-00dc 5fffffff setarg -1 
-00dd 67e2485c store 4 ,mem_24g_enter_hibernate 
-00de 58000000 setarg 0 
-00df 67e3c8d0 store 7 ,mem_mouse_key 
-00e0 704be101 jam 1 ,mem_sensor_shutdown_flag 
-00e1 2040423c call mouse_sensor_powerdown 
-00e2 202000e9 branch p_g24_long_sleep 
+00d8 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+00d9 20402652 call g24_transmit_next_packet 
+00da 5fffffff setarg -1 
+00db 67e2485c store 4 ,mem_24g_enter_hibernate 
+00dc 58000000 setarg 0 
+00dd 67e3c8d0 store 7 ,mem_mouse_key 
+00de 704be101 jam 1 ,mem_sensor_shutdown_flag 
+00df 2040423c call mouse_sensor_powerdown 
+00e0 202000e7 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
-00e3 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-00e4 205a26a7 call g24_send_abort_packet ,blank 
-00e5 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-00e6 c1008000 rtneq g24_tx_timer_int_enable 
-00e7 2040269f call g24_search_receiver 
-00e8 202000e9 branch p_g24_long_sleep 
+00e1 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+00e2 205a26a7 call g24_send_abort_packet ,blank 
+00e3 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+00e4 c1008000 rtneq g24_tx_timer_int_enable 
+00e5 2040269f call g24_search_receiver 
+00e6 202000e7 branch p_g24_long_sleep 
 
 p_g24_long_sleep:
-00e9 204026bb call g24_lpm_wait 
-00ea 24740000 nrtn user 
-00eb 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00ec 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-00ed 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-00ee 20407daa call clk2lpo 
-00ef 604a4160 storet 4 ,mem_sleep_counter 
-00f0 20201497 branch lpm_sleep 
+00e7 204026bb call g24_lpm_wait 
+00e8 24740000 nrtn user 
+00e9 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+00ea 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+00eb 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+00ec 20407daa call clk2lpo 
+00ed 604a4160 storet 4 ,mem_sleep_counter 
+00ee 20201497 branch lpm_sleep 
 
 p_mouse_priority_bb_event:
-00f1 1a627e00 copy regc ,pdata 
-00f2 c01e0114 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00f3 c01d011a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00f4 c0190100 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-00f5 c0220107 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-00f6 c00a80f8 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+00ef 1a627e00 copy regc ,pdata 
+00f0 c00080f8 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+00f1 c01e0118 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00f2 c01c8116 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+00f3 c01d011f beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00f4 c0190102 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+00f5 c0220109 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+00f6 c00a80fa beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
 00f7 20204336 branch mouse_priority_bb_event + 2 
 
+p_mouse_bb_event_connected:
+00f8 20404544 call mouse_no_data_timer_init 
+00f9 202043fa branch mouse_bb_event_connected 
+
 p_mouse_le_bb_disconnected:
-00f8 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
-00f9 58000006 setarg le_interval_7_5ms 
-00fa 67e14372 store 2 ,mem_le_interval_min 
-00fb 67e14374 store 2 ,mem_le_interval_min + 2 
-00fc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fd c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
-00fe 58000007 setarg le_interval_8_75ms 
-00ff 20204364 branch mouse_le_bb_disconnected_next 
+00fa 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
+00fb 58000006 setarg le_interval_7_5ms 
+00fc 67e14372 store 2 ,mem_le_interval_min 
+00fd 67e14374 store 2 ,mem_le_interval_min + 2 
+00fe 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ff c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
+0100 58000007 setarg le_interval_8_75ms 
+0101 20204364 branch mouse_le_bb_disconnected_next 
 
 p_mouse_le_ll_start_encryt:
-0100 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0101 c0008104 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0102 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0103 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0102 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0103 c0008106 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0104 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0105 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0104 2040436c call mouse_updata_le_param 
-0105 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-0106 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0106 2040436c call mouse_updata_le_param 
+0107 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+0108 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0107 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-0108 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0109 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-010a 67e14372 store 2 ,mem_le_interval_min 
-010b 67e14374 store 2 ,mem_le_interval_min + 2 
-010c 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-010d 203a439a branch mouse_le_lpm_mult_reinit ,blank 
-010e 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-010f 98467c00 isub temp ,null 
-0110 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-0111 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0112 67e0cb8a store 1 ,mem_lpm_mult_init 
-0113 20204386 branch mouse_le_conn_param_lpm_enable 
+0109 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+010a 1fe67c0c sub pdata ,le_interval_15ms ,null 
+010b 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+010c 67e14372 store 2 ,mem_le_interval_min 
+010d 67e14374 store 2 ,mem_le_interval_min + 2 
+010e 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+010f 203a439a branch mouse_le_lpm_mult_reinit ,blank 
+0110 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0111 98467c00 isub temp ,null 
+0112 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+0113 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0114 67e0cb8a store 1 ,mem_lpm_mult_init 
+0115 20204386 branch mouse_le_conn_param_lpm_enable 
+
+p_mouse_24g_pairing_complete:
+0116 20404544 call mouse_no_data_timer_init 
+0117 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-0114 6fe2483c fetch 4 ,mem_24g_addr 
-0115 67e24891 store 4 ,mem_24g_receiver_addr 
-0116 67e24993 store 4 ,mem_mouse_24g_addr 
-0117 2040257e call g24_ch_syncword_crc8_init 
-0118 204048c6 call mouse_device_poweron_timer_init 
-0119 2020484e branch mouse_24g_attempt_success 
+0118 6fe2483c fetch 4 ,mem_24g_addr 
+0119 67e24891 store 4 ,mem_24g_receiver_addr 
+011a 67e24993 store 4 ,mem_mouse_24g_addr 
+011b 2040257e call g24_ch_syncword_crc8_init 
+011c 204048c6 call mouse_device_poweron_timer_init 
+011d 20404544 call mouse_no_data_timer_init 
+011e 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-011a 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-011b 243a00da nbranch p_mouse_24g_hibernate_set ,blank 
-011c 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-011d c001011f beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-011e 20204837 branch mouse_24g_attempt_fail + 4 
+011f 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+0120 243a00d8 nbranch p_mouse_24g_hibernate_set ,blank 
+0121 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0122 c0010124 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0123 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-011f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0120 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-0121 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0122 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0123 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-0124 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-0125 98467c00 isub temp ,null 
-0126 2022c827 branch mouse_24g_start_pair_mode ,zero 
-0127 20204806 branch mouse_24g_reconn_dongle_start 
+0124 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0125 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0126 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0127 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0128 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+0129 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+012a 98467c00 isub temp ,null 
+012b 2022c827 branch mouse_24g_start_pair_mode ,zero 
+012c 20204806 branch mouse_24g_reconn_dongle_start 
+
+p_g24_pair_dispatch:
+012d 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+012e 20202341 branch g24_pair_dispatch + 1 
 
 p_mouse_start_work:
-0128 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0129 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-012a 6fe0c938 fetch 1 ,mem_device_flag 
-012b c000012d beq mode_24g_device ,p_mouse_24g_start_mode 
-012c 20203d57 branch mouse_start_work + 5 
+012f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0130 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0131 6fe0c938 fetch 1 ,mem_device_flag 
+0132 c0000134 beq mode_24g_device ,p_mouse_24g_start_mode 
+0133 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-012d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-012e c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-012f 20403d65 call mouse_wakeup_from_power_check 
-0130 20344806 branch mouse_24g_reconn_dongle_start ,user 
-0131 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0132 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0133 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0134 20404110 call mouse_key_check_once 
-0135 1a217e07 and rega ,0x07 ,pdata 
-0136 202047ff branch mouse_24g_start_mode + 9 
+0134 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0135 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0136 20403d65 call mouse_wakeup_from_power_check 
+0137 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0138 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0139 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+013a c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+013b 20404110 call mouse_key_check_once 
+013c 1a217e07 and rega ,0x07 ,pdata 
+013d 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-0137 2040408f call mouse_setting_dpi_4_level 
-0138 2040013a call p_mouse_dpi_led_blink_delay 
-0139 20204098 branch mouse_seting_sensor_type 
+013e 2040408f call mouse_setting_dpi_4_level 
+013f 20400141 call p_mouse_dpi_led_blink_delay 
+0140 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-013a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-013b c17f8000 rtneq gpio_disable 
-013c 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-013d 247a0000 nrtn blank 
-013e 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-013f 247a0000 nrtn blank 
-0140 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0141 247a0000 nrtn blank 
-0142 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0143 247a0000 nrtn blank 
-0144 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0145 203a0161 branch p_mouse_dpi_led_blink_init ,blank 
-0146 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0147 20600000 rtn 
+0141 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0142 c17f8000 rtneq gpio_disable 
+0143 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0144 247a0000 nrtn blank 
+0145 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0146 247a0000 nrtn blank 
+0147 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0148 247a0000 nrtn blank 
+0149 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+014a 247a0000 nrtn blank 
+014b 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+014c 203a0168 branch p_mouse_dpi_led_blink_init ,blank 
+014d 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+014e 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0148 20403e9b call mouse_adc_read 
-0149 20404956 call mouse_low_voltage_led_timer 
-014a 2040232b call g24_pair_timeout_timer 
-014b 20402556 call g24_reconn_timeout_timer 
-014c 204047cd call mouse_24g_long_sleep_param_update_timer 
-014d 204048be call mouse_device_poweron_timer 
-014e 2040015e call p_mouse_dpi_led_blink_delay_timer 
-014f 2040407c call mouse_dpi_key_check_long_press 
-0150 204044cc call mouse_bt_discovery_check 
-0151 20400176 call p_mouse_commbination_key_process 
-0152 204044ff call mouse_check_discovery_timeout_timer 
-0153 20404504 call mouse_check_direct_timeout_timer 
-0154 20404512 call mouse_le_enable_att_list_timer 
-0155 2040451f call mouse_le_battery_updata_timer 
-0156 20404515 call mouse_le_send_smp_security_request_timer 
-0157 2040452a call mouse_check_hid_handshake_timer 
-0158 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0159 20404532 call mouse_check_reconnect_delay_long_sleep 
-015a 20404535 call mouse_current_mult_update_timer 
-015b 20404022 call mouse_wheel_trigger_timer 
-015c 20404547 call mouse_store_information_delay_timer 
-015d 2020018b branch p_mouse_check_no_data_timeout_timer 
+014f 20403e9b call mouse_adc_read 
+0150 20404956 call mouse_low_voltage_led_timer 
+0151 2040232b call g24_pair_timeout_timer 
+0152 20402556 call g24_reconn_timeout_timer 
+0153 204047cd call mouse_24g_long_sleep_param_update_timer 
+0154 204048be call mouse_device_poweron_timer 
+0155 20400165 call p_mouse_dpi_led_blink_delay_timer 
+0156 2040407c call mouse_dpi_key_check_long_press 
+0157 204044cc call mouse_bt_discovery_check 
+0158 2040017d call p_mouse_commbination_key_process 
+0159 204044ff call mouse_check_discovery_timeout_timer 
+015a 20404504 call mouse_check_direct_timeout_timer 
+015b 20404512 call mouse_le_enable_att_list_timer 
+015c 2040451f call mouse_le_battery_updata_timer 
+015d 20404515 call mouse_le_send_smp_security_request_timer 
+015e 2040452a call mouse_check_hid_handshake_timer 
+015f 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0160 20404532 call mouse_check_reconnect_delay_long_sleep 
+0161 20404535 call mouse_current_mult_update_timer 
+0162 20404022 call mouse_wheel_trigger_timer 
+0163 20404547 call mouse_store_information_delay_timer 
+0164 20200192 branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_dpi_led_blink_delay_timer:
-015e da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-015f da400161 arg p_mouse_dpi_led_blink_init ,regb 
-0160 2020318a branch timer_single_step 
+0165 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0166 da400168 arg p_mouse_dpi_led_blink_init ,regb 
+0167 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0161 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0162 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0163 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0164 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0165 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0166 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-0167 67e14930 store 2 ,mem_mouse_on_time 
-0168 67e14932 store 2 ,mem_mouse_off_time 
-0169 da200000 arg 0 ,rega 
-016a 6848c992 fetcht 1 ,mem_mouse_dpi 
-016b 18408402 increase 2 ,temp 
-016c 18467c03 sub temp ,3 ,null 
-016d 20410170 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-016e 24410174 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-016f 202048ff branch mouse_dpi_led_blink_init_end 
+0168 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0169 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+016a c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+016b 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+016c 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+016d 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+016e 67e14930 store 2 ,mem_mouse_on_time 
+016f 67e14932 store 2 ,mem_mouse_off_time 
+0170 da200000 arg 0 ,rega 
+0171 6848c992 fetcht 1 ,mem_mouse_dpi 
+0172 18408402 increase 2 ,temp 
+0173 18467c03 sub temp ,3 ,null 
+0174 20410177 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0175 2441017b ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0176 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0170 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0171 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0172 18408401 increase 1 ,temp 
-0173 20600000 rtn 
+0177 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0178 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0179 18408401 increase 1 ,temp 
+017a 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0174 184085fd increase -3 ,temp 
-0175 20600000 rtn 
+017b 184085fd increase -3 ,temp 
+017c 20600000 rtn 
 
 p_mouse_commbination_key_process:
-0176 6fe0c938 fetch 1 ,mem_device_flag 
-0177 c000017c beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0178 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0179 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-017a 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-017b 2020017f branch p_mouse_commbination_key_start 
+017d 6fe0c938 fetch 1 ,mem_device_flag 
+017e c0000183 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+017f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0180 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0181 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0182 20200186 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-017c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-017d c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-017e 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0183 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0184 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0185 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-017f 6048cb9d storet 1 ,mem_mouse_commbination_key 
-0180 20404115 call mouse_check_key_gpio 
-0181 1fe17e07 and pdata ,0x07 ,pdata 
-0182 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-0183 98467c00 isub temp ,null 
-0184 20228186 branch p_mouse_commbination_key_down ,zero 
-0185 202044eb branch mouse_commbination_key_up 
+0186 6048cb9d storet 1 ,mem_mouse_commbination_key 
+0187 20404115 call mouse_check_key_gpio 
+0188 1fe17e07 and pdata ,0x07 ,pdata 
+0189 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+018a 98467c00 isub temp ,null 
+018b 2022818d branch p_mouse_commbination_key_down ,zero 
+018c 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-0186 204044f6 call mouse_combination_ui_timer 
-0187 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0188 c1008000 rtneq commbination_key_state_down 
-0189 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-018a 20600000 rtn 
+018d 204044f6 call mouse_combination_ui_timer 
+018e 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+018f c1008000 rtneq commbination_key_state_down 
+0190 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0191 20600000 rtn 
 
 p_mouse_check_no_data_timeout_timer:
-018b 6fe0c92a fetch 1 ,mem_usb_addr 
-018c c3838000 rtnbit1 7 
-018d da604ab2 arg mem_mouse_no_data_timer ,regc 
-018e da400190 arg p_mouse_check_no_data_timeout ,regb 
-018f 20203191 branch timer_single_step_2b 
+0192 6fe0c92a fetch 1 ,mem_usb_addr 
+0193 c3838000 rtnbit1 7 
+0194 da604ab2 arg mem_mouse_no_data_timer ,regc 
+0195 da400197 arg p_mouse_check_no_data_timeout ,regb 
+0196 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-0190 6fe0c938 fetch 1 ,mem_device_flag 
-0191 c00000da beq mode_24g_device ,p_mouse_24g_hibernate_set 
-0192 2020431b branch mouse_disconnect 
+0197 6fe0c938 fetch 1 ,mem_device_flag 
+0198 c00000d8 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+0199 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0193 6fe1478c fetch 2 ,mem_ui_state_map 
-0194 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0195 2040c581 call mouse_stop_le_adv ,true 
-0196 6fe1478c fetch 2 ,mem_ui_state_map 
-0197 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0198 2040c322 call mouse_cancel_reconnect ,true 
-0199 20204554 branch mouse_start_discovery + 1 
+019a 6fe1478c fetch 2 ,mem_ui_state_map 
+019b 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+019c 2040c581 call mouse_stop_le_adv ,true 
+019d 6fe1478c fetch 2 ,mem_ui_state_map 
+019e 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+019f 2040c322 call mouse_cancel_reconnect ,true 
+01a0 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-019a 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-019b 245a7861 ncall ui_timer_init ,blank 
-019c 704be200 jam 0 ,mem_power_on_flag 
-019d 20207851 branch ui_timer_check + 1 
+01a1 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+01a2 245a7861 ncall ui_timer_init ,blank 
+01a3 704be200 jam 0 ,mem_power_on_flag 
+01a4 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-019e 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-019f 1fe20c00 copy pdata ,contr 
-01a0 efe08006 ifetch 1 ,contr 
-01a1 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-01a2 1fe1040f and pdata ,0x0f ,temp 
-01a3 1ff1fe00 rshift4 pdata ,pdata 
-01a4 c00481a6 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-01a5 20204d93 branch hid_rx_process + 7 
+01a5 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+01a6 1fe20c00 copy pdata ,contr 
+01a7 efe08006 ifetch 1 ,contr 
+01a8 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+01a9 1fe1040f and pdata ,0x0f ,temp 
+01aa 1ff1fe00 rshift4 pdata ,pdata 
+01ab c00481ad beq hid_type_set_idle ,p_hid_rx_process_handshake 
+01ac 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-01a6 da200001 arg 1 ,rega 
-01a7 20404dc0 call hid_malloc_tx_buff 
-01a8 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-01a9 e7e10005 istore 2 ,contw 
-01aa 58000000 setarg 0 
-01ab e7e08005 istore 1 ,contw 
-01ac 70095001 jam 1 ,mem_ui_data_txbuff_length 
-01ad 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-01ae 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-01af 67e0c4e2 store 1 ,mem_hid_control_state 
-01b0 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-01b1 20207871 branch ui_ipc_send_event 
+01ad da200001 arg 1 ,rega 
+01ae 20404dc0 call hid_malloc_tx_buff 
+01af 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+01b0 e7e10005 istore 2 ,contw 
+01b1 58000000 setarg 0 
+01b2 e7e08005 istore 1 ,contw 
+01b3 70095001 jam 1 ,mem_ui_data_txbuff_length 
+01b4 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+01b5 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+01b6 67e0c4e2 store 1 ,mem_hid_control_state 
+01b7 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+01b8 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-01b2 6fe0c3dd fetch 1 ,mem_le_md_count 
-01b3 1fe0fe01 pincrease 1 
-01b4 67e0c3dd store 1 ,mem_le_md_count 
-01b5 c006165a beq le_md_max_count ,le_slave_cont 
-01b6 2040191b call le_acknowledge 
-01b7 2040196a call le_prepare_tx 
-01b8 6fe082bd fetch 1 ,mem_le_tx_phy 
-01b9 2040168b call le_enable_phy_by_pdata 
-01ba 20401838 call le_transmit 
-01bb 20201655 branch le_slave_match + 10 
+01b9 6fe0c3dd fetch 1 ,mem_le_md_count 
+01ba 1fe0fe01 pincrease 1 
+01bb 67e0c3dd store 1 ,mem_le_md_count 
+01bc c006165a beq le_md_max_count ,le_slave_cont 
+01bd 2040191b call le_acknowledge 
+01be 2040196a call le_prepare_tx 
+01bf 6fe082bd fetch 1 ,mem_le_tx_phy 
+01c0 2040168b call le_enable_phy_by_pdata 
+01c1 20401838 call le_transmit 
+01c2 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-01bc efe10006 ifetch 2 ,contr 
-01bd c00201bf beq le_l2cap_cid_att ,p_le_parse_att 
-01be 202019e4 branch le_parse_l2cap + 10 
+01c3 efe10006 ifetch 2 ,contr 
+01c4 c00201c6 beq le_l2cap_cid_att ,p_le_parse_att 
+01c5 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-01bf efe18006 ifetch 3 ,contr 
-01c0 67e1c436 store 3 ,mem_le_att_opcode 
-01c1 c00901c3 beq attop_write_request ,p_le_parse_att_write_request 
-01c2 20201cd3 branch le_parse_att + 2 
+01c6 efe18006 ifetch 3 ,contr 
+01c7 67e1c436 store 3 ,mem_le_att_opcode 
+01c8 c00901ca beq attop_write_request ,p_le_parse_att_write_request 
+01c9 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-01c3 18c22200 copy contr ,rega 
-01c4 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-01c5 1fe0a5fd add pdata ,-3 ,regb 
-01c6 20401a25 call le_writeatt_cb 
-01c7 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01c8 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-01c9 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-01ca 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-01cb 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-01cc c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01cd 5800001a setarg 0x001a 
-01ce 68494437 fetcht 2 ,mem_le_att_handle 
-01cf 98467c00 isub temp ,null 
-01d0 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-01d1 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-01d2 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:
-01d3 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-01d4 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-01d5 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:
-01d6 78547c00 disable user 
-01d7 58000000 setarg 0 
-01d8 67e348d1 store 6 ,mem_mouse_x 
-01d9 20404240 call mouse_check_sensor_data 
-01da 2040408e call mouse_dpi_config 
-01db 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 726)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(working copy)
@@ -336,13 +336,19 @@
 
 p_mouse_priority_bb_event:
 	copy regc,pdata
+	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
 	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
+	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 	beq BT_EVT_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_bb_event_connected:
+	call mouse_no_data_timer_init
+	branch mouse_bb_event_connected
+	
 p_mouse_le_bb_disconnected:
 	jam 0,mem_mouse_le_bb_connected_flag
 	setarg LE_INTERVAL_7_5MS
@@ -379,6 +385,9 @@
 	branch mouse_le_conn_param_lpm_enable
 
 
+p_mouse_24g_pairing_complete:
+	call mouse_no_data_timer_init
+	branch mouse_24g_pairing_complete
 
 p_mouse_24g_attempt_success:
 	fetch 4,mem_24g_addr
@@ -386,6 +395,7 @@
 	store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
 	call g24_ch_syncword_crc8_init
 	call mouse_device_poweron_timer_init
+	call mouse_no_data_timer_init
 	branch mouse_24g_attempt_success
 
 
