Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/format/app_mouse.format	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/format/app_mouse.format	(working copy)
@@ -349,6 +349,7 @@
 1 mem_mouse_multi_led_blink_timer
 1 mem_mouse_led_multi_logo_led
 1 mem_mouse_multi_led_enable
+1 mem_mouse_adv_flag
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/eeprom.dat	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-f2
-11
+1e
+12
 c2
 84
 00
@@ -43,7 +43,7 @@
 c0
 62
 02
-6a
+6e
 c0
 63
 81
@@ -63,11 +63,11 @@
 c0
 67
 03
-74
+7f
 c0
 67
 84
-4c
+57
 c0
 68
 02
@@ -75,11 +75,11 @@
 c0
 68
 83
-ba
+c5
 c0
 6a
 03
-a0
+ab
 c0
 6b
 01
@@ -91,15 +91,15 @@
 c0
 6d
 03
-02
+0c
 c0
 6f
 03
-f0
+fb
 c0
 74
 03
-26
+31
 20
 20
 13
@@ -115,15 +115,15 @@
 c0
 43
 83
-22
+2d
 c0
 50
 83
-3a
+45
 c0
 60
 03
-44
+4f
 c0
 6e
 82
@@ -143,7 +143,7 @@
 c0
 76
 03
-6b
+76
 20
 20
 13
@@ -587,7 +587,7 @@
 20
 40
 03
-b2
+bd
 6f
 e0
 c9
@@ -675,7 +675,7 @@
 20
 40
 02
-8b
+95
 20
 40
 3d
@@ -999,7 +999,7 @@
 20
 20
 03
-b2
+bd
 20
 40
 26
@@ -1243,11 +1243,11 @@
 20
 40
 03
-ab
+b6
 20
 40
 03
-b2
+bd
 20
 20
 3e
@@ -1267,11 +1267,11 @@
 20
 20
 02
-98
+a2
 20
 40
 02
-8b
+95
 20
 40
 42
@@ -1551,7 +1551,7 @@
 20
 40
 03
-b2
+bd
 20
 20
 01
@@ -1643,7 +1643,7 @@
 20
 40
 02
-70
+79
 20
 20
 43
@@ -1655,7 +1655,7 @@
 20
 40
 02
-70
+79
 20
 20
 43
@@ -1783,7 +1783,7 @@
 20
 40
 02
-70
+79
 20
 40
 45
@@ -1795,7 +1795,7 @@
 20
 40
 02
-70
+79
 6f
 e2
 48
@@ -2163,15 +2163,15 @@
 20
 40
 03
-1e
+29
 20
 40
 03
-10
+1b
 20
 40
 02
-73
+7c
 6f
 e4
 4b
@@ -2375,7 +2375,7 @@
 20
 3a
 02
-b8
+c2
 67
 e0
 cb
@@ -2407,15 +2407,15 @@
 20
 40
 02
-d8
+e2
 20
 40
 02
-b5
+bf
 20
 40
 02
-75
+7f
 20
 40
 40
@@ -2427,23 +2427,23 @@
 20
 40
 02
-e0
+ea
 20
 40
 44
 ff
 20
 40
-45
-04
+02
+6a
 20
 40
 45
 12
 20
 40
-02
-f7
+03
+01
 20
 40
 45
@@ -2474,12 +2474,32 @@
 47
 20
 20
-02
-fa
+03
+04
+da
+60
+4b
+77
+da
+40
+45
+0a
+20
+40
+31
+8a
+20
+20
+45
+07
+70
+4c
+00
+00
 20
 40
 02
-6c
+71
 20
 20
 3d
@@ -2492,10 +2512,26 @@
 4b
 fc
 01
+6f
+e0
+cc
+00
+20
+3a
+02
+77
 70
 4b
 fd
-03
+02
+20
+60
+00
+00
+70
+4b
+fd
+05
 20
 60
 00
@@ -2516,6 +2552,10 @@
 4b
 ff
 00
+70
+4c
+00
+00
 20
 60
 00
@@ -2535,7 +2575,7 @@
 c0
 00
 82
-82
+8c
 6f
 e1
 4a
@@ -2567,11 +2607,11 @@
 20
 21
 02
-88
+92
 20
 20
 02
-8b
+95
 da
 60
 4b
@@ -2579,15 +2619,15 @@
 da
 40
 02
-85
+8f
 20
 20
 31
 8a
-70
-4b
-fd
-03
+20
+40
+02
+73
 6f
 e0
 cb
@@ -2595,7 +2635,7 @@
 c0
 00
 82
-8b
+95
 70
 4b
 fb
@@ -2659,7 +2699,7 @@
 20
 21
 02
-9e
+a8
 6f
 e0
 cb
@@ -2783,7 +2823,7 @@
 da
 40
 02
-b8
+c2
 20
 20
 31
@@ -2795,7 +2835,7 @@
 c0
 01
 82
-cd
+d7
 c0
 05
 c8
@@ -2839,11 +2879,11 @@
 20
 41
 02
-c7
+d1
 24
 41
 02
-cb
+d5
 20
 20
 48
@@ -2955,7 +2995,7 @@
 c0
 00
 02
-e6
+f0
 6f
 e4
 4b
@@ -2971,7 +3011,7 @@
 20
 20
 02
-e9
+f3
 6f
 e4
 4b
@@ -3007,7 +3047,7 @@
 20
 22
 82
-f0
+fa
 20
 20
 44
@@ -3015,7 +3055,7 @@
 20
 40
 02
-f5
+ff
 6f
 e0
 cb
@@ -3066,8 +3106,8 @@
 b2
 da
 40
-02
-ff
+03
+09
 20
 20
 31
@@ -3084,10 +3124,14 @@
 20
 43
 1b
+70
+4c
+00
+01
 20
 40
 02
-6c
+71
 6f
 e1
 47
@@ -3131,7 +3175,7 @@
 c2
 95
 03
-10
+1b
 c2
 95
 be
@@ -3171,7 +3215,7 @@
 20
 20
 03
-19
+24
 70
 49
 38
@@ -3255,7 +3299,7 @@
 c0
 04
 83
-2e
+39
 20
 20
 4d
@@ -3355,7 +3399,7 @@
 c0
 02
 03
-47
+52
 20
 20
 19
@@ -3371,11 +3415,11 @@
 c0
 05
 03
-4c
+57
 c0
 09
 03
-5b
+66
 20
 20
 1c
@@ -3403,7 +3447,7 @@
 c2
 81
 83
-56
+61
 6f
 e1
 44
@@ -3431,11 +3475,11 @@
 24
 22
 83
-52
+5d
 24
 34
 03
-52
+5d
 20
 20
 1e
@@ -3559,11 +3603,11 @@
 20
 40
 03
-7c
+87
 20
 40
 03
-82
+8d
 20
 40
 02
@@ -3619,7 +3663,7 @@
 20
 40
 03
-8d
+98
 67
 e1
 48
@@ -3631,7 +3675,7 @@
 20
 40
 03
-8d
+98
 67
 e1
 48
@@ -3643,11 +3687,11 @@
 c2
 85
 83
-90
+9b
 c3
 05
 83
-94
+9f
 20
 60
 00
@@ -3659,7 +3703,7 @@
 20
 40
 03
-94
+9f
 1f
 e6
 7e
@@ -3695,7 +3739,7 @@
 24
 41
 03
-9d
+a8
 6f
 e1
 4b
@@ -3727,7 +3771,7 @@
 c0
 05
 83
-a7
+b2
 20
 40
 42
@@ -3747,7 +3791,7 @@
 20
 40
 03
-ae
+b9
 da
 60
 4b
@@ -3767,7 +3811,7 @@
 c0
 05
 83
-ae
+b9
 20
 20
 42
@@ -3803,7 +3847,7 @@
 c0
 05
 83
-b8
+c3
 58
 00
 08
@@ -3835,23 +3879,23 @@
 20
 40
 03
-c3
+ce
 20
 40
 03
-c8
+d3
 20
 40
 03
-cd
+d8
 20
 40
 03
-d2
+dd
 20
 40
 03
-df
+ea
 20
 20
 41
@@ -3863,7 +3907,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3883,7 +3927,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3903,7 +3947,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3947,7 +3991,7 @@
 c0
 7f
 83
-db
+e6
 20
 20
 41
@@ -3959,7 +4003,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -3999,7 +4043,7 @@
 c0
 7f
 83
-e8
+f3
 20
 20
 41
@@ -4011,7 +4055,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -4046,16 +4090,16 @@
 36
 20
 40
-03
-f6
+04
+01
 20
 40
 04
-0a
+15
 20
 40
 03
-0c
+17
 20
 20
 46
@@ -4090,8 +4134,8 @@
 0f
 20
 40
-03
-ff
+04
+0a
 20
 20
 40
@@ -4119,7 +4163,7 @@
 c0
 7f
 84
-06
+11
 20
 20
 40
@@ -4131,7 +4175,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -4155,7 +4199,7 @@
 24
 3a
 04
-13
+1e
 6f
 e0
 cb
@@ -4163,11 +4207,11 @@
 20
 40
 03
-ec
+f7
 20
 40
 04
-24
+2f
 68
 48
 cb
@@ -4195,7 +4239,7 @@
 20
 40
 03
-ee
+f9
 70
 4b
 fa
@@ -4211,11 +4255,11 @@
 20
 40
 04
-3d
+48
 20
 40
 04
-28
+33
 68
 48
 cb
@@ -4259,7 +4303,7 @@
 20
 40
 04
-33
+3e
 67
 e0
 cb
@@ -4271,7 +4315,7 @@
 20
 3a
 04
-2f
+3a
 6f
 e0
 cb
@@ -4335,11 +4379,11 @@
 c0
 03
 84
-48
+53
 c0
 00
 04
-4a
+55
 20
 60
 00
@@ -4379,11 +4423,11 @@
 c0
 03
 84
-48
+53
 c0
 00
 04
-4a
+55
 20
 60
 00
@@ -4427,7 +4471,7 @@
 c2
 9e
 84
-58
+63
 18
 42
 7e
@@ -4459,7 +4503,7 @@
 24
 3a
 04
-75
+80
 6f
 e4
 4b
@@ -4467,7 +4511,7 @@
 c2
 8e
 04
-69
+74
 18
 42
 7e
@@ -4479,11 +4523,11 @@
 c0
 00
 04
-65
+70
 c0
 01
 04
-63
+6e
 20
 60
 00
@@ -4495,7 +4539,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4503,7 +4547,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4511,7 +4555,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4519,7 +4563,7 @@
 20
 20
 04
-55
+60
 18
 42
 7e
@@ -4531,15 +4575,15 @@
 c0
 00
 04
-65
+70
 c0
 01
 04
-67
+72
 c0
 01
 84
-63
+6e
 20
 60
 00
@@ -4555,15 +4599,15 @@
 c0
 00
 04
-67
+72
 c0
 00
 84
-63
+6e
 c0
 01
 84
-61
+6c
 20
 60
 00
@@ -4575,7 +4619,7 @@
 c2
 8e
 04
-6f
+7a
 18
 42
 7e
@@ -4587,17 +4631,17 @@
 c0
 00
 04
-61
+6c
 c0
 00
 84
