Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/eeprom.dat	(revision 587)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-c2
-09
+0e
+0a
 c2
 84
 00
@@ -43,51 +43,51 @@
 c0
 61
 81
-6a
+7d
 c0
 63
 81
-35
+48
 c0
 64
 81
-39
+4c
 c0
 65
 01
-44
+57
 c0
 66
 02
-3e
+51
 c0
 67
 02
-1e
+31
 c0
 68
 01
-79
+8c
 c0
 69
 81
-8a
+9d
 c0
 6b
 01
-4d
+60
 c0
 6c
 81
-a3
+b6
 c0
 6d
 01
-db
+ee
 c0
 74
 01
-e6
+f9
 20
 20
 13
@@ -103,11 +103,11 @@
 c0
 43
 81
-e2
+f5
 c0
 50
-81
-fa
+82
+0d
 c0
 54
 80
@@ -122,12 +122,12 @@
 eb
 c0
 75
-00
-f2
+01
+05
 c0
 76
 02
-1b
+2e
 20
 20
 13
@@ -954,8 +954,8 @@
 ff
 c0
 00
-25
-81
+00
+f2
 6f
 e1
 48
@@ -974,16 +974,92 @@
 00
 20
 40
+25
+9a
+20
+40
+26
+5b
+24
+2c
+00
+f8
+24
+37
+80
+f8
+20
+40
+26
+72
+20
+20
+25
+86
+6f
+e0
+c8
+8c
+20
+3a
+22
+cb
+6f
+e1
+48
+89
+1f
+e0
+fe
+01
+67
+e1
+48
+89
+6f
+e0
+c8
+89
+2f
+ef
+fe
+00
+6f
+e0
+c8
+8b
+c0
+00
+a5
+66
+c0
+01
+25
+66
+c0
+01
+a5
+b1
+c0
+02
+25
+b3
+20
+20
+25
+6e
+20
+40
 26
 31
 24
 34
 01
-01
+14
 20
 40
 01
-15
+28
 20
 40
 26
@@ -994,8 +1070,8 @@
 e1
 24
 3a
-00
-fc
+01
+0f
 6f
 e4
 48
@@ -1039,7 +1115,7 @@
 20
 5a
 01
-07
+1a
 6f
 e0
 c8
@@ -1110,8 +1186,8 @@
 91
 20
 20
-00
-f4
+01
+07
 70
 48
 a6
@@ -1139,11 +1215,11 @@
 24
 2c
 01
-24
+37
 24
 37
 81
-24
+37
 20
 40
 26
@@ -1151,7 +1227,7 @@
 20
 40
 01
-20
+33
 20
 20
 26
@@ -1163,7 +1239,7 @@
 24
 5a
 01
-8c
+9f
 70
 4b
 e1
@@ -1207,11 +1283,11 @@
 20
 40
 01
-2e
+41
 20
 20
 01
-16
+29
 6f
 e0
 c8
@@ -1343,15 +1419,15 @@
 c0
 1e
 01
-65
+78
 c0
 19
 01
-52
+65
 c0
 22
 01
-59
+6c
 20
 20
 43
@@ -1363,7 +1439,7 @@
 c0
 00
 81
-56
+69
 70
 4b
 76
@@ -1467,7 +1543,7 @@
 c0
 00
 01
-6f
+82
 20
 20
 3d
@@ -1519,7 +1595,7 @@
 20
 40
 01
-7c
+8f
 20
 20
 40
@@ -1571,7 +1647,7 @@
 20
 3a
 01
-b1
+c4
 67
 e0
 cb
@@ -1599,7 +1675,7 @@
 c0
 18
 01
-94
+a7
 c0
 18
 c2
@@ -1619,7 +1695,7 @@
 20
 20
 01
-8d
+a0
 6f
 e0
 c9
@@ -1627,7 +1703,7 @@
 c0
 2d
 01
-9d
+b0
 c0
 6c
 41
@@ -1655,7 +1731,7 @@
 20
 20
 01
-8d
+a0
 70
 49
 27
@@ -1687,7 +1763,7 @@
 20
 40
 02
-59
+6c
 20
 40
 23
@@ -1707,7 +1783,7 @@
 20
 40
 01
-ae
+c1
 20
 40
 40
@@ -1719,7 +1795,7 @@
 20
 40
 01
-c6
+d9
 20
 20
 44
@@ -1731,7 +1807,7 @@
 da
 40
 01
-b1
+c4
 20
 20
 31
@@ -1787,11 +1863,11 @@
 20
 41
 01
-c0
+d3
 24
 41
 01
-c4
+d7
 20
 20
 48
@@ -1827,7 +1903,7 @@
 c0
 00
 01
-cc
+df
 6f
 e4
 4b
@@ -1843,7 +1919,7 @@
 20
 20
 01
-cf
+e2
 6f
 e4
 4b
@@ -1879,7 +1955,7 @@
 20
 22
 81
-d6
+e9
 20
 20
 44
@@ -1974,8 +2050,8 @@
 00
 c0
 04
-81
-ee
+82
+01
 20
 20
 4d
@@ -2075,7 +2151,7 @@
 c0
 02
 02
-07
+1a
 20
 20
 19
@@ -2091,7 +2167,7 @@
 c0
 09
 02
-0b
+1e
 20
 20
 1c
@@ -2223,7 +2299,7 @@
 20
 40
 02
-2c
+3f
 20
 20
 45
@@ -2335,7 +2411,7 @@
 24
 21
 02
-57
+6a
 6f
 e0
 c4
@@ -2343,7 +2419,7 @@
 c0
 81
 02
-4f
+62
 68
 49
 48
@@ -2500,8 +2576,8 @@
 60
 00
 00
