Index: output/eeprom.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(revision 3162)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-8e
-1a
+16
+1b
 c2
 84
 00
@@ -23,11 +23,11 @@
 c0
 42
 86
-a1
+c3
 c0
 44
 86
-74
+96
 c0
 50
 80
@@ -47,19 +47,19 @@
 c0
 73
 05
-09
+2b
 c0
 75
 05
-a8
+ca
 c0
 75
 85
-b0
+d2
 c0
 76
 05
-ca
+ec
 20
 20
 2a
@@ -67,43 +67,43 @@
 c0
 1c
 85
-ce
+f0
 c0
 21
 85
-d5
+f7
 c0
 2b
 85
-db
+fd
 c0
 2c
-85
-eb
+86
+0d
 c0
 31
-85
-f8
+86
+1a
 c0
 33
 06
-1e
+40
 c0
 33
 86
-3d
+5f
 c0
 35
 06
-50
+72
 c0
 3b
 86
-5a
+7c
 c0
 7d
 06
-6b
+8d
 20
 20
 2a
@@ -1571,7 +1571,7 @@
 20
 5a
 04
-42
+4e
 20
 20
 01
@@ -2770,8 +2770,8 @@
 01
 20
 40
-04
-df
+05
+01
 20
 40
 03
@@ -2907,7 +2907,7 @@
 20
 40
 05
-c8
+ea
 20
 40
 34
@@ -2923,7 +2923,7 @@
 20
 40
 05
-c4
+e6
 20
 20
 7d
@@ -2955,11 +2955,11 @@
 20
 40
 04
-77
+8a
 20
 40
 04
-43
+4f
 20
 40
 3e
@@ -3111,7 +3111,7 @@
 c0
 7f
 85
-93
+b5
 20
 60
 00
@@ -3207,7 +3207,7 @@
 58
 00
 06
-64
+86
 60
 01
 41
@@ -3743,7 +3743,7 @@
 20
 40
 05
-c0
+e2
 20
 20
 7d
@@ -3843,7 +3843,7 @@
 20
 20
 06
-34
+56
 20
 40
 02
@@ -3999,11 +3999,11 @@
 20
 40
 04
-77
+8a
 20
 40
 04
-45
+51
 20
 40
 00
@@ -4051,59 +4051,59 @@
 20
 40
 04
-32
+c0
 20
 40
 04
-d7
+3e
 20
 40
 04
-a6
+f9
 20
 40
-42
-34
+04
+b9
 20
 40
-04
-1b
+42
+34
 20
 40
 04
-29
+27
 20
 40
 04
-79
+35
 20
 40
 04
-ad
+8c
 20
 40
 04
-70
+83
 20
 40
 04
-9b
+ae
 20
 40
 04
-c4
+e6
 20
 40
 04
-c7
+e9
 20
 40
 04
-cd
+ef
 20
 40
 04
-98
+ab
 20
 40
 42
@@ -4116,6 +4116,10 @@
 09
 4b
 26
+20
+3a
+04
+0e
 98
 46
 7c
@@ -4123,7 +4127,7 @@
 24
 42
 85
-43
+65
 1a
 22
 7e
@@ -4132,10 +4136,6 @@
 01
 4b
 26
-20
-3a
-04
-0e
 70
 4b
 2f
@@ -4162,12 +4162,20 @@
 00
 68
 00
+ca
+5e
+c0
+00
+84
+1d
+68
+00
 cb
 1e
 24
 3a
 04
-12
+14
 70
 4a
 52
@@ -4180,18 +4188,10 @@
 7a
 00
 00
-70
-4b
-32
-00
-70
-4b
-33
-00
 20
 40
 05
-43
+65
 68
 00
 cb
@@ -4203,7 +4203,55 @@
 20
 40
 04
-bf
+dd
+68
+00
+cb
+2b
+c0
+80
+84
+23
+20
+60
+00
+00
+68
+01
+4b
+14
+20
+7a
+00
+00
+70
+4a
+57
+01
+d8
+40
+00
+06
+20
+40
+04
+5a
+20
+20
+04
+14
+20
+40
+03
+c4
+20
+40
+65
+df
+20
+40
+01
+e6
 20
 60
 00
@@ -4215,7 +4263,7 @@
 20
 40
 04
-a9
+bc
 60
 00
 cb
@@ -4235,7 +4283,7 @@
 20
 40
 04
-a9
+bc
 60
 00
 cb
@@ -4243,7 +4291,7 @@
 c0
 00
 84
-25
+31
 20
 60
 00
@@ -4271,7 +4319,7 @@
 c0
 40
 04
-2c
+38
 20
 60
 00
@@ -4283,7 +4331,7 @@
 da
 40
 04
-2f
+3b
 20
 20
 33
@@ -4307,7 +4355,7 @@
 c0
 00
 84
-4a
+5d
 70
 4b
 2c
@@ -4315,7 +4363,7 @@
 20
 40
 04
-59
+6c
 70
 4b
 1d
@@ -4327,7 +4375,7 @@
 c0
 01
 04
-48
+54
 d8
 40
 00
@@ -4351,7 +4399,7 @@
 20
 42
 84
-40
+4c
 20
 60
 00
@@ -4367,7 +4415,7 @@
 20
 40
 04
-77
+8a
 68
 00
 ca
@@ -4383,7 +4431,7 @@
 20
 40
 05
-a1
+c3
 20
 20
 68
@@ -4395,7 +4443,35 @@
 20
 20
 04
-3a
+46
+70
+4a
+52
+00
+20
+60
+00
+00
+70
+4a
+52
+01
+20
+60
+00
+00
+60
+08
+ca
+59
+70
+4a
+5b
+01
+20
+20
+04
+58
 68
 00
 ca
@@ -4403,7 +4479,7 @@
 20
 3a
 04
-60
+73
 da
 60
 4a
@@ -4411,7 +4487,7 @@
 da
 40
 04
-4f
+62
 20
 20
 33
@@ -4431,7 +4507,7 @@
 20
 3a
 04
-57
+6a
 68
 00
 ca
@@ -4439,7 +4515,7 @@
 20
 3a
 04
-5c
+6f
 1f
 e0
 ff
@@ -4455,7 +4531,7 @@
 c0
 00
 84
-43
+4f
 70
 4a
 54
@@ -4463,7 +4539,7 @@
 20
 40
 05
-a1
+c3
 20
 20
 68
@@ -4475,7 +4551,7 @@
 c0
 00
 04
-42
+4e
 70
 4a
 52
@@ -4483,7 +4559,7 @@
 20
 20
 04
-42
+4e
 68
 00
 cb
@@ -4491,7 +4567,7 @@
 24
 3a
 04
-6d
+80
 20
 40
 40
@@ -4499,15 +4575,15 @@
 20
 3a
 04
-42
+4e
 c0
 0a
 04
-42
+4e
 c0
 01
 84
-69
+7c
 1f
 e1
 7e
@@ -4515,11 +4591,11 @@
 20
 40
 05
-9a
+bc
 20
 20
 04
-59
+6c
 70
 4b
 22
@@ -4531,11 +4607,11 @@
 20
 5a
 04
-59
+6c
 20
 20
 04
-48
+54
 68
 00
 cb
@@ -4547,7 +4623,7 @@
 20
 20
 04
-42
+4e
 68
 00
 cb
@@ -4579,7 +4655,7 @@
 20
 40
 05
-98
+ba
 20
 20
 68
@@ -4591,7 +4667,7 @@
 24
 3a
 04
-7d
+90
 20
 40
 40
@@ -4599,7 +4675,7 @@
 c0
 0a
 04
-82
+95
 68
 00
 ca
@@ -4627,7 +4703,7 @@
 20
 40
 04
-88
+9b
 68
 00
 c6
@@ -4651,7 +4727,7 @@
 da
 40
 04
-8b
+9e
 20
 20
 33
@@ -4727,7 +4803,7 @@
 da
 40
 04
-9e
+b1
 20
 20
 33
@@ -4755,11 +4831,11 @@
 20
 42
 84
-d5
+f7
 20
 40
 05
-c0
+e2
 20
 20
 43
@@ -4796,9 +4872,9 @@
 00
 c7
 20
-c3
-80
+c1
 00
+80
 00
 68
 00
@@ -4817,17 +4893,57 @@
 4a
 e4
 60
-01
+02
 4b
-20
-20
+18
+70
+4a
+57
+01
+d8
 40
-05
-3b
+00
+00
+68
+01
+4b
+14
+1f
+e6
+7c
+0a
 20
-61
+21
+04
+5a
+68
 00
+cb
+2b
+24
+3a
+04
+e2
+70
+4a
+52
 00
+68
+01
+4b
+14
+1f
+e6
+7c
+60
+20
+42
+84
+db
+24
+41
+04
+58
 1f
 e6
 7c
@@ -4835,7 +4951,7 @@
 24
 21
 04
-be
+dd
 70
 4b
 c1
@@ -4860,10 +4976,14 @@
 20
 03
 15
-70
-4b
-32
-01
+d8
+40
+00
+04
+20
+20
+04
+5a
 68
 00
 cd
@@ -4884,6 +5004,22 @@
 60
 00
 00
+68
+00
+cb
+31
+24
+3a
+04
+5a
+70
+4b
+2b
+00
+20
+60
+00
+00
 da
 60
 46
@@ -4903,7 +5039,7 @@
 da
 40
 04
-ca
+ec
 20
 20
 33
@@ -4935,7 +5071,7 @@
 da
 40
 04
-d2
+f4
 20
 20
 33
@@ -4982,8 +5118,8 @@
 ce
 da
 40
-04
-de
+05
+00
 20
 20
 33
@@ -5046,24 +5182,24 @@
 34
 24
 5a
-04
-f8
+05
+1a
 da
 20
 47
 09
 20
 40
-04
-fd
+05
+1f
 68
 00
 c2
 31
 c3
 00
-04
-f3
+05
+15
 70
 4a
 5e
@@ -5111,7 +5247,7 @@
 20
 20
 04
-45
+51
 ea
 24
 00
@@ -5179,7 +5315,7 @@
 20
 40
 05
-1c
+3e
 20
 40
 40
@@ -5187,7 +5323,7 @@
 20
 40
 05
-a3
+c5
 1a
 22
 7e
@@ -5199,7 +5335,7 @@
 20
 40
 05
-18
+3a
 68
 01
 4b
@@ -5227,15 +5363,15 @@
 24
 5a
 05
-37
+59
 20
 5a
 05
-3e
+60
 20
 20
 05
-59
+7b
 da
 20
 00
@@ -5255,7 +5391,7 @@
 20
 40
 05
-46
+68
 60
 00
 ca
@@ -5275,7 +5411,7 @@
 20
 40
 05
-46
+68
 60
 00
 ca
@@ -5295,7 +5431,7 @@
 20
 40
 05
-46
+68
 60
 00
 ca
@@ -5315,7 +5451,7 @@
 20
 40
 05
-46
+68
 60
 00
 ca
@@ -5335,7 +5471,7 @@
 20
 40
 05
-46
+68
 60
 00
 ca
@@ -5383,11 +5519,11 @@
 20
 40
 05
-3b
+5d
 24
 41
 05
-43
+65
 20
 60
 00
@@ -5455,11 +5591,11 @@
 c0
 03
 85
-55
+77
 c0
 00
 05
-57
+79
 20
 60
 00
@@ -5483,7 +5619,7 @@
 20
 40
 05
-3b
+5d
 20
 7a
 00
@@ -5491,7 +5627,7 @@
 24
 21
 05
-78
+9a
 68
 01
 4a
@@ -5507,7 +5643,7 @@
 c0
 80
 05
-6d
+8f
 68
 01
 4b
@@ -5519,11 +5655,11 @@
 20
 40
 05
-3b
+5d
 20
 41
 05
-43
+65
 68
 00
 cb
@@ -5531,7 +5667,7 @@
 c0
 00
 85
-6a
+8c
 68
 00
 cb
@@ -5539,7 +5675,7 @@
 c0
 00
 85
-6a
+8c
 70
 4b
 20
@@ -5559,7 +5695,7 @@
 20
 20
 05
-68
+8a
 68
 01
 4b
@@ -5567,15 +5703,15 @@
 c0
 00
 85
-71
+93
 c0
 01
 05
-71
+93
 20
 20
 05
-61
+83
 1f
 ed
 7e
@@ -5595,7 +5731,7 @@
 20
 22
 85
-61
+83
 1f
 eb
 fe
@@ -5603,7 +5739,7 @@
 20
 20
 05
-61
+83
 68
 01
 4b
@@ -5611,11 +5747,11 @@
 c0
 01
 85
-8b
+ad
 c0
 00
 85
-7f
+a1
 68
 01
 4b
@@ -5631,7 +5767,7 @@
 20
 20
 05
-61
+83
 68
 00
 cb
@@ -5639,7 +5775,7 @@
 20
 5a
 05
-86
+a8
 68
 00
 cb
@@ -5647,7 +5783,7 @@
 c0
 00
 05
-7b
+9d
 68
 01
 4b
@@ -5659,7 +5795,7 @@
 20
 20
 05
-61
+83
 70
 4b
 23
@@ -5699,7 +5835,7 @@
 c0
 01
 05
-93
+b5
 1f
 e0
 fe
@@ -5711,7 +5847,7 @@
 20
 20
 05
-94
+b6
 70
 4b
 1a
@@ -5743,7 +5879,7 @@
 c0
 88
 04
-77
+8a
 68
 01
 4b
@@ -5759,11 +5895,11 @@
 20
 21
 04
-77
+8a
 20
 40
 05
-98
+ba
 20
 20
 68
@@ -5879,7 +6015,7 @@
 20
 40
 05
-c8
+ea
 68
 00
 ca
@@ -5903,7 +6039,7 @@
 20
 40
 05
-c8
+ea
 d8
 c0
 4a
@@ -6002,8 +6138,8 @@
 00
 20
 40
-05
-e1
+06
+03
 20
 20
 55
@@ -6051,7 +6187,7 @@
 20
 21
 05
-dd
+ff
 68
 00
 c3
@@ -6062,8 +6198,8 @@
 72
 20
 20
-05
-df
+06
+01
 68
 00
 84
@@ -6074,8 +6210,8 @@
 00
 20
 40
-05
-f0
+06
+12
 24
 74
 00
@@ -6123,7 +6259,7 @@
 c2
 82
 86