-63
+6e
 20
 60
 00
 00
-ea
-76
+b0
+9f
 aa
 55
 40
@@ -4757,8 +4801,8 @@
 58
 02
 58
-00
-14
+02
+64
 64
 94
 85
@@ -5826,54 +5870,10 @@
 aa
 aa
 55
-aa
+fc
 72
-fd
-a6
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+16
+1a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-f1
-f1
+88
+6c
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/flash.dat	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-f2
-11
+1e
+12
 c2
 84
 00
@@ -43,7 +43,7 @@
 c0
 62
 02
-6a
+6e
 c0
 63
 81
@@ -63,11 +63,11 @@
 c0
 67
 03
-74
+7f
 c0
 67
 84
-4c
+57
 c0
 68
 02
@@ -75,11 +75,11 @@
 c0
 68
 83
-ba
+c5
 c0
 6a
 03
-a0
+ab
 c0
 6b
 01
@@ -91,15 +91,15 @@
 c0
 6d
 03
-02
+0c
 c0
 6f
 03
-f0
+fb
 c0
 74
 03
-26
+31
 20
 20
 13
@@ -115,15 +115,15 @@
 c0
 43
 83
-22
+2d
 c0
 50
 83
-3a
+45
 c0
 60
 03
-44
+4f
 c0
 6e
 82
@@ -143,7 +143,7 @@
 c0
 76
 03
-6b
+76
 20
 20
 13
@@ -587,7 +587,7 @@
 20
 40
 03
-b2
+bd
 6f
 e0
 c9
@@ -675,7 +675,7 @@
 20
 40
 02
-8b
+95
 20
 40
 3d
@@ -999,7 +999,7 @@
 20
 20
 03
-b2
+bd
 20
 40
 26
@@ -1243,11 +1243,11 @@
 20
 40
 03
-ab
+b6
 20
 40
 03
-b2
+bd
 20
 20
 3e
@@ -1267,11 +1267,11 @@
 20
 20
 02
-98
+a2
 20
 40
 02
-8b
+95
 20
 40
 42
@@ -1551,7 +1551,7 @@
 20
 40
 03
-b2
+bd
 20
 20
 01
@@ -1643,7 +1643,7 @@
 20
 40
 02
-70
+79
 20
 20
 43
@@ -1655,7 +1655,7 @@
 20
 40
 02
-70
+79
 20
 20
 43
@@ -1783,7 +1783,7 @@
 20
 40
 02
-70
+79
 20
 40
 45
@@ -1795,7 +1795,7 @@
 20
 40
 02
-70
+79
 6f
 e2
 48
@@ -2163,15 +2163,15 @@
 20
 40
 03
-1e
+29
 20
 40
 03
-10
+1b
 20
 40
 02
-73
+7c
 6f
 e4
 4b
@@ -2375,7 +2375,7 @@
 20
 3a
 02
-b8
+c2
 67
 e0
 cb
@@ -2407,15 +2407,15 @@
 20
 40
 02
-d8
+e2
 20
 40
 02
-b5
+bf
 20
 40
 02
-75
+7f
 20
 40
 40
@@ -2427,23 +2427,23 @@
 20
 40
 02
-e0
+ea
 20
 40
 44
 ff
 20
 40
-45
-04
+02
+6a
 20
 40
 45
 12
 20
 40
-02
-f7
+03
+01
 20
 40
 45
@@ -2474,12 +2474,32 @@
 47
 20
 20
-02
-fa
+03
+04
+da
+60
+4b
+77
+da
+40
+45
+0a
+20
+40
+31
+8a
+20
+20
+45
+07
+70
+4c
+00
+00
 20
 40
 02
-6c
+71
 20
 20
 3d
@@ -2492,10 +2512,26 @@
 4b
 fc
 01
+6f
+e0
+cc
+00
+20
+3a
+02
+77
 70
 4b
 fd
-03
+02
+20
+60
+00
+00
+70
+4b
+fd
+05
 20
 60
 00
@@ -2516,6 +2552,10 @@
 4b
 ff
 00
+70
+4c
+00
+00
 20
 60
 00
@@ -2535,7 +2575,7 @@
 c0
 00
 82
-82
+8c
 6f
 e1
 4a
@@ -2567,11 +2607,11 @@
 20
 21
 02
-88
+92
 20
 20
 02
-8b
+95
 da
 60
 4b
@@ -2579,15 +2619,15 @@
 da
 40
 02
-85
+8f
 20
 20
 31
 8a
-70
-4b
-fd
-03
+20
+40
+02
+73
 6f
 e0
 cb
@@ -2595,7 +2635,7 @@
 c0
 00
 82
-8b
+95
 70
 4b
 fb
@@ -2659,7 +2699,7 @@
 20
 21
 02
-9e
+a8
 6f
 e0
 cb
@@ -2783,7 +2823,7 @@
 da
 40
 02
-b8
+c2
 20
 20
 31
@@ -2795,7 +2835,7 @@
 c0
 01
 82
-cd
+d7
 c0
 05
 c8
@@ -2839,11 +2879,11 @@
 20
 41
 02
-c7
+d1
 24
 41
 02
-cb
+d5
 20
 20
 48
@@ -2955,7 +2995,7 @@
 c0
 00
 02
-e6
+f0
 6f
 e4
 4b
@@ -2971,7 +3011,7 @@
 20
 20
 02
-e9
+f3
 6f
 e4
 4b
@@ -3007,7 +3047,7 @@
 20
 22
 82
-f0
+fa
 20
 20
 44
@@ -3015,7 +3055,7 @@
 20
 40
 02
-f5
+ff
 6f
 e0
 cb
@@ -3066,8 +3106,8 @@
 b2
 da
 40
-02
-ff
+03
+09
 20
 20
 31
@@ -3084,10 +3124,14 @@
 20
 43
 1b
+70
+4c
+00
+01
 20
 40
 02
-6c
+71
 6f
 e1
 47
@@ -3131,7 +3175,7 @@
 c2
 95
 03
-10
+1b
 c2
 95
 be
@@ -3171,7 +3215,7 @@
 20
 20
 03
-19
+24
 70
 49
 38
@@ -3255,7 +3299,7 @@
 c0
 04
 83
-2e
+39
 20
 20
 4d
@@ -3355,7 +3399,7 @@
 c0
 02
 03
-47
+52
 20
 20
 19
@@ -3371,11 +3415,11 @@
 c0
 05
 03
-4c
+57
 c0
 09
 03
-5b
+66
 20
 20
 1c
@@ -3403,7 +3447,7 @@
 c2
 81
 83
-56
+61
 6f
 e1
 44
@@ -3431,11 +3475,11 @@
 24
 22
 83
-52
+5d
 24
 34
 03
-52
+5d
 20
 20
 1e
@@ -3559,11 +3603,11 @@
 20
 40
 03
-7c
+87
 20
 40
 03
-82
+8d
 20
 40
 02
@@ -3619,7 +3663,7 @@
 20
 40
 03
-8d
+98
 67
 e1
 48
@@ -3631,7 +3675,7 @@
 20
 40
 03
-8d
+98
 67
 e1
 48
@@ -3643,11 +3687,11 @@
 c2
 85
 83
-90
+9b
 c3
 05
 83
-94
+9f
 20
 60
 00
@@ -3659,7 +3703,7 @@
 20
 40
 03
-94
+9f
 1f
 e6
 7e
@@ -3695,7 +3739,7 @@
 24
 41
 03
-9d
+a8
 6f
 e1
 4b
@@ -3727,7 +3771,7 @@
 c0
 05
 83
-a7
+b2
 20
 40
 42
@@ -3747,7 +3791,7 @@
 20
 40
 03
-ae
+b9
 da
 60
 4b
@@ -3767,7 +3811,7 @@
 c0
 05
 83
-ae
+b9
 20
 20
 42
@@ -3803,7 +3847,7 @@
 c0
 05
 83
-b8
+c3
 58
 00
 08
@@ -3835,23 +3879,23 @@
 20
 40
 03
-c3
+ce
 20
 40
 03
-c8
+d3
 20
 40
 03
-cd
+d8
 20
 40
 03
-d2
+dd
 20
 40
 03
-df
+ea
 20
 20
 41
@@ -3863,7 +3907,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3883,7 +3927,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3903,7 +3947,7 @@
 20
 40
 03
-ec
+f7
 20
 40
 41
@@ -3947,7 +3991,7 @@
 c0
 7f
 83
-db
+e6
 20
 20
 41
@@ -3959,7 +4003,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -3999,7 +4043,7 @@
 c0
 7f
 83
-e8
+f3
 20
 20
 41
@@ -4011,7 +4055,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -4046,16 +4090,16 @@
 36
 20
 40
-03
-f6
+04
+01
 20
 40
 04
-0a
+15
 20
 40
 03
-0c
+17
 20
 20
 46
@@ -4090,8 +4134,8 @@
 0f
 20
 40
-03
-ff
+04
+0a
 20
 20
 40
@@ -4119,7 +4163,7 @@
 c0
 7f
 84
-06
+11
 20
 20
 40
@@ -4131,7 +4175,7 @@
 20
 40
 03
-ee
+f9
 68
 48
 c9
@@ -4155,7 +4199,7 @@
 24
 3a
 04
-13
+1e
 6f
 e0
 cb
@@ -4163,11 +4207,11 @@
 20
 40
 03
-ec
+f7
 20
 40
 04
-24
+2f
 68
 48
 cb
@@ -4195,7 +4239,7 @@
 20
 40
 03
-ee
+f9
 70
 4b
 fa
@@ -4211,11 +4255,11 @@
 20
 40
 04
-3d
+48
 20
 40
 04
-28
+33
 68
 48
 cb
@@ -4259,7 +4303,7 @@
 20
 40
 04
-33
+3e
 67
 e0
 cb
@@ -4271,7 +4315,7 @@
 20
 3a
 04
-2f
+3a
 6f
 e0
 cb
@@ -4335,11 +4379,11 @@
 c0
 03
 84
-48
+53
 c0
 00
 04
-4a
+55
 20
 60
 00
@@ -4379,11 +4423,11 @@
 c0
 03
 84
-48
+53
 c0
 00
 04
-4a
+55
 20
 60
 00
@@ -4427,7 +4471,7 @@
 c2
 9e
 84
-58
+63
 18
 42
 7e
@@ -4459,7 +4503,7 @@
 24
 3a
 04
-75
+80
 6f
 e4
 4b
@@ -4467,7 +4511,7 @@
 c2
 8e
 04
-69
+74
 18
 42
 7e
@@ -4479,11 +4523,11 @@
 c0
 00
 04
-65
+70
 c0
 01
 04
-63
+6e
 20
 60
 00
@@ -4495,7 +4539,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4503,7 +4547,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4511,7 +4555,7 @@
 20
 20
 04
-55
+60
 58
 00
 00
@@ -4519,7 +4563,7 @@
 20
 20
 04
-55
+60
 18
 42
 7e
@@ -4531,15 +4575,15 @@
 c0
 00
 04
-65
+70
 c0
 01
 04
-67
+72
 c0
 01
 84
-63
+6e
 20
 60
 00
@@ -4555,15 +4599,15 @@
 c0
 00
 04