-99
-1a
+cb
+78
 aa
 55
 40
@@ -2828,7 +2904,7 @@
 0a
 60
 06
-05
+0a
 00
 64
 00
@@ -2965,7 +3041,7 @@
 a8
 40
 36
-a0
+57
 c8
 12
 23
@@ -3737,86 +3813,10 @@
 aa
 aa
 55
-ca
+86
 79
-2f
-5d
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+45
+a8
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-1c
-10
+f9
+4e
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/program.lis	(revision 587)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/program.lis	(working copy)
@@ -9,30 +9,30 @@
 0006 c04f8090 beq patch13_7 ,p_init_param 
 0007 c0570092 beq patch15_6 ,p_app_init 
 0008 c0580071 beq patch16_0 ,p_app_evt_100ms_loop 
-0009 c061816a beq patch18_3 ,p_mouse_start_work 
-000a c0638135 beq patch18_7 ,p_mouse_app_enter_hibernate 
-000b c0648139 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000c c0650144 beq patch19_2 ,p_mouse_lpm_before_common 
-000d c066023e beq patch19_4 ,p_mouse_adc_read_start 
-000e c067021e beq patch19_6 ,p_mouse_motion 
-000f c0680179 beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c069818a beq patch1a_3 ,p_mouse_init_sunt 
-0011 c06b014d beq patch1a_6 ,p_mouse_priority_bb_event 
-0012 c06c81a3 beq patch1b_1 ,p_mouse_bb_event_timer 
-0013 c06d01db beq patch1b_2 ,p_mouse_start_discovery 
-0014 c07401e6 beq patch1d_0 ,p_hid_rx_process 
+0009 c061817d beq patch18_3 ,p_mouse_start_work 
+000a c0638148 beq patch18_7 ,p_mouse_app_enter_hibernate 
+000b c064814c beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c0650157 beq patch19_2 ,p_mouse_lpm_before_common 
+000d c0660251 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670231 beq patch19_6 ,p_mouse_motion 
+000f c068018c beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c069819d beq patch1a_3 ,p_mouse_init_sunt 
+0011 c06b0160 beq patch1a_6 ,p_mouse_priority_bb_event 
+0012 c06c81b6 beq patch1b_1 ,p_mouse_bb_event_timer 
+0013 c06d01ee beq patch1b_2 ,p_mouse_start_discovery 
+0014 c07401f9 beq patch1d_0 ,p_hid_rx_process 
 0015 2020137c branch loop 
 
 pf_patch_ext:
 0016 c0198051 beq patch26_3 ,p_adc_init_data 
 0017 c01a0056 beq patch26_4 ,p_enable_adc 
-0018 c04381e2 beq patch30_7 ,p_ui_timer_check 
-0019 c05081fa beq patch34_1 ,p_le_slave_match 
+0018 c04381f5 beq patch30_7 ,p_ui_timer_check 
+0019 c050820d beq patch34_1 ,p_le_slave_match 
 001a c054808a beq patch35_1 ,p_le_enable 
 001b c07100e4 beq patch3c_2 ,p_g24_pair_dispatch 
 001c c07480eb beq patch3d_1 ,p_g24_reconn_dispatch 
-001d c07500f2 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-001e c076021b beq patch3d_4 ,p_g24_lpm_wait 
+001d c0750105 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+001e c076022e beq patch3d_4 ,p_g24_lpm_wait 
 001f 2020137c branch loop 
 
 p_soft_reset:
@@ -291,497 +291,520 @@
 p_g24_reconn_dispatch:
 00eb 6fe14889 fetch 2 ,mem_24g_reconn_count 
 00ec 1fe17eff and pdata ,0xff ,pdata 
-00ed c0002581 beq 0 ,g24_reconn_dispatch + 1 
+00ed c00000f2 beq 0 ,p_g24_reconn_dispatch_next 
 00ee 6fe14889 fetch 2 ,mem_24g_reconn_count 
 00ef 1fe0fe01 increase 1 ,pdata 
 00f0 67e14889 store 2 ,mem_24g_reconn_count 
 00f1 20600000 rtn 
 
+p_g24_reconn_dispatch_next:
+00f2 2040259a call g24_reconn_data_prep 
+00f3 2040265b call g24_transmit_receive_ack 
+00f4 242c00f8 nbranch p_g24_reconn_device_fail ,sync 
+00f5 243780f8 nbranch p_g24_reconn_device_fail ,user3 
+00f6 20402672 call g24_ackpayload_parse 
+00f7 20202586 branch g24_reconn_receiver_succ 
+
+p_g24_reconn_device_fail:
+00f8 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+00f9 203a22cb branch g24_ch ,blank 
+00fa 6fe14889 fetch 2 ,mem_24g_reconn_count 
+00fb 1fe0fe01 increase 1 ,pdata 
+00fc 67e14889 store 2 ,mem_24g_reconn_count 
+00fd 6fe0c889 fetch 1 ,mem_24g_reconn_count 
+00fe 2feffe00 isolate1 0 ,pdata 
+00ff 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0100 c000a566 beq fast_conn_and_receiver ,g24_reconn_fast_conn 
+0101 c0012566 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn 
+0102 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+0103 c00225b3 beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
+0104 2020256e branch g24_reconn_receiver_addr 
+
 p_g24_transmit_no_interrupt:
-00f2 20402631 call g24_txdata_prep 
-00f3 24340101 nbranch p_g24_nodata_transmit ,user 
+0105 20402631 call g24_txdata_prep 
+0106 24340114 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00f4 20400115 call p_g24_transmit_process 
-00f5 204026ee call power_ctrl_start 
-00f6 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00f7 243a00fc nbranch p_g24_short_sleep ,blank 
-00f8 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-00f9 67e4485c store 8 ,mem_24g_enter_hibernate 
-00fa 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00fb 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0107 20400128 call p_g24_transmit_process 
+0108 204026ee call power_ctrl_start 
+0109 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+010a 243a010f nbranch p_g24_short_sleep ,blank 
+010b 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+010c 67e4485c store 8 ,mem_24g_enter_hibernate 
+010d 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+010e 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00fc 204026bb call g24_lpm_wait 
-00fd 24740000 nrtn user 
-00fe 20407fdc call clear_wake 
-00ff 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0100 202026b8 branch g24_long_sleep2 
+010f 204026bb call g24_lpm_wait 
+0110 24740000 nrtn user 
+0111 20407fdc call clear_wake 
+0112 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0113 202026b8 branch g24_long_sleep2 
 
 p_g24_nodata_transmit:
-0101 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0102 205a0107 call p_g24_send_abort_packet ,blank 
-0103 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0104 c1008000 rtneq g24_tx_timer_int_enable 
-0105 2040269f call g24_search_receiver 
-0106 202026b5 branch g24_long_sleep 
+0114 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0115 205a011a call p_g24_send_abort_packet ,blank 
+0116 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0117 c1008000 rtneq g24_tx_timer_int_enable 
+0118 2040269f call g24_search_receiver 
+0119 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-0107 70483601 jam type_ms ,mem_24g_data_type 
-0108 7048a701 jam 1 ,mem_24g_abort_pac 
-0109 20402642 call g24_transmit_rf_ctrl_clear 
-010a 67e0c7c6 store 1 ,mem_24g_txbuf 
-010b 58000000 setarg 0 
-010c 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-010d 6fe248a9 fetch 4 ,mem_24g_device_addr 
-010e 67e247ce store 4 ,mem_24g_txbuf + 8 
-010f 7048350c jam 12 ,mem_24g_datalen 
-0110 6fe0c836 fetch 1 ,mem_24g_data_type 
-0111 79207e03 set1 bit_abort ,pdata 
-0112 67e0c836 store 1 ,mem_24g_data_type 
-0113 20402291 call g24_transmit_prep 
-0114 202000f4 branch p_g24_transmit_start 
+011a 70483601 jam type_ms ,mem_24g_data_type 
+011b 7048a701 jam 1 ,mem_24g_abort_pac 
+011c 20402642 call g24_transmit_rf_ctrl_clear 
+011d 67e0c7c6 store 1 ,mem_24g_txbuf 
+011e 58000000 setarg 0 
+011f 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+0120 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0121 67e247ce store 4 ,mem_24g_txbuf + 8 
+0122 7048350c jam 12 ,mem_24g_datalen 
+0123 6fe0c836 fetch 1 ,mem_24g_data_type 
+0124 79207e03 set1 bit_abort ,pdata 
+0125 67e0c836 store 1 ,mem_24g_data_type 
+0126 20402291 call g24_transmit_prep 
+0127 20200107 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-0115 7048a600 jam 0 ,mem_24g_retry 
+0128 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0116 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-0117 34730200 until clkn_rt ,meet 
-0118 2040265b call g24_transmit_receive_ack 
-0119 6fe0c82c fetch 1 ,mem_24g_no_ack 
-011a c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-011b 242c0124 nbranch p_g24_retransmit ,sync 
-011c 24378124 nbranch p_g24_retransmit ,user3 
-011d 20402672 call g24_ackpayload_parse 
-011e 20400120 call p_mouse_wakeup_24g 
-011f 20202651 branch g24_transmit_no_ack 
+0129 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+012a 34730200 until clkn_rt ,meet 
+012b 2040265b call g24_transmit_receive_ack 
+012c 6fe0c82c fetch 1 ,mem_24g_no_ack 
+012d c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+012e 242c0137 nbranch p_g24_retransmit ,sync 
+012f 24378137 nbranch p_g24_retransmit ,user3 
+0130 20402672 call g24_ackpayload_parse 
+0131 20400133 call p_mouse_wakeup_24g 
+0132 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-0120 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0121 245a018c ncall p_mouse_init_sensor_wakeup ,blank 
-0122 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0123 20600000 rtn 
+0133 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0134 245a019f ncall p_mouse_init_sensor_wakeup ,blank 
+0135 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0136 20600000 rtn 
 
 p_g24_retransmit:
-0124 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0125 247a0000 nrtn blank 
-0126 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0127 1fe0fe01 increase 1 ,pdata 
-0128 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0129 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-012a c2812679 bbit1 2 ,g24_tx_attempt_fail 
-012b 2040267e call g24_transmit_hop_process 
-012c 2040012e call p_delay_100ms 
-012d 20200116 branch p_g24_transmit_loop 
+0137 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0138 247a0000 nrtn blank 
+0139 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+013a 1fe0fe01 increase 1 ,pdata 
+013b 67e148a3 store 2 ,mem_24g_txfail_cnt 
+013c 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+013d c2812679 bbit1 2 ,g24_tx_attempt_fail 
+013e 2040267e call g24_transmit_hop_process 
+013f 20400141 call p_delay_100ms 
+0140 20200129 branch p_g24_transmit_loop 
 
 p_delay_100ms:
-012e 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-012f 1fe67c01 sub pdata ,0x01 ,null 
-0130 20610000 rtn positive 
-0131 df200064 arg 100 ,loopcnt 
+0141 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0142 1fe67c01 sub pdata ,0x01 ,null 
+0143 20610000 rtn positive 
+0144 df200064 arg 100 ,loopcnt 
 
 p_delay_ms_wait:
-0132 20002ee0 nop 12000 
-0133 c2007d13 loop delay_ms_wait 
-0134 20600000 rtn 
+0145 20002ee0 nop 12000 
+0146 c2007d13 loop delay_ms_wait 
+0147 20600000 rtn 
 
 p_mouse_app_enter_hibernate:
-0135 58000006 setarg pan_reg_config 
-0136 20405b0d call twspi_read 
-0137 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0138 20203e21 branch mouse_app_enter_hibernate + 1 
+0148 58000006 setarg pan_reg_config 
+0149 20405b0d call twspi_read 
+014a c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+014b 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-0139 204042e9 call mouse_set_sdio_high 
-013a 20407fdc call clear_wake 
-013b 20404015 call mouse_before_hibernate_wheel_gpio_set 
-013c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-013d 20406069 call gpio_out_active 
-013e 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-013f 20406042 call gpio_clr_wake 
-0140 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0141 d840003f arg gpcfg_output_high ,temp 
-0142 20406093 call gpio_config_function_int 
-0143 20203e36 branch mouse_setgpio_hibernate + 3 
+014c 204042e9 call mouse_set_sdio_high 
+014d 20407fdc call clear_wake 
+014e 20404015 call mouse_before_hibernate_wheel_gpio_set 
+014f 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0150 20406069 call gpio_out_active 
+0151 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0152 20406042 call gpio_clr_wake 
+0153 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0154 d840003f arg gpcfg_output_high ,temp 
+0155 20406093 call gpio_config_function_int 
+0156 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0144 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-0145 20406050 call gpio_config_input 
-0146 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0147 20406050 call gpio_config_input 
-0148 20403f88 call mouse_wheel_check 
-0149 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-014a d840003f arg gpcfg_output_high ,temp 
-014b 20406093 call gpio_config_function_int 
-014c 20203e44 branch mouse_lpm_before_common_next 
+0157 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0158 20406050 call gpio_config_input 
+0159 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+015a 20406050 call gpio_config_input 
+015b 20403f88 call mouse_wheel_check 
+015c 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+015d d840003f arg gpcfg_output_high ,temp 
+015e 20406093 call gpio_config_function_int 
+015f 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_priority_bb_event:
-014d 1a627e00 copy regc ,pdata 
-014e c01e0165 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-014f c0190152 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0150 c0220159 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-0151 20204336 branch mouse_priority_bb_event + 2 
+0160 1a627e00 copy regc ,pdata 
+0161 c01e0178 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0162 c0190165 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0163 c022016c beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+0164 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-0152 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0153 c0008156 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0154 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0155 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0165 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0166 c0008169 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0167 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0168 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0156 2040436c call mouse_updata_le_param 
-0157 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-0158 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0169 2040436c call mouse_updata_le_param 
+016a 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+016b 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0159 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-015a 1fe67c0c sub pdata ,le_interval_15ms ,null 
-015b 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-015c 67e14372 store 2 ,mem_le_interval_min 
-015d 67e14374 store 2 ,mem_le_interval_min + 2 
-015e 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-015f 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-0160 98467c00 isub temp ,null 
-0161 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-0162 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0163 67e0cb8a store 1 ,mem_lpm_mult_init 
-0164 20204386 branch mouse_le_conn_param_lpm_enable 
+016c 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+016d 1fe67c0c sub pdata ,le_interval_15ms ,null 
+016e 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+016f 67e14372 store 2 ,mem_le_interval_min 
+0170 67e14374 store 2 ,mem_le_interval_min + 2 
+0171 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0172 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0173 98467c00 isub temp ,null 
+0174 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+0175 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0176 67e0cb8a store 1 ,mem_lpm_mult_init 
+0177 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_attempt_success:
-0165 6fe2483c fetch 4 ,mem_24g_addr 
-0166 67e24891 store 4 ,mem_24g_receiver_addr 
-0167 67e24993 store 4 ,mem_mouse_24g_addr 
-0168 204048c6 call mouse_device_poweron_timer_init 
-0169 2020484e branch mouse_24g_attempt_success 
+0178 6fe2483c fetch 4 ,mem_24g_addr 
+0179 67e24891 store 4 ,mem_24g_receiver_addr 
+017a 67e24993 store 4 ,mem_mouse_24g_addr 
+017b 204048c6 call mouse_device_poweron_timer_init 
+017c 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_start_work:
-016a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-016b c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-016c 6fe0c938 fetch 1 ,mem_device_flag 
-016d c000016f beq mode_24g_device ,p_mouse_24g_start_mode 
-016e 20203d57 branch mouse_start_work + 5 
+017d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+017e c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+017f 6fe0c938 fetch 1 ,mem_device_flag 
+0180 c0000182 beq mode_24g_device ,p_mouse_24g_start_mode 
+0181 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-016f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0170 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0171 20403d65 call mouse_wakeup_from_power_check 
-0172 20344806 branch mouse_24g_reconn_dongle_start ,user 
-0173 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0174 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-0175 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0176 20404110 call mouse_key_check_once 
-0177 1a217e07 and rega ,0x07 ,pdata 
-0178 202047ff branch mouse_24g_start_mode + 9 
+0182 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0183 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0184 20403d65 call mouse_wakeup_from_power_check 
+0185 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0186 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0187 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0188 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0189 20404110 call mouse_key_check_once 
+018a 1a217e07 and rega ,0x07 ,pdata 
+018b 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-0179 2040408f call mouse_setting_dpi_4_level 
-017a 2040017c call p_mouse_dpi_led_blink_delay 
-017b 20204098 branch mouse_seting_sensor_type 
+018c 2040408f call mouse_setting_dpi_4_level 
+018d 2040018f call p_mouse_dpi_led_blink_delay 
+018e 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-017c 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-017d c17f8000 rtneq gpio_disable 
-017e 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-017f 247a0000 nrtn blank 
-0180 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0181 247a0000 nrtn blank 
-0182 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0183 247a0000 nrtn blank 
-0184 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0185 247a0000 nrtn blank 
-0186 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0187 203a01b1 branch p_mouse_dpi_led_blink_init ,blank 
-0188 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0189 20600000 rtn 
+018f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0190 c17f8000 rtneq gpio_disable 
+0191 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0192 247a0000 nrtn blank 
+0193 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0194 247a0000 nrtn blank 
+0195 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0196 247a0000 nrtn blank 
+0197 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0198 247a0000 nrtn blank 
+0199 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+019a 203a01c4 branch p_mouse_dpi_led_blink_init ,blank 
+019b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+019c 20600000 rtn 
 
 p_mouse_init_sunt:
-018a 20403f65 call mouse_sensor_spi_init 
-018b 20758000 rtn wake 
+019d 20403f65 call mouse_sensor_spi_init 
+019e 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-018c 20404236 call mouse_sensor_poweron 
+019f 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-018d 204041b5 call mouse_read_sensor_id 
-018e c0180194 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-018f c018c217 beq p3065_id1 ,mouse_init_p3065 
-0190 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-0191 204041b2 call mouse_twspi_reset 
-0192 20001af4 nop 6900 
-0193 2020018d branch p_mouse_init_sensor 
+01a0 204041b5 call mouse_read_sensor_id 
+01a1 c01801a7 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+01a2 c018c217 beq p3065_id1 ,mouse_init_p3065 
+01a3 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+01a4 204041b2 call mouse_twspi_reset 
+01a5 20001af4 nop 6900 
+01a6 202001a0 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-0194 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-0195 c02d019d beq p_mx8650 ,p_mouse_mx8650_init_param 
-0196 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-0197 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0198 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-0199 c00141ea beq p3212_id2 ,mouse_3212_init_param 
-019a c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-019b c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-019c 2020018d branch p_mouse_init_sensor 
+01a7 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+01a8 c02d01b0 beq p_mx8650 ,p_mouse_mx8650_init_param 
+01a9 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+01aa c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+01ab c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+01ac c00141ea beq p3212_id2 ,mouse_3212_init_param 
+01ad c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+01ae c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+01af 202001a0 branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-019d 70492705 jam mx8650 ,mem_config_sensor_type 
-019e 20404232 call mouse_sensor_reset 
-019f 20407d12 call delay_10ms 
-01a0 da604be6 arg mem_sensor_8650_init_new ,regc 
-01a1 2040422b call mouse_sensor_wr_seq 
-01a2 2020408e branch mouse_dpi_config 
+01b0 70492705 jam mx8650 ,mem_config_sensor_type 
+01b1 20404232 call mouse_sensor_reset 
+01b2 20407d12 call delay_10ms 
+01b3 da604be6 arg mem_sensor_8650_init_new ,regc 
+01b4 2040422b call mouse_sensor_wr_seq 
+01b5 2020408e branch mouse_dpi_config 
 
 p_mouse_bb_event_timer:
-01a3 20403e9b call mouse_adc_read 
-01a4 20400259 call p_mouse_low_voltage_led_timer 
-01a5 2040232b call g24_pair_timeout_timer 
-01a6 20402556 call g24_reconn_timeout_timer 
-01a7 204047cd call mouse_24g_long_sleep_param_update_timer 
-01a8 204048be call mouse_device_poweron_timer 
-01a9 204001ae call p_mouse_dpi_led_blink_delay_timer 
-01aa 2040407c call mouse_dpi_key_check_long_press 
-01ab 204044cc call mouse_bt_discovery_check 
-01ac 204001c6 call p_mouse_commbination_key_process 
-01ad 202044c0 branch mouse_bb_event_timer + 11 
+01b6 20403e9b call mouse_adc_read 
+01b7 2040026c call p_mouse_low_voltage_led_timer 
+01b8 2040232b call g24_pair_timeout_timer 
+01b9 20402556 call g24_reconn_timeout_timer 
+01ba 204047cd call mouse_24g_long_sleep_param_update_timer 
+01bb 204048be call mouse_device_poweron_timer 
+01bc 204001c1 call p_mouse_dpi_led_blink_delay_timer 
+01bd 2040407c call mouse_dpi_key_check_long_press 
+01be 204044cc call mouse_bt_discovery_check 
+01bf 204001d9 call p_mouse_commbination_key_process 
+01c0 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_dpi_led_blink_delay_timer:
-01ae da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01af da4001b1 arg p_mouse_dpi_led_blink_init ,regb 
-01b0 2020318a branch timer_single_step 
+01c1 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01c2 da4001c4 arg p_mouse_dpi_led_blink_init ,regb 
+01c3 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01b1 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01b2 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01b3 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01b4 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01b5 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01b6 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01b7 67e14930 store 2 ,mem_mouse_on_time 
-01b8 67e14932 store 2 ,mem_mouse_off_time 
-01b9 da200000 arg 0 ,rega 
-01ba 6848c992 fetcht 1 ,mem_mouse_dpi 
-01bb 18408402 increase 2 ,temp 
-01bc 18467c03 sub temp ,3 ,null 
-01bd 204101c0 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-01be 244101c4 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-01bf 202048ff branch mouse_dpi_led_blink_init_end 
+01c4 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01c5 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01c6 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01c7 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01c8 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01c9 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01ca 67e14930 store 2 ,mem_mouse_on_time 
+01cb 67e14932 store 2 ,mem_mouse_off_time 
+01cc da200000 arg 0 ,rega 
+01cd 6848c992 fetcht 1 ,mem_mouse_dpi 
+01ce 18408402 increase 2 ,temp 
+01cf 18467c03 sub temp ,3 ,null 
+01d0 204101d3 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01d1 244101d7 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01d2 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-01c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01c1 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-01c2 18408401 increase 1 ,temp 
-01c3 20600000 rtn 
+01d3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01d4 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01d5 18408401 increase 1 ,temp 
+01d6 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-01c4 184085fd increase -3 ,temp 
-01c5 20600000 rtn 
+01d7 184085fd increase -3 ,temp 
+01d8 20600000 rtn 
 
 p_mouse_commbination_key_process:
-01c6 6fe0c938 fetch 1 ,mem_device_flag 
-01c7 c00001cc beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-01c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01c9 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-01ca 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-01cb 202001cf branch p_mouse_commbination_key_start 
+01d9 6fe0c938 fetch 1 ,mem_device_flag 
+01da c00001df beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+01db 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01dc c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+01dd 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+01de 202001e2 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-01cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01cd c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-01ce 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+01df 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01e0 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+01e1 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-01cf 6048cb9d storet 1 ,mem_mouse_commbination_key 
-01d0 20404115 call mouse_check_key_gpio 
-01d1 1fe17e07 and pdata ,0x07 ,pdata 
-01d2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-01d3 98467c00 isub temp ,null 
-01d4 202281d6 branch p_mouse_commbination_key_down ,zero 
-01d5 202044eb branch mouse_commbination_key_up 
+01e2 6048cb9d storet 1 ,mem_mouse_commbination_key 
+01e3 20404115 call mouse_check_key_gpio 
+01e4 1fe17e07 and pdata ,0x07 ,pdata 
+01e5 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+01e6 98467c00 isub temp ,null 
+01e7 202281e9 branch p_mouse_commbination_key_down ,zero 
+01e8 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-01d6 204044f6 call mouse_combination_ui_timer 
-01d7 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-01d8 c1008000 rtneq commbination_key_state_down 
-01d9 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-01da 20600000 rtn 
+01e9 204044f6 call mouse_combination_ui_timer 
+01ea 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+01eb c1008000 rtneq commbination_key_state_down 
+01ec 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+01ed 20600000 rtn 
 
 p_mouse_start_discovery:
-01db 6fe1478c fetch 2 ,mem_ui_state_map 
-01dc 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-01dd 2040c581 call mouse_stop_le_adv ,true 
-01de 6fe1478c fetch 2 ,mem_ui_state_map 
-01df 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-01e0 2040c322 call mouse_cancel_reconnect ,true 
-01e1 20204554 branch mouse_start_discovery + 1 
+01ee 6fe1478c fetch 2 ,mem_ui_state_map 
+01ef 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+01f0 2040c581 call mouse_stop_le_adv ,true 
+01f1 6fe1478c fetch 2 ,mem_ui_state_map 
+01f2 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+01f3 2040c322 call mouse_cancel_reconnect ,true 
+01f4 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-01e2 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-01e3 245a7861 ncall ui_timer_init ,blank 
-01e4 704be200 jam 0 ,mem_power_on_flag 
-01e5 20207851 branch ui_timer_check + 1 
+01f5 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+01f6 245a7861 ncall ui_timer_init ,blank 
+01f7 704be200 jam 0 ,mem_power_on_flag 
+01f8 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-01e6 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-01e7 1fe20c00 copy pdata ,contr 
-01e8 efe08006 ifetch 1 ,contr 
-01e9 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-01ea 1fe1040f and pdata ,0x0f ,temp 
-01eb 1ff1fe00 rshift4 pdata ,pdata 
-01ec c00481ee beq hid_type_set_idle ,p_hid_rx_process_handshake 
-01ed 20204d93 branch hid_rx_process + 7 
+01f9 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+01fa 1fe20c00 copy pdata ,contr 
+01fb efe08006 ifetch 1 ,contr 
+01fc 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+01fd 1fe1040f and pdata ,0x0f ,temp 
+01fe 1ff1fe00 rshift4 pdata ,pdata 
+01ff c0048201 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0200 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-01ee da200001 arg 1 ,rega 
-01ef 20404dc0 call hid_malloc_tx_buff 
-01f0 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-01f1 e7e10005 istore 2 ,contw 
-01f2 58000000 setarg 0 
-01f3 e7e08005 istore 1 ,contw 
-01f4 70095001 jam 1 ,mem_ui_data_txbuff_length 
-01f5 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-01f6 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-01f7 67e0c4e2 store 1 ,mem_hid_control_state 
-01f8 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-01f9 20207871 branch ui_ipc_send_event 
+0201 da200001 arg 1 ,rega 
+0202 20404dc0 call hid_malloc_tx_buff 
+0203 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0204 e7e10005 istore 2 ,contw 
+0205 58000000 setarg 0 
+0206 e7e08005 istore 1 ,contw 
+0207 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0208 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0209 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+020a 67e0c4e2 store 1 ,mem_hid_control_state 
+020b 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+020c 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-01fa 6fe0c3dd fetch 1 ,mem_le_md_count 
-01fb 1fe0fe01 pincrease 1 
-01fc 67e0c3dd store 1 ,mem_le_md_count 
-01fd c006165a beq le_md_max_count ,le_slave_cont 
-01fe 2040191b call le_acknowledge 
-01ff 2040196a call le_prepare_tx 
-0200 6fe082bd fetch 1 ,mem_le_tx_phy 
-0201 2040168b call le_enable_phy_by_pdata 
-0202 20401838 call le_transmit 
-0203 20201655 branch le_slave_match + 10 
+020d 6fe0c3dd fetch 1 ,mem_le_md_count 
+020e 1fe0fe01 pincrease 1 
+020f 67e0c3dd store 1 ,mem_le_md_count 
+0210 c006165a beq le_md_max_count ,le_slave_cont 
+0211 2040191b call le_acknowledge 
+0212 2040196a call le_prepare_tx 
+0213 6fe082bd fetch 1 ,mem_le_tx_phy 
+0214 2040168b call le_enable_phy_by_pdata 
+0215 20401838 call le_transmit 
+0216 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-0204 efe10006 ifetch 2 ,contr 
-0205 c0020207 beq le_l2cap_cid_att ,p_le_parse_att 
-0206 202019e4 branch le_parse_l2cap + 10 
+0217 efe10006 ifetch 2 ,contr 
+0218 c002021a beq le_l2cap_cid_att ,p_le_parse_att 
+0219 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0207 efe18006 ifetch 3 ,contr 
-0208 67e1c436 store 3 ,mem_le_att_opcode 
-0209 c009020b beq attop_write_request ,p_le_parse_att_write_request 
-020a 20201cd3 branch le_parse_att + 2 
+021a efe18006 ifetch 3 ,contr 
+021b 67e1c436 store 3 ,mem_le_att_opcode 
+021c c009021e beq attop_write_request ,p_le_parse_att_write_request 
+021d 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-020b 18c22200 copy contr ,rega 
-020c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-020d 1fe0a5fd add pdata ,-3 ,regb 
-020e 20401a25 call le_writeatt_cb 
-020f 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0210 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0211 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0212 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0213 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0214 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0215 5800001a setarg 0x001a 
-0216 68494437 fetcht 2 ,mem_le_att_handle 
-0217 98467c00 isub temp ,null 
-0218 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0219 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-021a 20201ec9 branch le_send_att_error_response 
+021e 18c22200 copy contr ,rega 
+021f 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0220 1fe0a5fd add pdata ,-3 ,regb 
+0221 20401a25 call le_writeatt_cb 
+0222 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0223 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0224 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0225 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0226 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0227 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0228 5800001a setarg 0x001a 
+0229 68494437 fetcht 2 ,mem_le_att_handle 
+022a 98467c00 isub temp ,null 
+022b 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+022c 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+022d 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-021b 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-021c 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-021d 202026bc branch g24_lpm_wait + 1 
+022e 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+022f 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0230 202026bc branch g24_lpm_wait + 1 
 
 p_mouse_motion:
-021e 78547c00 disable user 
-021f 58000000 setarg 0 
-0220 67e348d1 store 6 ,mem_mouse_x 
-0221 20404240 call mouse_check_sensor_data 
-0222 2040408e call mouse_dpi_config 
-0223 20403f7e call mouse_zwheel 
-0224 20403f83 call mouse_t_zwheel 
-0225 204040dc call mouse_key 
-0226 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0227 1fe17e1f and_into 0x1f ,pdata 
-0228 67e0c8d0 store 1 ,mem_mouse_key 
-0229 24344728 nbranch mouse_drawing_optima_init ,user 
-022a 2040022c call p_mouse_drawing_optima 
-022b 20204544 branch mouse_no_data_timer_init 
+0231 78547c00 disable user 
+0232 58000000 setarg 0 
+0233 67e348d1 store 6 ,mem_mouse_x 
+0234 20404240 call mouse_check_sensor_data 
+0235 2040408e call mouse_dpi_config 
+0236 20403f7e call mouse_zwheel 
+0237 20403f83 call mouse_t_zwheel 
+0238 204040dc call mouse_key 
+0239 6fe0c8d0 fetch 1 ,mem_mouse_key 
+023a 1fe17e1f and_into 0x1f ,pdata 
+023b 67e0c8d0 store 1 ,mem_mouse_key 
+023c 24344728 nbranch mouse_drawing_optima_init ,user 
+023d 2040023f call p_mouse_drawing_optima 
+023e 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-022c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-022d c41c0000 rtnbit0 mouse_enable_smoother 
-022e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-022f c1018000 rtneq p3212 
-0230 c1000000 rtneq p3205 
-0231 6fe248d1 fetch 4 ,mem_mouse_x 
-0232 207a0000 rtn blank 
-0233 204047bd call mouse_data_abs_check 
-0234 58000006 setarg 0x06 
-0235 204047b3 call mouse_pdata_greater_than_check 
-0236 205a47af call mouse_disable_asm ,blank 
-0237 245a47b1 ncall mouse_enable_asm ,blank 
-0238 58000004 setarg 0x04 
-0239 204047b8 call mouse_data_less_than_check 
-023a 205a47af call mouse_disable_asm ,blank 
-023b 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
-023c c000c72d beq 1 ,mouse_drawing_optima_modify 
-023d 20204728 branch mouse_drawing_optima_init 
+023f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0240 c41c0000 rtnbit0 mouse_enable_smoother 
+0241 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0242 c1018000 rtneq p3212 
+0243 c1000000 rtneq p3205 
+0244 6fe248d1 fetch 4 ,mem_mouse_x 
+0245 207a0000 rtn blank 
+0246 204047bd call mouse_data_abs_check 
+0247 58000006 setarg 0x06 
+0248 204047b3 call mouse_pdata_greater_than_check 
+0249 205a47af call mouse_disable_asm ,blank 
+024a 245a47b1 ncall mouse_enable_asm ,blank 
+024b 58000004 setarg 0x04 
+024c 204047b8 call mouse_data_less_than_check 
+024d 205a47af call mouse_disable_asm ,blank 
+024e 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
+024f c000c72d beq 1 ,mouse_drawing_optima_modify 
+0250 20204728 branch mouse_drawing_optima_init 
 
 p_mouse_adc_read_start:
-023e 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-023f 247a0000 nrtn blank 
-0240 20400056 call p_enable_adc 
-0241 7048f600 jam 0 ,mem_adc_read_timer 
-0242 20406125 call vdd_calculate_by_mode 
-0243 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-0244 d8400012 arg 0x0012 ,temp 
-0245 98467c00 isub temp ,null 
-0246 24210257 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-0247 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-0248 c081024f bne adc_config_gpio ,p_mouse_adc_data_process 
-0249 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-024a 184ffe08 mul32 temp ,8 ,pdata 
-024b 1fe6fc0a div pdata ,10 
-024c 20407dec call get_div_result 
-024d 9840fe00 iadd temp ,pdata 
-024e 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0251 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0252 247a0000 nrtn blank 
+0253 20400056 call p_enable_adc 
+0254 7048f600 jam 0 ,mem_adc_read_timer 
+0255 20406125 call vdd_calculate_by_mode 
+0256 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0257 d8400012 arg 0x0012 ,temp 
+0258 98467c00 isub temp ,null 
+0259 2421026a nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+025a 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+025b c0810262 bne adc_config_gpio ,p_mouse_adc_data_process 
+025c 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+025d 184ffe08 mul32 temp ,8 ,pdata 
+025e 1fe6fc0a div pdata ,10 
+025f 20407dec call get_div_result 
+0260 9840fe00 iadd temp ,pdata 
+0261 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-024f da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0250 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0251 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0252 c2813f1a bbit1 2 ,mouse_adc_button_press 
-0253 c280bf1c bbit1 1 ,mouse_power_down 
-0254 c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
-0255 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0256 20203ece branch mouse_adc_low_voltage 
+0262 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0263 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0264 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+0265 c2813f1a bbit1 2 ,mouse_adc_button_press 
+0266 c280bf1c bbit1 1 ,mouse_power_down 
+0267 c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
+0268 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0269 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-0257 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-0258 20403f54 call mouse_gpio_config_input_pd 
+026a 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+026b 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_low_voltage_led_timer:
-0259 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-025a 247a0000 nrtn blank 
-025b 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-025c 247a0000 nrtn blank 
-025d 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-025e 247a0000 nrtn blank 
-025f 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0260 247a0000 nrtn blank 
-0261 20404904 call mouse_check_dpi_blink 
-0262 20740000 rtn user 
-0263 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0264 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0265 c4020000 rtnbit0 mouse_low_voltage_flag 
-0266 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-0267 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0268 1fe0fe01 increase 1 ,pdata 
-0269 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-026a 1fe67c08 sub pdata ,8 ,null 
-026b 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
-026c c001c970 beq 3 ,mouse_low_voltage_led_on 
-026d c002c976 beq 5 ,mouse_low_voltage_led_off 
-026e c003c970 beq 7 ,mouse_low_voltage_led_on 
-026f 20600000 rtn 
+026c 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+026d 247a0000 nrtn blank 
+026e 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+026f 247a0000 nrtn blank 
+0270 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0271 247a0000 nrtn blank 
+0272 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0273 247a0000 nrtn blank 
+0274 20404904 call mouse_check_dpi_blink 
+0275 20740000 rtn user 
+0276 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0277 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+0278 c4020000 rtnbit0 mouse_low_voltage_flag 
+0279 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+027a 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+027b 1fe0fe01 increase 1 ,pdata 
+027c 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+027d 1fe67c08 sub pdata ,8 ,null 
+027e 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+027f c001c970 beq 3 ,mouse_low_voltage_led_on 
+0280 c002c976 beq 5 ,mouse_low_voltage_led_off 
+0281 c003c970 beq 7 ,mouse_low_voltage_led_on 
+0282 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/program/patch.prog	(revision 587)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/program/patch.prog	(working copy)
@@ -320,12 +320,33 @@
 p_g24_reconn_dispatch:
 	fetch 2,mem_24g_reconn_count
 	and pdata,0xff,pdata
-	beq 0,g24_reconn_dispatch+1
+	beq 0,p_g24_reconn_dispatch_next
 	fetch 2,mem_24g_reconn_count
 	increase 1,pdata
 	store 2,mem_24g_reconn_count
 	rtn
-	
+p_g24_reconn_dispatch_next:
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch p_g24_reconn_device_fail,sync
+	nbranch p_g24_reconn_device_fail,user3
+	call g24_ackpayload_parse
+	branch g24_reconn_receiver_succ
+p_g24_reconn_device_fail:
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_ch,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	fetch 1,mem_24g_reconn_count
+	isolate1 0,pdata	// each 8 times switch
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
+	beq PAIR_AND_3_0_ADDR,g24_reconn_pair_and_3_0
+	branch g24_reconn_receiver_addr
+
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch p_g24_nodata_transmit,user
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/sched/mouse.dat	(revision 587)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/sched/mouse.dat	(working copy)
@@ -175,7 +175,7 @@
 mem_mouse_page_to:00 40		# 16384*0.625ms=10s
 mem_mouse_fast_direct_timeout:0a #1s
 mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
-mem_mouse_24g_power_on_fast_conn_timer:05 00 #500ms
+mem_mouse_24g_power_on_fast_conn_timer:0a 00 #1s
 mem_mouse_24g_search_dongle_time_init: 64 00
 mem_mouse_no_data_timeout:70 17 #10min
 
@@ -219,7 +219,7 @@
 mem_lpm_mult_init:20
 
 mem_app_connection_options:06
-mem_lap:36 a0 c8 12 23 51
+mem_lap:36 57 c8 12 23 51
 mem_local_name_length:
 'Bluetooth Mouse 3.0
 mem_sniff_param_interval:
