Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/format/app_mouse.format	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/format/app_mouse.format	(working copy)
@@ -322,7 +322,7 @@
 3 mem_mouse_set_high_impedance_bit_set
 
 1 mem_sensor_shutdown_flag
-
+2 mem_mouse_le_reconn_led_blink_time
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/eeprom.dat	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-6a
+7e
 04
 c2
 84
@@ -15,11 +15,11 @@
 c0
 45
 80
-2d
+32
 c0
 4f
 80
-38
+3d
 c0
 57
 00
@@ -31,35 +31,35 @@
 c0
 63
 80
-3a
+3f
 c0
 64
 80
-3e
+43
 c0
 65
 00
-49
+4e
 c0
 67
 01
-14
+19
 c0
 68
 00
-78
+7d
 c0
 6b
 00
-52
+57
 c0
 6c
 80
-89
+8e
 c0
 74
 00
-d1
+d6
 20
 20
 13
@@ -67,11 +67,11 @@
 c0
 50
 80
-e5
+ea
 c0
 60
 00
-ef
+f4
 20
 20
 13
@@ -100,6 +100,10 @@
 20
 3b
 c1
+20
+40
+00
+2a
 da
 20
 49
@@ -131,7 +135,7 @@
 c0
 19
 80
-22
+23
 c0
 1a
 3d
@@ -168,6 +172,22 @@
 20
 3d
 73
+20
+40
+49
+8e
+70
+4b
+a7
+00
+6f
+e1
+4b
+e2
+20
+20
+48
+ce
 6f
 f1
 01
@@ -339,23 +359,23 @@
 c0
 1e
 00
-73
+78
 c0
 02
 00
-6c
+71
 c0
 09
 80
-6c
+71
 c0
 19
 00
-59
+5e
 c0
 22
 00
-60
+65
 20
 20
 43
@@ -367,7 +387,7 @@
 c0
 00
 80
-5d
+62
 70
 4b
 76
@@ -491,7 +511,7 @@
 20
 40
 00
-7b
+80
 20
 20
 40
@@ -543,7 +563,7 @@
 20
 3a
 00
-97
+9c
 67
 e0
 cb
@@ -579,11 +599,11 @@
 20
 40
 00
-94
+99
 20
 40
 00
-ac
+b1
 20
 40
 44
@@ -591,7 +611,7 @@
 20
 40
 00
-b7
+bc
 20
 20
 44
@@ -603,7 +623,7 @@
 da
 40
 00
-97
+9c
 20
 20
 31
@@ -659,11 +679,11 @@
 20
 41
 00
-a6
+ab
 24
 41
 00
-aa
+af
 20
 20
 48
@@ -703,7 +723,7 @@
 c2
 9b
 00
-b0
+b5
 20
 60
 00
@@ -723,7 +743,7 @@
 da
 40
 00
-b5
+ba
 20
 20
 31
@@ -735,7 +755,7 @@
 20
 20
 00
-c9
+ce
 6f
 e4
 4b
@@ -771,7 +791,7 @@
 20
 22
 80
-c1
+c6
 20
 20
 44
@@ -779,7 +799,7 @@
 20
 40
 00
-c3
+c8
 20
 20
 44
@@ -791,7 +811,7 @@
 da
 40
 00
-c9
+ce
 20
 40
 31
@@ -867,7 +887,7 @@
 c0
 04
 80
-d9
+de
 20
 20
 4d
@@ -967,7 +987,7 @@
 c0
 02
 00
-f2
+f7
 20
 20
 19
@@ -983,11 +1003,11 @@
 c0
 05
 00
-f7
+fc
 c0
 09
 01
-04
+09
 20
 20
 1c
@@ -1006,8 +1026,8 @@
 c0
 c2
 81
-80
-ff
+81
+04
 6f
 e1
 44
@@ -1034,12 +1054,12 @@
 00
 24
 22
-80
-fb
+81
+00
 24
 34
+01
 00
-fb
 20
 20
 1e
@@ -1132,8 +1152,8 @@
 20
 3f
 75
-b1
-e1
+47
+5a
 aa
 55
 40
@@ -1465,6 +1485,14 @@
 55
 02
 00
+e2
+4b
+64
+00
+aa
+55
+02
+00
 ca
 4b
 07