-16
+38
 68
 00
 c7
@@ -6131,7 +6267,7 @@
 24
 3a
 06
-01
+23
 68
 00
 84
@@ -6139,7 +6275,7 @@
 c3
 02
 06
-05
+27
 68
 00
 82
@@ -6147,7 +6283,7 @@
 20
 3a
 06
-05
+27
 20
 20
 56
@@ -6175,7 +6311,7 @@
 c0
 82
 86
-08
+2a
 70
 47
 8e
@@ -6239,7 +6375,7 @@
 20
 20
 06
-0b
+2d
 68
 00
 c7
@@ -6323,7 +6459,7 @@
 c0
 01
 86
-2d
+4f
 20
 20
 56
@@ -6335,11 +6471,11 @@
 c0
 00
 06
-31
+53
 c0
 00
 86
-38
+5a
 20
 20
 5c
@@ -6399,11 +6535,11 @@
 c0
 02
 06
-41
+63
 c0
 03
 06
-45
+67
 20
 20
 56
@@ -6415,7 +6551,7 @@
 20
 40
 06
-17
+39
 20
 40
 7e
@@ -6431,11 +6567,11 @@
 c0
 00
 86
-49
+6b
 c0
 02
 86
-4b
+6d
 20
 20
 5a
@@ -6515,7 +6651,7 @@
 20
 37
 06
-5d
+7f
 24
 36
 d8
@@ -6595,7 +6731,7 @@
 c0
 09
 06
-71
+93
 20
 20
 7d
@@ -6679,19 +6815,19 @@
 c0
 01
 06
-8c
+ae
 c0
 02
 06
-94
+b6
 c0
 10
 06
-9e
+c0
 20
 40
 06
-99
+bb
 70
 89
 55
@@ -6743,7 +6879,7 @@
 20
 40
 06
-99
+bb
 70
 89
 55
@@ -6800,8 +6936,8 @@
 20
 28
 fa
-a4
-9f
+1f
+0d
 aa
 55
 08
@@ -7244,7 +7380,7 @@
 00
 48
 00
-4b
+4a
 00
 aa
 55
@@ -7737,7 +7873,7 @@
 00
 e2
 4a
-0d
+0e
 00
 aa
 55
@@ -7849,144 +7985,8 @@
 0f
 0f
 0f
-7e
-d1
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+5a
+c7
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-7c
-64
+2c
+bc
Index: output/program.lis
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(revision 3162)
+++ /branch/flip_pen/flip_pen_24G&BLE/output/program.lis	(working copy)
@@ -4,29 +4,29 @@
 0001 c000001a beq patch00_0 ,p_soft_reset 
 0002 c000801d beq patch00_1 ,p_soft_reset_1 
 0003 c0010026 beq patch00_2 ,p_soft_reset_2 
-0004 c04286a1 beq patch10_5 ,p_shutdown_radio 
-0005 c0448674 beq patch11_1 ,p_set_freq_tx 
+0004 c04286c3 beq patch10_5 ,p_shutdown_radio 
+0005 c0448696 beq patch11_1 ,p_set_freq_tx 
 0006 c050802f beq patch14_1 ,p_init_param 
 0007 c0588034 beq patch16_1 ,p_lpm_check_wake_lock 
 0008 c0590038 beq patch16_2 ,p_g24_dispatch 
 0009 c06202a6 beq patch18_4 ,p_device_init 
-000a c0730509 beq patch1c_6 ,p_mouse_motion 
-000b c07505a8 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-000c c07585b0 beq patch1d_3 ,p_mouse_start_discovery 
-000d c07605ca beq patch1d_4 ,p_mouse_stop_discovery 
+000a c073052b beq patch1c_6 ,p_mouse_motion 
+000b c07505ca beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000c c07585d2 beq patch1d_3 ,p_mouse_start_discovery 
+000d c07605ec beq patch1d_4 ,p_mouse_stop_discovery 
 000e 20202a8e branch loop 
 
 pf_patch_ext:
-000f c01c85ce beq patch27_1 ,p_le_slave_match 
-0010 c02185d5 beq patch28_3 ,p_le_next_adv_channel 
-0011 c02b85db beq patch2a_7 ,p_le_update_param 
-0012 c02c85eb beq patch2b_1 ,p_le_update_channel_map 
-0013 c03185f8 beq patch2c_3 ,p_le_prepare_tx 
-0014 c033061e beq patch2c_6 ,p_le_parse 
-0015 c033863d beq patch2c_7 ,p_le_parse_l2cap 
-0016 c0350650 beq patch2d_2 ,p_le_adv_not_match 
-0017 c03b865a beq patch2e_7 ,p_le_lpm_setmult 
-0018 c07d066b beq patch3f_2 ,p_check_51cmd_once_continue 
+000f c01c85f0 beq patch27_1 ,p_le_slave_match 
+0010 c02185f7 beq patch28_3 ,p_le_next_adv_channel 
+0011 c02b85fd beq patch2a_7 ,p_le_update_param 
+0012 c02c860d beq patch2b_1 ,p_le_update_channel_map 
+0013 c031861a beq patch2c_3 ,p_le_prepare_tx 
+0014 c0330640 beq patch2c_6 ,p_le_parse 
+0015 c033865f beq patch2c_7 ,p_le_parse_l2cap 
+0016 c0350672 beq patch2d_2 ,p_le_adv_not_match 
+0017 c03b867c beq patch2e_7 ,p_le_lpm_setmult 
+0018 c07d068d beq patch3f_2 ,p_check_51cmd_once_continue 
 0019 20202a8e branch loop 
 
 p_soft_reset:
@@ -535,7 +535,7 @@
 0184 60014ae4 store 2 ,mem_customer_key 
 0185 704b2b00 jam 0 ,mem_flip_connect_success 
 0186 6800cb1e fetch 1 ,mem_flip_device_charging 
-0187 205a0442 call p_mouse_multi_led_blink_off ,blank 
+0187 205a044e call p_mouse_multi_led_blink_off ,blank 
 0188 2020018b branch p_g24_tx_attempt_fail 
 
 p_g24_tx_paring_retry:
@@ -929,7 +929,7 @@
 02b0 20758000 rtn wake 
 02b1 2040031c call p_mouse_cb_fuction 
 02b2 704b3401 jam on ,mem_adc_read_once 
-02b3 204004df call p_mouse_adc_read_once 
+02b3 20400501 call p_mouse_adc_read_once 
 02b4 20400310 call p_mouse_wakeup_from_power 
 
 p_mouse_check_reconn_target:
@@ -979,11 +979,11 @@
 
 p_mouse4_0_check_reconn_target_next:
 02d4 600146ae store 2 ,mem_mouse_direct_timer 
-02d5 204005c8 call p_mouse_store_eeprom_enable 
+02d5 204005ea call p_mouse_store_eeprom_enable 
 02d6 20403418 call app_lpm_mult_disable 
 02d7 7041de04 jam tx_power_f5db ,mem_tx_power 
 02d8 d8c04390 arg mem_le_scan_data ,contr 
-02d9 204005c4 call p_le_adv_data_update 
+02d9 204005e6 call p_le_adv_data_update 
 02da 20207df4 branch check_51cmd_adv 
 
 p_g24_start_pairing_sm1:
@@ -997,8 +997,8 @@
 02de 680240a0 fetch 4 ,mem_lap 
 02df 60024bf3 store 4 ,mem_24g_device_addr 
 02e0 20403e6e call mouse_gpio_init 
-02e1 20400477 call p_laser_led_off 
-02e2 20400443 call p_blue_led_off 
+02e1 2040048a call p_laser_led_off 
+02e2 2040044f call p_blue_led_off 
 02e3 20403e1e call mouse_param_init 
 02e4 580047c6 setarg mem_mouse_le_uuid_sup 
 02e5 600144bc store 2 ,mem_ui_le_uuid_table 
@@ -1044,7 +1044,7 @@
 0305 d8400001 arg 1 ,temp 
 0306 204065df call iicd_read_eep_data 
 0307 6800cb1a fetch 1 ,mem_2key_model_select_flag 
-0308 c07f8593 beq 0xff ,p_2key_staus_set0 
+0308 c07f85b5 beq 0xff ,p_2key_staus_set0 
 0309 20600000 rtn 
 
 p_mouse_init_device_flag:
@@ -1082,7 +1082,7 @@
 031d 60014ced store 2 ,mem_cb_24g_data 
 031e 58000342 setarg p_mouse_le 
 031f 600141ef store 2 ,mem_cb_le_process 
-0320 58000664 setarg p_le_mouse_bb_event_connect_complete 
+0320 58000686 setarg p_le_mouse_bb_event_connect_complete 
 0321 600141f9 store 2 ,mem_cb_att_write 
 0322 5800029c setarg p_mouse_before_lpm 
 0323 600141ed store 2 ,mem_cb_before_lpm 
@@ -1260,7 +1260,7 @@
 03a5 207a0000 rtn blank 
 
 p_check_51cmd_adv:
-03a6 204005c0 call p_mouse_le_adv_data_update 
+03a6 204005e2 call p_mouse_le_adv_data_update 
 03a7 20207df4 branch check_51cmd_adv 
 
 p_mouse_le_enc_info:
@@ -1301,7 +1301,7 @@
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
 03be 704aa701 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-03bf 20200634 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+03bf 20200656 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_24g_pairing_complete:
 03c0 204002bc call p_mouse_tx_power_init 
@@ -1356,8 +1356,8 @@
 03e3 6012004c hstore 4 ,core_lpm_reg 
 03e4 20402c21 call lpm_write_ctrl 
 03e5 204074bd call disable_authrom 
-03e6 20400477 call p_laser_led_off 
-03e7 20400445 call p_blue_led_off2 
+03e6 2040048a call p_laser_led_off 
+03e7 20400451 call p_blue_led_off2 
 03e8 204000e7 call p_mouse_setgpio_lpm_before 
 03e9 d8400005 arg 0x05 ,temp 
 03ea 204067ed call gpio_clr_wake 
@@ -1371,30 +1371,30 @@
 03f2 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03f3 20400432 call p_flip_multi_led_blink_timer 
-03f4 204004d7 call p_mouse_adc_read 
-03f5 204004a6 call p_mouse_le_switch_adv_timer 
-03f6 20404234 call mouse_check_discovery_timeout_timer 
-03f7 2040041b call p_low_electricity_charging_timer_init 
-03f8 20400429 call p_send_alt_tab_payload_timer 
-03f9 20400479 call p_mouse_select_device 
-03fa 204004ad call p_mouse_g24_pair_mode_timer 
-03fb 20400470 call p_g24_init_long_sleep_timer 
-03fc 2040049b call p_mouse_check_direct_timeout_timer 
-03fd 204004c4 call p_mouse_le_enable_att_list_timer 
-03fe 204004c7 call p_mouse_le_current_mult_update_timer 
-03ff 204004cd call p_le_send_smp_security_request_timer 
-0400 20400498 call p_mouse_poweron_bt_start_reconn_timer 
+03f3 204004c0 call p_mouse_g24_pair_mode_timer 
+03f4 2040043e call p_flip_multi_led_blink_timer 
+03f5 204004f9 call p_mouse_adc_read 
+03f6 204004b9 call p_mouse_le_switch_adv_timer 
+03f7 20404234 call mouse_check_discovery_timeout_timer 
+03f8 20400427 call p_flip_charging_timer_init 
+03f9 20400435 call p_send_alt_tab_payload_timer 
+03fa 2040048c call p_mouse_select_device 
+03fb 20400483 call p_g24_init_long_sleep_timer 
+03fc 204004ae call p_mouse_check_direct_timeout_timer 
+03fd 204004e6 call p_mouse_le_enable_att_list_timer 
+03fe 204004e9 call p_mouse_le_current_mult_update_timer 
+03ff 204004ef call p_le_send_smp_security_request_timer 
+0400 204004ab call p_mouse_poweron_bt_start_reconn_timer 
 0401 2040423a call mouse_check_no_data_timeout_timer 
 
 p_mouse_key_long_time_down_timer:
 0402 20404083 call mouse_check_key_gpio 
 0403 68094b26 fetcht 2 ,mem_timer_key 
-0404 98467c00 isub temp ,null 
-0405 24428543 ncall p_key_press_timer_set0 ,zero 
-0406 1a227e00 copy rega ,pdata 
-0407 60014b26 store 2 ,mem_timer_key 
-0408 203a040e branch p_mouse_no_key_press ,blank 
+0404 203a040e branch p_mouse_no_key_press ,blank 
+0405 98467c00 isub temp ,null 
+0406 24428565 ncall p_key_press_timer_set0 ,zero 
+0407 1a227e00 copy rega ,pdata 
+0408 60014b26 store 2 ,mem_timer_key 
 0409 704b2f0a jam 0x0a ,mem_g24_discon_long_sleep_timeout 
 040a 68014b14 fetch 2 ,mem_key_long_press_timer 
 040b 1fe0fe01 increase 1 ,pdata 
@@ -1403,928 +1403,974 @@
 
 p_mouse_no_key_press:
 040e 704b1d00 jam 0 ,mem_device_change_finish 
-040f 6800cb1e fetch 1 ,mem_flip_device_charging 
-0410 243a0412 nbranch p_mouse_no_key_init ,blank 
-0411 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+040f 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0410 c000841d beq 1 ,p_low_voltage_led_init 
+0411 6800cb1e fetch 1 ,mem_flip_device_charging 
+0412 243a0414 nbranch p_mouse_no_key_init ,blank 
+0413 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
 
 p_mouse_no_key_init:
-0412 6800cae4 fetch 1 ,mem_customer_key 
-0413 247a0000 nrtn blank 
-0414 704b3200 jam 0 ,mem_g24_pair_fail 
-0415 704b3300 jam 0 ,mem_g24_pair_fail_cunt 
-0416 20400543 call p_key_press_timer_set0 
+0414 6800cae4 fetch 1 ,mem_customer_key 
+0415 247a0000 nrtn blank 
+0416 20400565 call p_key_press_timer_set0 
 0417 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
 0418 207a0000 rtn blank 