-67
+72
 c0
 00
 84
-63
+6e
 c0
 01
 84
-61
+6c
 20
 60
 00
@@ -4575,7 +4619,7 @@
 c2
 8e
 04
-6f
+7a
 18
 42
 7e
@@ -4587,17 +4631,17 @@
 c0
 00
 04
-61
+6c
 c0
 00
 84
-63
+6e
 20
 60
 00
 00
-ea
-76
+b0
+9f
 aa
 55
 40
@@ -4757,8 +4801,8 @@
 58
 02
 58
-00
-14
+02
+64
 64
 94
 85
@@ -5826,54 +5870,10 @@
 aa
 aa
 55
-aa
+fc
 72
-fd
-a6
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+16
+1a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-f1
-f1
+88
+6c
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/memmap.format	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/memmap.format	(working copy)
@@ -2223,6 +2223,7 @@
 0x4bfd mem_mouse_multi_led_blink_timer
 0x4bfe mem_mouse_led_multi_logo_led
 0x4bff mem_mouse_multi_led_enable
+0x4c00 mem_mouse_adv_flag
 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/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/program.lis	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/output/program.lis	(working copy)
@@ -9,34 +9,34 @@
 0006 c0570087 beq patch15_6 ,p_app_init 
 0007 c058006c beq patch16_0 ,p_app_evt_100ms_loop 
 0008 c061821b beq patch18_3 ,p_mouse_start_work 
-0009 c062026a beq patch18_4 ,p_mouse_start_reconnect_device 
+0009 c062026e beq patch18_4 ,p_mouse_start_reconnect_device 
 000a c0638130 beq patch18_7 ,p_mouse_app_enter_hibernate 
 000b c064813c beq patch19_1 ,p_mouse_setgpio_hibernate 
 000c c0650170 beq patch19_2 ,p_mouse_lpm_before_common 
 000d c0660068 beq patch19_4 ,p_mouse_adc_read_start 
-000e c0670374 beq patch19_6 ,p_mouse_motion 
-000f c067844c beq patch19_7 ,p_mouse_dpi_process 
+000e c067037f beq patch19_6 ,p_mouse_motion 
+000f c0678457 beq patch19_7 ,p_mouse_dpi_process 
 0010 c0680236 beq patch1a_0 ,p_mouse_seting_dpi 
-0011 c06883ba beq patch1a_1 ,p_mouse_check_key_gpio 
-0012 c06a03a0 beq patch1a_4 ,p_mouse_sensor_poweron 
+0011 c06883c5 beq patch1a_1 ,p_mouse_check_key_gpio 
+0012 c06a03ab beq patch1a_4 ,p_mouse_sensor_poweron 
 0013 c06b018f beq patch1a_6 ,p_mouse_priority_bb_event 
 0014 c06c8253 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d0302 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03f0 beq patch1b_6 ,p_mouse_idle 
-0017 c0740326 beq patch1d_0 ,p_hid_rx_process 
+0015 c06d030c beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06f03fb beq patch1b_6 ,p_mouse_idle 
+0017 c0740331 beq patch1d_0 ,p_hid_rx_process 
 0018 2020137c branch loop 
 
 pf_patch_ext:
 0019 c0198048 beq patch26_3 ,p_adc_init_data 
 001a c01a004d beq patch26_4 ,p_enable_adc 
-001b c0438322 beq patch30_7 ,p_ui_timer_check 
-001c c050833a beq patch34_1 ,p_le_slave_match 
-001d c0600344 beq patch38_0 ,p_le_parse_l2cap 
+001b c043832d beq patch30_7 ,p_ui_timer_check 
+001c c0508345 beq patch34_1 ,p_le_slave_match 
+001d c060034f beq patch38_0 ,p_le_parse_l2cap 
 001e c06e820b beq patch3b_5 ,p_g24_dispatch 
 001f c07101e6 beq patch3c_2 ,p_g24_pair_dispatch 
 0020 c07481ee beq patch3d_1 ,p_g24_reconn_dispatch 
 0021 c07500f9 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c076036b beq patch3d_4 ,p_g24_lpm_wait 
+0022 c0760376 beq patch3d_4 ,p_g24_lpm_wait 
 0023 2020137c branch loop 
 
 p_soft_reset:
@@ -175,7 +175,7 @@
 008e 20403d8a call mouse_usb_check_enable 
 008f 20404728 call mouse_drawing_optima_init 
 0090 204000b4 call p_mouse_cb_fuction 
-0091 204003b2 call p_mouse_sensor_powerdown 
+0091 204003bd call p_mouse_sensor_powerdown 
 0092 6fe0c92a fetch 1 ,mem_usb_addr 
 0093 c3838000 rtnbit1 7 
 
@@ -209,7 +209,7 @@
 00a4 20402607 call g24_transmit_init 
 00a5 204022ff call g24_chmap_param_init 
 00a6 20403f1e call mouse_gpio_init 
-00a7 2040028b call p_mouse_multi_logo_led_off 
+00a7 20400295 call p_mouse_multi_logo_led_off 
 00a8 20403d13 call mouse_param_init 
 00a9 204000ae call p_g24_short_sleep_set_8ms 
 00aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
@@ -312,7 +312,7 @@
 00f5 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 00f6 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 00f7 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-00f8 202003b2 branch p_mouse_sensor_powerdown 
+00f8 202003bd branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
 00f9 20402631 call g24_txdata_prep 
@@ -395,18 +395,18 @@
 0132 58000006 setarg pan_reg_config 
 0133 20405b0d call twspi_read 
 0134 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0135 204003ab call p_mouse_sensor_reset 
-0136 204003b2 call p_mouse_sensor_powerdown 
+0135 204003b6 call p_mouse_sensor_reset 
+0136 204003bd call p_mouse_sensor_powerdown 
 0137 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_app_enter_hibernate_wait_light_off:
 0138 58000000 setarg 0 
 0139 67e14ab2 store 2 ,mem_mouse_no_data_timer 
 013a 704be601 jam 1 ,mem_mouse_enter_hibernate_wait_light_off 
-013b 20200298 branch p_mouse_customer_led_off 
+013b 202002a2 branch p_mouse_customer_led_off 
 
 p_mouse_setgpio_hibernate:
-013c 2040028b call p_mouse_multi_logo_led_off 
+013c 20400295 call p_mouse_multi_logo_led_off 
 013d 204042e9 call mouse_set_sdio_high 
 013e 20407fdc call clear_wake 
 013f 20404015 call mouse_before_hibernate_wheel_gpio_set 
@@ -490,7 +490,7 @@
 017f 67e2485c store 4 ,mem_24g_enter_hibernate 
 0180 58000000 setarg 0 
 0181 67e3c8d0 store 7 ,mem_mouse_key 
-0182 204003b2 call p_mouse_sensor_powerdown 
+0182 204003bd call p_mouse_sensor_powerdown 
 0183 20200189 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
@@ -521,12 +521,12 @@
 0198 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0199 20400270 call p_mouse_multi_on_enable 
+0199 20400279 call p_mouse_multi_on_enable 
 019a 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_event_connected:
 019b 20404544 call mouse_no_data_timer_init 
-019c 20400270 call p_mouse_multi_on_enable 
+019c 20400279 call p_mouse_multi_on_enable 
 019d 202043fa branch mouse_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
@@ -568,12 +568,12 @@
 01bb 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-01bc 20400270 call p_mouse_multi_on_enable 
+01bc 20400279 call p_mouse_multi_on_enable 
 01bd 20404544 call mouse_no_data_timer_init 
 01be 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-01bf 20400270 call p_mouse_multi_on_enable 
+01bf 20400279 call p_mouse_multi_on_enable 
 01c0 6fe2483c fetch 4 ,mem_24g_addr 
 01c1 67e24891 store 4 ,mem_24g_receiver_addr 
 01c2 67e24993 store 4 ,mem_mouse_24g_addr 
@@ -695,9 +695,9 @@
 021a 20202621 branch g24_transmit_no_interrupt 
 
 p_mouse_start_work:
-021b 2040031e call p_load_device_number_info 
-021c 20400310 call p_mouse_check_select_device_by_switch_gpio 
-021d 20400273 call p_mouse_multi_led_disable 
+021b 20400329 call p_load_device_number_info 
+021c 2040031b call p_mouse_check_select_device_by_switch_gpio 
+021d 2040027c call p_mouse_multi_led_disable 
 021e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
 021f c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
 0220 6fe0c938 fetch 1 ,mem_device_flag 
@@ -762,7 +762,7 @@
 024d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 024e 247a0000 nrtn blank 
 024f 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0250 203a02b8 branch p_mouse_dpi_led_blink_init ,blank 
+0250 203a02c2 branch p_mouse_dpi_led_blink_init ,blank 
 0251 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
 0252 20600000 rtn 
 
@@ -772,16 +772,16 @@
 0255 2040232b call g24_pair_timeout_timer 
 0256 20402556 call g24_reconn_timeout_timer 
 0257 204047cd call mouse_24g_long_sleep_param_update_timer 
-0258 204002d8 call p_mouse_device_poweron_timer 
-0259 204002b5 call p_mouse_dpi_led_blink_delay_timer 
-025a 20400275 call p_mouse_logo_led_multi_timer 
+0258 204002e2 call p_mouse_device_poweron_timer 
+0259 204002bf call p_mouse_dpi_led_blink_delay_timer 
+025a 2040027f call p_mouse_logo_led_multi_timer 
 025b 2040407c call mouse_dpi_key_check_long_press 
 025c 204044cc call mouse_bt_discovery_check 
-025d 204002e0 call p_mouse_commbination_key_process 
+025d 204002ea call p_mouse_commbination_key_process 
 025e 204044ff call mouse_check_discovery_timeout_timer 
-025f 20404504 call mouse_check_direct_timeout_timer 
+025f 2040026a call p_mouse_check_direct_timeout_timer 
 0260 20404512 call mouse_le_enable_att_list_timer 
-0261 204002f7 call p_mouse_le_battery_updata_timer 
+0261 20400301 call p_mouse_le_battery_updata_timer 
 0262 20404515 call mouse_le_send_smp_security_request_timer 
 0263 2040452a call mouse_check_hid_handshake_timer 
 0264 2040452d call mouse_bt_check_sniff_req_timeout_timer 
@@ -789,735 +789,752 @@
 0266 20404535 call mouse_current_mult_update_timer 
 0267 20404022 call mouse_wheel_trigger_timer 
 0268 20404547 call mouse_store_information_delay_timer 
-0269 202002fa branch p_mouse_check_no_data_timeout_timer 
+0269 20200304 branch p_mouse_check_no_data_timeout_timer 
+
+p_mouse_check_direct_timeout_timer:
+026a da604b77 arg mem_mouse_direct_timer ,regc 
+026b da40450a arg mouse_check_direct_timeout ,regb 
+026c 2040318a call timer_single_step 
+026d 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_start_reconnect_device:
-026a 2040026c call p_mouse_multi_blink_enable 
-026b 20203d5a branch mouse_start_reconnect_device + 1 
+026e 704c0000 jam 0 ,mem_mouse_adv_flag 
+026f 20400271 call p_mouse_multi_blink_enable 
+0270 20203d5a branch mouse_start_reconnect_device + 1 
 
 p_mouse_multi_blink_enable:
-026c 704bff01 jam on ,mem_mouse_multi_led_enable 
-026d 704bfc01 jam multi_led_blink ,mem_mouse_multi_led_type 
-026e 704bfd03 jam 3 ,mem_mouse_multi_led_blink_timer 
-026f 20600000 rtn 
+0271 704bff01 jam on ,mem_mouse_multi_led_enable 
+0272 704bfc01 jam multi_led_blink ,mem_mouse_multi_led_type 
+
+p_mouse_led_blink_reinit:
+0273 6fe0cc00 fetch 1 ,mem_mouse_adv_flag 
+0274 203a0277 branch p_mouse_le_reconn_init ,blank 
+0275 704bfd02 jam 2 ,mem_mouse_multi_led_blink_timer 
+0276 20600000 rtn 
+
+p_mouse_le_reconn_init:
+0277 704bfd05 jam 5 ,mem_mouse_multi_led_blink_timer 
+0278 20600000 rtn 
 
 p_mouse_multi_on_enable:
-0270 704bff01 jam on ,mem_mouse_multi_led_enable 
-0271 704bfc00 jam multi_led_on ,mem_mouse_multi_led_type 
-0272 20600000 rtn 
+0279 704bff01 jam on ,mem_mouse_multi_led_enable 
+027a 704bfc00 jam multi_led_on ,mem_mouse_multi_led_type 
+027b 20600000 rtn 
 
 p_mouse_multi_led_disable:
-0273 704bff00 jam off ,mem_mouse_multi_led_enable 
-0274 20600000 rtn 
+027c 704bff00 jam off ,mem_mouse_multi_led_enable 
+027d 704c0000 jam 0 ,mem_mouse_adv_flag 
+027e 20600000 rtn 
 
 p_mouse_logo_led_multi_timer:
-0275 6fe0cbff fetch 1 ,mem_mouse_multi_led_enable 
-0276 207a0000 rtn blank 
-0277 6fe0cbfc fetch 1 ,mem_mouse_multi_led_type 
-0278 c0008282 beq multi_led_blink ,p_mouse_multi_bt_led_blink 
+027f 6fe0cbff fetch 1 ,mem_mouse_multi_led_enable 
+0280 207a0000 rtn blank 
+0281 6fe0cbfc fetch 1 ,mem_mouse_multi_led_type 
+0282 c000828c beq multi_led_blink ,p_mouse_multi_bt_led_blink 
 
 p_mouse_multi_led_logo_on:
-0279 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-027a 207a0000 rtn blank 
-027b 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-027c 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-027d 98460400 isub temp ,temp 
-027e 58000258 setarg 600 
-027f 98467e00 isub temp ,pdata 
-0280 20210288 branch p_mouse_multi_logo_led_on ,positive 
-0281 2020028b branch p_mouse_multi_logo_led_off 
+0283 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0284 207a0000 rtn blank 
+0285 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+0286 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+0287 98460400 isub temp ,temp 
+0288 58000258 setarg 600 
+0289 98467e00 isub temp ,pdata 
+028a 20210292 branch p_mouse_multi_logo_led_on ,positive 
+028b 20200295 branch p_mouse_multi_logo_led_off 
 
 p_mouse_multi_bt_led_blink:
-0282 da604bfd arg mem_mouse_multi_led_blink_timer ,regc 
-0283 da400285 arg p_mouse_multi_led_led_blink_timeout ,regb 
-0284 2020318a branch timer_single_step 
+028c da604bfd arg mem_mouse_multi_led_blink_timer ,regc 
+028d da40028f arg p_mouse_multi_led_led_blink_timeout ,regb 
+028e 2020318a branch timer_single_step 
 
 p_mouse_multi_led_led_blink_timeout:
-0285 704bfd03 jam 3 ,mem_mouse_multi_led_blink_timer 
-0286 6fe0cbfb fetch 1 ,mem_mouse_multi_led_state 
-0287 c000828b beq on ,p_mouse_multi_logo_led_off 
+028f 20400273 call p_mouse_led_blink_reinit 
+0290 6fe0cbfb fetch 1 ,mem_mouse_multi_led_state 
+0291 c0008295 beq on ,p_mouse_multi_logo_led_off 
 
 p_mouse_multi_logo_led_on:
-0288 704bfb01 jam on ,mem_mouse_multi_led_state 
-0289 6848cbfe fetcht 1 ,mem_mouse_led_multi_logo_led 
-028a 20206069 branch gpio_out_active 
+0292 704bfb01 jam on ,mem_mouse_multi_led_state 
+0293 6848cbfe fetcht 1 ,mem_mouse_led_multi_logo_led 
+0294 20206069 branch gpio_out_active 
 
 p_mouse_multi_logo_led_off:
-028b 704bfb00 jam off ,mem_mouse_multi_led_state 
-028c 6848cbfe fetcht 1 ,mem_mouse_led_multi_logo_led 
-028d 20206065 branch gpio_out_inactive 
+0295 704bfb00 jam off ,mem_mouse_multi_led_state 
+0296 6848cbfe fetcht 1 ,mem_mouse_led_multi_logo_led 
+0297 20206065 branch gpio_out_inactive 
 
 p_mouse_customer_led_on_timer:
-028e 6fe0cbe3 fetch 1 ,mem_mouse_light_gpio 
-028f c17f8000 rtneq gpio_disable 
-0290 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-0291 207a0000 rtn blank 
-0292 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-0293 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-0294 98460400 isub temp ,temp 
-0295 58000258 setarg 600 
-0296 98467e00 isub temp ,pdata 
-0297 2021029e branch p_mouse_customer_led_on ,positive 
+0298 6fe0cbe3 fetch 1 ,mem_mouse_light_gpio 
+0299 c17f8000 rtneq gpio_disable 
+029a 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+029b 207a0000 rtn blank 
+029c 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+029d 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+029e 98460400 isub temp ,temp 
+029f 58000258 setarg 600 
+02a0 98467e00 isub temp ,pdata 
+02a1 202102a8 branch p_mouse_customer_led_on ,positive 
 
 p_mouse_customer_led_off:
-0298 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-0299 c1000000 rtneq off 
-029a 704be400 jam off ,mem_mouse_light_status 
-029b 704be520 jam 0x20 ,mem_mouse_light_timer 
-029c 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-029d 20206069 branch gpio_out_active 
+02a2 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+02a3 c1000000 rtneq off 
+02a4 704be400 jam off ,mem_mouse_light_status 
+02a5 704be520 jam 0x20 ,mem_mouse_light_timer 
+02a6 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+02a7 20206069 branch gpio_out_active 
 
 p_mouse_customer_led_on:
-029e 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-029f c1008000 rtneq on 
-02a0 704be401 jam on ,mem_mouse_light_status 
-02a1 704be50f jam 0x0f ,mem_mouse_light_timer 
-02a2 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-02a3 20206069 branch gpio_out_active 
+02a8 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+02a9 c1008000 rtneq on 
+02aa 704be401 jam on ,mem_mouse_light_status 
+02ab 704be50f jam 0x0f ,mem_mouse_light_timer 
+02ac 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+02ad 20206069 branch gpio_out_active 
 
 p_mouse_customer_led_control:
-02a4 6fe0cbe5 fetch 1 ,mem_mouse_light_timer 
-02a5 207a0000 rtn blank 
-02a6 1fe0ffff increase -1 ,pdata 
-02a7 67e0cbe5 store 1 ,mem_mouse_light_timer 
-02a8 247a0000 nrtn blank 
-02a9 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-02aa 20406065 call gpio_out_inactive 
-02ab 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
-02ac 20403f56 call mouse_gpio_config_input_pu 
-02ad 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
-02ae c1008000 rtneq on 
-02af 6fe0cbe6 fetch 1 ,mem_mouse_enter_hibernate_wait_light_off 
-02b0 207a0000 rtn blank 
-02b1 704be600 jam 0 ,mem_mouse_enter_hibernate_wait_light_off 
-02b2 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-02b3 243a017c nbranch p_mouse_24g_hibernate_set + 3 ,blank 
-02b4 20200132 branch p_mouse_app_enter_hibernate + 2 
+02ae 6fe0cbe5 fetch 1 ,mem_mouse_light_timer 
+02af 207a0000 rtn blank 
+02b0 1fe0ffff increase -1 ,pdata 
+02b1 67e0cbe5 store 1 ,mem_mouse_light_timer 
+02b2 247a0000 nrtn blank 
+02b3 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+02b4 20406065 call gpio_out_inactive 
+02b5 6848cbe3 fetcht 1 ,mem_mouse_light_gpio 
+02b6 20403f56 call mouse_gpio_config_input_pu 
+02b7 6fe0cbe4 fetch 1 ,mem_mouse_light_status 
+02b8 c1008000 rtneq on 
+02b9 6fe0cbe6 fetch 1 ,mem_mouse_enter_hibernate_wait_light_off 
+02ba 207a0000 rtn blank 
+02bb 704be600 jam 0 ,mem_mouse_enter_hibernate_wait_light_off 
+02bc 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+02bd 243a017c nbranch p_mouse_24g_hibernate_set + 3 ,blank 
+02be 20200132 branch p_mouse_app_enter_hibernate + 2 
 
 p_mouse_dpi_led_blink_delay_timer:
-02b5 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-02b6 da4002b8 arg p_mouse_dpi_led_blink_init ,regb 
-02b7 2020318a branch timer_single_step 
+02bf da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+02c0 da4002c2 arg p_mouse_dpi_led_blink_init ,regb 
+02c1 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-02b8 6fe0c927 fetch 1 ,mem_config_sensor_type 
-02b9 c00182cd beq p3212 ,p_mouse_3212_dpi_led_blink_init 
-02ba c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-02bb 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-02bc 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-02bd 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-02be 67e14930 store 2 ,mem_mouse_on_time 
-02bf 67e14932 store 2 ,mem_mouse_off_time 
-02c0 da200000 arg 0 ,rega 
-02c1 6848c992 fetcht 1 ,mem_mouse_dpi 
-02c2 18408402 increase 2 ,temp 
-02c3 18467c03 sub temp ,3 ,null 
-02c4 204102c7 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-02c5 244102cb ncall p_mouse_dpi_led_blink_count_clean ,positive 
-02c6 202048ff branch mouse_dpi_led_blink_init_end 
+02c2 6fe0c927 fetch 1 ,mem_config_sensor_type 
+02c3 c00182d7 beq p3212 ,p_mouse_3212_dpi_led_blink_init 
+02c4 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+02c5 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02c6 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02c7 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02c8 67e14930 store 2 ,mem_mouse_on_time 
+02c9 67e14932 store 2 ,mem_mouse_off_time 
+02ca da200000 arg 0 ,rega 
+02cb 6848c992 fetcht 1 ,mem_mouse_dpi 
+02cc 18408402 increase 2 ,temp 
+02cd 18467c03 sub temp ,3 ,null 
+02ce 204102d1 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+02cf 244102d5 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+02d0 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-02c7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02c8 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-02c9 18408401 increase 1 ,temp 
-02ca 20600000 rtn 
+02d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02d2 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+02d3 18408401 increase 1 ,temp 
+02d4 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-02cb 184085fd increase -3 ,temp 
-02cc 20600000 rtn 
+02d5 184085fd increase -3 ,temp 
+02d6 20600000 rtn 
 
 p_mouse_3212_dpi_led_blink_init:
-02cd 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-02ce 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-02cf 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-02d0 67e14930 store 2 ,mem_mouse_on_time 
-02d1 67e14932 store 2 ,mem_mouse_off_time 
-02d2 da200000 arg 0 ,rega 
-02d3 6848c992 fetcht 1 ,mem_mouse_dpi 
-02d4 18408402 increase 2 ,temp 
-02d5 18467c05 sub temp ,5 ,null 
-02d6 24414902 ncall mouse_dpi_led_blink_count_clean ,positive 
-02d7 202048ff branch mouse_dpi_led_blink_init_end 
+02d7 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02d8 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02d9 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02da 67e14930 store 2 ,mem_mouse_on_time 
+02db 67e14932 store 2 ,mem_mouse_off_time 
+02dc da200000 arg 0 ,rega 
+02dd 6848c992 fetcht 1 ,mem_mouse_dpi 
+02de 18408402 increase 2 ,temp 
+02df 18467c05 sub temp ,5 ,null 
+02e0 24414902 ncall mouse_dpi_led_blink_count_clean ,positive 
+02e1 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_device_poweron_timer:
-02d8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02d9 c4100000 rtnbit0 mouse_enable_power_on_led 
-02da 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-02db 207a0000 rtn blank 
-02dc 1fe0ffff increase -1 ,pdata 
-02dd 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-02de 203a4912 branch mouse_device_led_off ,blank 
-02df 20204920 branch mouse_device_led_on 
+02e2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02e3 c4100000 rtnbit0 mouse_enable_power_on_led 
+02e4 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+02e5 207a0000 rtn blank 
+02e6 1fe0ffff increase -1 ,pdata 
+02e7 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+02e8 203a4912 branch mouse_device_led_off ,blank 
+02e9 20204920 branch mouse_device_led_on 
 
 p_mouse_commbination_key_process:
-02e0 6fe0c938 fetch 1 ,mem_device_flag 
-02e1 c00002e6 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-02e2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02e3 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-02e4 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-02e5 202002e9 branch p_mouse_commbination_key_start 
+02ea 6fe0c938 fetch 1 ,mem_device_flag 
+02eb c00002f0 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+02ec 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ed c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+02ee 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+02ef 202002f3 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-02e6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02e7 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-02e8 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+02f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02f1 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+02f2 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-02e9 6048cb9d storet 1 ,mem_mouse_commbination_key 
-02ea 20404115 call mouse_check_key_gpio 
-02eb 1a217e07 and rega ,0x07 ,pdata 
-02ec 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-02ed 98467c00 isub temp ,null 
-02ee 202282f0 branch p_mouse_commbination_key_down ,zero 
-02ef 202044eb branch mouse_commbination_key_up 
+02f3 6048cb9d storet 1 ,mem_mouse_commbination_key 
+02f4 20404115 call mouse_check_key_gpio 
+02f5 1a217e07 and rega ,0x07 ,pdata 
+02f6 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+02f7 98467c00 isub temp ,null 
+02f8 202282fa branch p_mouse_commbination_key_down ,zero 
+02f9 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-02f0 204002f5 call p_mouse_combination_ui_timer 
-02f1 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-02f2 c1008000 rtneq commbination_key_state_down 
-02f3 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-02f4 20600000 rtn 
+02fa 204002ff call p_mouse_combination_ui_timer 
+02fb 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+02fc c1008000 rtneq commbination_key_state_down 
+02fd 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+02fe 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-02f5 da4001d7 arg p_mouse_24g_start_pair_mode ,regb 
-02f6 202044f7 branch mouse_combination_ui_timer + 1 
+02ff da4001d7 arg p_mouse_24g_start_pair_mode ,regb 
+0300 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_le_battery_updata_timer:
-02f7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02f8 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-02f9 2020451f branch mouse_le_battery_updata_timer 
+0301 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0302 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+0303 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_check_no_data_timeout_timer:
-02fa 6fe0c92a fetch 1 ,mem_usb_addr 
-02fb c3838000 rtnbit1 7 
-02fc da604ab2 arg mem_mouse_no_data_timer ,regc 
-02fd da4002ff arg p_mouse_check_no_data_timeout ,regb 
-02fe 20203191 branch timer_single_step_2b 
+0304 6fe0c92a fetch 1 ,mem_usb_addr 
+0305 c3838000 rtnbit1 7 
+0306 da604ab2 arg mem_mouse_no_data_timer ,regc 
+0307 da400309 arg p_mouse_check_no_data_timeout ,regb 
+0308 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-02ff 6fe0c938 fetch 1 ,mem_device_flag 
-0300 c0000179 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-0301 2020431b branch mouse_disconnect 
+0309 6fe0c938 fetch 1 ,mem_device_flag 
+030a c0000179 beq mode_24g_device ,p_mouse_24g_hibernate_set 
+030b 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-0302 2040026c call p_mouse_multi_blink_enable 
-0303 6fe1478c fetch 2 ,mem_ui_state_map 
-0304 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0305 2040c581 call mouse_stop_le_adv ,true 
-0306 6fe1478c fetch 2 ,mem_ui_state_map 
-0307 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0308 2040c322 call mouse_cancel_reconnect ,true 
-0309 58000000 setarg 0 
-030a 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-030b 20204554 branch mouse_start_discovery + 1 
+030c 704c0001 jam 1 ,mem_mouse_adv_flag 
+030d 20400271 call p_mouse_multi_blink_enable 
+030e 6fe1478c fetch 2 ,mem_ui_state_map 
+030f 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0310 2040c581 call mouse_stop_le_adv ,true 
+0311 6fe1478c fetch 2 ,mem_ui_state_map 
+0312 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0313 2040c322 call mouse_cancel_reconnect ,true 
+0314 58000000 setarg 0 
+0315 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+0316 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_check_select_device_by_switch:
-030c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-030d c2950310 bbit1 mouse_enable_select_device_by_switch_gpio ,p_mouse_check_select_device_by_switch_gpio 
-030e c295be9b bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
-030f 20600000 rtn 
+0317 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0318 c295031b bbit1 mouse_enable_select_device_by_switch_gpio ,p_mouse_check_select_device_by_switch_gpio 
+0319 c295be9b bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
+031a 20600000 rtn 
 
 p_mouse_check_select_device_by_switch_gpio:
-0310 6848c91e fetcht 1 ,mem_device_switch_gpio 
-0311 20403f54 call mouse_gpio_config_input_pd 
-0312 6848c91e fetcht 1 ,mem_device_switch_gpio 
-0313 20406059 call gpio_get_bit 
-0314 2420c6a9 nbranch mouse_select_btdevice ,true 
-0315 202046b1 branch mouse_check_select_24g_device 
+031b 6848c91e fetcht 1 ,mem_device_switch_gpio 
+031c 20403f54 call mouse_gpio_config_input_pd 
+031d 6848c91e fetcht 1 ,mem_device_switch_gpio 
+031e 20406059 call gpio_get_bit 
+031f 2420c6a9 nbranch mouse_select_btdevice ,true 
+0320 202046b1 branch mouse_check_select_24g_device 
 
 p_mouse_select_btdevice:
-0316 70493801 jam mode_bt_device1 ,mem_device_flag 
-0317 20200319 branch p_store_device_info_and_soft_reset 
+0321 70493801 jam mode_bt_device1 ,mem_device_flag 
+0322 20200324 branch p_store_device_info_and_soft_reset 
 
 p_mouse_select_24gdevice:
-0318 70493800 jam mode_24g_device ,mem_device_flag 
+0323 70493800 jam mode_24g_device ,mem_device_flag 
 
 p_store_device_info_and_soft_reset:
-0319 d8400001 arg 1 ,temp 
-031a da204938 arg mem_device_flag ,rega 
-031b da400000 arg mouse_info_eeprom_offect ,regb 
-031c 20405dce call iicd_write_protect_eep_data 
-031d 20205d8c branch soft_reset_chip 
+0324 d8400001 arg 1 ,temp 
+0325 da204938 arg mem_device_flag ,rega 
+0326 da400000 arg mouse_info_eeprom_offect ,regb 
+0327 20405dce call iicd_write_protect_eep_data 
+0328 20205d8c branch soft_reset_chip 
 
 p_load_device_number_info:
-031e d8400001 arg 1 ,temp 
-031f da204938 arg mem_device_flag ,rega 
-0320 da400000 arg mouse_info_eeprom_offect ,regb 
-0321 20205ddc branch iicd_read_eep_data 
+0329 d8400001 arg 1 ,temp 
+032a da204938 arg mem_device_flag ,rega 
+032b da400000 arg mouse_info_eeprom_offect ,regb 
+032c 20205ddc branch iicd_read_eep_data 
 
 p_ui_timer_check:
-0322 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-0323 245a7861 ncall ui_timer_init ,blank 
-0324 704be200 jam 0 ,mem_power_on_flag 
-0325 20207851 branch ui_timer_check + 1 
+032d 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+032e 245a7861 ncall ui_timer_init ,blank 
+032f 704be200 jam 0 ,mem_power_on_flag 
+0330 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0326 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0327 1fe20c00 copy pdata ,contr 
-0328 efe08006 ifetch 1 ,contr 
-0329 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-032a 1fe1040f and pdata ,0x0f ,temp 
-032b 1ff1fe00 rshift4 pdata ,pdata 
-032c c004832e beq hid_type_set_idle ,p_hid_rx_process_handshake 
-032d 20204d93 branch hid_rx_process + 7 
+0331 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0332 1fe20c00 copy pdata ,contr 
+0333 efe08006 ifetch 1 ,contr 
+0334 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0335 1fe1040f and pdata ,0x0f ,temp 
+0336 1ff1fe00 rshift4 pdata ,pdata 
+0337 c0048339 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0338 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-032e da200001 arg 1 ,rega 
-032f 20404dc0 call hid_malloc_tx_buff 
-0330 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0331 e7e10005 istore 2 ,contw 
-0332 58000000 setarg 0 
-0333 e7e08005 istore 1 ,contw 
-0334 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0335 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0336 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0337 67e0c4e2 store 1 ,mem_hid_control_state 
-0338 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0339 20207871 branch ui_ipc_send_event 
+0339 da200001 arg 1 ,rega 
+033a 20404dc0 call hid_malloc_tx_buff 
+033b 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+033c e7e10005 istore 2 ,contw 
+033d 58000000 setarg 0 
+033e e7e08005 istore 1 ,contw 
+033f 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0340 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0341 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0342 67e0c4e2 store 1 ,mem_hid_control_state 
+0343 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0344 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-033a 6fe0c3dd fetch 1 ,mem_le_md_count 
-033b 1fe0fe01 pincrease 1 
-033c 67e0c3dd store 1 ,mem_le_md_count 
-033d c006165a beq le_md_max_count ,le_slave_cont 
-033e 2040191b call le_acknowledge 
-033f 2040196a call le_prepare_tx 
-0340 6fe082bd fetch 1 ,mem_le_tx_phy 
-0341 2040168b call le_enable_phy_by_pdata 
-0342 20401838 call le_transmit 
-0343 20201655 branch le_slave_match + 10 
+0345 6fe0c3dd fetch 1 ,mem_le_md_count 
+0346 1fe0fe01 pincrease 1 
+0347 67e0c3dd store 1 ,mem_le_md_count 
+0348 c006165a beq le_md_max_count ,le_slave_cont 
+0349 2040191b call le_acknowledge 
+034a 2040196a call le_prepare_tx 
+034b 6fe082bd fetch 1 ,mem_le_tx_phy 
+034c 2040168b call le_enable_phy_by_pdata 
+034d 20401838 call le_transmit 
+034e 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-0344 efe10006 ifetch 2 ,contr 
-0345 c0020347 beq le_l2cap_cid_att ,p_le_parse_att 
-0346 202019e4 branch le_parse_l2cap + 10 
+034f efe10006 ifetch 2 ,contr 
+0350 c0020352 beq le_l2cap_cid_att ,p_le_parse_att 
+0351 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0347 efe18006 ifetch 3 ,contr 
-0348 67e1c436 store 3 ,mem_le_att_opcode 
-0349 c005034c beq attop_read_request ,p_le_parse_att_read_request 
-034a c009035b beq attop_write_request ,p_le_parse_att_write_request 
-034b 20201cd3 branch le_parse_att + 2 
+0352 efe18006 ifetch 3 ,contr 
+0353 67e1c436 store 3 ,mem_le_att_opcode 
+0354 c0050357 beq attop_read_request ,p_le_parse_att_read_request 
+0355 c0090366 beq attop_write_request ,p_le_parse_att_write_request 
+0356 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-034c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034d c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-034e 20401e8d call le_check_encrypt_state 
-034f 68494437 fetcht 2 ,mem_le_att_handle 
-0350 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0351 c2818356 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0357 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0358 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0359 20401e8d call le_check_encrypt_state 
+035a 68494437 fetcht 2 ,mem_le_att_handle 
+035b 6fe0c3c0 fetch 1 ,mem_le_configuration 
+035c c2818361 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0352 6fe14437 fetch 2 ,mem_le_att_handle 
-0353 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-0354 68494437 fetcht 2 ,mem_le_att_handle 
-0355 20201deb branch le_send_att_read_response 
+035d 6fe14437 fetch 2 ,mem_le_att_handle 
+035e c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+035f 68494437 fetcht 2 ,mem_le_att_handle 
+0360 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0356 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-0357 98467c00 isub temp ,null 
-0358 24228352 nbranch p_le_send_att_read_response ,zero 
-0359 24340352 nbranch p_le_send_att_read_response ,user 
-035a 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0361 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0362 98467c00 isub temp ,null 
+0363 2422835d nbranch p_le_send_att_read_response ,zero 
+0364 2434035d nbranch p_le_send_att_read_response ,user 
+0365 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-035b 18c22200 copy contr ,rega 
-035c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-035d 1fe0a5fd add pdata ,-3 ,regb 
-035e 20401a25 call le_writeatt_cb 
-035f 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0360 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0361 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0362 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0363 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0364 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0365 5800001a setarg 0x001a 
-0366 68494437 fetcht 2 ,mem_le_att_handle 
-0367 98467c00 isub temp ,null 
-0368 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0369 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-036a 20201ec9 branch le_send_att_error_response 
+0366 18c22200 copy contr ,rega 
+0367 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0368 1fe0a5fd add pdata ,-3 ,regb 
+0369 20401a25 call le_writeatt_cb 
+036a 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+036b c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+036c 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+036d 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+036e 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+036f c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0370 5800001a setarg 0x001a 
+0371 68494437 fetcht 2 ,mem_le_att_handle 
+0372 98467c00 isub temp ,null 
+0373 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0374 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0375 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-036b 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-036c 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-036d 78347c00 enable user 
-036e 20401465 call lpo_calibration 
-036f 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0370 203a7e56 branch disable_user ,blank 
-0371 6fe0c099 fetch 1 ,mem_lpm_mode 
-0372 203a7e56 branch disable_user ,blank 
-0373 202026c4 branch g24_setgpio_lpm_before 
+0376 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0377 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0378 78347c00 enable user 
+0379 20401465 call lpo_calibration 
+037a 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+037b 203a7e56 branch disable_user ,blank 
+037c 6fe0c099 fetch 1 ,mem_lpm_mode 
+037d 203a7e56 branch disable_user ,blank 
+037e 202026c4 branch g24_setgpio_lpm_before 
 
 p_mouse_motion:
-0374 78547c00 disable user 
-0375 58000000 setarg 0 
-0376 67e348d1 store 6 ,mem_mouse_x 
-0377 20404240 call mouse_check_sensor_data 
-0378 2040037c call p_mouse_p3212_shutdown_smooth 
-0379 20400382 call p_mouse_data_zoom 
-037a 2040023b call p_mouse_seting_sensor_type 
-037b 20203f75 branch mouse_motion + 5 
+037f 78547c00 disable user 
+0380 58000000 setarg 0 
+0381 67e348d1 store 6 ,mem_mouse_x 
+0382 20404240 call mouse_check_sensor_data 
+0383 20400387 call p_mouse_p3212_shutdown_smooth 
+0384 2040038d call p_mouse_data_zoom 
+0385 2040023b call p_mouse_seting_sensor_type 
+0386 20203f75 branch mouse_motion + 5 
 
 p_mouse_p3212_shutdown_smooth:
-037c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-037d c1818000 rtnne p3212 
-037e d8e00038 arg mouse_enable_smoother ,queue 
-037f 204046f4 call mouse_disable_function_flag 
-0380 d8e00039 arg mouse_enable_xy_offset ,queue 
-0381 202046f4 branch mouse_disable_function_flag 
+0387 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0388 c1818000 rtnne p3212 
+0389 d8e00038 arg mouse_enable_smoother ,queue 
+038a 204046f4 call mouse_disable_function_flag 
+038b d8e00039 arg mouse_enable_xy_offset ,queue 
+038c 202046f4 branch mouse_disable_function_flag 
 
 p_mouse_data_zoom:
-0382 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0383 c1818000 rtnne p3212 
-0384 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0385 c1818000 rtnne mouse_dpi_level4 
-0386 6fe148d1 fetch 2 ,mem_mouse_x 
-0387 2040038d call p_mouse_2400_zoom 
-0388 67e148d1 store 2 ,mem_mouse_x 
-0389 6fe148d3 fetch 2 ,mem_mouse_y 
-038a 2040038d call p_mouse_2400_zoom 
-038b 67e148d3 store 2 ,mem_mouse_y 
-038c 20600000 rtn 
+038d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+038e c1818000 rtnne p3212 
+038f 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0390 c1818000 rtnne mouse_dpi_level4 
+0391 6fe148d1 fetch 2 ,mem_mouse_x 
+0392 20400398 call p_mouse_2400_zoom 
+0393 67e148d1 store 2 ,mem_mouse_x 
+0394 6fe148d3 fetch 2 ,mem_mouse_y 
+0395 20400398 call p_mouse_2400_zoom 
+0396 67e148d3 store 2 ,mem_mouse_y 
+0397 20600000 rtn 
 
 p_mouse_2400_zoom:
-038d c2858390 bbit1 11 ,p_mouse_xy_inverse 
-038e c3058394 bbit0 11 ,p_mouse_xy_zoom 
-038f 20600000 rtn 
+0398 c285839b bbit1 11 ,p_mouse_xy_inverse 
+0399 c305839f bbit0 11 ,p_mouse_xy_zoom 
+039a 20600000 rtn 
 
 p_mouse_xy_inverse:
-0390 1fe67e00 sub pdata ,0 ,pdata 
-0391 20400394 call p_mouse_xy_zoom 
-0392 1fe67e00 sub pdata ,0 ,pdata 
-0393 20600000 rtn 
+039b 1fe67e00 sub pdata ,0 ,pdata 
+039c 2040039f call p_mouse_xy_zoom 
+039d 1fe67e00 sub pdata ,0 ,pdata 
+039e 20600000 rtn 
 
 p_mouse_xy_zoom:
-0394 1fe30400 rshift pdata ,temp 
-0395 793f840f set0 15 ,temp 
-0396 9840fe00 iadd temp ,pdata 
-0397 67e14bf3 store 2 ,mem_mouse_temp_data 
-0398 6fe0cbf4 fetch 1 ,mem_mouse_temp_data + 1 
-0399 1fe67c07 sub pdata ,0x7 ,null 
-039a 2441039d ncall p_mouse_xy_forward_overflow ,positive 
-039b 6fe14bf3 fetch 2 ,mem_mouse_temp_data 
-039c 20600000 rtn 
+039f 1fe30400 rshift pdata ,temp 
+03a0 793f840f set0 15 ,temp 
+03a1 9840fe00 iadd temp ,pdata 
+03a2 67e14bf3 store 2 ,mem_mouse_temp_data 
+03a3 6fe0cbf4 fetch 1 ,mem_mouse_temp_data + 1 
+03a4 1fe67c07 sub pdata ,0x7 ,null 
+03a5 244103a8 ncall p_mouse_xy_forward_overflow ,positive 
+03a6 6fe14bf3 fetch 2 ,mem_mouse_temp_data 
+03a7 20600000 rtn 
 
 p_mouse_xy_forward_overflow:
-039d 580007ff setarg 0x7ff 
-039e 67e14bf3 store 2 ,mem_mouse_temp_data 
-039f 20600000 rtn 
+03a8 580007ff setarg 0x7ff 
+03a9 67e14bf3 store 2 ,mem_mouse_temp_data 
+03aa 20600000 rtn 
 
 p_mouse_sensor_poweron:
-03a0 20403f65 call mouse_sensor_spi_init 
-03a1 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03a2 c00583a7 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-03a3 20404232 call mouse_sensor_reset 
-03a4 da604aa3 arg mem_sensor_poweron_init ,regc 
-03a5 2040422b call mouse_sensor_wr_seq 
-03a6 2020023b branch p_mouse_seting_sensor_type 
+03ab 20403f65 call mouse_sensor_spi_init 
+03ac 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03ad c00583b2 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+03ae 20404232 call mouse_sensor_reset 
+03af da604aa3 arg mem_sensor_poweron_init ,regc 
+03b0 2040422b call mouse_sensor_wr_seq 
+03b1 2020023b branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-03a7 204003ae call p_mouse_ka8g2_sensor_reset 
-03a8 da604be7 arg mem_ka8g2_sensor_poweron_init ,regc 
-03a9 2040422b call mouse_sensor_wr_seq 
-03aa 2020023b branch p_mouse_seting_sensor_type 
+03b2 204003b9 call p_mouse_ka8g2_sensor_reset 
+03b3 da604be7 arg mem_ka8g2_sensor_poweron_init ,regc 
+03b4 2040422b call mouse_sensor_wr_seq 
+03b5 2020023b branch p_mouse_seting_sensor_type 
 
 p_mouse_sensor_reset:
-03ab 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03ac c00583ae beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-03ad 20204232 branch mouse_sensor_reset 
+03b6 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03b7 c00583b9 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+03b8 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-03ae 58009706 setarg 0x9706 
-03af 20405b0c call twspi_write 
-03b0 20002ee0 nop 12000 
-03b1 20600000 rtn 
+03b9 58009706 setarg 0x9706 
+03ba 20405b0c call twspi_write 
+03bb 20002ee0 nop 12000 
+03bc 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-03b2 204041a7 call mouse_init_sunt 
-03b3 20403f65 call mouse_sensor_spi_init 
-03b4 6fe0c927 fetch 1 ,mem_config_sensor_type 
-03b5 c00583b8 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-03b6 58000806 setarg 0x0806 
-03b7 20205b0c branch twspi_write 
+03bd 204041a7 call mouse_init_sunt 
+03be 20403f65 call mouse_sensor_spi_init 
+03bf 6fe0c927 fetch 1 ,mem_config_sensor_type 
+03c0 c00583c3 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+03c1 58000806 setarg 0x0806 
+03c2 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-03b8 58001f06 setarg 0x1f06 
-03b9 20205b0c branch twspi_write 
+03c3 58001f06 setarg 0x1f06 
+03c4 20205b0c branch twspi_write 
 
 p_mouse_check_key_gpio:
-03ba 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-03bb 245a4121 ncall mouse_check_key_gpio_once ,blank 
-03bc da200000 arg 0 ,rega 
-03bd 204003c3 call p_mouse_check_lkey_gpio 
-03be 204003c8 call p_mouse_check_rkey_gpio 
-03bf 204003cd call p_mouse_check_mkey_gpio 
-03c0 204003d2 call p_mouse_check_bkkey_gpio 
-03c1 204003df call p_mouse_check_fwkey_gpio 
-03c2 2020411e branch mouse_check_key_gpio_next 
+03c5 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+03c6 245a4121 ncall mouse_check_key_gpio_once ,blank 
+03c7 da200000 arg 0 ,rega 
+03c8 204003ce call p_mouse_check_lkey_gpio 
+03c9 204003d3 call p_mouse_check_rkey_gpio 
+03ca 204003d8 call p_mouse_check_mkey_gpio 
+03cb 204003dd call p_mouse_check_bkkey_gpio 
+03cc 204003ea call p_mouse_check_fwkey_gpio 
+03cd 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-03c3 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-03c4 204003ec call p_mouse_gpio_config_output_high 
-03c5 20404124 call mouse_check_lkey_gpio 
-03c6 6848c918 fetcht 1 ,mem_lbutton_gpio 
-03c7 20203f56 branch mouse_gpio_config_input_pu 
+03ce 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+03cf 204003f7 call p_mouse_gpio_config_output_high 
+03d0 20404124 call mouse_check_lkey_gpio 
+03d1 6848c918 fetcht 1 ,mem_lbutton_gpio 
+03d2 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-03c8 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-03c9 204003ec call p_mouse_gpio_config_output_high 
-03ca 2040412a call mouse_check_rkey_gpio 
-03cb 6848c919 fetcht 1 ,mem_rbutton_gpio 
-03cc 20203f56 branch mouse_gpio_config_input_pu 
+03d3 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+03d4 204003f7 call p_mouse_gpio_config_output_high 
+03d5 2040412a call mouse_check_rkey_gpio 
+03d6 6848c919 fetcht 1 ,mem_rbutton_gpio 
+03d7 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-03cd 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-03ce 204003ec call p_mouse_gpio_config_output_high 
-03cf 20404130 call mouse_check_mkey_gpio 
-03d0 6848c91a fetcht 1 ,mem_mbutton_gpio 
-03d1 20203f56 branch mouse_gpio_config_input_pu 
+03d8 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03d9 204003f7 call p_mouse_gpio_config_output_high 
+03da 20404130 call mouse_check_mkey_gpio 
+03db 6848c91a fetcht 1 ,mem_mbutton_gpio 
+03dc 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-03d2 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03d3 c17f8000 rtneq gpio_disable 
-03d4 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-03d5 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-03d6 1fe22600 copy pdata ,regc 
-03d7 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03d8 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03d9 c07f83db beq gpio_disable ,p_mouse_3io6key_bk_check 
-03da 2020413e branch mouse_check_bkkey_gpio_next 
+03dd 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03de c17f8000 rtneq gpio_disable 
+03df 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+03e0 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+03e1 1fe22600 copy pdata ,regc 
+03e2 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03e3 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03e4 c07f83e6 beq gpio_disable ,p_mouse_3io6key_bk_check 
+03e5 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-03db 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03dc 204003ee call p_mouse_gpio_config_output_low 
-03dd 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03de 2020414b branch mouse_3io6key_bk_check 
+03e6 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03e7 204003f9 call p_mouse_gpio_config_output_low 
+03e8 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03e9 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03df 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03e0 c17f8000 rtneq gpio_disable 
-03e1 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03e2 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03e3 1fe22600 copy pdata ,regc 
-03e4 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03e5 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03e6 c07f83e8 beq gpio_disable ,p_mouse_3io6key_fw_check 
-03e7 20204157 branch mouse_check_fwkey_gpio_next 
+03ea 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03eb c17f8000 rtneq gpio_disable 
+03ec 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+03ed 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+03ee 1fe22600 copy pdata ,regc 
+03ef 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03f0 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03f1 c07f83f3 beq gpio_disable ,p_mouse_3io6key_fw_check 
+03f2 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03e8 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03e9 204003ee call p_mouse_gpio_config_output_low 
-03ea 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03eb 20204164 branch mouse_3io6key_fw_check 
+03f3 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03f4 204003f9 call p_mouse_gpio_config_output_low 
+03f5 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03f6 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03ec d840003f arg gpcfg_output_high ,temp 
-03ed 20206093 branch gpio_config_function_int 
+03f7 d840003f arg gpcfg_output_high ,temp 
+03f8 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03ee d840003e arg gpcfg_output_low ,temp 
-03ef 20206093 branch gpio_config_function_int 
+03f9 d840003e arg gpcfg_output_low ,temp 
+03fa 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-03f0 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03f1 20407936 call ui_check_paring_button 
-03f2 204003f6 call p_mouse_dpi_check 
-03f3 2040040a call p_mouse_dpi_another_gpio_check 
-03f4 2040030c call p_mouse_check_select_device_by_switch 
-03f5 20204651 branch mouse_idle + 6 
+03fb 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03fc 20407936 call ui_check_paring_button 
+03fd 20400401 call p_mouse_dpi_check 
+03fe 20400415 call p_mouse_dpi_another_gpio_check 
+03ff 20400317 call p_mouse_check_select_device_by_switch 
+0400 20204651 branch mouse_idle + 6 
 
 p_mouse_dpi_check:
-03f6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03f7 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03f8 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03f9 c17f8000 rtneq gpio_disable 
-03fa da200000 arg 0 ,rega 
-03fb 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03fc 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03fd 204003ff call p_mouse_dpi_key_check 
-03fe 2020402f branch mouse_dpi_check_next 
+0401 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0402 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0403 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0404 c17f8000 rtneq gpio_disable 
+0405 da200000 arg 0 ,rega 
+0406 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0407 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0408 2040040a call p_mouse_dpi_key_check 
+0409 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03ff 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0400 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0401 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0402 1fe22600 copy pdata ,regc 
-0403 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0404 c07f8406 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0405 2020403f branch mouse_dpi_key_check_next 
+040a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+040b c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+040c 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+040d 1fe22600 copy pdata ,regc 
+040e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+040f c07f8411 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0410 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0406 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0407 204003ee call p_mouse_gpio_config_output_low 
-0408 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0409 20204195 branch mouse_3io6key_check 
+0411 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+0412 204003f9 call p_mouse_gpio_config_output_low 
+0413 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0414 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-040a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-040b c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-040c 6fe0cbf5 fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
-040d 243a0413 nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
+0415 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0416 c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+0417 6fe0cbf5 fetch 1 ,mem_mouse_another_dpi_connect_vin_flag 
+0418 243a041e nbranch p_mouse_dpi_another_gpio_connect_vin_check ,blank 
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-040e 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
-040f 204003ec call p_mouse_gpio_config_output_high 
-0410 20400424 call p_mouse_dpi_another_check 
-0411 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
-0412 20203f56 branch mouse_gpio_config_input_pu 
+0419 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
+041a 204003f7 call p_mouse_gpio_config_output_high 
+041b 2040042f call p_mouse_dpi_another_check 
+041c 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
+041d 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0413 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
-0414 793ffe07 set0 gpio_active_bit ,pdata 
-0415 67e0cbf6 store 1 ,mem_dpi_another_button_gpio 
-0416 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
-0417 204003ee call p_mouse_gpio_config_output_low 
-0418 704bfa00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0419 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
-041a 6fe0cbf7 fetch 1 ,mem_dpi_another_press_status 
-041b 2040043d call p_mouse_check_key_connect_vin_new 
-041c 20400428 call p_mouse_dpi_another_state_check 
-041d 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
-041e 20203f56 branch mouse_gpio_config_input_pu 
+041e 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
+041f 793ffe07 set0 gpio_active_bit ,pdata 
+0420 67e0cbf6 store 1 ,mem_dpi_another_button_gpio 
+0421 6fe0cbf6 fetch 1 ,mem_dpi_another_button_gpio 
+0422 204003f9 call p_mouse_gpio_config_output_low 
+0423 704bfa00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0424 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
+0425 6fe0cbf7 fetch 1 ,mem_dpi_another_press_status 
+0426 20400448 call p_mouse_check_key_connect_vin_new 
+0427 20400433 call p_mouse_dpi_another_state_check 
+0428 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
+0429 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_down_new:
-041f 20403f56 call mouse_gpio_config_input_pu 
-0420 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
-0421 c1008000 rtneq dpi_button_state_down 
-0422 704bf801 jam dpi_button_state_down ,mem_dpi_another_button_state 
-0423 20204069 branch mouse_dpi_process 
+042a 20403f56 call mouse_gpio_config_input_pu 
+042b 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
+042c c1008000 rtneq dpi_button_state_down 
+042d 704bf801 jam dpi_button_state_down ,mem_dpi_another_button_state 
+042e 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_check:
-0424 704bfa00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0425 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
-0426 6fe0cbf7 fetch 1 ,mem_dpi_another_press_status 
-0427 20400433 call p_mouse_check_key_connect_gnd_new 
+042f 704bfa00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0430 6848cbf6 fetcht 1 ,mem_dpi_another_button_gpio 
+0431 6fe0cbf7 fetch 1 ,mem_dpi_another_press_status 
+0432 2040043e call p_mouse_check_key_connect_gnd_new 
 
 p_mouse_dpi_another_state_check:
-0428 67e0cbf7 store 1 ,mem_dpi_another_press_status 
-0429 6fe0cbf9 fetch 1 ,mem_dpi_another_button_down_enable 
-042a 203a042f branch p_mouse_dpi_another_up ,blank 
+0433 67e0cbf7 store 1 ,mem_dpi_another_press_status 
+0434 6fe0cbf9 fetch 1 ,mem_dpi_another_button_down_enable 
+0435 203a043a branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-042b 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
-042c c1008000 rtneq dpi_button_state_down 
-042d 704bf801 jam dpi_button_state_down ,mem_dpi_another_button_state 
-042e 20204069 branch mouse_dpi_process 
+0436 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
+0437 c1008000 rtneq dpi_button_state_down 
+0438 704bf801 jam dpi_button_state_down ,mem_dpi_another_button_state 
+0439 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-042f 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
-0430 c1000000 rtneq dpi_button_state_up 
-0431 704bf800 jam dpi_button_state_up ,mem_dpi_another_button_state 
-0432 20600000 rtn 
+043a 6fe0cbf8 fetch 1 ,mem_dpi_another_button_state 
+043b c1000000 rtneq dpi_button_state_up 
+043c 704bf800 jam dpi_button_state_up ,mem_dpi_another_button_state 
+043d 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-0433 1fe3fe00 lshift pdata ,pdata 
-0434 1fe22400 copy pdata ,regb 
-0435 20406059 call gpio_get_bit 
-0436 7920a400 setflag true ,0 ,regb 
-0437 1a417e07 and regb ,0x07 ,pdata 
-0438 6848cbfa fetcht 1 ,mem_mouse_key_temp_patch 
-0439 18420e00 copy temp ,queue 
-043a c0038448 beq 0x07 ,p_mouse_key_press 
-043b c000044a beq 0x00 ,p_mouse_key_release 
-043c 20600000 rtn 
-
-p_mouse_check_key_connect_vin_new:
-043d 1fe3fe00 lshift pdata ,pdata 
-043e 1fe22400 copy pdata ,regb 
-043f 20403f54 call mouse_gpio_config_input_pd 
+043e 1fe3fe00 lshift pdata ,pdata 
+043f 1fe22400 copy pdata ,regb 
 0440 20406059 call gpio_get_bit 
 0441 7920a400 setflag true ,0 ,regb 
 0442 1a417e07 and regb ,0x07 ,pdata 
 0443 6848cbfa fetcht 1 ,mem_mouse_key_temp_patch 
 0444 18420e00 copy temp ,queue 
-0445 c0038448 beq 0x07 ,p_mouse_key_press 
-0446 c000044a beq 0x00 ,p_mouse_key_release 
+0445 c0038453 beq 0x07 ,p_mouse_key_press 
+0446 c0000455 beq 0x00 ,p_mouse_key_release 
 0447 20600000 rtn 
 
+p_mouse_check_key_connect_vin_new:
+0448 1fe3fe00 lshift pdata ,pdata 
+0449 1fe22400 copy pdata ,regb 
+044a 20403f54 call mouse_gpio_config_input_pd 
+044b 20406059 call gpio_get_bit 
+044c 7920a400 setflag true ,0 ,regb 
+044d 1a417e07 and regb ,0x07 ,pdata 
+044e 6848cbfa fetcht 1 ,mem_mouse_key_temp_patch 
+044f 18420e00 copy temp ,queue 
+0450 c0038453 beq 0x07 ,p_mouse_key_press 
+0451 c0000455 beq 0x00 ,p_mouse_key_release 
+0452 20600000 rtn 
+
 p_mouse_key_press:
-0448 704bf901 jam 1 ,mem_dpi_another_button_down_enable 
-0449 20600000 rtn 
+0453 704bf901 jam 1 ,mem_dpi_another_button_down_enable 
+0454 20600000 rtn 
 
 p_mouse_key_release:
-044a 704bf900 jam 0 ,mem_dpi_another_button_down_enable 
-044b 20600000 rtn 
+0455 704bf900 jam 0 ,mem_dpi_another_button_down_enable 
+0456 20600000 rtn 
 
 p_mouse_dpi_process:
-044c 20404072 call mouse_dpi_ghost_check 
-044d 20740000 rtn user 
-044e 6fe0c992 fetch 1 ,mem_mouse_dpi 
-044f 1fe20400 copy pdata ,temp 
-0450 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0451 c29e8458 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0452 18427e00 copy temp ,pdata 
-0453 1fe0fe01 increase 1 ,pdata 
-0454 1fe17e03 and pdata ,0x03 ,pdata 
+0457 20404072 call mouse_dpi_ghost_check 
+0458 20740000 rtn user 
+0459 6fe0c992 fetch 1 ,mem_mouse_dpi 
+045a 1fe20400 copy pdata ,temp 
+045b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+045c c29e8463 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+045d 18427e00 copy temp ,pdata 
+045e 1fe0fe01 increase 1 ,pdata 
+045f 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0455 67e0c992 store 1 ,mem_mouse_dpi 
-0456 20404095 call mouse_seting_dpi 
-0457 202045ee branch mouse_store_device_info_delay 
+0460 67e0c992 store 1 ,mem_mouse_dpi 
+0461 20404095 call mouse_seting_dpi 
+0462 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0458 6fe0cbf9 fetch 1 ,mem_dpi_another_button_down_enable 
-0459 243a0475 nbranch p_mouse_another_dpi_button_down ,blank 
+0463 6fe0cbf9 fetch 1 ,mem_dpi_another_button_down_enable 
+0464 243a0480 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-045a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-045b c28e0469 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-045c 18427e00 copy temp ,pdata 
-045d c1008000 rtneq mouse_dpi_level2 
+0465 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0466 c28e0474 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0467 18427e00 copy temp ,pdata 
+0468 c1008000 rtneq mouse_dpi_level2 
 
 p_mouse_dpi_increase_level:
-045e c0000465 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-045f c0010463 beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
-0460 20600000 rtn 
+0469 c0000470 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+046a c001046e beq mouse_dpi_level3 ,p_mouse_dpi_level_2 
+046b 20600000 rtn 
 
 p_mouse_dpi_level_1:
-0461 58000002 setarg 2 
-0462 20200455 branch p_mouse_dpi_store 
+046c 58000002 setarg 2 
+046d 20200460 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-0463 58000000 setarg 0 
-0464 20200455 branch p_mouse_dpi_store 
+046e 58000000 setarg 0 
+046f 20200460 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-0465 58000001 setarg 1 
-0466 20200455 branch p_mouse_dpi_store 
+0470 58000001 setarg 1 
+0471 20200460 branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-0467 58000003 setarg 3 
-0468 20200455 branch p_mouse_dpi_store 
+0472 58000003 setarg 3 
+0473 20200460 branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0469 18427e00 copy temp ,pdata 
-046a c1008000 rtneq mouse_dpi_level2 
-046b c0000465 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-046c c0010467 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-046d c0018463 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-046e 20600000 rtn 
+0474 18427e00 copy temp ,pdata 
+0475 c1008000 rtneq mouse_dpi_level2 
+0476 c0000470 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+0477 c0010472 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+0478 c001846e beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+0479 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-046f 18427e00 copy temp ,pdata 
-0470 c1010000 rtneq mouse_dpi_level3 
-0471 c0000467 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-0472 c0008463 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-0473 c0018461 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-0474 20600000 rtn 
+047a 18427e00 copy temp ,pdata 
+047b c1010000 rtneq mouse_dpi_level3 
+047c c0000472 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+047d c000846e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+047e c001846c beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+047f 20600000 rtn 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0475 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0476 c28e046f bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
-0477 18427e00 copy temp ,pdata 
-0478 c1010000 rtneq mouse_dpi_level3 
+0480 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0481 c28e047a bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_decrease_level_4 
+0482 18427e00 copy temp ,pdata 
+0483 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_decrease_level:
-0479 c0000461 beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
-047a c0008463 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-047b 20600000 rtn 
+0484 c000046c beq mouse_dpi_level1 ,p_mouse_dpi_level_1 
+0485 c000846e beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+0486 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/program/patch.prog	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/program/patch.prog	(working copy)
@@ -823,7 +823,7 @@
 	call p_mouse_commbination_key_process
 	call mouse_check_discovery_timeout_timer
 	//ble
-	call mouse_check_direct_timeout_timer
+	call p_mouse_check_direct_timeout_timer
 	call mouse_le_enable_att_list_timer
 	call p_mouse_le_battery_updata_timer
 	call mouse_le_send_smp_security_request_timer
@@ -836,8 +836,14 @@
 	call mouse_store_information_delay_timer
 	branch p_mouse_check_no_data_timeout_timer
 
+p_mouse_check_direct_timeout_timer:
+	arg mem_mouse_direct_timer,regc
+	arg mouse_check_direct_timeout,regb
+	call timer_single_step
+	branch mouse_check_direct_timeout_timer+3
 
 p_mouse_start_reconnect_device:
+	jam 0,mem_mouse_adv_flag
 	call p_mouse_multi_blink_enable
 	branch mouse_start_reconnect_device+1
 
@@ -845,7 +851,14 @@
 p_mouse_multi_blink_enable:
 	jam ON,mem_mouse_multi_led_enable
 	jam MULTI_LED_BLINK,mem_mouse_multi_led_type
-	jam 3,mem_mouse_multi_led_blink_timer
+p_mouse_led_blink_reinit:
+	fetch 1,mem_mouse_adv_flag
+	branch p_mouse_le_reconn_init,blank
+	jam 2,mem_mouse_multi_led_blink_timer
+	rtn
+	
+p_mouse_le_reconn_init:
+	jam 5,mem_mouse_multi_led_blink_timer
 	rtn
 p_mouse_multi_on_enable:
 	jam ON,mem_mouse_multi_led_enable
@@ -853,6 +866,7 @@
 	rtn
 p_mouse_multi_led_disable:
 	jam OFF,mem_mouse_multi_led_enable
+	jam 0,mem_mouse_adv_flag
 	rtn
 
 p_mouse_logo_led_multi_timer:
@@ -876,7 +890,7 @@
 	arg p_mouse_multi_led_led_blink_timeout,regb
 	branch timer_single_step
 p_mouse_multi_led_led_blink_timeout:
-	jam 3,mem_mouse_multi_led_blink_timer
+	call p_mouse_led_blink_reinit
 	fetch 1,mem_mouse_multi_led_state
 	beq ON,p_mouse_multi_logo_led_off
 p_mouse_multi_logo_led_on:
@@ -1056,6 +1070,7 @@
 	branch mouse_disconnect	
 
 p_mouse_start_discovery:
+	jam 1,mem_mouse_adv_flag
 	call p_mouse_multi_blink_enable
 	fetch 2,mem_ui_state_map
 	isolate1 UI_STATE_BLE_ADV,pdata
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/sched/mouse.dat	(revision 3606)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/SlideSwitch_3mode_LOGO&BT_mult_close_ice_Y58/sched/mouse.dat	(working copy)
@@ -97,8 +97,8 @@
 1b
 
 mem_mouse_discovery_timeout:58 02	#1min
-mem_mouse_24g_pair_timeout_init:58 00  #1min	    24g reconn timer&pair timer
-mem_mouse_direct_timeout:14  #05s
+mem_mouse_24g_pair_timeout_init:58 02  #1min	    24g reconn timer&pair timer
+mem_mouse_direct_timeout:64  #10s
 mem_mouse_24g_reconn_timeout_init:64 #10s
 
 mem_mouse_24g_pair_tx_power:94 #-20dBm