@@ -2298,38 +2326,10 @@
 aa
 aa
 55
-33
-59
-bd
-40
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+c5
+5b
+49
+6e
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-c7
-a2
+95
+03
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/memmap.format	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/memmap.format	(working copy)
@@ -2203,6 +2203,7 @@
 0x4bd5 mem_customer_key_release
 0x4bde mem_mouse_set_high_impedance_bit_set
 0x4be1 mem_sensor_shutdown_flag
+0x4be2 mem_mouse_le_reconn_led_blink_time
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/program.lis	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/output/program.lis	(working copy)
@@ -2,23 +2,23 @@
               org 0x0000
 0000 c284000f bbit1 8 ,pf_patch_ext 
 0001 c0000012 beq patch00_0 ,p_soft_reset 
-0002 c045802d beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f8038 beq patch13_7 ,p_init_param 
+0002 c0458032 beq patch11_3 ,p_initialize_radio_cont 
+0003 c04f803d beq patch13_7 ,p_init_param 
 0004 c0570016 beq patch15_6 ,p_app_init 
 0005 c0620018 beq patch18_4 ,p_mouse_start_reconnect_device 
-0006 c063803a beq patch18_7 ,p_mouse_app_enter_hibernate 
-0007 c064803e beq patch19_1 ,p_mouse_setgpio_hibernate 
-0008 c0650049 beq patch19_2 ,p_mouse_lpm_before_common 
-0009 c0670114 beq patch19_6 ,p_mouse_motion 
-000a c0680078 beq patch1a_0 ,p_mouse_seting_dpi 
-000b c06b0052 beq patch1a_6 ,p_mouse_priority_bb_event 
-000c c06c8089 beq patch1b_1 ,p_mouse_bb_event_timer 
-000d c07400d1 beq patch1d_0 ,p_hid_rx_process 
+0006 c063803f beq patch18_7 ,p_mouse_app_enter_hibernate 
+0007 c0648043 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0008 c065004e beq patch19_2 ,p_mouse_lpm_before_common 
+0009 c0670119 beq patch19_6 ,p_mouse_motion 
+000a c068007d beq patch1a_0 ,p_mouse_seting_dpi 
+000b c06b0057 beq patch1a_6 ,p_mouse_priority_bb_event 
+000c c06c808e beq patch1b_1 ,p_mouse_bb_event_timer 
+000d c07400d6 beq patch1d_0 ,p_hid_rx_process 
 000e 2020137c branch loop 
 
 pf_patch_ext:
-000f c05080e5 beq patch34_1 ,p_le_slave_match 
-0010 c06000ef beq patch38_0 ,p_le_parse_l2cap 
+000f c05080ea beq patch34_1 ,p_le_slave_match 
+0010 c06000f4 beq patch38_0 ,p_le_parse_l2cap 
 0011 2020137c branch loop 
 
 p_soft_reset:
@@ -34,338 +34,345 @@
 0017 20203bc1 branch mouse_init 
 
 p_mouse_start_reconnect_device:
-0018 da204939 arg mem_device1_type ,rega 
-0019 6fe0c938 fetch 1 ,mem_device_flag 
-001a 1fe0ffff increase -1 ,pdata 
-001b 1feffe1d mul32 pdata ,29 ,pdata 
-001c 9a20a200 iadd rega ,rega 
-001d efe08011 ifetch 1 ,rega 
-001e 67e0c482 store 1 ,mem_xrecord_mode 
-001f c0198022 beq rec_3_mode ,p_mouse3_0_check_reconn_target 
-0020 c01a3d7b beq rec_4_mode ,mouse4_0_check_reconn_target 
-0021 20204553 branch mouse_start_discovery 
+0018 2040002a call p_mouse_bt_reconn_led_blink 
+0019 da204939 arg mem_device1_type ,rega 
+001a 6fe0c938 fetch 1 ,mem_device_flag 
+001b 1fe0ffff increase -1 ,pdata 
+001c 1feffe1d mul32 pdata ,29 ,pdata 
+001d 9a20a200 iadd rega ,rega 
+001e efe08011 ifetch 1 ,rega 
+001f 67e0c482 store 1 ,mem_xrecord_mode 
+0020 c0198023 beq rec_3_mode ,p_mouse3_0_check_reconn_target 
+0021 c01a3d7b beq rec_4_mode ,mouse4_0_check_reconn_target 
+0022 20204553 branch mouse_start_discovery 
 
 p_mouse3_0_check_reconn_target:
-0022 68494bb8 fetcht 2 ,mem_mouse_fast_page_to 
-0023 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0024 c07fbd73 beq 0xff ,mouse3_0_check_reconn_target_next 
-0025 6848c902 fetcht 1 ,mem_mouse_direct_timeout 
-0026 6048cb77 storet 1 ,mem_mouse_direct_timer 
-0027 68494bb5 fetcht 2 ,mem_mouse_page_to 
-0028 20203d73 branch mouse3_0_check_reconn_target_next 
+0023 68494bb8 fetcht 2 ,mem_mouse_fast_page_to 
+0024 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0025 c07fbd73 beq 0xff ,mouse3_0_check_reconn_target_next 
+0026 6848c902 fetcht 1 ,mem_mouse_direct_timeout 
+0027 6048cb77 storet 1 ,mem_mouse_direct_timer 
+0028 68494bb5 fetcht 2 ,mem_mouse_page_to 
+0029 20203d73 branch mouse3_0_check_reconn_target_next 
+
+p_mouse_bt_reconn_led_blink:
+002a 2040498e call mouse_low_voltage_led_blink_disable 
+002b 704ba700 jam 0 ,mem_mouse_device_poweron_timer_count 
+002c 6fe14be2 fetch 2 ,mem_mouse_le_reconn_led_blink_time 
+002d 202048ce branch mouse_discover_setting_led_gpio + 2 
 
 p_lpm_write_ice_disable:
-0029 6ff10120 fetch 2 ,core_ucode_flag 
-002a 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-002b 67f2004c store 4 ,core_lpm_reg 
-002c 20205caf branch lpm_write2_ctrl_option 
+002e 6ff10120 fetch 2 ,core_ucode_flag 
+002f 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+0030 67f2004c store 4 ,core_lpm_reg 
+0031 20205caf branch lpm_write2_ctrl_option 
 
 p_initialize_radio_cont:
-002d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-002e 2040126a call initialize_syn_afc_cfg1 
-002f 20401271 call initialize_rf_ldo_cfg1 
-0030 20401277 call initialize_rc_cal 
-0031 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0032 708a0305 jam 5 ,core_clkpll_cfg0 
-0033 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0034 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0035 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0036 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0037 2020125d branch initialize_radio_cont + 8 
+0032 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0033 2040126a call initialize_syn_afc_cfg1 
+0034 20401271 call initialize_rf_ldo_cfg1 
+0035 20401277 call initialize_rc_cal 
+0036 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0037 708a0305 jam 5 ,core_clkpll_cfg0 
+0038 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0039 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+003a 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+003b 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+003c 2020125d branch initialize_radio_cont + 8 
 
 p_init_param:
-0038 70008000 jam 0 ,mem_lmo_tid2 
-0039 202013b7 branch init_param_next + 1 
+003d 70008000 jam 0 ,mem_lmo_tid2 
+003e 202013b7 branch init_param_next + 1 
 
 p_mouse_app_enter_hibernate:
-003a 58000006 setarg pan_reg_config 
-003b 20405b0d call twspi_read 
-003c c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-003d 20203e21 branch mouse_app_enter_hibernate + 1 
+003f 58000006 setarg pan_reg_config 
+0040 20405b0d call twspi_read 
+0041 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0042 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-003e 204042e9 call mouse_set_sdio_high 
-003f 20407fdc call clear_wake 
-0040 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0041 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0042 20406069 call gpio_out_active 
-0043 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0044 20406042 call gpio_clr_wake 
-0045 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0046 d840003f arg gpcfg_output_high ,temp 
-0047 20406093 call gpio_config_function_int 
-0048 20203e36 branch mouse_setgpio_hibernate + 3 
+0043 204042e9 call mouse_set_sdio_high 
+0044 20407fdc call clear_wake 
+0045 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0046 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0047 20406069 call gpio_out_active 
+0048 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0049 20406042 call gpio_clr_wake 
+004a 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+004b d840003f arg gpcfg_output_high ,temp 
+004c 20406093 call gpio_config_function_int 
+004d 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-0049 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-004a 20406050 call gpio_config_input 
-004b 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-004c 20406050 call gpio_config_input 
-004d 20403f88 call mouse_wheel_check 
-004e 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-004f d840003f arg gpcfg_output_high ,temp 
-0050 20406093 call gpio_config_function_int 
-0051 20203e44 branch mouse_lpm_before_common_next 
+004e 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+004f 20406050 call gpio_config_input 
+0050 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0051 20406050 call gpio_config_input 
+0052 20403f88 call mouse_wheel_check 
+0053 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0054 d840003f arg gpcfg_output_high ,temp 
+0055 20406093 call gpio_config_function_int 
+0056 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_priority_bb_event:
-0052 1a627e00 copy regc ,pdata 
-0053 c01e0073 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0054 c002006c beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0055 c009806c beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_failed 
-0056 c0190059 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0057 c0220060 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-0058 20204336 branch mouse_priority_bb_event + 2 
+0057 1a627e00 copy regc ,pdata 
+0058 c01e0078 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0059 c0020071 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+005a c0098071 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_failed 
+005b c019005e beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+005c c0220065 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+005d 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-0059 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-005a c000805d beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-005b 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-005c 20204373 branch mouse_le_ll_enable_start_enc_flag 
+005e 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+005f c0008062 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0060 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0061 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-005d 2040436c call mouse_updata_le_param 
-005e 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-005f 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0062 2040436c call mouse_updata_le_param 
+0063 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+0064 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0060 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-0061 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0062 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-0063 67e14372 store 2 ,mem_le_interval_min 
-0064 67e14374 store 2 ,mem_le_interval_min + 2 
-0065 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0066 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-0067 98467c00 isub temp ,null 
-0068 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-0069 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-006a 67e0cb8a store 1 ,mem_lpm_mult_init 
-006b 20204386 branch mouse_le_conn_param_lpm_enable 
+0065 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+0066 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0067 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+0068 67e14372 store 2 ,mem_le_interval_min 
+0069 67e14374 store 2 ,mem_le_interval_min + 2 
+006a 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+006b 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+006c 98467c00 isub temp ,null 
+006d 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+006e 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+006f 67e0cb8a store 1 ,mem_lpm_mult_init 
+0070 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_bb_event_reconn_failed:
-006c 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-006d c07fc2f8 beq 0xff ,mouse_buletooth_fast_conn_end 
-006e 6fe1478c fetch 2 ,mem_ui_state_map 
-006f c3860000 rtnbit1 ui_state_btn_down 
-0070 c3830000 rtnbit1 ui_state_bt_discovery 
-0071 c3858000 rtnbit1 ui_state_ble_adv 
-0072 20203e20 branch mouse_app_enter_hibernate 
+0071 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0072 c07fc2f8 beq 0xff ,mouse_buletooth_fast_conn_end 
+0073 6fe1478c fetch 2 ,mem_ui_state_map 
+0074 c3860000 rtnbit1 ui_state_btn_down 
+0075 c3830000 rtnbit1 ui_state_bt_discovery 
+0076 c3858000 rtnbit1 ui_state_ble_adv 
+0077 20203e20 branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0073 6fe2483c fetch 4 ,mem_24g_addr 
-0074 67e24891 store 4 ,mem_24g_receiver_addr 
-0075 67e24993 store 4 ,mem_mouse_24g_addr 
-0076 204048c6 call mouse_device_poweron_timer_init 
-0077 2020484e branch mouse_24g_attempt_success 
+0078 6fe2483c fetch 4 ,mem_24g_addr 
+0079 67e24891 store 4 ,mem_24g_receiver_addr 
+007a 67e24993 store 4 ,mem_mouse_24g_addr 
+007b 204048c6 call mouse_device_poweron_timer_init 
+007c 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_seting_dpi:
-0078 2040408f call mouse_setting_dpi_4_level 
-0079 2040007b call p_mouse_dpi_led_blink_delay 
-007a 20204098 branch mouse_seting_sensor_type 
+007d 2040408f call mouse_setting_dpi_4_level 
+007e 20400080 call p_mouse_dpi_led_blink_delay 
+007f 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-007b 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-007c c17f8000 rtneq gpio_disable 
-007d 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-007e 247a0000 nrtn blank 
-007f 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0080 247a0000 nrtn blank 
-0081 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0082 247a0000 nrtn blank 
-0083 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0084 247a0000 nrtn blank 
-0085 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0086 203a0097 branch p_mouse_dpi_led_blink_init ,blank 
-0087 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0088 20600000 rtn 
+0080 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0081 c17f8000 rtneq gpio_disable 
+0082 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0083 247a0000 nrtn blank 
+0084 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0085 247a0000 nrtn blank 
+0086 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0087 247a0000 nrtn blank 
+0088 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0089 247a0000 nrtn blank 
+008a 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+008b 203a009c branch p_mouse_dpi_led_blink_init ,blank 
+008c 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+008d 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0089 20403e9b call mouse_adc_read 
-008a 20404956 call mouse_low_voltage_led_timer 
-008b 2040232b call g24_pair_timeout_timer 
-008c 20402556 call g24_reconn_timeout_timer 
-008d 204047cd call mouse_24g_long_sleep_param_update_timer 
-008e 204048be call mouse_device_poweron_timer 
-008f 20400094 call p_mouse_dpi_led_blink_delay_timer 
-0090 204000ac call p_mouse_dpi_key_check_long_press 
-0091 204044cc call mouse_bt_discovery_check 
-0092 204000b7 call p_mouse_commbination_key_process 
-0093 202044c0 branch mouse_bb_event_timer + 11 
+008e 20403e9b call mouse_adc_read 
+008f 20404956 call mouse_low_voltage_led_timer 
+0090 2040232b call g24_pair_timeout_timer 
+0091 20402556 call g24_reconn_timeout_timer 
+0092 204047cd call mouse_24g_long_sleep_param_update_timer 
+0093 204048be call mouse_device_poweron_timer 
+0094 20400099 call p_mouse_dpi_led_blink_delay_timer 
+0095 204000b1 call p_mouse_dpi_key_check_long_press 
+0096 204044cc call mouse_bt_discovery_check 
+0097 204000bc call p_mouse_commbination_key_process 
+0098 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_dpi_led_blink_delay_timer:
-0094 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0095 da400097 arg p_mouse_dpi_led_blink_init ,regb 
-0096 2020318a branch timer_single_step 
+0099 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+009a da40009c arg p_mouse_dpi_led_blink_init ,regb 
+009b 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0097 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0098 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0099 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-009a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-009b 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-009c 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-009d 67e14930 store 2 ,mem_mouse_on_time 
-009e 67e14932 store 2 ,mem_mouse_off_time 
-009f da200000 arg 0 ,rega 
-00a0 6848c992 fetcht 1 ,mem_mouse_dpi 
-00a1 18408402 increase 2 ,temp 
-00a2 18467c03 sub temp ,3 ,null 
-00a3 204100a6 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-00a4 244100aa ncall p_mouse_dpi_led_blink_count_clean ,positive 
-00a5 202048ff branch mouse_dpi_led_blink_init_end 
+009c 6fe0c927 fetch 1 ,mem_config_sensor_type 
+009d c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+009e c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+009f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00a0 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+00a1 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+00a2 67e14930 store 2 ,mem_mouse_on_time 
+00a3 67e14932 store 2 ,mem_mouse_off_time 
+00a4 da200000 arg 0 ,rega 
+00a5 6848c992 fetcht 1 ,mem_mouse_dpi 
+00a6 18408402 increase 2 ,temp 
+00a7 18467c03 sub temp ,3 ,null 
+00a8 204100ab call p_mouse_dpi_led_blink_init_level_4 ,positive 
+00a9 244100af ncall p_mouse_dpi_led_blink_count_clean ,positive 
+00aa 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-00a6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a7 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-00a8 18408401 increase 1 ,temp 
-00a9 20600000 rtn 
+00ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ac c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+00ad 18408401 increase 1 ,temp 
+00ae 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-00aa 184085fd increase -3 ,temp 
-00ab 20600000 rtn 
+00af 184085fd increase -3 ,temp 
+00b0 20600000 rtn 
 
 p_mouse_dpi_key_check_long_press:
-00ac 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ad c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
-00ae c29b00b0 bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_mouse_discovery_by_dpi_button 
-00af 20600000 rtn 
+00b1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00b2 c2944080 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+00b3 c29b00b5 bbit1 mouse_enable_dpi_key_long_press_disconvery ,p_mouse_discovery_by_dpi_button 
+00b4 20600000 rtn 
 
 p_mouse_discovery_by_dpi_button:
-00b0 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
-00b1 c1808000 rtnne dpi_button_state_down 
-00b2 da604b9b arg mem_bt_discovery_count ,regc 
-00b3 da4000b5 arg p_mouse_long_dpi_button_bt_discovery ,regb 
-00b4 2020318a branch timer_single_step 
+00b5 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
+00b6 c1808000 rtnne dpi_button_state_down 
+00b7 da604b9b arg mem_bt_discovery_count ,regc 
+00b8 da4000ba arg p_mouse_long_dpi_button_bt_discovery ,regb 
+00b9 2020318a branch timer_single_step 
 
 p_mouse_long_dpi_button_bt_discovery:
-00b5 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
-00b6 202000c9 branch p_mouse_long_button_bt_discovery 
+00ba 7049de01 jam 1 ,mem_mouse_dpi_long_press_flag 
+00bb 202000ce branch p_mouse_long_button_bt_discovery 
 
 p_mouse_commbination_key_process:
-00b7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00b8 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-00b9 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-00ba 6048cb9d storet 1 ,mem_mouse_commbination_key 
-00bb 20404115 call mouse_check_key_gpio 
-00bc 1fe17e07 and pdata ,0x07 ,pdata 
-00bd 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-00be 98467c00 isub temp ,null 
-00bf 202280c1 branch p_mouse_commbination_key_down ,zero 
-00c0 202044eb branch mouse_commbination_key_up 
+00bc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00bd c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+00be 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+00bf 6048cb9d storet 1 ,mem_mouse_commbination_key 
+00c0 20404115 call mouse_check_key_gpio 
+00c1 1fe17e07 and pdata ,0x07 ,pdata 
+00c2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+00c3 98467c00 isub temp ,null 
+00c4 202280c6 branch p_mouse_commbination_key_down ,zero 
+00c5 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-00c1 204000c3 call p_mouse_combination_ui_timer 
-00c2 202044f2 branch mouse_commbination_key_down + 1 
+00c6 204000c8 call p_mouse_combination_ui_timer 
+00c7 202044f2 branch mouse_commbination_key_down + 1 
 
 p_mouse_combination_ui_timer:
-00c3 da604ba0 arg mem_combination_ui_button_count ,regc 
-00c4 da4000c9 arg p_mouse_long_button_bt_discovery ,regb 
-00c5 2040318a call timer_single_step 
-00c6 6fe0cba0 fetch 1 ,mem_combination_ui_button_count 
-00c7 c000c6e2 beq 1 ,mouse_bt_discovery_button_down_enable 
-00c8 20600000 rtn 
+00c8 da604ba0 arg mem_combination_ui_button_count ,regc 
+00c9 da4000ce arg p_mouse_long_button_bt_discovery ,regb 
+00ca 2040318a call timer_single_step 
+00cb 6fe0cba0 fetch 1 ,mem_combination_ui_button_count 
+00cc c000c6e2 beq 1 ,mouse_bt_discovery_button_down_enable 
+00cd 20600000 rtn 
 
 p_mouse_long_button_bt_discovery:
-00c9 70493801 jam mode_bt_device1 ,mem_device_flag 
-00ca 704b7700 jam 0 ,mem_mouse_direct_timer 
-00cb 2040423c call mouse_sensor_powerdown 
-00cc 204078f4 call check_51cmd_stop_adv 
-00cd 7041ca00 jam 0 ,mem_link_key_exists 
-00ce 20404316 call mouse_stop_bluetooth_mode 
-00cf 204045ee call mouse_store_device_info_delay 
-00d0 202044d4 branch mouse_long_button_bt_discovery 
+00ce 70493801 jam mode_bt_device1 ,mem_device_flag 
+00cf 704b7700 jam 0 ,mem_mouse_direct_timer 
+00d0 2040423c call mouse_sensor_powerdown 
+00d1 204078f4 call check_51cmd_stop_adv 
+00d2 7041ca00 jam 0 ,mem_link_key_exists 
+00d3 20404316 call mouse_stop_bluetooth_mode 
+00d4 204045ee call mouse_store_device_info_delay 
+00d5 202044d4 branch mouse_long_button_bt_discovery 
 
 p_hid_rx_process:
-00d1 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-00d2 1fe20c00 copy pdata ,contr 
-00d3 efe08006 ifetch 1 ,contr 
-00d4 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-00d5 1fe1040f and pdata ,0x0f ,temp 
-00d6 1ff1fe00 rshift4 pdata ,pdata 
-00d7 c00480d9 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-00d8 20204d93 branch hid_rx_process + 7 
+00d6 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+00d7 1fe20c00 copy pdata ,contr 
+00d8 efe08006 ifetch 1 ,contr 
+00d9 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+00da 1fe1040f and pdata ,0x0f ,temp 
+00db 1ff1fe00 rshift4 pdata ,pdata 
+00dc c00480de beq hid_type_set_idle ,p_hid_rx_process_handshake 
+00dd 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-00d9 da200001 arg 1 ,rega 
-00da 20404dc0 call hid_malloc_tx_buff 
-00db 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-00dc e7e10005 istore 2 ,contw 
-00dd 58000000 setarg 0 
-00de e7e08005 istore 1 ,contw 
-00df 70095001 jam 1 ,mem_ui_data_txbuff_length 
-00e0 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-00e1 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-00e2 67e0c4e2 store 1 ,mem_hid_control_state 
-00e3 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-00e4 20207871 branch ui_ipc_send_event 
+00de da200001 arg 1 ,rega 
+00df 20404dc0 call hid_malloc_tx_buff 
+00e0 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+00e1 e7e10005 istore 2 ,contw 
+00e2 58000000 setarg 0 
+00e3 e7e08005 istore 1 ,contw 
+00e4 70095001 jam 1 ,mem_ui_data_txbuff_length 
+00e5 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+00e6 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+00e7 67e0c4e2 store 1 ,mem_hid_control_state 
+00e8 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+00e9 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-00e5 6fe0c3dd fetch 1 ,mem_le_md_count 
-00e6 1fe0fe01 pincrease 1 
-00e7 67e0c3dd store 1 ,mem_le_md_count 
-00e8 c006165a beq le_md_max_count ,le_slave_cont 
-00e9 2040191b call le_acknowledge 
-00ea 2040196a call le_prepare_tx 
-00eb 6fe082bd fetch 1 ,mem_le_tx_phy 
-00ec 2040168b call le_enable_phy_by_pdata 
-00ed 20401838 call le_transmit 
-00ee 20201655 branch le_slave_match + 10 
+00ea 6fe0c3dd fetch 1 ,mem_le_md_count 
+00eb 1fe0fe01 pincrease 1 
+00ec 67e0c3dd store 1 ,mem_le_md_count 
+00ed c006165a beq le_md_max_count ,le_slave_cont 
+00ee 2040191b call le_acknowledge 
+00ef 2040196a call le_prepare_tx 
+00f0 6fe082bd fetch 1 ,mem_le_tx_phy 
+00f1 2040168b call le_enable_phy_by_pdata 
+00f2 20401838 call le_transmit 
+00f3 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-00ef efe10006 ifetch 2 ,contr 
-00f0 c00200f2 beq le_l2cap_cid_att ,p_le_parse_att 
-00f1 202019e4 branch le_parse_l2cap2 + 3 
+00f4 efe10006 ifetch 2 ,contr 
+00f5 c00200f7 beq le_l2cap_cid_att ,p_le_parse_att 
+00f6 202019e4 branch le_parse_l2cap2 + 3 
 
 p_le_parse_att:
-00f2 efe18006 ifetch 3 ,contr 
-00f3 67e1c436 store 3 ,mem_le_att_opcode 
-00f4 c00500f7 beq attop_read_request ,p_le_parse_att_read_request 
-00f5 c0090104 beq attop_write_request ,p_le_parse_att_write_request 
-00f6 20201cd3 branch le_parse_att + 2 
+00f7 efe18006 ifetch 3 ,contr 
+00f8 67e1c436 store 3 ,mem_le_att_opcode 
+00f9 c00500fc beq attop_read_request ,p_le_parse_att_read_request 
+00fa c0090109 beq attop_write_request ,p_le_parse_att_write_request 
+00fb 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-00f7 20401e8d call le_check_encrypt_state 
-00f8 68494437 fetcht 2 ,mem_le_att_handle 
-00f9 6fe0c3c0 fetch 1 ,mem_le_configuration 
-00fa c28180ff bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+00fc 20401e8d call le_check_encrypt_state 
+00fd 68494437 fetcht 2 ,mem_le_att_handle 
+00fe 6fe0c3c0 fetch 1 ,mem_le_configuration 
+00ff c2818104 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-00fb 6fe14437 fetch 2 ,mem_le_att_handle 
-00fc c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-00fd 68494437 fetcht 2 ,mem_le_att_handle 
-00fe 20201deb branch le_send_att_read_response 
+0100 6fe14437 fetch 2 ,mem_le_att_handle 
+0101 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+0102 68494437 fetcht 2 ,mem_le_att_handle 
+0103 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-00ff 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0100 98467c00 isub temp ,null 
-0101 242280fb nbranch p_le_send_att_read_response ,zero 
-0102 243400fb nbranch p_le_send_att_read_response ,user 
-0103 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0104 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0105 98467c00 isub temp ,null 
+0106 24228100 nbranch p_le_send_att_read_response ,zero 
+0107 24340100 nbranch p_le_send_att_read_response ,user 
+0108 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0104 18c22200 copy contr ,rega 
-0105 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0106 1fe0a5fd add pdata ,-3 ,regb 
-0107 20401a25 call le_writeatt_cb 
-0108 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0109 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-010a 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-010b 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-010c 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-010d c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-010e 5800001a setarg 0x001a 
-010f 68494437 fetcht 2 ,mem_le_att_handle 
-0110 98467c00 isub temp ,null 
-0111 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0112 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0113 20201ec9 branch le_send_att_error_response 
+0109 18c22200 copy contr ,rega 
+010a 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+010b 1fe0a5fd add pdata ,-3 ,regb 
+010c 20401a25 call le_writeatt_cb 
+010d 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+010e c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+010f 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0110 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0111 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0112 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0113 5800001a setarg 0x001a 
+0114 68494437 fetcht 2 ,mem_le_att_handle 
+0115 98467c00 isub temp ,null 
+0116 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0117 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0118 20201ec9 branch le_send_att_error_response 
 
 p_mouse_motion:
-0114 78547c00 disable user 
-0115 58000000 setarg 0 
-0116 67e348d1 store 6 ,mem_mouse_x 
-0117 20404240 call mouse_check_sensor_data 
-0118 2040408e call mouse_dpi_config 
-0119 20203f75 branch mouse_motion + 5 
+0119 78547c00 disable user 
+011a 58000000 setarg 0 
+011b 67e348d1 store 6 ,mem_mouse_x 
+011c 20404240 call mouse_check_sensor_data 
+011d 2040408e call mouse_dpi_config 
+011e 20203f75 branch mouse_motion + 5 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/program/patch.prog	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/program/patch.prog	(working copy)
@@ -34,6 +34,7 @@
 	branch mouse_init
 	
 p_mouse_start_reconnect_device:
+	call p_mouse_bt_reconn_led_blink
 	arg mem_device1_type,rega
 	fetch 1,mem_device_flag
 	increase -1,pdata
@@ -53,7 +54,13 @@
 	storet 1,mem_mouse_direct_timer
 	fetcht 2,mem_mouse_page_to
 	branch mouse3_0_check_reconn_target_next
-
+	
+p_mouse_bt_reconn_led_blink:
+	call mouse_low_voltage_led_blink_disable
+	jam 0,mem_mouse_device_poweron_timer_count
+	fetch 2,mem_mouse_le_reconn_led_blink_time
+	branch mouse_discover_setting_led_gpio+2
+	
 p_lpm_write_ice_disable:
 	fetch 2,core_ucode_flag
 	set0 lpmreg_ice_mode_bit,pdata
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/sched/mouse.dat	(revision 850)
+++ /YC1308AC/branch/mouse_project/XZR/Standard_2.4G_First/sched/mouse.dat	(working copy)
@@ -179,6 +179,7 @@
 mem_mouse_dpi_led_blink_time: 90 01		#200ms on,200ms off
 mem_mouse_disconvey_led_blink_time: c8 00	#100ms on,100ms off
 mem_mouse_low_v_led_blink_time:90 01		#200ms on,200ms off
+mem_mouse_le_reconn_led_blink_time:64 00
 
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