-0419 204004bf call p_g24_stop_pair_init 
-041a 20600000 rtn 
-
-p_low_electricity_charging_timer_init:
-041b 6808cb11 fetcht 1 ,mem_device_usb_gpio 
-041c 204004a9 call p_get_usb_bit 
-041d 6000cb1f store 1 ,mem_flip_device_usbing 
-041e 6808cb10 fetcht 1 ,mem_device_charge_gpio 
-041f 204067fb call gpio_config_input 
-0420 6808cb10 fetcht 1 ,mem_device_charge_gpio 
-0421 204004a9 call p_get_usb_bit 
-0422 6000cb1e store 1 ,mem_flip_device_charging 
-0423 c0008425 beq 1 ,p_charging_led_init 
-0424 20600000 rtn 
-
-p_charging_led_init:
-0425 704a570a jam 0x0a ,mem_mouse_multi_led_blink_timer_init 
-0426 704a5b00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0427 704a5201 jam 1 ,mem_mouse_multi_led_blink_enable 
-0428 20600000 rtn 
+0419 204004dd call p_g24_stop_pair_init 
+041a 6800cb2b fetch 1 ,mem_flip_connect_success 
+041b c0808423 bne 0x01 ,p_g24_reconn_start 
+041c 20600000 rtn 
+
+p_low_voltage_led_init:
+041d 68014b14 fetch 2 ,mem_key_long_press_timer 
+041e 207a0000 rtn blank 
+041f 704a5701 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+0420 d8400006 arg 6 ,temp 
+0421 2040045a call p_flip_multi_led_blink_init 
+0422 20200414 branch p_mouse_no_key_init 
+
+p_g24_reconn_start:
+0423 204003c4 call p_mouse_set_24g_addr_eeprom 
+0424 204065df call iicd_read_eep_data 
+0425 204001e6 call p_g24_start_24g_mode 
+0426 20600000 rtn 
+
+p_flip_charging_timer_init:
+0427 6808cb11 fetcht 1 ,mem_device_usb_gpio 
+0428 204004bc call p_get_usb_bit 
+0429 6000cb1f store 1 ,mem_flip_device_usbing 
+042a 6808cb10 fetcht 1 ,mem_device_charge_gpio 
+042b 204067fb call gpio_config_input 
+042c 6808cb10 fetcht 1 ,mem_device_charge_gpio 
+042d 204004bc call p_get_usb_bit 
+042e 6000cb1e store 1 ,mem_flip_device_charging 
+042f c0008431 beq 1 ,p_flip_charging_led_init 
+0430 20600000 rtn 
+
+p_flip_charging_led_init:
+0431 704a570a jam 0x0a ,mem_mouse_multi_led_blink_timer_init 
+0432 704a5b00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0433 704a5201 jam 1 ,mem_mouse_multi_led_blink_enable 
+0434 20600000 rtn 
 
 p_send_alt_tab_payload_timer:
-0429 68014b18 fetch 2 ,mem_key_send_payload_staus 
-042a c040042c beq 0x80 ,p_send_alt_tab_payload_timer_init 
-042b 20600000 rtn 
+0435 68014b18 fetch 2 ,mem_key_send_payload_staus 
+0436 c0400438 beq 0x80 ,p_send_alt_tab_payload_timer_init 
+0437 20600000 rtn 
 
 p_send_alt_tab_payload_timer_init:
-042c da604b16 arg mem_long_press_send_tab_timer ,regc 
-042d da40042f arg p_send_alt_tab_payload_flag ,regb 
-042e 2020336d branch timer_single_step 
+0438 da604b16 arg mem_long_press_send_tab_timer ,regc 
+0439 da40043b arg p_send_alt_tab_payload_flag ,regb 
+043a 2020336d branch timer_single_step 
 
 p_send_alt_tab_payload_flag:
-042f 704b1605 jam 0x05 ,mem_long_press_send_tab_timer 
-0430 704b2801 jam 1 ,mem_alt_key 
-0431 20600000 rtn 
+043b 704b1605 jam 0x05 ,mem_long_press_send_tab_timer 
+043c 704b2801 jam 1 ,mem_alt_key 
+043d 20600000 rtn 
 
 p_flip_multi_led_blink_timer:
-0432 6800cb2e fetch 1 ,mem_not_show_device_led 
-0433 c000844a beq multi_led_blink ,p_mouse_discovery_multi_led_blink 
+043e 6800cb2e fetch 1 ,mem_not_show_device_led 
+043f c000845d beq multi_led_blink ,p_mouse_discovery_multi_led_blink 
 
 p_flip_device_led_type_on_init:
-0434 704b2c01 jam 1 ,mem_device_led_flag 
-0435 20400459 call p_blue_led_on 
-0436 704b1d01 jam 1 ,mem_device_change_finish 
-0437 6800c720 fetch 1 ,mem_device_flag 
-0438 c0010448 beq latest_mode_24g ,p_flip_led_type_on_1s_init 
-0439 d8400006 arg 0x06 ,temp 
+0440 704b2c01 jam 1 ,mem_device_led_flag 
+0441 2040046c call p_blue_led_on 
+0442 704b1d01 jam 1 ,mem_device_change_finish 
+0443 6800c720 fetch 1 ,mem_device_flag 
+0444 c0010454 beq latest_mode_24g ,p_flip_led_type_on_1s_init 
+0445 d8400006 arg 0x06 ,temp 
 
 p_flip_device_led_type_on_start:
-043a 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
-043b 1fe0fe01 increase 1 ,pdata 
-043c 6000ca5a store 1 ,mem_mouse_multi_led_on_timer 
-043d 98467c00 isub temp ,null 
-043e 20428440 call p_mouse_device_led_off_poweron ,zero 
-043f 20600000 rtn 
+0446 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
+0447 1fe0fe01 increase 1 ,pdata 
+0448 6000ca5a store 1 ,mem_mouse_multi_led_on_timer 
+0449 98467c00 isub temp ,null 
+044a 2042844c call p_mouse_device_led_off_poweron ,zero 
+044b 20600000 rtn 
 
 p_mouse_device_led_off_poweron:
-0440 704b2e01 jam 1 ,mem_not_show_device_led 
-0441 704b2c00 jam 0 ,mem_device_led_flag 
+044c 704b2e01 jam 1 ,mem_not_show_device_led 
+044d 704b2c00 jam 0 ,mem_device_led_flag 
 
 p_mouse_multi_led_blink_off:
-0442 20400477 call p_laser_led_off 
+044e 2040048a call p_laser_led_off 
 
 p_blue_led_off:
-0443 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0444 c1000000 rtneq off 
+044f 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+0450 c1000000 rtneq off 
 
 p_blue_led_off2:
-0445 704a5400 jam off ,mem_mouse_multi_led_state 
-0446 204005a1 call p_blue_led_init 
-0447 20206825 branch gpio_out_inactive 
+0451 704a5400 jam off ,mem_mouse_multi_led_state 
+0452 204005c3 call p_blue_led_init 
+0453 20206825 branch gpio_out_inactive 
 
 p_flip_led_type_on_1s_init:
-0448 d840000a arg 0x0a ,temp 
-0449 2020043a branch p_flip_device_led_type_on_start 
+0454 d840000a arg 0x0a ,temp 
+0455 20200446 branch p_flip_device_led_type_on_start 
+
+p_multi_led_blink_disable:
+0456 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+0457 20600000 rtn 
+
+p_multi_led_blink_enable:
+0458 704a5201 jam on ,mem_mouse_multi_led_blink_enable 
+0459 20600000 rtn 
+
+p_flip_multi_led_blink_init:
+045a 6008ca59 storet 1 ,mem_mouse_multi_led_blink_count 
+045b 704a5b01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+045c 20200458 branch p_multi_led_blink_enable 
 
 p_mouse_discovery_multi_led_blink:
-044a 6800ca52 fetch 1 ,mem_mouse_multi_led_blink_enable 
-044b 203a0460 branch p_flip_key_led_show ,blank 
-044c da604a58 arg mem_mouse_multi_led_blink_timer ,regc 
-044d da40044f arg p_mouse_multi_led_type_blink_timeout ,regb 
-044e 2020336d branch timer_single_step 
+045d 6800ca52 fetch 1 ,mem_mouse_multi_led_blink_enable 
+045e 203a0473 branch p_flip_key_led_show ,blank 
+045f da604a58 arg mem_mouse_multi_led_blink_timer ,regc 
+0460 da400462 arg p_mouse_multi_led_type_blink_timeout ,regb 
+0461 2020336d branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-044f 6800ca57 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0450 6000ca58 store 1 ,mem_mouse_multi_led_blink_timer 
-0451 6800ca5b fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0452 203a0457 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-0453 6800ca59 fetch 1 ,mem_mouse_multi_led_blink_count 
-0454 203a045c branch p_mouse_multi_led_blink_finish ,blank 
-0455 1fe0ffff increase -1 ,pdata 
-0456 6000ca59 store 1 ,mem_mouse_multi_led_blink_count 
+0462 6800ca57 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0463 6000ca58 store 1 ,mem_mouse_multi_led_blink_timer 
+0464 6800ca5b fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+0465 203a046a branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0466 6800ca59 fetch 1 ,mem_mouse_multi_led_blink_count 
+0467 203a046f branch p_mouse_multi_led_blink_finish ,blank 
+0468 1fe0ffff increase -1 ,pdata 
+0469 6000ca59 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-0457 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-0458 c0008443 beq on ,p_blue_led_off 
+046a 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+046b c000844f beq on ,p_blue_led_off 
 
 p_blue_led_on:
-0459 704a5401 jam on ,mem_mouse_multi_led_state 
-045a 204005a1 call p_blue_led_init 
-045b 20206829 branch gpio_out_active 
+046c 704a5401 jam on ,mem_mouse_multi_led_state 
+046d 204005c3 call p_blue_led_init 
+046e 20206829 branch gpio_out_active 
 
 p_mouse_multi_led_blink_finish:
-045c 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-045d c0000442 beq 0 ,p_mouse_multi_led_blink_off 
-045e 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
-045f 20200442 branch p_mouse_multi_led_blink_off 
+046f 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0470 c000044e beq 0 ,p_mouse_multi_led_blink_off 
+0471 704a5200 jam off ,mem_mouse_multi_led_blink_enable 
+0472 2020044e branch p_mouse_multi_led_blink_off 
 
 p_flip_key_led_show:
-0460 6800cb35 fetch 1 ,mem_device_turn_off 
-0461 243a046d nbranch p_full_change_led_off ,blank 
-0462 20404083 call mouse_check_key_gpio 
-0463 203a0442 branch p_mouse_multi_led_blink_off ,blank 
-0464 c00a0442 beq 0x14 ,p_mouse_multi_led_blink_off 
-0465 c0018469 beq 0x03 ,p_flip_key_change_led 
-0466 1fe17e1f and_into 0x1f ,pdata 
-0467 2040059a call p_laser_led_on 
-0468 20200459 branch p_blue_led_on 
+0473 6800cb35 fetch 1 ,mem_device_turn_off 
+0474 243a0480 nbranch p_full_change_led_off ,blank 
+0475 20404083 call mouse_check_key_gpio 
+0476 203a044e branch p_mouse_multi_led_blink_off ,blank 
+0477 c00a044e beq 0x14 ,p_mouse_multi_led_blink_off 
+0478 c001847c beq 0x03 ,p_flip_key_change_led 
+0479 1fe17e1f and_into 0x1f ,pdata 
+047a 204005bc call p_laser_led_on 
+047b 2020046c branch p_blue_led_on 
 
 p_flip_key_change_led:
-0469 704b2201 jam 1 ,mem_key_not_send_flag 
-046a 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
-046b 205a0459 call p_blue_led_on ,blank 
-046c 20200448 branch p_flip_led_type_on_1s_init 
+047c 704b2201 jam 1 ,mem_key_not_send_flag 
+047d 6800ca5a fetch 1 ,mem_mouse_multi_led_on_timer 
+047e 205a046c call p_blue_led_on ,blank 
+047f 20200454 branch p_flip_led_type_on_1s_init 
 
 p_full_change_led_off:
-046d 6800cb1e fetch 1 ,mem_flip_device_charging 
-046e 247a0000 nrtn blank 
-046f 20200442 branch p_mouse_multi_led_blink_off 
+0480 6800cb1e fetch 1 ,mem_flip_device_charging 
+0481 247a0000 nrtn blank 
+0482 2020044e branch p_mouse_multi_led_blink_off 
 
 p_g24_init_long_sleep_timer:
-0470 6800cb2b fetch 1 ,mem_flip_connect_success 
-0471 247a0000 nrtn blank 
-0472 6800c720 fetch 1 ,mem_device_flag 
-0473 c1008000 rtneq mode_bt_device1 
-0474 da604b2f arg mem_g24_discon_long_sleep_timeout ,regc 
-0475 da4003ca arg p_g24_long_sleep_set ,regb 
-0476 2020336d branch timer_single_step 
+0483 6800cb2b fetch 1 ,mem_flip_connect_success 
+0484 247a0000 nrtn blank 
+0485 6800c720 fetch 1 ,mem_device_flag 
+0486 c1008000 rtneq mode_bt_device1 
+0487 da604b2f arg mem_g24_discon_long_sleep_timeout ,regc 
+0488 da4003ca arg p_g24_long_sleep_set ,regb 
+0489 2020336d branch timer_single_step 
 
 p_laser_led_off:
-0477 20400598 call p_laser_led_init 
-0478 20206825 branch gpio_out_inactive 
+048a 204005ba call p_laser_led_init 
+048b 20206825 branch gpio_out_inactive 
 
 p_mouse_select_device:
-0479 6800cb1d fetch 1 ,mem_device_change_finish 
-047a 243a047d nbranch p_mouse_select_device_button_up ,blank 
-047b 20404083 call mouse_check_key_gpio 
-047c c00a0482 beq 0x14 ,p_mouse_select_device_button_down 
+048c 6800cb1d fetch 1 ,mem_device_change_finish 
+048d 243a0490 nbranch p_mouse_select_device_button_up ,blank 
+048e 20404083 call mouse_check_key_gpio 
+048f c00a0495 beq 0x14 ,p_mouse_select_device_button_down 
 
 p_mouse_select_device_button_up:
-047d 6800ca50 fetch 1 ,mem_mouse_button_select_device_timer_init 
-047e 6000ca51 store 1 ,mem_mouse_button_select_device_count 
-047f 2040433a call mouse_select_device_commbination_key_up + 1 
-0480 d8e00006 arg mouse_long_bt_button_flag ,queue 
-0481 202043d2 branch mouse_disable_function_flag 
+0490 6800ca50 fetch 1 ,mem_mouse_button_select_device_timer_init 
+0491 6000ca51 store 1 ,mem_mouse_button_select_device_count 
+0492 2040433a call mouse_select_device_commbination_key_up + 1 
+0493 d8e00006 arg mouse_long_bt_button_flag ,queue 
+0494 202043d2 branch mouse_disable_function_flag 
 
 p_mouse_select_device_button_down:
-0482 704b2201 jam 1 ,mem_key_not_send_flag 
-0483 20400488 call p_mouse_button_select_device_timer 
-0484 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-0485 c1000000 rtneq dpi_button_state_down 
-0486 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
-0487 20600000 rtn 
+0495 704b2201 jam 1 ,mem_key_not_send_flag 
+0496 2040049b call p_mouse_button_select_device_timer 
+0497 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+0498 c1000000 rtneq dpi_button_state_down 
+0499 7046d900 jam dpi_button_state_down ,mem_select_device_button_statue 
+049a 20600000 rtn 
 
 p_mouse_button_select_device_timer:
-0488 da604a51 arg mem_mouse_button_select_device_count ,regc 
-0489 da40048b arg p_mouse_long_button_select_device ,regb 
-048a 2020336d branch timer_single_step 
+049b da604a51 arg mem_mouse_button_select_device_count ,regc 
+049c da40049e arg p_mouse_long_button_select_device ,regb 
+049d 2020336d branch timer_single_step 
 
 p_mouse_long_button_select_device:
-048b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-048c c3830000 rtnbit1 mouse_long_bt_button_flag 
-048d d8e00006 arg mouse_long_bt_button_flag ,queue 
-048e 204043ce call mouse_enable_function_flag 
+049e 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+049f c3830000 rtnbit1 mouse_long_bt_button_flag 
+04a0 d8e00006 arg mouse_long_bt_button_flag ,queue 
+04a1 204043ce call mouse_enable_function_flag 
 
 p_mouse_ready_reconnection_by_button:
-048f 7041bd00 jam 0 ,mem_link_key_exists 
-0490 6808c720 fetcht 1 ,mem_device_flag 
-0491 18408401 increase 1 ,temp 
-0492 6800c6d2 fetch 1 ,mem_device_number 
-0493 98467c00 isub temp ,null 
-0494 244143cc ncall mouse_select_device_count_clean ,positive 
-0495 6008c720 storet 1 ,mem_device_flag 
-0496 204042e4 call mouse_store_eeprom_device_info 
-0497 20204378 branch mouse_ready_reconnection_by_button + 8 
+04a2 7041bd00 jam 0 ,mem_link_key_exists 
+04a3 6808c720 fetcht 1 ,mem_device_flag 
+04a4 18408401 increase 1 ,temp 
+04a5 6800c6d2 fetch 1 ,mem_device_number 
+04a6 98467c00 isub temp ,null 
+04a7 244143cc ncall mouse_select_device_count_clean ,positive 
+04a8 6008c720 storet 1 ,mem_device_flag 
+04a9 204042e4 call mouse_store_eeprom_device_info 
+04aa 20204378 branch mouse_ready_reconnection_by_button + 8 
 
 p_mouse_poweron_bt_start_reconn_timer:
-0498 da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
-0499 da4003d2 arg p_mouse_bt_start_reconn ,regb 
-049a 2020336d branch timer_single_step 
+04ab da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
+04ac da4003d2 arg p_mouse_bt_start_reconn ,regb 
+04ad 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-049b da6046ae arg mem_mouse_direct_timer ,regc 
-049c da40049e arg p_mouse_check_direct_timeout ,regb 
-049d 20203374 branch timer_single_step_2b 
+04ae da6046ae arg mem_mouse_direct_timer ,regc 
+04af da4004b1 arg p_mouse_check_direct_timeout ,regb 
+04b0 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-049e 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-049f 243a340a nbranch app_enter_hibernate ,blank 
-04a0 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
-04a1 6800caa8 fetch 1 ,mem_mouse_latest_mode 
-04a2 1fe67cff sub pdata ,latest_mode_null ,null 
-04a3 204284d5 call p_mouse_le_adv_start ,zero 
-04a4 204005c0 call p_mouse_le_adv_data_update 
-04a5 202043b8 branch mouse_long_button_bt_discovry 
+04b1 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
+04b2 243a340a nbranch app_enter_hibernate ,blank 
+04b3 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
+04b4 6800caa8 fetch 1 ,mem_mouse_latest_mode 
+04b5 1fe67cff sub pdata ,latest_mode_null ,null 
+04b6 204284f7 call p_mouse_le_adv_start ,zero 
+04b7 204005e2 call p_mouse_le_adv_data_update 
+04b8 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_le_switch_adv_timer:
-04a6 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-04a7 207a0000 rtn blank 
-04a8 202003a6 branch p_check_51cmd_adv 
+04b9 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
+04ba 207a0000 rtn blank 
+04bb 202003a6 branch p_check_51cmd_adv 
 
 p_get_usb_bit:
-04a9 2040681d call gpio_get_bit 
-04aa 58000000 setarg 0x00 
-04ab 7920fe00 setflag true ,0 ,pdata 
-04ac 20600000 rtn 
+04bc 2040681d call gpio_get_bit 
+04bd 58000000 setarg 0x00 
+04be 7920fe00 setflag true ,0 ,pdata 
+04bf 20600000 rtn 
 
 p_mouse_g24_pair_mode_timer:
-04ad 6800c720 fetch 1 ,mem_device_flag 
-04ae c3800000 rtnbit1 0 
-04af 6800cb26 fetch 1 ,mem_timer_key 
-04b0 c1888000 rtnne 0x11 
-04b1 58000000 setarg 0 
-04b2 60014ae4 store 2 ,mem_customer_key 
-04b3 60014b20 store 2 ,mem_customer_key_store 
-04b4 2040053b call p_key_press_timer_compare 
-04b5 20610000 rtn positive 
-04b6 1fe67c64 sub pdata ,0x64 ,null 
-04b7 242104be nbranch p_g24_stop_pair_mode ,positive 
+04c0 6800c720 fetch 1 ,mem_device_flag 
+04c1 c1008000 rtneq mode_bt_device1 
+04c2 6800cb26 fetch 1 ,mem_timer_key 
+04c3 c1888000 rtnne 0x11 
+04c4 58000000 setarg 0 
+04c5 60014ae4 store 2 ,mem_customer_key 
+04c6 60024b18 store 4 ,mem_key_send_payload_staus 
+04c7 704a5701 jam 0x01 ,mem_mouse_multi_led_blink_timer_init 
+04c8 d8400000 arg 0 ,temp 
+04c9 68014b14 fetch 2 ,mem_key_long_press_timer 
+04ca 1fe67c0a sub pdata ,0x0a ,null 
+04cb 2021045a branch p_flip_multi_led_blink_init ,positive 
+04cc 6800cb2b fetch 1 ,mem_flip_connect_success 
+04cd 243a04e2 nbranch p_g24_pairing_succ ,blank 
+04ce 704a5200 jam 0 ,mem_mouse_multi_led_blink_enable 
+04cf 68014b14 fetch 2 ,mem_key_long_press_timer 
+04d0 1fe67c60 sub pdata ,0x60 ,null 
+04d1 204284db call p_g24_stop_pair_mode ,zero 
+04d2 24410458 ncall p_multi_led_blink_enable ,positive 
+04d3 1fe67c64 sub pdata ,0x64 ,null 
+04d4 242104dd nbranch p_g24_stop_pair_init ,positive 
 
 p_mouse_g24_stop_mode_timeout:
-04b8 704bc100 jam 0 ,mem_24g_ensure 
-04b9 20407fe7 call enable_user 
-04ba 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
-04bb 247a0000 nrtn blank 
-04bc 704b3101 jam 1 ,mem_key_g24_pairing_flag 
-04bd 20200315 branch p_g24_auto_pair_start 
+04d5 704bc100 jam 0 ,mem_24g_ensure 
+04d6 20407fe7 call enable_user 
+04d7 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04d8 247a0000 nrtn blank 
+04d9 704b3101 jam 1 ,mem_key_g24_pairing_flag 
+04da 20200315 branch p_g24_auto_pair_start 
 
 p_g24_stop_pair_mode:
-04be 704b3201 jam 1 ,mem_g24_pair_fail 
+04db d8400004 arg 4 ,temp 
+04dc 2020045a branch p_flip_multi_led_blink_init 
 
 p_g24_stop_pair_init:
-04bf 6800cd0b fetch 1 ,mem_g24_conn_sm 
-04c0 793ffe01 set0 state_24g_pair ,pdata 
-04c1 6000cd0b store 1 ,mem_g24_conn_sm 
-04c2 704b3100 jam 0 ,mem_key_g24_pairing_flag 
-04c3 20600000 rtn 
+04dd 6800cd0b fetch 1 ,mem_g24_conn_sm 
+04de 793ffe01 set0 state_24g_pair ,pdata 
+04df 6000cd0b store 1 ,mem_g24_conn_sm 
+04e0 704b3100 jam 0 ,mem_key_g24_pairing_flag 
+04e1 20600000 rtn 
+
+p_g24_pairing_succ:
+04e2 6800cb31 fetch 1 ,mem_key_g24_pairing_flag 
+04e3 243a045a nbranch p_flip_multi_led_blink_init ,blank 
+04e4 704b2b00 jam 0 ,mem_flip_connect_success 
+04e5 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-04c4 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-04c5 da403d60 arg mouse_le_write_enable ,regb 
-04c6 2020336d branch timer_single_step 
+04e6 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+04e7 da403d60 arg mouse_le_write_enable ,regb 
+04e8 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_update_timer:
-04c7 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
-04c8 da4004ca arg p_mouse_le_current_mult_reinit ,regb 
-04c9 2020336d branch timer_single_step 
+04e9 da604a8e arg mem_mouse_le_current_mult_timer ,regc 
+04ea da4004ec arg p_mouse_le_current_mult_reinit ,regb 
+04eb 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-04ca 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-04cb 6000c172 store 1 ,mem_lpm_mult 
-04cc 20600000 rtn 
+04ec 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+04ed 6000c172 store 1 ,mem_lpm_mult 
+04ee 20600000 rtn 
 
 p_le_send_smp_security_request_timer:
-04cd 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
-04ce 207a0000 rtn blank 
-04cf da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
-04d0 da4004d2 arg p_le_pairing_sm_start_check ,regb 
-04d1 2020336d branch timer_single_step 
+04ef 6800ca92 fetch 1 ,mem_mouse_le_bb_connected_flag 
+04f0 207a0000 rtn blank 
+04f1 da604a90 arg mem_mouse_send_secutiry_request_timer ,regc 
+04f2 da4004f4 arg p_le_pairing_sm_start_check ,regb 
+04f3 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-04d2 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
-04d3 247a0000 nrtn blank 
-04d4 20205bf5 branch le_pairing_sm_start 
+04f4 6800ca91 fetch 1 ,mem_le_send_security_request_flag 
+04f5 247a0000 nrtn blank 
+04f6 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_le_adv_start:
-04d5 704a9f01 jam 1 ,mem_mouse_le_adv_start 
-04d6 20600000 rtn 
+04f7 704a9f01 jam 1 ,mem_mouse_le_adv_start 
+04f8 20600000 rtn 
 
 p_mouse_adc_read:
-04d7 6800cb2c fetch 1 ,mem_device_led_flag 
-04d8 247a0000 nrtn blank 
-04d9 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
-04da c1008000 rtneq on 
-04db da6046ce arg mem_adc_read_timer ,regc 
-04dc da4004de arg p_mouse_adc_read_timeout ,regb 
-04dd 2020336d branch timer_single_step 
+04f9 6800cb2c fetch 1 ,mem_device_led_flag 
+04fa 247a0000 nrtn blank 
+04fb 6800ca54 fetch 1 ,mem_mouse_multi_led_state 
+04fc c1008000 rtneq on 
+04fd da6046ce arg mem_adc_read_timer ,regc 
+04fe da400500 arg p_mouse_adc_read_timeout ,regb 
+04ff 2020336d branch timer_single_step 
 
 p_mouse_adc_read_timeout:
-04de 7046ce0a jam 10 ,mem_adc_read_timer 
+0500 7046ce0a jam 10 ,mem_adc_read_timer 
 
 p_mouse_adc_read_once:
-04df 204068a8 call adc_init_data 
-04e0 d8400005 arg 0x05 ,temp 
-04e1 204067fb call gpio_config_input 
-04e2 6810807c hfetch 1 ,core_gpio_pd0 
-04e3 793ffe05 set0 5 ,pdata 
-04e4 6010807c hstore 1 ,core_gpio_pd0 
-04e5 68108078 hfetch 1 ,core_gpio_pu0 
-04e6 793ffe05 set0 5 ,pdata 
-04e7 60108078 hstore 1 ,core_gpio_pu0 
-04e8 204068f4 call adc_check_gpio 
-04e9 20406908 call vdd_calculate_by_mode 
-04ea 6001470f store 2 ,mem_mouse_vdd_now_vol 
-04eb 6800cb34 fetch 1 ,mem_adc_read_once 
-04ec 245a04f8 ncall p_mouse_adc_read_once2 ,blank 
-04ed da204709 arg mem_mouse_vdd_calculate_set ,rega 
-04ee 204004fd call p_adc_bat_percent_lowpower_out 
-04ef 6800c231 fetch 1 ,mem_adc_power_flag 
-04f0 c30004f3 bbit0 0 ,p_mouse_adc_no_low_voltage 
-04f1 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-04f2 202043e7 branch mouse_adc_low_voltage 
+0501 204068a8 call adc_init_data 
+0502 d8400005 arg 0x05 ,temp 
+0503 204067fb call gpio_config_input 
+0504 6810807c hfetch 1 ,core_gpio_pd0 
+0505 793ffe05 set0 5 ,pdata 
+0506 6010807c hstore 1 ,core_gpio_pd0 
+0507 68108078 hfetch 1 ,core_gpio_pu0 
+0508 793ffe05 set0 5 ,pdata 
+0509 60108078 hstore 1 ,core_gpio_pu0 
+050a 204068f4 call adc_check_gpio 
+050b 20406908 call vdd_calculate_by_mode 
+050c 6001470f store 2 ,mem_mouse_vdd_now_vol 
+050d 6800cb34 fetch 1 ,mem_adc_read_once 
+050e 245a051a ncall p_mouse_adc_read_once2 ,blank 
+050f da204709 arg mem_mouse_vdd_calculate_set ,rega 
+0510 2040051f call p_adc_bat_percent_lowpower_out 
+0511 6800c231 fetch 1 ,mem_adc_power_flag 
+0512 c3000515 bbit0 0 ,p_mouse_adc_no_low_voltage 
+0513 704a5e01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0514 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-04f3 204043e9 call mouse_adc_no_low_voltage 
-04f4 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-04f5 207a0000 rtn blank 
-04f6 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-04f7 20600000 rtn 
+0515 204043e9 call mouse_adc_no_low_voltage 
+0516 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0517 207a0000 rtn blank 
+0518 704a5e00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0519 20600000 rtn 
 
 p_mouse_adc_read_once2:
-04f8 704b3400 jam off ,mem_adc_read_once 
-04f9 6801470f fetch 2 ,mem_mouse_vdd_now_vol 
-04fa 1fe0ffff increase -1 
-04fb 6001470f store 2 ,mem_mouse_vdd_now_vol 
-04fc 20200445 branch p_blue_led_off2 
+051a 704b3400 jam off ,mem_adc_read_once 
+051b 6801470f fetch 2 ,mem_mouse_vdd_now_vol 
+051c 1fe0ffff increase -1 
+051d 6001470f store 2 ,mem_mouse_vdd_now_vol 
+051e 20200451 branch p_blue_led_off2 
 
 p_adc_bat_percent_lowpower_out:
-04fd ea240000 ifetch 8 ,rega 
-04fe 60040a9a store 8 ,mem_pdatatemp 
-04ff 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-0500 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0501 98467c00 isub temp ,null 
-0502 2421340a nbranch app_enter_hibernate ,positive 
-0503 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-0504 98467c00 isub temp ,null 
-0505 24216940 nbranch adc_set_low_power_flag ,positive 
+051f ea240000 ifetch 8 ,rega 
+0520 60040a9a store 8 ,mem_pdatatemp 
+0521 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0522 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0523 98467c00 isub temp ,null 
+0524 2421340a nbranch app_enter_hibernate ,positive 
+0525 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0526 98467c00 isub temp ,null 
+0527 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_set_full_power_flag:
-0506 6800c231 fetch 1 ,mem_adc_power_flag 
-0507 1fe17efc and pdata ,0xfc ,pdata 
-0508 20206942 branch adc_store_power_flag 
+0528 6800c231 fetch 1 ,mem_adc_power_flag 
+0529 1fe17efc and pdata ,0xfc ,pdata 
+052a 20206942 branch adc_store_power_flag 
 
 p_mouse_motion:
-0509 78547c00 disable user 
+052b 78547c00 disable user 
 
 p_keyboard_key:
-050a 6800cb1f fetch 1 ,mem_flip_device_usbing 
-050b 207a0000 rtn blank 
-050c 704afa00 jam 0 ,mem_customer_data_trigger 
-050d 2040051c call p_mouse_check_key_gpio_next 
-050e 204040a8 call mouse_set_mult 
-050f 204005a3 call p_mouse_24g_customer_key 
-0510 1a227e00 copy rega ,pdata 
-0511 60014ae4 store 2 ,mem_customer_key 
-0512 20400518 call p_mouse_check_key_gpio 
-0513 68014b18 fetch 2 ,mem_key_send_payload_staus 
-0514 207a0000 rtn blank 
-0515 20403f8d call mouse_no_data_timer_init 
-0516 704afa01 jam 1 ,mem_customer_data_trigger 
-0517 20207fe7 branch enable_user 
+052c 6800cb1f fetch 1 ,mem_flip_device_usbing 
+052d 207a0000 rtn blank 
+052e 704afa00 jam 0 ,mem_customer_data_trigger 
+052f 2040053e call p_mouse_check_key_gpio_next 
+0530 204040a8 call mouse_set_mult 
+0531 204005c5 call p_mouse_24g_customer_key 
+0532 1a227e00 copy rega ,pdata 
+0533 60014ae4 store 2 ,mem_customer_key 
+0534 2040053a call p_mouse_check_key_gpio 
+0535 68014b18 fetch 2 ,mem_key_send_payload_staus 
+0536 207a0000 rtn blank 
+0537 20403f8d call mouse_no_data_timer_init 
+0538 704afa01 jam 1 ,mem_customer_data_trigger 
+0539 20207fe7 branch enable_user 
 
 p_mouse_check_key_gpio:
-0518 68014ae4 fetch 2 ,mem_customer_key 
-0519 245a0537 ncall p_store_customer_key_staus ,blank 
-051a 205a053e call p_customer_key_release ,blank 
-051b 20200559 branch p_key_staus_judgment 
+053a 68014ae4 fetch 2 ,mem_customer_key 
+053b 245a0559 ncall p_store_customer_key_staus ,blank 
+053c 205a0560 call p_customer_key_release ,blank 
+053d 2020057b branch p_key_staus_judgment 
 
 p_mouse_check_key_gpio_next:
-051c da200000 arg 0 ,rega 
+053e da200000 arg 0 ,rega 
 
 p_mouse_check_lkey_gpio:
-051d 704ae000 jam 0x00 ,mem_mouse_key_temp 
-051e 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-051f 6800cada fetch 1 ,mem_mouse_lkey_press_status 
-0520 20400546 call p_mouse_check_key 
-0521 6000cada store 1 ,mem_mouse_lkey_press_status 
+053f 704ae000 jam 0x00 ,mem_mouse_key_temp 
+0540 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0541 6800cada fetch 1 ,mem_mouse_lkey_press_status 
+0542 20400568 call p_mouse_check_key 
+0543 6000cada store 1 ,mem_mouse_lkey_press_status 
 
 p_mouse_check_rkey_gpio:
-0522 704ae001 jam 0x01 ,mem_mouse_key_temp 
-0523 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0524 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
-0525 20400546 call p_mouse_check_key 
-0526 6000cadb store 1 ,mem_mouse_rkey_press_status 
+0544 704ae001 jam 0x01 ,mem_mouse_key_temp 
+0545 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0546 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
+0547 20400568 call p_mouse_check_key 
+0548 6000cadb store 1 ,mem_mouse_rkey_press_status 
 
 p_mouse_check_mkey_gpio:
-0527 704ae002 jam 0x02 ,mem_mouse_key_temp 
-0528 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0529 6800cadc fetch 1 ,mem_mouse_mkey_press_status 
-052a 20400546 call p_mouse_check_key 
-052b 6000cadc store 1 ,mem_mouse_mkey_press_status 
+0549 704ae002 jam 0x02 ,mem_mouse_key_temp 
+054a 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+054b 6800cadc fetch 1 ,mem_mouse_mkey_press_status 
+054c 20400568 call p_mouse_check_key 
+054d 6000cadc store 1 ,mem_mouse_mkey_press_status 
 
 p_mouse_check_bkkey_gpio:
-052c 704ae003 jam 0x03 ,mem_mouse_key_temp 
-052d 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-052e 6800cadd fetch 1 ,mem_mouse_bkkey_press_status 
-052f 20400546 call p_mouse_check_key 
-0530 6000cadd store 1 ,mem_mouse_bkkey_press_status 
+054e 704ae003 jam 0x03 ,mem_mouse_key_temp 
+054f 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+0550 6800cadd fetch 1 ,mem_mouse_bkkey_press_status 
+0551 20400568 call p_mouse_check_key 
+0552 6000cadd store 1 ,mem_mouse_bkkey_press_status 
 
 p_mouse_check_fwkey_gpio:
-0531 704ae004 jam 0x04 ,mem_mouse_key_temp 
-0532 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0533 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
-0534 20400546 call p_mouse_check_key 
-0535 6000cade store 1 ,mem_mouse_fwkey_press_status 
-0536 2020408e branch mouse_check_key_gpio_output 
+0553 704ae004 jam 0x04 ,mem_mouse_key_temp 
+0554 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0555 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
+0556 20400568 call p_mouse_check_key 
+0557 6000cade store 1 ,mem_mouse_fwkey_press_status 
+0558 2020408e branch mouse_check_key_gpio_output 
 
 p_store_customer_key_staus:
-0537 1fe17e1f and_into 0x1f ,pdata 
-0538 c3820000 rtnbit1 4 
-0539 60014b20 store 2 ,mem_customer_key_store 
-053a 20600000 rtn 
+0559 1fe17e1f and_into 0x1f ,pdata 
+055a c3820000 rtnbit1 4 
+055b 60014b20 store 2 ,mem_customer_key_store 
+055c 20600000 rtn 
 
 p_key_press_timer_compare:
-053b 68014b14 fetch 2 ,mem_key_long_press_timer 
-053c 1fe67c0a sub pdata ,0x0a ,null 
-053d 20600000 rtn 
+055d 68014b14 fetch 2 ,mem_key_long_press_timer 
+055e 1fe67c0a sub pdata ,0x0a ,null 
+055f 20600000 rtn 
 
 p_customer_key_release:
-053e dfe00000 arg 0 ,pdata 
-053f 60034b22 store 6 ,mem_customer_key_release_flag 
-0540 2040053b call p_key_press_timer_compare 
-0541 24410543 ncall p_key_press_timer_set0 ,positive 
-0542 20600000 rtn 
+0560 dfe00000 arg 0 ,pdata 
+0561 60034b22 store 6 ,mem_customer_key_release_flag 
+0562 2040055d call p_key_press_timer_compare 
+0563 24410565 ncall p_key_press_timer_set0 ,positive 
+0564 20600000 rtn 
 
 p_key_press_timer_set0:
-0543 dfe00000 arg 0 ,pdata 
-0544 60014b14 store 2 ,mem_key_long_press_timer 
-0545 20600000 rtn 
+0565 dfe00000 arg 0 ,pdata 
+0566 60014b14 store 2 ,mem_key_long_press_timer 
+0567 20600000 rtn 
 
 p_mouse_check_key:
-0546 6000cae1 store 1 ,mem_mouse_key_status 
-0547 1fe3fe00 lshift pdata ,pdata 
-0548 1fe22400 copy pdata ,regb 
-0549 18422600 copy temp ,regc 
-054a 6800cae0 fetch 1 ,mem_mouse_key_temp 
-054b 204067fb call gpio_config_input 
-054c 1a620400 copy regc ,temp 
-054d 2040681d call gpio_get_bit 
-054e 7920a400 setflag true ,0 ,regb 
-054f 1a417e07 and regb ,0x07 ,pdata 
-0550 6808cae0 fetcht 1 ,mem_mouse_key_temp 
-0551 18420e00 copy temp ,queue 
-0552 c0038555 beq 0x07 ,p_mouse_key_press 
-0553 c0000557 beq 0x00 ,p_mouse_key_release 
-0554 20600000 rtn 
+0568 6000cae1 store 1 ,mem_mouse_key_status 
+0569 1fe3fe00 lshift pdata ,pdata 
+056a 1fe22400 copy pdata ,regb 
+056b 18422600 copy temp ,regc 
+056c 6800cae0 fetch 1 ,mem_mouse_key_temp 
+056d 204067fb call gpio_config_input 
+056e 1a620400 copy regc ,temp 
+056f 2040681d call gpio_get_bit 
+0570 7920a400 setflag true ,0 ,regb 
+0571 1a417e07 and regb ,0x07 ,pdata 
+0572 6808cae0 fetcht 1 ,mem_mouse_key_temp 
+0573 18420e00 copy temp ,queue 
+0574 c0038577 beq 0x07 ,p_mouse_key_press 
+0575 c0000579 beq 0x00 ,p_mouse_key_release 
+0576 20600000 rtn 
 
 p_mouse_key_press:
-0555 f9202200 qset1 rega 
-0556 20600000 rtn 
+0577 f9202200 qset1 rega 
+0578 20600000 rtn 
 
 p_mouse_key_release:
-0557 f93fa200 qset0 rega 
-0558 20600000 rtn 
+0579 f93fa200 qset0 rega 
+057a 20600000 rtn 
 
 p_key_staus_judgment:
-0559 2040053b call p_key_press_timer_compare 
-055a 207a0000 rtn blank 
-055b 24210578 nbranch p_key_long_press ,positive 
-055c 68014ae4 fetch 2 ,mem_customer_key 
-055d 247a0000 nrtn blank 
-055e 6800cb1a fetch 1 ,mem_2key_model_select_flag 
-055f c080056d bne 0 ,p_page_updown_key_change_init 
-0560 68014b20 fetch 2 ,mem_customer_key_store 
+057b 2040055d call p_key_press_timer_compare 
+057c 207a0000 rtn blank 
+057d 2421059a nbranch p_key_long_press ,positive 
+057e 68014ae4 fetch 2 ,mem_customer_key 
+057f 247a0000 nrtn blank 
+0580 6800cb1a fetch 1 ,mem_2key_model_select_flag 
+0581 c080058f bne 0 ,p_page_updown_key_change_init 
+0582 68014b20 fetch 2 ,mem_customer_key_store 
 
 p_key_send_data_staus_store:
-0561 60014b18 store 2 ,mem_key_send_payload_staus 
-0562 2040053b call p_key_press_timer_compare 
-0563 20410543 call p_key_press_timer_set0 ,positive 
-0564 6800cb22 fetch 1 ,mem_key_not_send_flag 
-0565 c000856a beq 0x01 ,p_key_not_send_data 
-0566 6800cb25 fetch 1 ,mem_packet_send_finish 
-0567 c000856a beq 0x01 ,p_key_not_send_data 
+0583 60014b18 store 2 ,mem_key_send_payload_staus 
+0584 2040055d call p_key_press_timer_compare 
+0585 20410565 call p_key_press_timer_set0 ,positive 
+0586 6800cb22 fetch 1 ,mem_key_not_send_flag 
+0587 c000858c beq 0x01 ,p_key_not_send_data 
+0588 6800cb25 fetch 1 ,mem_packet_send_finish 
+0589 c000858c beq 0x01 ,p_key_not_send_data 
 
 p_key_send_payload_staus_set0:
-0568 704b2000 jam 0 ,mem_customer_key_store 
-0569 20600000 rtn 
+058a 704b2000 jam 0 ,mem_customer_key_store 
+058b 20600000 rtn 
 
 p_key_not_send_data:
-056a dfe00000 arg 0 ,pdata 
-056b 60014b18 store 2 ,mem_key_send_payload_staus 
-056c 20200568 branch p_key_send_payload_staus_set0 
+058c dfe00000 arg 0 ,pdata 
+058d 60014b18 store 2 ,mem_key_send_payload_staus 
+058e 2020058a branch p_key_send_payload_staus_set0 
 
 p_page_updown_key_change_init:
-056d 68014b20 fetch 2 ,mem_customer_key_store 
-056e c0008571 beq 0x01 ,p_page_updown_key_change 
-056f c0010571 beq 0x02 ,p_page_updown_key_change 
-0570 20200561 branch p_key_send_data_staus_store 
+058f 68014b20 fetch 2 ,mem_customer_key_store 
+0590 c0008593 beq 0x01 ,p_page_updown_key_change 
+0591 c0010593 beq 0x02 ,p_page_updown_key_change 
+0592 20200583 branch p_key_send_data_staus_store 
 
 p_page_updown_key_change:
-0571 1fed7e00 lshift8 pdata ,pdata 
-0572 1fe3fe00 lshift pdata ,pdata 
-0573 6808cb1a fetcht 1 ,mem_2key_model_select_flag 
-0574 18467c01 sub temp ,0x01 ,null 
-0575 20228561 branch p_key_send_data_staus_store ,zero 
-0576 1febfe00 lshift2 pdata ,pdata 
-0577 20200561 branch p_key_send_data_staus_store 
+0593 1fed7e00 lshift8 pdata ,pdata 
+0594 1fe3fe00 lshift pdata ,pdata 
+0595 6808cb1a fetcht 1 ,mem_2key_model_select_flag 
+0596 18467c01 sub temp ,0x01 ,null 
+0597 20228583 branch p_key_send_data_staus_store ,zero 
+0598 1febfe00 lshift2 pdata ,pdata 
+0599 20200583 branch p_key_send_data_staus_store 
 
 p_key_long_press:
-0578 68014b20 fetch 2 ,mem_customer_key_store 
-0579 c001858b beq 0x03 ,p_2key_modle_change 
-057a c000857f beq 0x01 ,p_pageup_key_long_press_cont 
+059a 68014b20 fetch 2 ,mem_customer_key_store 
+059b c00185ad beq 0x03 ,p_2key_modle_change 
+059c c00085a1 beq 0x01 ,p_pageup_key_long_press_cont 
 
 p_long_press_staus_store:
-057b 68014b20 fetch 2 ,mem_customer_key_store 
-057c 1ff27e00 lshift4 pdata ,pdata 
-057d 1fe3fe00 lshift pdata ,pdata 
-057e 20200561 branch p_key_send_data_staus_store 
+059d 68014b20 fetch 2 ,mem_customer_key_store 
+059e 1ff27e00 lshift4 pdata ,pdata 
+059f 1fe3fe00 lshift pdata ,pdata 
+05a0 20200583 branch p_key_send_data_staus_store 
 
 p_pageup_key_long_press_cont:
-057f 6800cb23 fetch 1 ,mem_pgupkey_long_press_finish 
-0580 205a0586 call p_pgupkey_long_press_change ,blank 
-0581 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
-0582 c000057b beq 0x00 ,p_long_press_staus_store 
-0583 68014b20 fetch 2 ,mem_customer_key_store 
-0584 1ff27e00 lshift4 pdata ,pdata 
-0585 20200561 branch p_key_send_data_staus_store 
+05a1 6800cb23 fetch 1 ,mem_pgupkey_long_press_finish 
+05a2 205a05a8 call p_pgupkey_long_press_change ,blank 
+05a3 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
+05a4 c000059d beq 0x00 ,p_long_press_staus_store 
+05a5 68014b20 fetch 2 ,mem_customer_key_store 
+05a6 1ff27e00 lshift4 pdata ,pdata 
+05a7 20200583 branch p_key_send_data_staus_store 
 
 p_pgupkey_long_press_change:
-0586 704b2301 jam 0x01 ,mem_pgupkey_long_press_finish 
-0587 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
-0588 79407e00 setflip 0 ,pdata 
-0589 6000cb17 store 1 ,mem_pgupkey_long_press_count 
-058a 20600000 rtn 
+05a8 704b2301 jam 0x01 ,mem_pgupkey_long_press_finish 
+05a9 6800cb17 fetch 1 ,mem_pgupkey_long_press_count 
+05aa 79407e00 setflip 0 ,pdata 
+05ab 6000cb17 store 1 ,mem_pgupkey_long_press_count 
+05ac 20600000 rtn 
 
 p_2key_modle_change:
-058b 6800cb24 fetch 1 ,mem_2key_modle_change_finish 
-058c 247a0000 nrtn blank 
-058d 704b2401 jam 1 ,mem_2key_modle_change_finish 
-058e 6800cb1a fetch 1 ,mem_2key_model_select_flag 
-058f c0010593 beq 2 ,p_2key_staus_set0 
-0590 1fe0fe01 increase 1 ,pdata 
-0591 6000cb1a store 1 ,mem_2key_model_select_flag 
-0592 20200594 branch p_store_key_staus_eeprom 
+05ad 6800cb24 fetch 1 ,mem_2key_modle_change_finish 
+05ae 247a0000 nrtn blank 
+05af 704b2401 jam 1 ,mem_2key_modle_change_finish 
+05b0 6800cb1a fetch 1 ,mem_2key_model_select_flag 
+05b1 c00105b5 beq 2 ,p_2key_staus_set0 
+05b2 1fe0fe01 increase 1 ,pdata 
+05b3 6000cb1a store 1 ,mem_2key_model_select_flag 
+05b4 202005b6 branch p_store_key_staus_eeprom 
 
 p_2key_staus_set0:
-0593 704b1a00 jam 0 ,mem_2key_model_select_flag 
+05b5 704b1a00 jam 0 ,mem_2key_model_select_flag 
 
 p_store_key_staus_eeprom:
-0594 da204b1a arg mem_2key_model_select_flag ,rega 
-0595 da40006a arg mouse_key_staus_eeprom_offset ,regb 
-0596 d8400001 arg 1 ,temp 
-0597 202065d1 branch iicd_write_protect_eep_data 
+05b6 da204b1a arg mem_2key_model_select_flag ,rega 
+05b7 da40006a arg mouse_key_staus_eeprom_offset ,regb 
+05b8 d8400001 arg 1 ,temp 
+05b9 202065d1 branch iicd_write_protect_eep_data 
 
 p_laser_led_init:
-0598 6808cb0e fetcht 1 ,mem_filp_laser_led_gpio 
-0599 2020680e branch gpio_config_output 
+05ba 6808cb0e fetcht 1 ,mem_filp_laser_led_gpio 
+05bb 2020680e branch gpio_config_output 
 
 p_laser_led_on:
-059a c0880477 bne 0x10 ,p_laser_led_off 
-059b 68014b14 fetch 2 ,mem_key_long_press_timer 
-059c 68094b12 fetcht 2 ,mem_key_long_press_sleep_timer 
-059d 98467c00 isub temp ,null 
-059e 20210477 branch p_laser_led_off ,positive 
-059f 20400598 call p_laser_led_init 
-05a0 20206829 branch gpio_out_active 
+05bc c088048a bne 0x10 ,p_laser_led_off 
+05bd 68014b14 fetch 2 ,mem_key_long_press_timer 
+05be 68094b12 fetcht 2 ,mem_key_long_press_sleep_timer 
+05bf 98467c00 isub temp ,null 
+05c0 2021048a branch p_laser_led_off ,positive 
+05c1 204005ba call p_laser_led_init 
+05c2 20206829 branch gpio_out_active 
 
 p_blue_led_init:
-05a1 6808cb0f fetcht 1 ,mem_filp_led_gpio 
-05a2 2020680e branch gpio_config_output 
+05c3 6808cb0f fetcht 1 ,mem_filp_led_gpio 
+05c4 2020680e branch gpio_config_output 
 
 p_mouse_24g_customer_key:
-05a3 c6930000 rtnmark0 mark_24g 
-05a4 1a227e00 copy rega ,pdata 
-05a5 207a0000 rtn blank 
-05a6 60014ae4 store 2 ,mem_customer_key 
-05a7 20207fe7 branch enable_user 
+05c5 c6930000 rtnmark0 mark_24g 
+05c6 1a227e00 copy rega ,pdata 
+05c7 207a0000 rtn blank 
+05c8 60014ae4 store 2 ,mem_customer_key 
+05c9 20207fe7 branch enable_user 
 
 p_mouse_bb_event_discovery_btn:
-05a8 280ffe26 isolate1 mark_24g ,mark 
-05a9 2040820f call p_g24_check_51cmd_stop_24g ,true 
-05aa 7046b400 jam 0 ,mem_mouse_send_blank_timer 
-05ab 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
-05ac 205a4386 call mouse_disconnect ,blank 
-05ad 58000000 setarg 0 
-05ae 600146b0 store 2 ,mem_mouse_no_data_timer 
-05af 2020426f branch mouse_bb_event_discovery_btn + 3 
+05ca 280ffe26 isolate1 mark_24g ,mark 
+05cb 2040820f call p_g24_check_51cmd_stop_24g ,true 
+05cc 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+05cd 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
+05ce 205a4386 call mouse_disconnect ,blank 
+05cf 58000000 setarg 0 
+05d0 600146b0 store 2 ,mem_mouse_no_data_timer 
+05d1 2020426f branch mouse_bb_event_discovery_btn + 3 
 
 p_mouse_start_discovery:
-05b0 204002bc call p_mouse_tx_power_init 
-05b1 704a9100 jam 0 ,mem_le_send_security_request_flag 
-05b2 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
-05b3 70472001 jam mode_bt_device1 ,mem_device_flag 
-05b4 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+05d2 204002bc call p_mouse_tx_power_init 
+05d3 704a9100 jam 0 ,mem_le_send_security_request_flag 
+05d4 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
+05d5 70472001 jam mode_bt_device1 ,mem_device_flag 
+05d6 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_start_discovery_norandom:
-05b5 20403418 call app_lpm_mult_disable 
-05b6 68014687 fetch 2 ,mem_discovery_timeout 
-05b7 600146ac store 2 ,mem_mouse_discovery_timer 
-05b8 70016d06 jam 6 ,mem_connection_options 
-05b9 58000000 setarg 0 
-05ba 600146b0 store 2 ,mem_mouse_no_data_timer 
-05bb 600146ae store 2 ,mem_mouse_direct_timer 
-05bc 204005c8 call p_mouse_store_eeprom_enable 
-05bd 6800ca9f fetch 1 ,mem_mouse_le_adv_start 
-05be 245a03a6 ncall p_check_51cmd_adv ,blank 
-05bf 202042c4 branch mouse_start_discovery_norandom + 13 
+05d7 20403418 call app_lpm_mult_disable 
+05d8 68014687 fetch 2 ,mem_discovery_timeout 
+05d9 600146ac store 2 ,mem_mouse_discovery_timer 
+05da 70016d06 jam 6 ,mem_connection_options 
+05db 58000000 setarg 0 
+05dc 600146b0 store 2 ,mem_mouse_no_data_timer 
+05dd 600146ae store 2 ,mem_mouse_direct_timer 
+05de 204005ea call p_mouse_store_eeprom_enable 
+05df 6800ca9f fetch 1 ,mem_mouse_le_adv_start 
+05e0 245a03a6 ncall p_check_51cmd_adv ,blank 
+05e1 202042c4 branch mouse_start_discovery_norandom + 13 
 
 p_mouse_le_adv_data_update:
-05c0 70436f1f jam 0x1f ,mem_le_adv_data_len 
-05c1 70438f1f jam 0x1f ,mem_le_scan_data_len 
-05c2 204005c8 call p_mouse_store_eeprom_enable 
-05c3 d8c04a71 arg mem_le_adv_swift_pair ,contr 
+05e2 70436f1f jam 0x1f ,mem_le_adv_data_len 
+05e3 70438f1f jam 0x1f ,mem_le_scan_data_len 
+05e4 204005ea call p_mouse_store_eeprom_enable 
+05e5 d8c04a71 arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-05c4 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05c5 df200013 arg 19 ,loopcnt 
-05c6 20407f01 call memcpy 
-05c7 202057b8 branch le_modified_name_adv 
+05e6 d8a0437b arg mem_le_adv_data + 11 ,contw 
+05e7 df200013 arg 19 ,loopcnt 
+05e8 20407f01 call memcpy 
+05e9 202057b8 branch le_modified_name_adv 
 
 p_mouse_store_eeprom_enable:
-05c8 d8e00007 arg mouse_store_eeprom_flag ,queue 
-05c9 202043ce branch mouse_enable_function_flag 
+05ea d8e00007 arg mouse_store_eeprom_flag ,queue 
+05eb 202043ce branch mouse_enable_function_flag 
 
 p_mouse_stop_discovery:
-05ca 58000000 setarg 0 
-05cb 600146ac store 2 ,mem_mouse_discovery_timer 
-05cc 704b2b01 jam 1 ,mem_flip_connect_success 
-05cd 202042cb branch mouse_stop_discovery + 1 
+05ec 58000000 setarg 0 
+05ed 600146ac store 2 ,mem_mouse_discovery_timer 
+05ee 704b2b01 jam 1 ,mem_flip_connect_success 
+05ef 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-05ce 6800c50f fetch 1 ,mem_le_md_count 
-05cf 1fe0fe01 pincrease 1 
-05d0 6000c50f store 1 ,mem_le_md_count 
-05d1 c0065395 beq le_md_max_count ,le_slave_cont 
-05d2 204055aa call le_acknowledge 
-05d3 2040561e call le_prepare_tx 
-05d4 2020538f branch le_slave_match + 7 
+05f0 6800c50f fetch 1 ,mem_le_md_count 
+05f1 1fe0fe01 pincrease 1 
+05f2 6000c50f store 1 ,mem_le_md_count 
+05f3 c0065395 beq le_md_max_count ,le_slave_cont 
+05f4 204055aa call le_acknowledge 
+05f5 2040561e call le_prepare_tx 
+05f6 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05d5 68008016 fetch 1 ,mem_le_ch_mapped 
-05d6 1fe0fe01 increase 1 ,pdata 
-05d7 60008016 store 1 ,mem_le_ch_mapped 
-05d8 c1940000 rtnne 40 
-05d9 70001625 jam 37 ,mem_le_ch_mapped 
-05da 20600000 rtn 
+05f7 68008016 fetch 1 ,mem_le_ch_mapped 
+05f8 1fe0fe01 increase 1 ,pdata 
+05f9 60008016 store 1 ,mem_le_ch_mapped 
+05fa c1940000 rtnne 40 
+05fb 70001625 jam 37 ,mem_le_ch_mapped 
+05fc 20600000 rtn 
 
 p_le_update_param:
-05db 204005e1 call p_mouse_le_conn_param_check 
-05dc 2020557d branch le_update_param + 8 
+05fd 20400603 call p_mouse_le_conn_param_check 
+05fe 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-05dd 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-05de 6000c172 store 1 ,mem_lpm_mult 
+05ff 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0600 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-05df 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-05e0 20600000 rtn 
+0601 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0602 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-05e1 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-05e2 1fe67c0c sub pdata ,le_interval_15ms ,null 
-05e3 242103bc nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-05e4 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-05e5 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-05e6 98467c00 isub temp ,null 
-05e7 202105dd branch p_mouse_le_lpm_mult_reinit ,positive 
-05e8 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-05e9 6000c172 store 1 ,mem_lpm_mult 
-05ea 202005df branch p_mouse_le_conn_param_lpm_enable 
+0603 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0604 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0605 242103bc nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0606 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0607 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0608 98467c00 isub temp ,null 
+0609 202105ff branch p_mouse_le_lpm_mult_reinit ,positive 
+060a 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+060b 6000c172 store 1 ,mem_lpm_mult 
+060c 20200601 branch p_mouse_le_conn_param_lpm_enable 
 
 p_le_update_channel_map:
-05eb 6800843f fetch 1 ,mem_le_state 
-05ec c4030000 rtnbit0 lestate_update_map 
-05ed 204005f0 call p_le_channel_map_overflow_check 
-05ee 24740000 nrtn user 
-05ef 202055a0 branch le_update_channel_map + 3 
+060d 6800843f fetch 1 ,mem_le_state 
+060e c4030000 rtnbit0 lestate_update_map 
+060f 20400612 call p_le_channel_map_overflow_check 
+0610 24740000 nrtn user 
+0611 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-05f0 78347c00 enable user 
-05f1 6800845a fetch 1 ,mem_le_event_count + 1 
-05f2 1ff1fe00 rshift4 pdata ,pdata 
-05f3 c1878000 rtnne 0x0f 
-05f4 68008460 fetch 1 ,mem_le_instant + 1 
-05f5 1ff1fe00 rshift4 pdata ,pdata 
-05f6 c1800000 rtnne 0x00 
-05f7 20207fe9 branch disable_user 
+0612 78347c00 enable user 
+0613 6800845a fetch 1 ,mem_le_event_count + 1 
+0614 1ff1fe00 rshift4 pdata ,pdata 
+0615 c1878000 rtnne 0x0f 
+0616 68008460 fetch 1 ,mem_le_instant + 1 
+0617 1ff1fe00 rshift4 pdata ,pdata 
+0618 c1800000 rtnne 0x00 
+0619 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-05f8 68008456 fetch 1 ,mem_le_arq 
-05f9 c2828616 bbit1 wak ,p_le_prepare_tx_wak 
-05fa 6800c78e fetch 1 ,mem_empty_count 
-05fb 243a0601 nbranch p_le_send_empyt ,blank 
-05fc 6800843f fetch 1 ,mem_le_state 
-05fd c3020605 bbit0 lestate_encryption ,p_le_tx_4 
-05fe 680082da fetch 1 ,mem_le_rxbuf + 1 
-05ff 203a0605 branch p_le_tx_4 ,blank 
-0600 20205664 branch le_send_empty 
+061a 68008456 fetch 1 ,mem_le_arq 
+061b c2828638 bbit1 wak ,p_le_prepare_tx_wak 
+061c 6800c78e fetch 1 ,mem_empty_count 
+061d 243a0623 nbranch p_le_send_empyt ,blank 
+061e 6800843f fetch 1 ,mem_le_state 
+061f c3020627 bbit0 lestate_encryption ,p_le_tx_4 
+0620 680082da fetch 1 ,mem_le_rxbuf + 1 
+0621 203a0627 branch p_le_tx_4 ,blank 
+0622 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0601 6800c78e fetch 1 ,mem_empty_count 
-0602 1fe0ffff increase -1 ,pdata 
-0603 6000c78e store 1 ,mem_empty_count 
-0604 20205664 branch le_send_empty 
+0623 6800c78e fetch 1 ,mem_empty_count 
+0624 1fe0ffff increase -1 ,pdata 
+0625 6000c78e store 1 ,mem_empty_count 
+0626 20205664 branch le_send_empty 
 
 p_le_tx_4:
-0605 6800c4c4 fetch 1 ,mem_le_pairing_state 
-0606 c0828608 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-0607 70478e03 jam 3 ,mem_empty_count 
+0627 6800c4c4 fetch 1 ,mem_le_pairing_state 
+0628 c082862a bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+0629 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-0608 20405892 call le_fifo_check_nearly_full 
-0609 205a0371 call p_mouse_data_pull ,blank 
-060a 20205622 branch le_prepare_tx + 4 
+062a 20405892 call le_fifo_check_nearly_full 
+062b 205a0371 call p_mouse_data_pull ,blank 
+062c 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-060b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-060c 1fe17e03 and pdata ,0x03 ,pdata 
-060d c1818000 rtnne 0x03 
-060e 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-060f 207a0000 rtn blank 
-0610 6800c3dd fetch 1 ,mem_le_txlen 
-0611 207a0000 rtn blank 
-0612 6800c3dc fetch 1 ,mem_le_txheader 
-0613 79207e04 set1 md ,pdata 
-0614 6000c3dc store 1 ,mem_le_txheader 
-0615 20205650 branch le_set_md 
+062d 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+062e 1fe17e03 and pdata ,0x03 ,pdata 
+062f c1818000 rtnne 0x03 
+0630 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0631 207a0000 rtn blank 
+0632 6800c3dd fetch 1 ,mem_le_txlen 
+0633 207a0000 rtn blank 
+0634 6800c3dc fetch 1 ,mem_le_txheader 
+0635 79207e04 set1 md ,pdata 
+0636 6000c3dc store 1 ,mem_le_txheader 
+0637 20205650 branch le_set_md 
 
 p_le_prepare_tx_wak:
-0616 2020060b branch p_le_check_tx_retransmit_setmd 
+0638 2020062d branch p_le_check_tx_retransmit_setmd 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-0617 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0618 207a0000 rtn blank 
-0619 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-061a 1fe17e03 and pdata ,0x03 ,pdata 
-061b c1018000 rtneq 0x03 
-061c 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-061d 20600000 rtn 
+0639 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+063a 207a0000 rtn blank 
+063b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+063c 1fe17e03 and pdata ,0x03 ,pdata 
+063d c1018000 rtneq 0x03 
+063e 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+063f 20600000 rtn 
 
 p_le_parse:
-061e c6078000 rtnmark1 mark_old_packet 
-061f 20405890 call le_fifo_check_full 
-0620 247a0000 nrtn blank 
-0621 680082d9 fetch 1 ,mem_le_rxbuf 
-0622 1fe17e03 and pdata ,0x3 ,pdata 
-0623 6000c50c store 1 ,mem_le_packet_llid 
-0624 e8c08000 ifetch 1 ,contr 
-0625 1fe17e1f and pdata ,0x1f ,pdata 
-0626 6000c50b store 1 ,mem_le_packet_size 
-0627 207a0000 rtn blank 
-0628 18c27e00 copy contr ,pdata 
-0629 6001450d store 2 ,mem_le_payload_ptr 
-062a 6800c50c fetch 1 ,mem_le_packet_llid 
-062b c001862d beq llid_le_ll ,p_le_parse_ll 
-062c 2020568d branch le_parse_l2cap 
+0640 c6078000 rtnmark1 mark_old_packet 
+0641 20405890 call le_fifo_check_full 
+0642 247a0000 nrtn blank 
+0643 680082d9 fetch 1 ,mem_le_rxbuf 
+0644 1fe17e03 and pdata ,0x3 ,pdata 
+0645 6000c50c store 1 ,mem_le_packet_llid 
+0646 e8c08000 ifetch 1 ,contr 
+0647 1fe17e1f and pdata ,0x1f ,pdata 
+0648 6000c50b store 1 ,mem_le_packet_size 
+0649 207a0000 rtn blank 
+064a 18c27e00 copy contr ,pdata 
+064b 6001450d store 2 ,mem_le_payload_ptr 
+064c 6800c50c fetch 1 ,mem_le_packet_llid 
+064d c001864f beq llid_le_ll ,p_le_parse_ll 
+064e 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-062d 680082db fetch 1 ,mem_le_rxbuf + 2 
-062e c0000631 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-062f c0008638 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0630 20205c65 branch le_parse_ll + 1 
+064f 680082db fetch 1 ,mem_le_rxbuf + 2 
+0650 c0000653 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+0651 c000865a beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0652 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0631 20405c7b call le_parse_connection_update_req 
-0632 6800caa7 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-0633 207a0000 rtn blank 
+0653 20405c7b call le_parse_connection_update_req 
+0654 6800caa7 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0655 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-0634 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0635 6000c172 store 1 ,mem_lpm_mult 
-0636 6000c7c5 store 1 ,mem_lpm_mult_init 
-0637 20600000 rtn 
+0656 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0657 6000c172 store 1 ,mem_lpm_mult 
+0658 6000c7c5 store 1 ,mem_lpm_mult_init 
+0659 20600000 rtn 
 
 p_le_parse_channel_map_req:
-0638 e8c28000 ifetch 5 ,contr 
-0639 6002c3ce store 5 ,mem_le_new_map 
-063a e8c10000 ifetch 2 ,contr 
-063b 6001045f store 2 ,mem_le_instant 
-063c 20205c8a branch le_parse_channel_map_req + 7 
+065a e8c28000 ifetch 5 ,contr 
+065b 6002c3ce store 5 ,mem_le_new_map 
+065c e8c10000 ifetch 2 ,contr 
+065d 6001045f store 2 ,mem_le_instant 
+065e 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-063d e8c10000 ifetch 2 ,contr 
-063e c0020641 beq le_l2cap_cid_att ,p_le_parse_att 
-063f c0030645 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0640 20205698 branch le_parse_l2cap + 11 
+065f e8c10000 ifetch 2 ,contr 
+0660 c0020663 beq le_l2cap_cid_att ,p_le_parse_att 
+0661 c0030667 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0662 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0641 20407ea5 call store_contr 
-0642 20400617 call p_mouse_le_reconn_write_enable_timer_reinit 
-0643 20407e9f call get_contr 
-0644 202058ab branch le_parse_att 
+0663 20407ea5 call store_contr 
+0664 20400639 call p_mouse_le_reconn_write_enable_timer_reinit 
+0665 20407e9f call get_contr 
+0666 202058ab branch le_parse_att 
 
 p_le_parse_smp:
-0645 e8c08000 ifetch 1 ,contr 
-0646 c0008649 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0647 c002864b beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0648 20205af6 branch le_parse_smp + 2 
+0667 e8c08000 ifetch 1 ,contr 
+0668 c000866b beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0669 c002866d beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+066a 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-0649 704a9101 jam 1 ,mem_le_send_security_request_flag 
-064a 20205b09 branch le_parse_smp_pairing_request 
+066b 704a9101 jam 1 ,mem_le_send_security_request_flag 
+066c 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-064b 20405b5a call le_parse_smp_pairing_failed 
-064c 6800843f fetch 1 ,mem_le_state 
-064d 793ffe05 set0 lestate_update_param ,pdata 
-064e 6000843f store 1 ,mem_le_state 
-064f 20205c8e branch le_parse_terminate_ind 
+066d 20405b5a call le_parse_smp_pairing_failed 
+066e 6800843f fetch 1 ,mem_le_state 
+066f 793ffe05 set0 lestate_update_param ,pdata 
+0670 6000843f store 1 ,mem_le_state 
+0671 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-0650 68008016 fetch 1 ,mem_le_ch_mapped 
-0651 c093d6f2 bne 39 ,le_adv_loop 
-0652 180a7e00 random pdata 
-0653 d84001ff arg 0x1ff ,temp 
-0654 98417e00 iand temp ,pdata 
-0655 1fe0fefa add pdata ,250 ,pdata 
-0656 20403cbe call delay 
-0657 d8e00000 arg le_adv_interval_timer ,queue 
-0658 68014482 fetch 2 ,mem_le_adv_interval 
-0659 20207f08 branch timer_init 
+0672 68008016 fetch 1 ,mem_le_ch_mapped 
+0673 c093d6f2 bne 39 ,le_adv_loop 
+0674 180a7e00 random pdata 
+0675 d84001ff arg 0x1ff ,temp 
+0676 98417e00 iand temp ,pdata 
+0677 1fe0fefa add pdata ,250 ,pdata 
+0678 20403cbe call delay 
+0679 d8e00000 arg le_adv_interval_timer ,queue 
+067a 68014482 fetch 2 ,mem_le_adv_interval 
+067b 20207f08 branch timer_init 
 
 p_le_lpm_setmult:
-065a 7855fc00 disable wake 
-065b 2037065d branch p_le_lpm_set_mult_attempt ,attempt 
-065c 2436d806 nbranch le_lpm_lost ,match 
+067c 7855fc00 disable wake 
+067d 2037067f branch p_le_lpm_set_mult_attempt ,attempt 
+067e 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-065d 20402bcb call lpm_match 
-065e 680140c1 fetch 2 ,mem_rx_window_sniff 
-065f 6001044d store 2 ,mem_le_receive_window 
-0660 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0661 2fe00603 compare 3 ,pdata ,3 
-0662 2420abde nbranch lpm_mult_short ,true 
-0663 202057fb branch le_lpm_set_mult_attempt + 3 
+067f 20402bcb call lpm_match 
+0680 680140c1 fetch 2 ,mem_rx_window_sniff 
+0681 6001044d store 2 ,mem_le_receive_window 
+0682 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0683 2fe00603 compare 3 ,pdata ,3 
+0684 2420abde nbranch lpm_mult_short ,true 
+0685 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0664 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0665 247a0000 nrtn blank 
-0666 68008478 fetch 1 ,mem_le_att_handle 
-0667 1fe67e1a sub pdata ,26 ,pdata 
-0668 24628000 nrtn zero 
-0669 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-066a 20203d60 branch mouse_le_write_enable 
+0686 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0687 247a0000 nrtn blank 
+0688 68008478 fetch 1 ,mem_le_att_handle 
+0689 1fe67e1a sub pdata ,26 ,pdata 
+068a 24628000 nrtn zero 
+068b 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+068c 20203d60 branch mouse_le_write_enable 
 
 p_check_51cmd_once_continue:
-066b 204062bc call lmo_fifo_check 
-066c 243a7ddb nbranch check_51cmd_restore ,blank 
-066d 68008a99 fetch 1 ,mem_fifo_temp 
-066e c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-066f c0090671 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-0670 20207dca branch check_51cmd_once_continue + 2 
+068d 204062bc call lmo_fifo_check 
+068e 243a7ddb nbranch check_51cmd_restore ,blank 
+068f 68008a99 fetch 1 ,mem_fifo_temp 
+0690 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+0691 c0090693 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+0692 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-0671 20405890 call le_fifo_check_full 
-0672 247a0000 nrtn blank 
-0673 20205abf branch le_l2cap_tx_update_req 
+0693 20405890 call le_fifo_check_full 
+0694 247a0000 nrtn blank 
+0695 20205abf branch le_l2cap_tx_update_req 
 
 p_set_freq_tx:
-0674 60088017 storet 1 ,mem_last_freq 
-0675 2040292d call set_freq_tx_offset 
-0676 20402981 call rf_write_freq 
-0677 58000500 setarg param_pll_setup 
-0678 20402a8f call sleep 
+0696 60088017 storet 1 ,mem_last_freq 
+0697 2040292d call set_freq_tx_offset 
+0698 20402981 call rf_write_freq 
+0699 58000500 setarg param_pll_setup 
+069a 20402a8f call sleep 
 
 p_rf_tx_enable:
-0679 70890601 jam 0x1 ,rfen_adc 
-067a 7089003c jam 0x3c ,rfen_rx 
-067b 708901e0 jam 0xe0 ,rfen_tx 
-067c 2000000a nop 10 
-067d 70890201 jam 0x01 ,rfen_mdm 
-067e 7089023d jam 0x3d ,rfen_mdm 
-067f 2000000a nop 10 
-0680 708903b7 jam 0xb7 ,rfen_sn 
-0681 2000000a nop 10 
-0682 7089027d jam 0x7d ,rfen_mdm 
-0683 6800c1de fetch 1 ,mem_tx_power 
-0684 c001068c beq tx_power_5db ,p_set_tx_power_5db 
-0685 c0020694 beq tx_power_f5db ,p_set_tx_power_f5db 
-0686 c010069e beq tx_power_pair ,p_set_tx_power_pair 
+069b 70890601 jam 0x1 ,rfen_adc 
+069c 7089003c jam 0x3c ,rfen_rx 
+069d 708901e0 jam 0xe0 ,rfen_tx 
+069e 2000000a nop 10 
+069f 70890201 jam 0x01 ,rfen_mdm 
+06a0 7089023d jam 0x3d ,rfen_mdm 
+06a1 2000000a nop 10 
+06a2 708903b7 jam 0xb7 ,rfen_sn 
+06a3 2000000a nop 10 
+06a4 7089027d jam 0x7d ,rfen_mdm 
+06a5 6800c1de fetch 1 ,mem_tx_power 
+06a6 c00106ae beq tx_power_5db ,p_set_tx_power_5db 
+06a7 c00206b6 beq tx_power_f5db ,p_set_tx_power_f5db 
+06a8 c01006c0 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0687 20400699 call p_rx_low_sens 
-0688 708955d0 jam 0xd0 ,0x8955 
-0689 708956e0 jam 0xe0 ,0x8956 
-068a 7089586c jam 0x6c ,0x8958 
-068b 2020294b branch set_tx_power_0db 
+06a9 204006bb call p_rx_low_sens 
+06aa 708955d0 jam 0xd0 ,0x8955 
+06ab 708956e0 jam 0xe0 ,0x8956 
+06ac 7089586c jam 0x6c ,0x8958 
+06ad 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-068c 70894cfb jam 0xfb ,0x894c 
-068d 70894def jam 0xef ,0x894d 
-068e 70894eec jam 0xec ,0x894e 
-068f 70894f5e jam 0x5e ,0x894f 
-0690 708955d0 jam 0xd0 ,0x8955 
-0691 708956e0 jam 0xe0 ,0x8956 
-0692 7089583c jam 0x3c ,0x8958 
-0693 20202953 branch set_tx_power_5db 
+06ae 70894cfb jam 0xfb ,0x894c 
+06af 70894def jam 0xef ,0x894d 
+06b0 70894eec jam 0xec ,0x894e 
+06b1 70894f5e jam 0x5e ,0x894f 
+06b2 708955d0 jam 0xd0 ,0x8955 
+06b3 708956e0 jam 0xe0 ,0x8956 
+06b4 7089583c jam 0x3c ,0x8958 
+06b5 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0694 20400699 call p_rx_low_sens 
-0695 708955d0 jam 0xd0 ,0x8955 
-0696 708956c0 jam 0xc0 ,0x8956 
-0697 7089586c jam 0x6c ,0x8958 
-0698 2020295b branch set_tx_power_f5db 
+06b6 204006bb call p_rx_low_sens 
+06b7 708955d0 jam 0xd0 ,0x8955 
+06b8 708956c0 jam 0xc0 ,0x8956 
+06b9 7089586c jam 0x6c ,0x8958 
+06ba 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0699 70894c5b jam 0x5b ,0x894c 
-069a 70894d96 jam 0x96 ,0x894d 
-069b 70894e2c jam 0x2c ,0x894e 
-069c 70894f46 jam 0x46 ,0x894f 
-069d 20600000 rtn 
+06bb 70894c5b jam 0x5b ,0x894c 
+06bc 70894d96 jam 0x96 ,0x894d 
+06bd 70894e2c jam 0x2c ,0x894e 
+06be 70894f46 jam 0x46 ,0x894f 
+06bf 20600000 rtn 
 
 p_set_tx_power_pair:
-069e 708956c2 jam 0xc2 ,0x8956 
-069f 708955d0 jam 0xd0 ,0x8955 
-06a0 20600000 rtn 
+06c0 708956c2 jam 0xc2 ,0x8956 
+06c1 708955d0 jam 0xd0 ,0x8955 
+06c2 20600000 rtn 
 
 p_shutdown_radio:
-06a1 18002a08 force 8 ,radio_ctrl 
-06a2 202028fa branch shutdown_radio + 1 
+06c3 18002a08 force 8 ,radio_ctrl 
+06c4 202028fa branch shutdown_radio + 1 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(revision 3162)
+++ /branch/flip_pen/flip_pen_24G&BLE/program/patch.prog	(working copy)
@@ -1744,6 +1744,7 @@
 
 p_mouse_bb_event_timer:
 	//call p_device_led_show_timer
+	call p_mouse_g24_pair_mode_timer
 	call p_flip_multi_led_blink_timer
 ifdef ADC_ENABLE
 	call p_mouse_adc_read
@@ -1752,13 +1753,12 @@
 	call mouse_check_discovery_timeout_timer
 ifdef G24
 //	call p_mouse_g24_long_sleep_param_update_timer
-	call p_low_electricity_charging_timer_init 
+	call p_flip_charging_timer_init 
 	//call p_device_led_show_timer
 	call p_send_alt_tab_payload_timer
 	//call p_key_led_show
 	call p_mouse_select_device	
 	//call p_mouse_g24_stop_mode_timeout_timer
-	call p_mouse_g24_pair_mode_timer
 	call p_g24_init_long_sleep_timer
 endif
 ifdef BLE
@@ -1774,11 +1774,11 @@
 p_mouse_key_long_time_down_timer:
 	call mouse_check_key_gpio
 	fetcht 2,mem_timer_key
-	isub temp,null
+	branch p_mouse_no_key_press,blank
+	isub temp,null	
 	ncall p_key_press_timer_set0,zero
 	copy rega,pdata
 	store 2,mem_timer_key
-	branch p_mouse_no_key_press,blank
 	jam 0x0a,mem_g24_discon_long_sleep_timeout
 	fetch 2,mem_key_long_press_timer
 	increase 1,pdata
@@ -1786,22 +1786,37 @@
 	rtn
 p_mouse_no_key_press:
 	jam 0,mem_device_change_finish
+	fetch 1,mem_mouse_adc_last_low_voltage_flag
+	beq 1,p_low_voltage_led_init
 	fetch 1,mem_flip_device_charging
 	nbranch p_mouse_no_key_init,blank
 	jam OFF, mem_mouse_multi_led_blink_enable
-	//call p_multi_led_blink_disable
 p_mouse_no_key_init:	
 	fetch 1,mem_customer_key
 	nrtn blank
-	jam 0,mem_g24_pair_fail
-	jam 0,mem_g24_pair_fail_cunt
 	call p_key_press_timer_set0
 	fetch 1,mem_key_g24_pairing_flag
 	rtn blank
 	call p_g24_stop_pair_init
+	fetch 1,mem_flip_connect_success
+	bne 0x01,p_g24_reconn_start
+	rtn
+p_low_voltage_led_init:
+	fetch 2,mem_key_long_press_timer
+	rtn blank
+	jam 1,mem_mouse_multi_led_blink_timer_init
+	arg 6,temp
+	call p_flip_multi_led_blink_init
+	branch p_mouse_no_key_init
+p_g24_reconn_start:
+	call p_mouse_set_24g_addr_eeprom
+	call iicd_read_eep_data
+	call p_g24_start_24g_mode
 	rtn
 
-p_low_electricity_charging_timer_init:
+	
+
+p_flip_charging_timer_init:
 	fetcht 1,mem_device_usb_gpio
 	call p_get_usb_bit
 	store 1,mem_flip_device_usbing
@@ -1810,10 +1825,12 @@
 	fetcht 1,mem_device_charge_gpio
 	call p_get_usb_bit
 	store 1,mem_flip_device_charging 
-	beq 1,p_charging_led_init
+	beq 1,p_flip_charging_led_init
 	//bbit1 0,p_low_voltage_led_init
 	rtn
-p_charging_led_init:
+p_flip_charging_led_init:
+	//fetch 2,mem_timer_key
+	//nbranch p_multi_led_blink_disable,blank
 	jam 0x0a,mem_mouse_multi_led_blink_timer_init
 	jam 0,mem_mouse_multi_led_blink_count_limited
 	jam 1,mem_mouse_multi_led_blink_enable
@@ -1867,6 +1884,16 @@
 p_flip_led_type_on_1s_init:
 	arg 0x0a,temp
 	branch p_flip_device_led_type_on_start
+p_multi_led_blink_disable:
+	jam OFF, mem_mouse_multi_led_blink_enable
+	rtn
+p_multi_led_blink_enable:
+	jam ON, mem_mouse_multi_led_blink_enable
+	rtn
+p_flip_multi_led_blink_init:
+	storet 1,mem_mouse_multi_led_blink_count
+	jam 1,mem_mouse_multi_led_blink_count_limited
+	branch p_multi_led_blink_enable
 
 p_mouse_discovery_multi_led_blink:
 	fetch 1,mem_mouse_multi_led_blink_enable
@@ -2033,18 +2060,27 @@
 //	rtn
 p_mouse_g24_pair_mode_timer:
 	fetch 1,mem_device_flag
-	rtnbit1 0
+	rtneq MODE_BT_DEVICE1
 	fetch 1,mem_timer_key
 	rtnne 0x11
 	setarg 0
 	store 2,mem_customer_key
-	store 2,mem_customer_key_store
-	//fetch 1,key_long_press_timer
-	//sub pdata,0x0a,null
-	call p_key_press_timer_compare
-	rtn positive
+	store 4,mem_key_send_payload_staus
+	jam 0x01,mem_mouse_multi_led_blink_timer_init
+	arg 0,temp
+	fetch 2,mem_key_long_press_timer
+	sub pdata,0x0a,null
+	branch p_flip_multi_led_blink_init,positive
+	fetch 1,mem_flip_connect_success
+	nbranch p_g24_pairing_succ,blank
+
+	jam 0,mem_mouse_multi_led_blink_enable
+	fetch 2,mem_key_long_press_timer
+	sub pdata,0x60,null
+	call p_g24_stop_pair_mode,zero
+	ncall p_multi_led_blink_enable,positive
 	sub pdata,0x64,null
-	nbranch p_g24_stop_pair_mode,positive
+	nbranch p_g24_stop_pair_init,positive
 p_mouse_g24_stop_mode_timeout:
 	jam 0,mem_24g_ensure
 	call enable_user
@@ -2055,14 +2091,19 @@
 	branch p_g24_auto_pair_start
 	
 p_g24_stop_pair_mode:
-	jam 1,mem_g24_pair_fail
-	//jam 0,mem_g24_conn_sm
+	arg 4,temp
+	branch p_flip_multi_led_blink_init
 p_g24_stop_pair_init:
 	fetch 1,mem_g24_conn_sm
 	set0 STATE_24G_PAIR,pdata
 	store 1,mem_g24_conn_sm
 	jam 0,mem_key_g24_pairing_flag
 	rtn
+p_g24_pairing_succ:
+	fetch 1,mem_key_g24_pairing_flag
+	nbranch p_flip_multi_led_blink_init,blank
+	jam 0,mem_flip_connect_success
+	rtn
 	
 endif
 
Index: sched/mouse.dat
===================================================================
--- /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(revision 3162)
+++ /branch/flip_pen/flip_pen_24G&BLE/sched/mouse.dat	(working copy)
@@ -142,7 +142,7 @@
 mem_adc_channel:32 #gpio5
 mem_mouse_vdd_full_vol:51 00#4.2v
 48 00#mem_mouse_vdd_empty_vol:5a 00#3.3v
-4b 00#mem_mouse_vdd_low_vol:64 00  #3.4v
+4a 00#mem_mouse_vdd_low_vol:64 00  #3.4v
 mem_adc_read_timer:28
 
 mem_lbutton_gpio:1d
@@ -424,7 +424,7 @@
 mem_24g_pairing_sm:ff
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12
-mem_firmware_version:0d 00
+mem_firmware_version:0e 00
 
 mem_device_flag:
 02
