Index: format/app_usb.format
===================================================================
--- /branch/mouse_project/YJX_Project/PB_Switch/format/app_usb.format	(revision 1737)
+++ /branch/mouse_project/YJX_Project/PB_Switch/format/app_usb.format	(working copy)
@@ -184,7 +184,9 @@
 
 (
 0x01 BIND_ACKPAYLOAD
+0x08 BIND_ACKPAYLOAD_LENGTH
 0x02 USER_ACKPAYLOAD
+0x1F USER_ACKPAYLOAD_LENGTH
 
 0xcf CMD_OTA
 0xc0 CMD_OTA_START
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/PB_Switch/output/eeprom.dat	(revision 1737)
+++ /branch/mouse_project/YJX_Project/PB_Switch/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-d6
+de
 1c
 c2
 84
@@ -19,11 +19,11 @@
 c0
 42
 87
-33
+35
 c0
 44
 87
-06
+08
 c0
 50
 80
@@ -43,31 +43,31 @@
 c0
 64
 83
-9a
+97
 c0
 65
 03
-9e
+9b
 c0
 71
 85
-57
+54
 c0
 73
 05
-7c
+7f
 c0
 75
 05
-b6
+b9
 c0
 75
 85
-b9
+bc
 c0
 76
 05
-e2
+e5
 20
 20
 2a
@@ -75,51 +75,51 @@
 c0
 1c
 85
-e8
+ea
 c0
 21
 85
-f0
+f2
 c0
 25
 05
-f6
+f8
 c0
 2b
 85
-f9
+fb
 c0
 2c
 86
-09
+0b
 c0
 31
 86
-16
+18
 c0
 33
 06
-3f
+41
 c0
 33
 86
-5e
+60
 c0
 35
 06
-9a
+9c
 c0
 3b
 86
-a5
+a7
 c0
 7d
 06
-b6
+b8
 c0
 46
 06
-bf
+c1
 20
 20
 2a
@@ -263,7 +263,7 @@
 20
 20
 04
-8a
+87
 d8
 a0
 09
@@ -279,7 +279,7 @@
 20
 40
 03
-e4
+e1
 20
 40
 6a
@@ -423,7 +423,7 @@
 20
 40
 06
-dc
+de
 20
 40
 00
@@ -480,10 +480,6 @@
 37
 82
 16
-70
-4d
-5d
-00
 20
 40
 01
@@ -503,14 +499,18 @@
 20
 22
 80
-7f
+7e
 68
 00
 cc
 0c
-20
-7a
+c1
+84
+00
 00
+70
+4d
+5d
 00
 20
 40
@@ -531,7 +531,7 @@
 20
 22
 83
-3d
+3c
 68
 02
 4c
@@ -1047,7 +1047,7 @@
 20
 20
 03
-64
+61
 68
 00
 cc
@@ -1083,7 +1083,7 @@
 20
 20
 03
-51
+4e
 70
 4d
 44
@@ -1155,7 +1155,7 @@
 20
 40
 06
-d2
+d4
 20
 20
 02
@@ -1199,7 +1199,7 @@
 20
 40
 06
-d2
+d4
 70
 4d
 41
@@ -1410,8 +1410,8 @@
 e7
 20
 40
-04
-01
+03
+fe
 70
 4c
 3a
@@ -1535,7 +1535,7 @@
 20
 40
 06
-ce
+d0
 68
 00
 cc
@@ -1595,7 +1595,7 @@
 20
 40
 06
-cb
+cd
 20
 20
 01
@@ -1711,11 +1711,11 @@
 20
 40
 06
-fd
+ff
 20
 40
 06
-d2
+d4
 20
 20
 02
@@ -2027,7 +2027,7 @@
 20
 40
 03
-bc
+b9
 20
 34
 02
@@ -3039,7 +3039,7 @@
 20
 40
 03
-da
+d7
 20
 40
 02
@@ -3107,7 +3107,7 @@
 20
 20
 05
-4f
+4c
 68
 00
 cb
@@ -3119,7 +3119,7 @@
 20
 20
 05
-57
+54
 20
 40
 34
@@ -3131,7 +3131,7 @@
 20
 40
 04
-0a
+08
 68
 00
 c1
@@ -3143,7 +3143,7 @@
 20
 40
 06
-cb
+cd
 68
 00
 c6
@@ -3175,11 +3175,11 @@
 24
 55
 83
-6a
+67
 20
 40
 03
-47
+44
 20
 75
 80
@@ -3187,7 +3187,7 @@
 20
 40
 03
-c5
+c2
 68
 00
 cb
@@ -3199,11 +3199,11 @@
 20
 40
 83
-44
+41
 20
 40
 03
-ab
+a8
 20
 40
 03
@@ -3235,11 +3235,11 @@
 20
 40
 05
-52
+4f
 20
 20
 03
-b4
+b1
 68
 00
 cc
@@ -3255,7 +3255,7 @@
 20
 40
 05
-52
+4f
 70
 4b
 3d
@@ -3295,11 +3295,11 @@
 c0
 7f
 85
-dd
+e0
 20
 40
 05
-db
+de
 20
 40
 34
@@ -3311,19 +3311,11 @@
 20
 40
 05
-d7
-70
-43
-8f
-1f
+da
 20
 20
 7d
 f4
-79
-20
-00
-26
 20
 40
 01
@@ -3341,13 +3333,9 @@
 c7
 7a
 c0
-7f
-83
-44
-20
-20
-05
-57
+ff
+85
+54
 68
 00
 c6
@@ -3359,7 +3347,7 @@
 20
 20
 05
-57
+54
 70
 42
 12
@@ -3371,7 +3359,7 @@
 20
 40
 03
-47
+44
 20
 40
 40
@@ -3383,11 +3371,11 @@
 c0
 18
 03
-53
+50
 c0
 18
 83
-5f
+5c
 20
 40
 40
@@ -3399,7 +3387,7 @@
 20
 20
 03
-4b
+48
 70
 4b
 0c
@@ -3407,11 +3395,11 @@
 20
 20
 03
-49
+46
 20
 40
 04
-06
+04
 68
 00
 c6
@@ -3419,7 +3407,7 @@
 c0
 2d
 03
-57
+54
 20
 20
 40
@@ -3455,11 +3443,11 @@
 20
 20
 03
-59
+56
 20
 40
 04
-06
+04
 68
 00
 c6
@@ -3515,7 +3503,7 @@
 20
 40
 05
-4f
+4c
 20
 40
 3e
@@ -3531,7 +3519,7 @@
 20
 40
 03
-95
+92
 20
 40
 58
@@ -3563,11 +3551,11 @@
 20
 40
 03
-97
+94
 20
 40
 04
-7b
+78
 20
 40
 65
@@ -3587,7 +3575,7 @@
 20
 40
 03
-83
+80
 68
 00
 cb
@@ -3595,7 +3583,7 @@
 c0
 7f
 83
-8f
+8c
 20
 60
 00
@@ -3687,7 +3675,7 @@
 20
 22
 83
-a2
+9f
 20
 20
 3d
@@ -3771,15 +3759,15 @@
 24
 55
 83
-a8
+a5
 20
 40
 03
-49
+46
 20
 40
 03
-64
+61
 68
 00
 c7
@@ -3819,7 +3807,7 @@
 20
 40
 04
-7b
+78
 20
 40
 65
@@ -3859,7 +3847,7 @@
 c2
 00
 03
-c0
+bd
 20
 60
 00
@@ -3867,7 +3855,7 @@
 58
 00
 03
-d6
+d3
 60
 01
 4d
@@ -3875,7 +3863,7 @@
 58
 00
 03
-ed
+ea
 60
 01
 41
@@ -3883,7 +3871,7 @@
 58
 00
 06
-af
+b1
 60
 01
 41
@@ -3899,7 +3887,7 @@
 58
 00
 04
-38
+35
 60
 01
 41
@@ -3907,7 +3895,7 @@
 58
 00
 04
-2c
+29
 60
 01
 41
@@ -3915,7 +3903,7 @@
 58
 00
 04
-8e
+8b
 60
 01
 41
@@ -3923,7 +3911,7 @@
 58
 00
 04
-9a
+97
 60
 01
 41
@@ -3959,7 +3947,7 @@
 20
 40
 03
-e2
+df
 d8
 c0
 19
@@ -3967,7 +3955,7 @@
 20
 40
 03
-e2
+df
 d8
 c0
 1a
@@ -3975,7 +3963,7 @@
 20
 40
 03
-e2
+df
 d8
 c0
 1b
@@ -3999,7 +3987,7 @@
 20
 40
 03
-e2
+df
 d8
 a0
 19
@@ -4007,7 +3995,7 @@
 20
 40
 03
-e2
+df
 d8
 a0
 1a
@@ -4015,7 +4003,7 @@
 20
 40
 03
-e2
+df
 d8
 a0
 1b
@@ -4023,7 +4011,7 @@
 20
 20
 03
-e2
+df
 20
 40
 58
@@ -4039,7 +4027,7 @@
 c0
 7f
 83
-f4
+f1
 68
 00
 c6
@@ -4059,7 +4047,7 @@
 20
 5a
 04
-29
+27
 68
 02
 46
@@ -4079,19 +4067,19 @@
 20
 40
 03
-fe
+fb
 20
 40
-04
-01
+03
+fe
 20
 40
 04
-24
+22
 20
 20
 04
-0f
+0d
 70
 41
 72
@@ -4124,6 +4112,10 @@
 02
 46
 9b
+20
+20
+03
+4e
 da
 60
 4b
@@ -4131,11 +4123,11 @@
 20
 40
 03
-59
+56
 20
 40
 03
-41
+3f
 20
 60
 00
@@ -4171,7 +4163,7 @@
 20
 54
 04
-13
+11
 20
 60
 00
@@ -4203,7 +4195,7 @@
 20
 34
 04
-1b
+19
 20
 60
 00
@@ -4268,14 +4260,10 @@
 40
 58
 14
-70
-47
-9c
-01
 20
 20
-04
-06
+03
+4e
 20
 40
 7e
@@ -4283,7 +4271,7 @@
 20
 40
 04
-2f
+2c
 20
 20
 3e
@@ -4295,7 +4283,7 @@
 20
 40
 05
-b0
+b3
 68
 08
 c6
@@ -4307,11 +4295,11 @@
 20
 20
 84
-36
+33
 20
 40
 05
-ab
+ae
 20
 20
 3d
@@ -4319,7 +4307,7 @@
 20
 40
 05
-ab
+ae
 20
 20
 3d
@@ -4331,35 +4319,35 @@
 c0
 0a
 04
-42
+3f
 c0
 0a
 84
-50
+4d
 c0
 14
 84
-5d
+5a
 c0
 19
 04
-5f
+5c
 c0
 20
 04
-67
+64
 c0
 1c
 84
-75
+72
 c0
 1d
 04
-7f
+7c
 c0
 1e
 04
-84
+81
 20
 20
 41
@@ -4387,7 +4375,7 @@
 24
 42
 83
-87
+84
 70
 4b
 3e
@@ -4399,7 +4387,7 @@
 24
 3a
 04
-4c
+49
 70
 4b
 3c
@@ -4411,11 +4399,11 @@
 20
 40
 03
-51
+4e
 20
 40
 04
-0a
+08
 20
 20
 41
@@ -4427,7 +4415,7 @@
 20
 40
 04
-96
+93
 58
 00
 00
@@ -4451,7 +4439,7 @@
 20
 40
 04
-0a
+08
 20
 40
 58
@@ -4471,7 +4459,7 @@
 20
 20
 05
-cf
+d2
 70
 0a
 99
@@ -4487,7 +4475,7 @@
 c0
 00
 84
-63
+60
 70
 46
 c6
@@ -4495,11 +4483,11 @@
 20
 20
 04
-65
+62
 20
 40
 04
-5d
+5a
 70
 46
 c6
@@ -4535,7 +4523,7 @@
 20
 21
 04
-73
+70
 58
 00
 00
@@ -4551,7 +4539,7 @@
 20
 40
 04
-5d
+5a
 70
 47
 c4
@@ -4567,7 +4555,7 @@
 20
 20
 06
-55
+57
 20
 40
 03
@@ -4575,7 +4563,7 @@
 20
 40
 04
-84
+81
 d8
 e0
 00
@@ -4611,7 +4599,7 @@
 20
 40
 04
-96
+93
 70
 4d
 4e
@@ -4635,7 +4623,7 @@
 20
 40
 03
-51
+4e
 20
 40
 3f
@@ -4643,7 +4631,7 @@
 20
 40
 04
-7b
+78
 20
 40
 65
@@ -4687,7 +4675,7 @@
 20
 40
 04
-96
+93
 20
 40
 74
@@ -4715,27 +4703,27 @@
 20
 20
 03
-64
+61
 20
 40
 04
-ab
+a8
 20
 40
 05
-10
+0d
 20
 40
 04
-d8
+d5
 20
 40
 04
-f6
+f3
 20
 40
 04
-dd
+da
 20
 40
 42
@@ -4743,31 +4731,31 @@
 20
 40
 04
-b8
+b5
 20
 40
 04
-c2
+bf
 20
 40
 04
-bf
+bc
 20
 40
 04
-a8
+a5
 20
 40
 04
-c7
+c4
 20
 40
 04
-ca
+c7
 20
 40
 04
-d0
+cd
 20
 20
 42
@@ -4799,7 +4787,7 @@
 da
 40
 04
-b0
+ad
 20
 20
 33
@@ -4827,11 +4815,11 @@
 c0
 00
 05
-cf
+d2
 c0
 00
 85
-dd
+e0
 20
 60
 00
@@ -4843,7 +4831,7 @@
 da
 40
 04
-bb
+b8
 20
 20
 33
@@ -4883,7 +4871,7 @@
 da
 40
 04
-c5
+c2
 20
 20
 33
@@ -4915,7 +4903,7 @@
 da
 40
 04
-cd
+ca
 20
 20
 33
@@ -4931,7 +4919,7 @@
 20
 20
 04
-bd
+ba
 68
 00
 cb
@@ -4947,7 +4935,7 @@
 da
 40
 04
-d5
+d2
 20
 20
 33
@@ -4971,7 +4959,7 @@
 da
 40
 04
-db
+d8
 20
 20
 33
@@ -4995,7 +4983,7 @@
 20
 20
 84
-e6
+e3
 68
 00
 c6
@@ -5023,7 +5011,7 @@
 20
 40
 04
-e8
+e5
 20
 20
 43
@@ -5035,7 +5023,7 @@
 da
 40
 04
-eb
+e8
 20
 20
 33
@@ -5047,7 +5035,7 @@
 24
 3a
 04
-f2
+ef
 68
 00
 c7
@@ -5059,11 +5047,11 @@
 20
 40
 04
-f4
+f1
 20
 40
 05
-d3
+d6
 20
 20
 43
@@ -5083,7 +5071,7 @@
 20
 20
 05
-0c
+09
 68
 08
 c6
@@ -5103,7 +5091,7 @@
 24
 5a
 05
-08
+05
 68
 00
 c6
@@ -5139,7 +5127,7 @@
 20
 3a
 05
-0b
+08
 70
 41
 bd
@@ -5203,15 +5191,15 @@
 c0
 00
 05
-15
+12
 20
 20
 05
-2a
+27
 20
 40
 05
-37
+34
 68
 00
 cb
@@ -5235,7 +5223,7 @@
 20
 42
 85
-1d
+1a
 20
 60
 00
@@ -5247,7 +5235,7 @@
 20
 40
 05
-49
+46
 68
 00
 c7
@@ -5299,7 +5287,7 @@
 da
 40
 05
-2d
+2a
 20
 20
 33
@@ -5319,7 +5307,7 @@
 20
 3a
 05
-35
+32
 68
 00
 cb
@@ -5327,7 +5315,7 @@
 20
 3a
 05
-47
+44
 1f
 e0
 ff
@@ -5343,7 +5331,7 @@
 c0
 00
 85
-49
+46
 70
 4b
 01
@@ -5355,7 +5343,7 @@
 c0
 00
 85
-3f
+3c
 68
 08
 cb
@@ -5423,7 +5411,7 @@
 24
 3a
 05
-4d
+4a
 70
 4a
 ff
@@ -5474,22 +5462,6 @@
 00
 68
 00
-c6
-e0
-c0
-03
-05
-64
-c0
-04
-05
-64
-c0
-01
-05
-74
-68
-00
 c7
 7a
 1f
@@ -5499,23 +5471,47 @@
 20
 42
 85
-62
+61
 68
 00
 c7
 7a
 c0
 00
-3d
-8a
+05
+63
 c0
 01
-bd
-8e
+85
+69
+68
+00
+c6
+e0
+c0
+03
+05
+6f
+c0
+04
+05
+6f
+c0
+01
+05
+78
+68
+00
+c7
+81
+60
+00
+c6
+b5
 20
 20
 3d
-8c
+c1
 70
 47
 7a
@@ -5526,28 +5522,52 @@
 00
 68
 00
-c7
-7a
-1f
-e6
-7c
+c6
+e0
+c0
+03
+05
+72
+c0
+04
+05
+72
+c0
 01
-20
-42
-85
-62
+05
+7b
 68
 00
 c7
-7a
-c0
+7f
+20
+20
+05
+5f
+68
 00
+c6
+e0
+c0
+03
 05
-6e
+75
+c0
+04
+05
+75
 c0
 01
-85
-71
+05
+7d
+68
+00
+c7
+82
+20
+20
+05
+5f
 68
 00
 c7
@@ -5556,14 +5576,10 @@
 e0
 ff
 ff
-60
-00
-c6
-b5
 20
 20
-3d
-c1
+05
+5f
 68
 00
 c7
@@ -5575,7 +5591,7 @@
 20
 20
 05
-6c
+5f
 68
 00
 c7
@@ -5587,39 +5603,35 @@
 20
 20
 05
-6c
+5f
 68
 00
 c7
-7a
+81
+1f
+e0
+fe
+02
+20
 20
-5a
 05
-62
+5f
 68
 00
 c7
-7a
-c0
-00
-bd
-88
-c0
-01
-85
-7a
+7f
 20
 20
-3d
-8e
-58
-00
-00
 05
+79
+68
+00
+c7
+82
 20
 20
-3d
-be
+05
+79
 78
 54
 7c
@@ -5635,7 +5647,7 @@
 20
 40
 05
-85
+88
 20
 40
 40
@@ -5647,7 +5659,7 @@
 20
 40
 05
-88
+8b
 24
 74
 00
@@ -5671,7 +5683,7 @@
 20
 40
 05
-8a
+8d
 20
 20
 40
@@ -5683,11 +5695,11 @@
 20
 40
 05
-90
+93
 20
 40
 05
-8e
+91
 20
 20
 40
@@ -5695,11 +5707,11 @@
 20
 40
 05
-a0
+a3
 20
 20
 05
-a6
+a9
 68
 08
 c6
@@ -5707,7 +5719,7 @@
 20
 40
 05
-ab
+ae
 68
 08
 c6
@@ -5727,7 +5739,7 @@
 20
 40
 05
-ab
+ae
 68
 08
 c6
@@ -5747,7 +5759,7 @@
 20
 40
 05
-ab
+ae
 68
 08
 c6
@@ -5771,7 +5783,7 @@
 20
 40
 05
-b0
+b3
 68
 08
 c6
@@ -5787,7 +5799,7 @@
 20
 20
 05
-ab
+ae
 68
 08
 c6
@@ -5795,7 +5807,7 @@
 20
 40
 05
-b0
+b3
 68
 08
 c6
@@ -5827,7 +5839,7 @@
 20
 20
 05
-b4
+b7
 79
 3f
 84
@@ -5895,11 +5907,11 @@
 20
 40
 03
-be
+bb
 24
 54
 03
-8a
+87
 68
 03
 4b
@@ -5939,7 +5951,7 @@
 20
 40
 05
-db
+de
 20
 40
 43
@@ -5951,7 +5963,7 @@
 20
 20
 05
-23
+20
 68
 03
 4b
@@ -5963,7 +5975,7 @@
 20
 40
 05
-d3
+d6
 20
 20
 7d
@@ -5979,7 +5991,7 @@
 20
 40
 05
-db
+de
 d8
 c0
 4b
@@ -6027,11 +6039,11 @@
 20
 20
 03
-91
+8e
 20
 40
 05
-43
+40
 58
 00
 00
@@ -6040,14 +6052,10 @@
 01
 46
 ac
-70
-4b
-0c
-01
 20
 40
-04
-06
+03
+4e
 20
 20
 42
@@ -6079,7 +6087,7 @@
 20
 40
 06
-dc
+de
 20
 20
 53
@@ -6122,8 +6130,8 @@
 a3
 20
 40
-05
-ff
+06
+01
 20
 20
 55
@@ -6155,7 +6163,7 @@
 24
 21
 04
-71
+6e
 68
 00
 c3
@@ -6171,7 +6179,7 @@
 20
 21
 05
-fb
+fd
 68
 00
 c3
@@ -6183,7 +6191,7 @@
 20
 20
 05
-fd
+ff
 68
 00
 84
@@ -6195,7 +6203,7 @@
 20
 40
 06
-0e
+10
 24
 74
 00
@@ -6243,11 +6251,11 @@
 c2
 82
 86
-36
+38
 20
 40
 06
-ce
+d0
 68
 00
 c7
@@ -6255,7 +6263,7 @@
 24
 3a
 06
-20
+22
 68
 00
 84
@@ -6263,7 +6271,7 @@
 c3
 02
 06
-24
+26
 68
 00
 82
@@ -6271,7 +6279,7 @@
 20
 3a
 06
-24
+26
 20
 20
 56
@@ -6299,7 +6307,7 @@
 c0
 82
 86
-27
+29
 70
 47
 8e
@@ -6311,7 +6319,7 @@
 20
 5a
 04
-17
+15
 20
 20
 56
@@ -6367,11 +6375,11 @@
 20
 40
 06
-2a
+2c
 20
 20
 06
-d2
+d4
 68
 00
 c7
@@ -6455,7 +6463,7 @@
 c0
 01
 86
-4e
+50
 20
 20
 56
@@ -6467,11 +6475,11 @@
 c0
 00
 06
-52
+54
 c0
 00
 86
-59
+5b
 20
 20
 5c
@@ -6531,11 +6539,11 @@
 c0
 02
 06
-62
+64
 c0
 03
 06
-8f
+91
 20
 20
 56
@@ -6547,7 +6555,7 @@
 20
 40
 06
-38
+3a
 20
 40
 7e
@@ -6563,7 +6571,7 @@
 c0
 08
 06
-71
+73
 1f
 ec
 84
@@ -6575,7 +6583,7 @@
 20
 21
 06
-7f
+81
 d8
 40
 47
@@ -6659,7 +6667,7 @@
 c0
 05
 06
-81
+83
 20
 20
 58
@@ -6675,7 +6683,7 @@
 c2
 81
 86
-88
+8a
 68
 01
 04
@@ -6703,7 +6711,7 @@
 24
 22
 86
-84
+86
 20
 40
 5a
@@ -6711,7 +6719,7 @@
 24
 34
 06
-84
+86
 70
 04
 7a
@@ -6727,11 +6735,11 @@
 c0
 00
 86
-93
+95
 c0
 02
 86
-95
+97
 20
 20
 5a
@@ -6775,7 +6783,7 @@
 20
 40
 06
-a0
+a2
 d8
 e0
 00
@@ -6815,7 +6823,7 @@
 20
 37
 06
-a8
+aa
 24
 36
 d8
@@ -6895,7 +6903,7 @@
 c0
 09
 06
-bc
+be
 20
 20
 7d
@@ -6999,7 +7007,7 @@
 24
 41
 06
-da
+dc
 68
 00
 cd
@@ -7055,7 +7063,7 @@
 c5
 13
 06
-e4
+e6
 58
 00
 00
@@ -7067,7 +7075,7 @@
 24
 21
 06
-fc
+fe
 68
 00
 cd
@@ -7079,7 +7087,7 @@
 24
 21
 06
-ec
+ee
 68
 00
 cd
@@ -7087,7 +7095,7 @@
 c0
 00
 06
-fd
+ff
 20
 60
 00
@@ -7115,7 +7123,7 @@
 c5
 13
 06
-f3
+f5
 58
 00
 00
@@ -7135,7 +7143,7 @@
 c0
 00
 07
-04
+06
 1f
 e0
 ff
@@ -7147,7 +7155,7 @@
 c0
 00
 07
-04
+06
 70
 41
 de
@@ -7167,7 +7175,7 @@
 c0
 01
 07
-02
+04
 1f
 e0
 fe
@@ -7179,7 +7187,7 @@
 c0
 00
 86
-fa
+fc
 70
 41
 de
@@ -7263,19 +7271,19 @@
 c0
 01
 07
-1e
+20
 c0
 02
 07
-26
+28
 c0
 10
 07
-30
+32
 20
 40
 07
-2b
+2d
 70
 89
 55
@@ -7327,7 +7335,7 @@
 20
 40
 07
-2b
+2d
 70
 89
 55
@@ -7384,8 +7392,8 @@
 20
 28
 fa
-42
-41
+52
+d7
 aa
 55
 08
@@ -8032,16 +8040,8 @@
 0f
 0f
 0f
-a3
-fe
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+79
+e0
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-15
-98
+06
+b4
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/PB_Switch/output/program.lis	(revision 1737)
+++ /branch/mouse_project/YJX_Project/PB_Switch/output/program.lis	(working copy)
@@ -3,34 +3,34 @@
 0000 c2840011 bbit1 8 ,pf_patch_ext 
 0001 c0000028 beq patch00_0 ,p_soft_reset 
 0002 c0008041 beq patch00_1 ,p_soft_reset_1 
-0003 c0428733 beq patch10_5 ,p_shutdown_radio 
-0004 c0448706 beq patch11_1 ,p_set_freq_tx 
+0003 c0428735 beq patch10_5 ,p_shutdown_radio 
+0004 c0448708 beq patch11_1 ,p_set_freq_tx 
 0005 c050804a beq patch14_1 ,p_init_param 
 0006 c058804f beq patch16_1 ,p_lpm_check_wake_lock 
 0007 c059005b beq patch16_2 ,p_g24_dispatch 
 0008 c062030b beq patch18_4 ,p_device_init 
-0009 c064839a beq patch19_1 ,p_app_flag_store 
-000a c065039e beq patch19_2 ,p_app_initflag_check 
-000b c0718557 beq patch1c_3 ,p_mouse_seting_dpi 
-000c c073057c beq patch1c_6 ,p_mouse_motion 
-000d c07505b6 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-000e c07585b9 beq patch1d_3 ,p_mouse_start_discovery 
-000f c07605e2 beq patch1d_4 ,p_mouse_stop_discovery 
+0009 c0648397 beq patch19_1 ,p_app_flag_store 
+000a c065039b beq patch19_2 ,p_app_initflag_check 
+000b c0718554 beq patch1c_3 ,p_mouse_seting_dpi 
+000c c073057f beq patch1c_6 ,p_mouse_motion 
+000d c07505b9 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000e c07585bc beq patch1d_3 ,p_mouse_start_discovery 
+000f c07605e5 beq patch1d_4 ,p_mouse_stop_discovery 
 0010 20202a8e branch loop 
 
 pf_patch_ext:
-0011 c01c85e8 beq patch27_1 ,p_le_slave_match 
-0012 c02185f0 beq patch28_3 ,p_le_next_adv_channel 
-0013 c02505f6 beq patch29_2 ,p_le_receive_skip 
-0014 c02b85f9 beq patch2a_7 ,p_le_update_param 
-0015 c02c8609 beq patch2b_1 ,p_le_update_channel_map 
-0016 c0318616 beq patch2c_3 ,p_le_prepare_tx 
-0017 c033063f beq patch2c_6 ,p_le_parse 
-0018 c033865e beq patch2c_7 ,p_le_parse_l2cap 
-0019 c035069a beq patch2d_2 ,p_le_adv_not_match 
-001a c03b86a5 beq patch2e_7 ,p_le_lpm_setmult 
-001b c07d06b6 beq patch3f_2 ,p_check_51cmd_once_continue 
-001c c04606bf beq patch31_4 ,p_twspi_reset 
+0011 c01c85ea beq patch27_1 ,p_le_slave_match 
+0012 c02185f2 beq patch28_3 ,p_le_next_adv_channel 
+0013 c02505f8 beq patch29_2 ,p_le_receive_skip 
+0014 c02b85fb beq patch2a_7 ,p_le_update_param 
+0015 c02c860b beq patch2b_1 ,p_le_update_channel_map 
+0016 c0318618 beq patch2c_3 ,p_le_prepare_tx 
+0017 c0330641 beq patch2c_6 ,p_le_parse 
+0018 c0338660 beq patch2c_7 ,p_le_parse_l2cap 
+0019 c035069c beq patch2d_2 ,p_le_adv_not_match 
+001a c03b86a7 beq patch2e_7 ,p_le_lpm_setmult 
+001b c07d06b8 beq patch3f_2 ,p_check_51cmd_once_continue 
+001c c04606c1 beq patch31_4 ,p_twspi_reset 
 001d 20202a8e branch loop 
 
 p_rssi_signal:
@@ -76,13 +76,13 @@
 003d 98467c00 isub temp ,null 
 003e 244143cc ncall mouse_select_device_count_clean ,positive 
 003f 6008c720 storet 1 ,mem_device_flag 
-0040 2020048a branch p_mouse_store_device_number2eeprom 
+0040 20200487 branch p_mouse_store_device_number2eeprom 
 
 p_soft_reset_1:
 0041 d8a009ae arg mem_sp_state ,contw 
 0042 df20000c arg 12 ,loopcnt 
 0043 20407ed4 call clear_mem 
-0044 204003e4 call p_mouse_le_txbuff_load 
+0044 204003e1 call p_mouse_le_txbuff_load 
 0045 20406a03 call rfcomm_init 
 0046 20405cf6 call init_lmp 
 0047 2455ac65 ncall lpm_disable_exen_output ,wake 
@@ -128,7 +128,7 @@
 0065 20400176 call p_g24_transmit_packet 
 0066 6800cc1e fetch 1 ,mem_24g_pairing_sm 
 0067 c1ff8000 rtnne state_24g_pairing_success 
-0068 204006dc call power_ctrl_start 
+0068 204006de call power_ctrl_start 
 0069 20400099 call g24_long_sleep_shorter_param_update 
 006a 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
 006b c0008095 beq on ,p_g24_transmit_by_interrupt_enable 
@@ -147,21 +147,21 @@
 0074 2040018f call p_g24_transmit_receive_ack 
 0075 242c0216 nbranch p_g24_pair_txdata_retry ,sync 
 0076 24378216 nbranch p_g24_pair_txdata_retry ,user3 
-0077 704d5d00 jam 0 ,mem_g24_conn_sm 
-0078 204001b7 call p_g24_ackpayload_parse 
-0079 68024c36 fetch 4 ,mem_24g_addr 
-007a 680a4d53 fetcht 4 ,mem_24g_allpowerful_addr 
-007b 98467c00 isub temp ,null 
-007c 2022807f branch p_g24_auto_pair_skip_rx_length ,zero 
-007d 6800cc0c fetch 1 ,mem_24g_rxdata_length 
-007e 207a0000 rtn blank 
+0077 204001b7 call p_g24_ackpayload_parse 
+0078 68024c36 fetch 4 ,mem_24g_addr 
+0079 680a4d53 fetcht 4 ,mem_24g_allpowerful_addr 
+007a 98467c00 isub temp ,null 
+007b 2022807e branch p_g24_auto_pair_skip_rx_length ,zero 
+007c 6800cc0c fetch 1 ,mem_24g_rxdata_length 
+007d c1840000 rtnne bind_ackpayload_length 
 
 p_g24_auto_pair_skip_rx_length:
+007e 704d5d00 jam 0 ,mem_g24_conn_sm 
 007f 20400329 call p_mouse_tx_power_init 
 0080 68024c36 fetch 4 ,mem_24g_addr 
 0081 680a4c1a fetcht 4 ,mem_24g_paring_addr 
 0082 98467c00 isub temp ,null 
-0083 2022833d branch p_g24_start_pairing_sm1 ,zero 
+0083 2022833c branch p_g24_start_pairing_sm1 ,zero 
 0084 68024c36 fetch 4 ,mem_24g_addr 
 0085 680a4c45 fetcht 4 ,mem_24g_device_addr 
 0086 98467c00 isub temp ,null 
@@ -332,7 +332,7 @@
 0101 6000cd59 store 1 ,mem_24g_search_dongle_action 
 0102 58000708 setarg g24_disconn_nodata_timer 
 0103 600146b0 store 2 ,mem_mouse_no_data_timer 
-0104 20200364 branch p_mouse_sensor_powerdown 
+0104 20200361 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
 0105 6800cc3a fetch 1 ,mem_24g_abort_pac 
@@ -343,7 +343,7 @@
 010a 793ffe00 set0 g24_disconn_state ,pdata 
 010b 6000cd59 store 1 ,mem_24g_search_dongle_action 
 010c 20403f8d call mouse_no_data_timer_init 
-010d 20200351 branch p_mouse_init_sensor_reset 
+010d 2020034e branch p_mouse_init_sensor_reset 
 
 p_g24_transmit_rf_sta_init:
 010e 704d4401 jam 1 ,mem_24g_rf_last_sta 
@@ -371,7 +371,7 @@
 011c 793ffe04 set0 bit_hop ,pdata 
 011d 6000cc0f store 1 ,mem_24g_data_type 
 011e 6000cbca store 1 ,mem_24g_txpayload 
-011f 204006d2 call power_ctrl_pac_succ_decrs 
+011f 204006d4 call power_ctrl_pac_succ_decrs 
 0120 2020025a branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -388,7 +388,7 @@
 0129 20200176 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-012a 204006d2 call power_ctrl_pac_succ_decrs 
+012a 204006d4 call power_ctrl_pac_succ_decrs 
 012b 704d4100 jam 0 ,mem_24g_hop_fastly_cnt 
 012c 20200110 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -465,7 +465,7 @@
 015e 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-015f 20400401 call p_mouse_data_xy_release 
+015f 204003fe call p_mouse_data_xy_release 
 0160 704c3a00 jam 0 ,mem_24g_abort_pac 
 0161 1a20fe01 add rega ,1 ,pdata 
 0162 6000cc0e store 1 ,mem_24g_datalen 
@@ -502,7 +502,7 @@
 017b 2437819a nbranch p_g24_retransmit ,user3 
 017c 2040018a call p_g24_txbuf_clear 
 017d 204001b7 call p_g24_ackpayload_parse 
-017e 204006ce call power_ctrl_pac_succ_incrs 
+017e 204006d0 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 017f 6800cc0d fetch 1 ,mem_24g_pid 
@@ -525,7 +525,7 @@
 018c 20207ec6 branch memset0 
 
 p_g24_paring_mode_start:
-018d 204006cb call power_ctrl_pac_succ_cnt_init 
+018d 204006cd call power_ctrl_pac_succ_cnt_init 
 018e 202001ea branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
@@ -564,8 +564,8 @@
 01a9 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01aa 204006fd call power_ctrl_txpower_incrs 
-01ab 204006d2 call power_ctrl_pac_succ_decrs 
+01aa 204006ff call power_ctrl_txpower_incrs 
+01ab 204006d4 call power_ctrl_pac_succ_decrs 
 01ac 2020025a branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -677,7 +677,7 @@
 01f8 20200186 branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-01f9 204003bc call p_g24_factory_check 
+01f9 204003b9 call p_g24_factory_check 
 01fa 2034020a branch p_g24_auto_pair_start ,user 
 01fb 79200026 set1 mark_24g ,mark 
 01fc 6800cd5d fetch 1 ,mem_g24_conn_sm 
@@ -994,7 +994,7 @@
 
 p_mouse_before_lpm:
 02f5 c6130000 rtnmark1 mark_24g 
-02f6 204003da call p_mouse_le_txbuff_save 
+02f6 204003d7 call p_mouse_le_txbuff_save 
 02f7 204002ff call p_mouse_setgpio_lpm 
 02f8 6800c040 fetch 1 ,mem_context 
 02f9 c30002fc bbit0 state_inconn ,p_clear_wake 
@@ -1017,20 +1017,20 @@
 0304 98418400 ior temp ,temp 
 0305 18440400 invert temp ,temp 
 0306 601a007c hstoret 4 ,core_gpio_pd0 
-0307 2020054f branch p_mouse_multi_led_gpio_set_float 
+0307 2020054c branch p_mouse_multi_led_gpio_set_float 
 
 p_mouse_set_sdio_high:
 0308 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
 0309 207a0000 rtn blank 
-030a 20200557 branch p_mouse_seting_dpi_sensor_type 
+030a 20200554 branch p_mouse_seting_dpi_sensor_type 
 
 p_device_init:
 030b 20403416 call app_lpm_mult_enable 
 030c 20358316 branch p_device_init_common ,wake 
-030d 2040040a call p_mouse_data_init 
+030d 20400408 call p_mouse_data_init 
 030e 6800c1de fetch 1 ,mem_tx_power 
 030f 6000ccc5 store 1 ,mem_tx_power_temp 
-0310 204006cb call power_ctrl_pac_succ_cnt_init 
+0310 204006cd call power_ctrl_pac_succ_cnt_init 
 0311 6800c685 fetch 1 ,mem_ui_button_timeout 
 0312 6000c6da store 1 ,mem_combination_ui_button_count 
 0313 204043ca call mouse_bt_discovery_button_down_disable 
@@ -1042,14 +1042,14 @@
 0317 202074b9 branch enable_authrom 
 
 p_mouse_init:
-0318 2455836a ncall p_mouse_setting_config ,wake 
-0319 20400347 call p_mouse_spi_init 
+0318 24558367 ncall p_mouse_setting_config ,wake 
+0319 20400344 call p_mouse_spi_init 
 031a 20758000 rtn wake 
-031b 204003c5 call p_mouse_cb_fuction 
+031b 204003c2 call p_mouse_cb_fuction 
 031c 6800cb3f fetch 1 ,mem_power_on_flag 
 031d 2fec0002 isolate0 2 ,pdata 
-031e 20408344 call p_mouse_dpi_config_default ,true 
-031f 204003ab call p_mouse_wakeup_from_power 
+031e 20408341 call p_mouse_dpi_config_default ,true 
+031f 204003a8 call p_mouse_wakeup_from_power 
 
 p_mouse_check_reconn_target:
 0320 20400329 call p_mouse_tx_power_init 
@@ -1061,8 +1061,8 @@
 0326 2020340a branch app_enter_hibernate 
 
 p_mouse_connect_24g_mode:
-0327 20400552 call p_mouse_mode_24g_device_multi_led_on 
-0328 202003b4 branch p_mouse_start_24g_mode 
+0327 2040054f call p_mouse_mode_24g_device_multi_led_on 
+0328 202003b1 branch p_mouse_start_24g_mode 
 
 p_mouse_tx_power_init:
 0329 6800ccc5 fetch 1 ,mem_tx_power_temp 
@@ -1070,7 +1070,7 @@
 032b 20600000 rtn 
 
 p_mouse4_0_check_reconn_target:
-032c 20400552 call p_mouse_mode_bt_device1_multi_led_on 
+032c 2040054f call p_mouse_mode_bt_device1_multi_led_on 
 032d 704b3d01 jam 1 ,mem_le_send_security_request_flag 
 032e 70479f01 jam 1 ,mem_mouse_le_reconnect_flag 
 032f 680146a8 fetch 2 ,mem_mouse_direct_timeout 
@@ -1082,1479 +1082,1495 @@
 p_mouse4_0_check_reconn_target_next:
 0334 600146ae store 2 ,mem_mouse_direct_timer 
 0335 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-0336 c07f85dd beq 0xff ,p_mouse_check_fast_conn_adv_start 
-0337 204005db call p_mouse_store_eeprom_enable 
+0336 c07f85e0 beq 0xff ,p_mouse_check_fast_conn_adv_start 
+0337 204005de call p_mouse_store_eeprom_enable 
 0338 20403418 call app_lpm_mult_disable 
 0339 d8c04390 arg mem_le_scan_data ,contr 
-033a 204005d7 call p_le_adv_data_update 
-033b 70438f1f jam 0x1f ,mem_le_scan_data_len 
-033c 20207df4 branch check_51cmd_adv 
+033a 204005da call p_le_adv_data_update 
+033b 20207df4 branch check_51cmd_adv 
 
 p_g24_start_pairing_sm1:
-033d 79200026 set1 mark_24g ,mark 
-033e 204001be call p_g24_pair_init 
+033c 204001be call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-033f 704c1e01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
-0340 20600000 rtn 
+033d 704c1e01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+033e 20600000 rtn 
 
 p_mouse_dpi_config:
-0341 6800c77a fetch 1 ,mem_mouse_dpi 
-0342 c07f8344 beq 0xff ,p_mouse_dpi_config_default 
-0343 20200557 branch p_mouse_seting_dpi_sensor_type 
+033f 6800c77a fetch 1 ,mem_mouse_dpi 
+0340 c0ff8554 bne 0xff ,p_mouse_seting_dpi_sensor_type 
 
 p_mouse_dpi_config_default:
-0344 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0345 6000c77a store 1 ,mem_mouse_dpi 
-0346 20200557 branch p_mouse_seting_dpi_sensor_type 
+0341 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0342 6000c77a store 1 ,mem_mouse_dpi 
+0343 20200554 branch p_mouse_seting_dpi_sensor_type 
 
 p_mouse_spi_init:
-0347 70421276 jam 0x76 ,mem_spi_init_clk 
-0348 20203d36 branch mouse_spi_init 
+0344 70421276 jam 0x76 ,mem_spi_init_clk 
+0345 20203d36 branch mouse_spi_init 
 
 p_mouse_init_sunt:
-0349 20400347 call p_mouse_spi_init 
-034a 204040c0 call mouse_spi_sdio_gpio_pollup 
+0346 20400344 call p_mouse_spi_init 
+0347 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
-034b 204040d9 call mouse_read_sensor_id 
-034c c0180353 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-034d c018835f beq p3065_id1 ,p_mouse_p3065_init_param 
-034e 204040d1 call mouse_twspi_reset 
-034f 200003e8 nop 1000 
-0350 2020034b branch p_mouse_init_sensor 
+0348 204040d9 call mouse_read_sensor_id 
+0349 c0180350 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+034a c018835c beq p3065_id1 ,p_mouse_p3065_init_param 
+034b 204040d1 call mouse_twspi_reset 
+034c 200003e8 nop 1000 
+034d 20200348 branch p_mouse_init_sensor 
 
 p_mouse_init_sensor_reset:
-0351 704b0c01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-0352 20200349 branch p_mouse_init_sunt 
+034e 704b0c01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+034f 20200346 branch p_mouse_init_sunt 
 
 p_mouse_init_p32xx_id2_judge:
-0353 20400406 call p_mouse_sensor_poweron 
-0354 6800c6de fetch 1 ,mem_sensor_id2 
-0355 c02d0357 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0356 202040e0 branch mouse_init_p32xx_id2_judge 
+0350 20400404 call p_mouse_sensor_poweron 
+0351 6800c6de fetch 1 ,mem_sensor_id2 
+0352 c02d0354 beq p_mx8650 ,p_mouse_mx8650_init_param 
+0353 202040e0 branch mouse_init_p32xx_id2_judge 
 
 p_mouse_mx8650_init_param:
-0357 7046e008 jam mx8650 ,mem_config_sensor_type 
-0358 20600000 rtn 
+0354 7046e008 jam mx8650 ,mem_config_sensor_type 
+0355 20600000 rtn 
 
 p_sensor_wr_seq:
-0359 ea610000 ifetch 2 ,regc 
-035a c17f8000 rtneq 0xff 
-035b 20406413 call twspi_write 
-035c 20002ee0 nop 12000 
-035d 1a60a602 increase 2 ,regc 
-035e 20200359 branch p_sensor_wr_seq 
+0356 ea610000 ifetch 2 ,regc 
+0357 c17f8000 rtneq 0xff 
+0358 20406413 call twspi_write 
+0359 20002ee0 nop 12000 
+035a 1a60a602 increase 2 ,regc 
+035b 20200356 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-035f 20400406 call p_mouse_sensor_poweron 
-0360 6800c6de fetch 1 ,mem_sensor_id2 
-0361 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
-0362 7046e001 jam p3065 ,mem_config_sensor_type 
-0363 20600000 rtn 
+035c 20400404 call p_mouse_sensor_poweron 
+035d 6800c6de fetch 1 ,mem_sensor_id2 
+035e c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+035f 7046e001 jam p3065 ,mem_config_sensor_type 
+0360 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-0364 58000006 setarg 0x06 
-0365 20406414 call twspi_read 
-0366 1fe1fe08 or pdata ,0x08 ,pdata 
-0367 1fed7e00 lshift8 pdata ,pdata 
-0368 1fe0fe06 add pdata ,0x06 ,pdata 
-0369 20206413 branch twspi_write 
+0361 58000006 setarg 0x06 
+0362 20406414 call twspi_read 
+0363 1fe1fe08 or pdata ,0x08 ,pdata 
+0364 1fed7e00 lshift8 pdata ,pdata 
+0365 1fe0fe06 add pdata ,0x06 ,pdata 
+0366 20206413 branch twspi_write 
 
 p_mouse_setting_config:
-036a 680240a0 fetch 4 ,mem_lap 
-036b 60024c45 store 4 ,mem_24g_device_addr 
-036c 20403e6e call mouse_gpio_init 
-036d 2040054f call p_mouse_multi_led_gpio_set_float 
-036e 20403e1e call mouse_param_init 
-036f 58000000 setarg 0 
-0370 60014154 store 2 ,mem_lpm_interval 
-0371 20400395 call p_mouse_set_gpio_control_sensor 
-0372 20405810 call le_set_config_fixed_ltk 
-0373 20405839 call le_set_justwork 
-0374 2040582c call le_set_fixed_ltk 
-0375 20405818 call le_set_config_read_authentication 
+0367 680240a0 fetch 4 ,mem_lap 
+0368 60024c45 store 4 ,mem_24g_device_addr 
+0369 20403e6e call mouse_gpio_init 
+036a 2040054c call p_mouse_multi_led_gpio_set_float 
+036b 20403e1e call mouse_param_init 
+036c 58000000 setarg 0 
+036d 60014154 store 2 ,mem_lpm_interval 
+036e 20400392 call p_mouse_set_gpio_control_sensor 
+036f 20405810 call le_set_config_fixed_ltk 
+0370 20405839 call le_set_justwork 
+0371 2040582c call le_set_fixed_ltk 
+0372 20405818 call le_set_config_read_authentication 
 
 p_mouse_init_iic:
-0376 2040659c call iic_init_390k 
-0377 204065c2 call clear_eeprom_size_2k 
-0378 2040443f call mouse_load_eeprom_dpi 
-0379 20400397 call p_mouse_init_environment 
-037a 2040047b call p_mouse_set_24g_addr_eeprom 
-037b 204065df call iicd_read_eep_data 
-037c 6800c720 fetch 1 ,mem_device_flag 
-037d c1010000 rtneq mode_24g_device 
-037e c17f8000 rtneq mode_default_device 
-037f 20400383 call p_mouse_load_fast_conn_flag 
-0380 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-0381 c07f838f beq 0xff ,p_mouse_fast_conn_init2 
-0382 20600000 rtn 
+0373 2040659c call iic_init_390k 
+0374 204065c2 call clear_eeprom_size_2k 
+0375 2040443f call mouse_load_eeprom_dpi 
+0376 20400394 call p_mouse_init_environment 
+0377 20400478 call p_mouse_set_24g_addr_eeprom 
+0378 204065df call iicd_read_eep_data 
+0379 6800c720 fetch 1 ,mem_device_flag 
+037a c1010000 rtneq mode_24g_device 
+037b c17f8000 rtneq mode_default_device 
+037c 20400380 call p_mouse_load_fast_conn_flag 
+037d 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+037e c07f838c beq 0xff ,p_mouse_fast_conn_init2 
+037f 20600000 rtn 
 
 p_mouse_load_fast_conn_flag:
-0383 d8400001 arg 1 ,temp 
-0384 da204b40 arg mem_mouse_fast_conn_flag ,rega 
-0385 da400064 arg mouse_fast_conn_flag_offset ,regb 
-0386 202065df branch iicd_read_eep_data 
+0380 d8400001 arg 1 ,temp 
+0381 da204b40 arg mem_mouse_fast_conn_flag ,rega 
+0382 da400064 arg mouse_fast_conn_flag_offset ,regb 
+0383 202065df branch iicd_read_eep_data 
 
 p_mouse_fast_conn_quit:
-0387 58000050 setarg 0x50 
-0388 600146ae store 2 ,mem_mouse_direct_timer 
-0389 20403410 call app_ble_store_reconn_info 
+0384 58000050 setarg 0x50 
+0385 600146ae store 2 ,mem_mouse_direct_timer 
+0386 20403410 call app_ble_store_reconn_info 
 
 p_mouse_fast_conn_store:
-038a 704b405a jam 0x5a ,mem_mouse_fast_conn_flag 
+0387 704b405a jam 0x5a ,mem_mouse_fast_conn_flag 
 
 p_mouse_store_fast_conn_flag:
-038b d8400001 arg 1 ,temp 
-038c da204b40 arg mem_mouse_fast_conn_flag ,rega 
-038d da400064 arg mouse_fast_conn_flag_offset ,regb 
-038e 202065d1 branch iicd_write_protect_eep_data 
+0388 d8400001 arg 1 ,temp 
+0389 da204b40 arg mem_mouse_fast_conn_flag ,rega 
+038a da400064 arg mouse_fast_conn_flag_offset ,regb 
+038b 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_fast_conn_init2:
-038f 704b4801 jam 1 ,mem_le_switch_adv_timer 
-0390 704b4701 jam 1 ,mem_le_switch_adv_flag 
+038c 704b4801 jam 1 ,mem_le_switch_adv_timer 
+038d 704b4701 jam 1 ,mem_le_switch_adv_flag 
 
 p_mouse_fast_conn_init:
-0391 70421034 jam 0x34 ,mem_xrecord_mode 
-0392 68034d53 fetch 6 ,mem_24g_allpowerful_addr 
-0393 600344a0 store 6 ,mem_le_lap 
-0394 20600000 rtn 
+038e 70421034 jam 0x34 ,mem_xrecord_mode 
+038f 68034d53 fetch 6 ,mem_24g_allpowerful_addr 
+0390 600344a0 store 6 ,mem_le_lap 
+0391 20600000 rtn 
 
 p_mouse_set_gpio_control_sensor:
-0395 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
-0396 20600000 rtn 
+0392 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
+0393 20600000 rtn 
 
 p_mouse_init_environment:
-0397 204033c4 call app_initflag_check 
-0398 202283a2 branch p_mouse_eeprom_load_recon_info ,zero 
-0399 20203dcb branch mouse_init_environment + 2 
+0394 204033c4 call app_initflag_check 
+0395 2022839f branch p_mouse_eeprom_load_recon_info ,zero 
+0396 20203dcb branch mouse_init_environment + 2 
 
 p_app_flag_store:
-039a d8400002 arg 2 ,temp 
-039b da200aaa arg mem_timeup ,rega 
-039c da400062 arg mouse_eeprom_module_init_flag ,regb 
-039d 202065d1 branch iicd_write_protect_eep_data 
+0397 d8400002 arg 2 ,temp 
+0398 da200aaa arg mem_timeup ,rega 
+0399 da400062 arg mouse_eeprom_module_init_flag ,regb 
+039a 202065d1 branch iicd_write_protect_eep_data 
 
 p_app_initflag_check:
-039e d8400002 arg 2 ,temp 
-039f da200a9a arg mem_pdatatemp ,rega 
-03a0 da400062 arg mouse_eeprom_module_init_flag ,regb 
-03a1 202033c8 branch app_initflag_check + 4 
+039b d8400002 arg 2 ,temp 
+039c da200a9a arg mem_pdatatemp ,rega 
+039d da400062 arg mouse_eeprom_module_init_flag ,regb 
+039e 202033c8 branch app_initflag_check + 4 
 
 p_mouse_eeprom_load_recon_info:
-03a2 d8400058 arg 88 ,temp 
-03a3 da204720 arg mem_device_flag ,rega 
-03a4 da400000 arg mouse_info_eeprom_offect ,regb 
-03a5 204065df call iicd_read_eep_data 
-03a6 20400038 call p_mouse_switch_hwakeup_bypb 
-03a7 2020431a branch mouse_select_reconn_device 
+039f d8400058 arg 88 ,temp 
+03a0 da204720 arg mem_device_flag ,rega 
+03a1 da400000 arg mouse_info_eeprom_offect ,regb 
+03a2 204065df call iicd_read_eep_data 
+03a3 20400038 call p_mouse_switch_hwakeup_bypb 
+03a4 2020431a branch mouse_select_reconn_device 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
-03a8 58000177 setarg 375 
-03a9 60014d51 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-03aa 20600000 rtn 
+03a5 58000177 setarg 375 
+03a6 60014d51 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+03a7 20600000 rtn 
 
 p_mouse_wakeup_from_power:
-03ab 58000019 setarg 25 
-03ac 60014d51 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-03ad 245583a8 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-03ae 20400349 call p_mouse_init_sunt 
-03af 20400364 call p_mouse_sensor_powerdown 
+03a8 58000019 setarg 25 
+03a9 60014d51 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+03aa 245583a5 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+03ab 20400346 call p_mouse_init_sunt 
+03ac 20400361 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
-03b0 6800c71f fetch 1 ,mem_reconn_times_init 
-03b1 6000c71e store 1 ,mem_reconn_times 
-03b2 6800c6f5 fetch 1 ,mem_config_function_enable 
-03b3 c3828000 rtnbit1 enable_select_device_by_gpio_button 
+03ad 6800c71f fetch 1 ,mem_reconn_times_init 
+03ae 6000c71e store 1 ,mem_reconn_times 
+03af 6800c6f5 fetch 1 ,mem_config_function_enable 
+03b0 c3828000 rtnbit1 enable_select_device_by_gpio_button 
 
 p_mouse_start_24g_mode:
-03b4 6800cb3f fetch 1 ,mem_power_on_flag 
-03b5 c28101f9 bbit1 2 ,p_g24_start_24g_mode 
-03b6 5800ffff setarg 0xffff 
-03b7 60014c36 store 2 ,mem_24g_addr 
-03b8 e0a10000 istore 2 ,contw 
-03b9 2040047b call p_mouse_set_24g_addr_eeprom 
-03ba 204065d1 call iicd_write_protect_eep_data 
-03bb 2020020a branch p_g24_auto_pair_start 
+03b1 6800cb3f fetch 1 ,mem_power_on_flag 
+03b2 c28101f9 bbit1 2 ,p_g24_start_24g_mode 
+03b3 5800ffff setarg 0xffff 
+03b4 60014c36 store 2 ,mem_24g_addr 
+03b5 e0a10000 istore 2 ,contw 
+03b6 20400478 call p_mouse_set_24g_addr_eeprom 
+03b7 204065d1 call iicd_write_protect_eep_data 
+03b8 2020020a branch p_g24_auto_pair_start 
 
 p_g24_factory_check:
-03bc df200002 arg 2 ,loopcnt 
-03bd d8c04c36 arg mem_24g_addr ,contr 
+03b9 df200002 arg 2 ,loopcnt 
+03ba d8c04c36 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
-03be 20407fe7 call enable_user 
-03bf 5800ffff setarg 0xffff 
+03bb 20407fe7 call enable_user 
+03bc 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-03c0 e8c90000 ifetcht 2 ,contr 
-03c1 98467c00 isub temp ,null 
-03c2 2442ffe9 ncall disable_user ,zero 
-03c3 c20003c0 loop p_pdata_0xff_check_loop 
-03c4 20600000 rtn 
+03bd e8c90000 ifetcht 2 ,contr 
+03be 98467c00 isub temp ,null 
+03bf 2442ffe9 ncall disable_user ,zero 
+03c0 c20003bd loop p_pdata_0xff_check_loop 
+03c1 20600000 rtn 
 
 p_mouse_cb_fuction:
-03c5 580003d6 setarg p_mouse_g24_package_data 
-03c6 60014d3f store 2 ,mem_cb_24g_data 
-03c7 580003ed setarg p_mouse_le 
-03c8 600141ef store 2 ,mem_cb_le_process 
-03c9 580006af setarg p_le_mouse_bb_event_connect_complete 
-03ca 600141f9 store 2 ,mem_cb_att_write 
-03cb 580002f5 setarg p_mouse_before_lpm 
-03cc 600141ed store 2 ,mem_cb_before_lpm 
-03cd 58000438 setarg p_mouse_priority_bb_event 
-03ce 600141f5 store 2 ,mem_cb_bb_event_process 
-03cf 5800042c setarg p_mouse_idle 
-03d0 600141f3 store 2 ,mem_cb_idle_process 
-03d1 5800048e setarg p_mouse_before_hibernate 
-03d2 600141eb store 2 ,mem_cb_before_hibernate 
-03d3 5800049a setarg p_mouse_bb_event_timer 
-03d4 600141fd store 2 ,mem_cb_event_timer 
-03d5 20600000 rtn 
+03c2 580003d3 setarg p_mouse_g24_package_data 
+03c3 60014d3f store 2 ,mem_cb_24g_data 
+03c4 580003ea setarg p_mouse_le 
+03c5 600141ef store 2 ,mem_cb_le_process 
+03c6 580006b1 setarg p_le_mouse_bb_event_connect_complete 
+03c7 600141f9 store 2 ,mem_cb_att_write 
+03c8 580002f5 setarg p_mouse_before_lpm 
+03c9 600141ed store 2 ,mem_cb_before_lpm 
+03ca 58000435 setarg p_mouse_priority_bb_event 
+03cb 600141f5 store 2 ,mem_cb_bb_event_process 
+03cc 58000429 setarg p_mouse_idle 
+03cd 600141f3 store 2 ,mem_cb_idle_process 
+03ce 5800048b setarg p_mouse_before_hibernate 
+03cf 600141eb store 2 ,mem_cb_before_hibernate 
+03d0 58000497 setarg p_mouse_bb_event_timer 
+03d1 600141fd store 2 ,mem_cb_event_timer 
+03d2 20600000 rtn 
 
 p_mouse_g24_package_data:
-03d6 20404401 call mouse_g24_package_data 
-03d7 6801469f fetch 2 ,mem_mouse_z 
-03d8 207a0000 rtn blank 
-03d9 20200095 branch p_g24_transmit_by_interrupt_enable 
+03d3 20404401 call mouse_g24_package_data 
+03d4 6801469f fetch 2 ,mem_mouse_z 
+03d5 207a0000 rtn blank 
+03d6 20200095 branch p_g24_transmit_by_interrupt_enable 
 
 p_mouse_le_txbuff_save:
-03da d8c01800 arg mem_le_tx_buffer0 ,contr 
-03db d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-03dc 204003e2 call p_mouse_le_txbuff_copy 
-03dd d8c01900 arg mem_le_tx_buffer1 ,contr 
-03de 204003e2 call p_mouse_le_txbuff_copy 
-03df d8c01a00 arg mem_le_tx_buffer2 ,contr 
-03e0 204003e2 call p_mouse_le_txbuff_copy 
-03e1 d8c01b00 arg mem_le_tx_buffer3 ,contr 
+03d7 d8c01800 arg mem_le_tx_buffer0 ,contr 
+03d8 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+03d9 204003df call p_mouse_le_txbuff_copy 
+03da d8c01900 arg mem_le_tx_buffer1 ,contr 
+03db 204003df call p_mouse_le_txbuff_copy 
+03dc d8c01a00 arg mem_le_tx_buffer2 ,contr 
+03dd 204003df call p_mouse_le_txbuff_copy 
+03de d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-03e2 df20001b arg 27 ,loopcnt 
-03e3 20207f01 branch memcpy 
+03df df20001b arg 27 ,loopcnt 
+03e0 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-03e4 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-03e5 d8a01800 arg mem_le_tx_buffer0 ,contw 
-03e6 204003e2 call p_mouse_le_txbuff_copy 
-03e7 d8a01900 arg mem_le_tx_buffer1 ,contw 
-03e8 204003e2 call p_mouse_le_txbuff_copy 
-03e9 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-03ea 204003e2 call p_mouse_le_txbuff_copy 
-03eb d8a01b00 arg mem_le_tx_buffer3 ,contw 
-03ec 202003e2 branch p_mouse_le_txbuff_copy 
+03e1 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+03e2 d8a01800 arg mem_le_tx_buffer0 ,contw 
+03e3 204003df call p_mouse_le_txbuff_copy 
+03e4 d8a01900 arg mem_le_tx_buffer1 ,contw 
+03e5 204003df call p_mouse_le_txbuff_copy 
+03e6 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+03e7 204003df call p_mouse_le_txbuff_copy 
+03e8 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+03e9 202003df branch p_mouse_le_txbuff_copy 
 
 p_mouse_le:
-03ed 20405892 call le_fifo_check_nearly_full 
-03ee 247a0000 nrtn blank 
-03ef 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-03f0 c07f83f4 beq 0xff ,p_mouse_le_next 
-03f1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03f2 1fe17e03 and pdata ,0x03 ,pdata 
-03f3 c1818000 rtnne 0x03 
+03ea 20405892 call le_fifo_check_nearly_full 
+03eb 247a0000 nrtn blank 
+03ec 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+03ed c07f83f1 beq 0xff ,p_mouse_le_next 
+03ee 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03ef 1fe17e03 and pdata ,0x03 ,pdata 
+03f0 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03f4 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03f5 205a0429 call p_mouse_clear_sensor_data ,blank 
-03f6 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03f7 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03f8 20403f97 call mouse_motion 
-03f9 24740000 nrtn user 
-03fa 204003fe call p_mouse_le_current_mult_update 
-03fb 20400401 call p_mouse_data_xy_release 
-03fc 20400424 call p_mouse_wheel_trigger 
-03fd 2020040f branch p_mouse_data_push 
+03f1 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03f2 205a0427 call p_mouse_clear_sensor_data ,blank 
+03f3 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03f4 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03f5 20403f97 call mouse_motion 
+03f6 24740000 nrtn user 
+03f7 204003fb call p_mouse_le_current_mult_update 
+03f8 204003fe call p_mouse_data_xy_release 
+03f9 20400422 call p_mouse_wheel_trigger 
+03fa 2020040d branch p_mouse_data_push 
 
 p_mouse_le_current_mult_update:
-03fe 70417200 jam 0 ,mem_lpm_mult 
-03ff 704b3a1e jam 30 ,mem_mouse_le_current_mult_timer 
-0400 20600000 rtn 
+03fb 70417200 jam 0 ,mem_lpm_mult 
+03fc 704b3a1e jam 30 ,mem_mouse_le_current_mult_timer 
+03fd 20600000 rtn 
 
 p_mouse_data_xy_release:
-0401 6800cb39 fetch 1 ,mem_mouse_long_mult_flag 
-0402 c1808000 rtnne 1 
-0403 58000000 setarg 0 
-0404 6000cb39 store 1 ,mem_mouse_long_mult_flag 
-0405 6002469b store 4 ,mem_mouse_x 
+03fe 6800cb39 fetch 1 ,mem_mouse_long_mult_flag 
+03ff c1808000 rtnne 1 
+0400 58000000 setarg 0 
+0401 6000cb39 store 1 ,mem_mouse_long_mult_flag 
+0402 6002469b store 4 ,mem_mouse_x 
+0403 2020034e branch p_mouse_init_sensor_reset 
 
 p_mouse_sensor_poweron:
-0406 da604b7f arg mem_sensor_poweron_init ,regc 
-0407 20400359 call p_sensor_wr_seq 
-0408 20400341 call p_mouse_dpi_config 
-0409 20600000 rtn 
+0404 da604b7f arg mem_sensor_poweron_init ,regc 
+0405 20400356 call p_sensor_wr_seq 
+0406 2040033f call p_mouse_dpi_config 
+0407 20600000 rtn 
 
 p_mouse_data_init:
-040a 7047a007 jam 7 ,mem_mouse_data_queue 
-040b 7047a104 jam 4 ,mem_mouse_data_queue + 1 
-040c 580047a0 setarg mem_mouse_data_queue 
-040d 60014218 store 2 ,mem_queue_ptr 
-040e 20207e38 branch queue_init 
+0408 7047a007 jam 7 ,mem_mouse_data_queue 
+0409 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+040a 580047a0 setarg mem_mouse_data_queue 
+040b 60014218 store 2 ,mem_queue_ptr 
+040c 20207e38 branch queue_init 
 
 p_mouse_data_push:
-040f da20469a arg mem_mouse_key ,rega 
-0410 20407e3d call queue_push 
-0411 20540413 call p_mouse_queue_increase ,user 
-0412 20600000 rtn 
+040d da20469a arg mem_mouse_key ,rega 
+040e 20407e3d call queue_push 
+040f 20540411 call p_mouse_queue_increase ,user 
+0410 20600000 rtn 
 
 p_mouse_queue_increase:
-0413 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0414 1fe0fe01 increase 1 ,pdata 
-0415 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-0416 20600000 rtn 
+0411 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0412 1fe0fe01 increase 1 ,pdata 
+0413 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+0414 20600000 rtn 
 
 p_mouse_data_pull:
-0417 da20469a arg mem_mouse_key ,rega 
-0418 20407e54 call queue_pop 
-0419 2034041b branch p_mouse_fill_data_le ,user 
-041a 20600000 rtn 
+0415 da20469a arg mem_mouse_key ,rega 
+0416 20407e54 call queue_pop 
+0417 20340419 branch p_mouse_fill_data_le ,user 
+0418 20600000 rtn 
 
 p_mouse_fill_data_le:
-041b 20405652 call le_clear_md 
-041c 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-041d 1fe67c01 sub pdata ,1 ,null 
-041e 24415650 ncall le_set_md ,positive 
-041f 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0420 207a0000 rtn blank 
-0421 1fe0ffff increase -1 ,pdata 
-0422 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-0423 20203f90 branch mouse_fill_data_le 
+0419 20405652 call le_clear_md 
+041a 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+041b 1fe67c01 sub pdata ,1 ,null 
+041c 24415650 ncall le_set_md ,positive 
+041d 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+041e 207a0000 rtn blank 
+041f 1fe0ffff increase -1 ,pdata 
+0420 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+0421 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-0424 6801469f fetch 2 ,mem_mouse_z 
-0425 207a0000 rtn blank 
-0426 70480601 jam 1 ,mem_mouse_wheel_trigger 
-0427 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-0428 20600000 rtn 
+0422 6801469f fetch 2 ,mem_mouse_z 
+0423 207a0000 rtn blank 
+0424 70480601 jam 1 ,mem_mouse_wheel_trigger 
+0425 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+0426 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-0429 20405814 call le_set_config_more_data 
-042a 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-042b 20200406 branch p_mouse_sensor_poweron 
+0427 20405814 call le_set_config_more_data 
+0428 2020034e branch p_mouse_init_sensor_reset 
 
 p_mouse_idle:
-042c 20407e34 call ui_check_paring_button 
-042d 2040042f call p_mouse_dpi_check 
-042e 20203ee0 branch mouse_wheel_check 
+0429 20407e34 call ui_check_paring_button 
+042a 2040042c call p_mouse_dpi_check 
+042b 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-042f 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0430 204005b0 call p_gpio_set_input_pd 
-0431 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0432 2040681d call gpio_get_bit 
-0433 20208436 branch p_mouse_dpi_up ,true 
-0434 204005ab call p_gpio_set_input_pu 
-0435 20203d6d branch mouse_dpi_down 
+042c 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+042d 204005b3 call p_gpio_set_input_pd 
+042e 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+042f 2040681d call gpio_get_bit 
+0430 20208433 branch p_mouse_dpi_up ,true 
+0431 204005ae call p_gpio_set_input_pu 
+0432 20203d6d branch mouse_dpi_down 
 
 p_mouse_dpi_up:
-0436 204005ab call p_gpio_set_input_pu 
-0437 20203d62 branch mouse_dpi_up 
+0433 204005ae call p_gpio_set_input_pu 
+0434 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-0438 1a627e00 copy regc ,pdata 
-0439 c00a0442 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-043a c00a8450 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-043b c014845d beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-043c c019045f beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-043d c0200467 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-043e c01c8475 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-043f c01d047f beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0440 c01e0484 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0441 2020417d branch mouse_priority_bb_event + 1 
+0435 1a627e00 copy regc ,pdata 
+0436 c00a043f beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0437 c00a844d beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0438 c014845a beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0439 c019045c beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+043a c0200464 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+043b c01c8472 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+043c c01d047c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+043d c01e0481 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+043e 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0442 58000000 setarg 0 
-0443 6001cb47 store 3 ,mem_le_switch_adv_flag 
-0444 68034d53 fetch 6 ,mem_24g_allpowerful_addr 
-0445 680b44a0 fetcht 6 ,mem_le_lap 
-0446 98467c00 isub temp ,null 
-0447 24428387 ncall p_mouse_fast_conn_quit ,zero 
-0448 704b3e01 jam 1 ,mem_mouse_le_bb_connected_flag 
-0449 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-044a 243a044c nbranch p_mouse_le_bb_event_connected_next ,blank 
-044b 704b3c14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+043f 58000000 setarg 0 
+0440 6001cb47 store 3 ,mem_le_switch_adv_flag 
+0441 68034d53 fetch 6 ,mem_24g_allpowerful_addr 
+0442 680b44a0 fetcht 6 ,mem_le_lap 
+0443 98467c00 isub temp ,null 
+0444 24428384 ncall p_mouse_fast_conn_quit ,zero 
+0445 704b3e01 jam 1 ,mem_mouse_le_bb_connected_flag 
+0446 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0447 243a0449 nbranch p_mouse_le_bb_event_connected_next ,blank 
+0448 704b3c14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-044c 704b4a00 jam 0 ,mem_mouse_start_discovery_enable 
-044d 20400351 call p_mouse_init_sensor_reset 
-044e 2040040a call p_mouse_data_init 
-044f 202041c3 branch mouse_le_bb_event_connected 
+0449 704b4a00 jam 0 ,mem_mouse_start_discovery_enable 
+044a 2040034e call p_mouse_init_sensor_reset 
+044b 20400408 call p_mouse_data_init 
+044c 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-0450 704b3e00 jam 0 ,mem_mouse_le_bb_connected_flag 
-0451 20400496 call p_mouse_sensor_powerdown_check 
-0452 58000007 setarg le_interval_8_75ms 
-0453 60014496 store 2 ,mem_le_interval_min 
-0454 60014498 store 2 ,mem_le_interval_min + 2 
-0455 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0456 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-0457 2040040a call p_mouse_data_init 
-0458 20405816 call le_clr_config_more_data 
-0459 204041d9 call mouse_bb_disconnected 
-045a 6800cb4a fetch 1 ,mem_mouse_start_discovery_enable 
-045b 207a0000 rtn blank 
-045c 202005cf branch p_check_51cmd_adv 
+044d 704b3e00 jam 0 ,mem_mouse_le_bb_connected_flag 
+044e 20400493 call p_mouse_sensor_powerdown_check 
+044f 58000007 setarg le_interval_8_75ms 
+0450 60014496 store 2 ,mem_le_interval_min 
+0451 60014498 store 2 ,mem_le_interval_min + 2 
+0452 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0453 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0454 20400408 call p_mouse_data_init 
+0455 20405816 call le_clr_config_more_data 
+0456 204041d9 call mouse_bb_disconnected 
+0457 6800cb4a fetch 1 ,mem_mouse_start_discovery_enable 
+0458 207a0000 rtn blank 
+0459 202005d2 branch p_check_51cmd_adv 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-045d 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-045e 20207d8f branch ui_ipc_send_cmd 
+045a 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+045b 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-045f 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0460 c0008463 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0461 7046c614 jam 20 ,mem_le_start_encrypt_timer 
-0462 20200465 branch p_mouse_le_ll_enable_start_enc_flag 
+045c 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+045d c0008460 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+045e 7046c614 jam 20 ,mem_le_start_encrypt_timer 
+045f 20200462 branch p_mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0463 2040045d call p_app_updata_le_param 
-0464 7046c614 jam 20 ,mem_le_start_encrypt_timer 
+0460 2040045a call p_app_updata_le_param 
+0461 7046c614 jam 20 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_enable_start_enc_flag:
-0465 d8e00001 arg ll_start_enc_flag ,queue 
-0466 202041b9 branch mouse_le_enable_connect_flag 
+0462 d8e00001 arg ll_start_enc_flag ,queue 
+0463 202041b9 branch mouse_le_enable_connect_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0467 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
-0468 c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
-0469 68008441 fetch 1 ,mem_le_tsniff 
-046a 1feb7e00 rshift2 pdata ,pdata 
-046b 1fe67c0c sub pdata ,le_interval_15ms ,null 
-046c 20210473 branch p_mouse_le_conn_param_update_rsp_not_accepted ,positive 
-046d 58000009 setarg le_interval_11_25ms 
-046e 60014496 store 2 ,mem_le_interval_min 
-046f 60014498 store 2 ,mem_le_interval_min + 2 
-0470 2040045d call p_app_updata_le_param 
+0464 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0465 c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+0466 68008441 fetch 1 ,mem_le_tsniff 
+0467 1feb7e00 rshift2 pdata ,pdata 
+0468 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0469 20210470 branch p_mouse_le_conn_param_update_rsp_not_accepted ,positive 
+046a 58000009 setarg le_interval_11_25ms 
+046b 60014496 store 2 ,mem_le_interval_min 
+046c 60014498 store 2 ,mem_le_interval_min + 2 
+046d 2040045a call p_app_updata_le_param 
 
 p_mouse_le_conn_param_lpm_disable:
-0471 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
-0472 20600000 rtn 
+046e 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+046f 20600000 rtn 
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
-0473 704b5301 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-0474 20200655 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+0470 704b5301 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
+0471 20200657 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_24g_pairing_complete:
-0475 20400329 call p_mouse_tx_power_init 
-0476 20400484 call p_mouse_24g_attempt_success 
-0477 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0478 204043d2 call mouse_disable_function_flag 
-0479 7046a700 jam 0 ,mem_mouse_move_flag 
-047a 2020405d branch mouse_read_sensor_common 
+0472 20400329 call p_mouse_tx_power_init 
+0473 20400481 call p_mouse_24g_attempt_success 
+0474 d8e00003 arg mosue_24g_pairing_flag ,queue 
+0475 204043d2 call mouse_disable_function_flag 
+0476 7046a700 jam 0 ,mem_mouse_move_flag 
+0477 2020405d branch mouse_read_sensor_common 
 
 p_mouse_set_24g_addr_eeprom:
-047b da204c36 arg mem_24g_addr ,rega 
-047c da40005b arg mouse_g24_addr_eeprom_offect ,regb 
-047d d8400004 arg 4 ,temp 
-047e 20600000 rtn 
+0478 da204c36 arg mem_24g_addr ,rega 
+0479 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+047a d8400004 arg 4 ,temp 
+047b 20600000 rtn 
 
 p_mouse_24g_attempt_fail:
-047f 20400496 call p_mouse_sensor_powerdown_check 
-0480 704d4e00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-0481 20400329 call p_mouse_tx_power_init 
-0482 20400231 call p_g24_check_51cmd_stop_24g 
-0483 2020340a branch app_enter_hibernate 
+047c 20400493 call p_mouse_sensor_powerdown_check 
+047d 704d4e00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+047e 20400329 call p_mouse_tx_power_init 
+047f 20400231 call p_g24_check_51cmd_stop_24g 
+0480 2020340a branch app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0484 20400212 call p_g24_auto_pair_timeout_clear 
-0485 20400351 call p_mouse_init_sensor_reset 
-0486 20403f8d call mouse_no_data_timer_init 
-0487 2040047b call p_mouse_set_24g_addr_eeprom 
-0488 204065d1 call iicd_write_protect_eep_data 
+0481 20400212 call p_g24_auto_pair_timeout_clear 
+0482 2040034e call p_mouse_init_sensor_reset 
+0483 20403f8d call mouse_no_data_timer_init 
+0484 20400478 call p_mouse_set_24g_addr_eeprom 
+0485 204065d1 call iicd_write_protect_eep_data 
 
 p_mouse_store_24g_device_2eeprom:
-0489 20404366 call mouse_cheak_select_24gdevice 
+0486 20404366 call mouse_cheak_select_24gdevice 
 
 p_mouse_store_device_number2eeprom:
-048a d8400001 arg 1 ,temp 
-048b da204720 arg mem_device_flag ,rega 
-048c da400000 arg 0 ,regb 
-048d 202065d1 branch iicd_write_protect_eep_data 
+0487 d8400001 arg 1 ,temp 
+0488 da204720 arg mem_device_flag ,rega 
+0489 da400000 arg 0 ,regb 
+048a 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_before_hibernate:
-048e 68120138 hfetch 4 ,core_lpm_ctrl 
-048f 79207e1a set1 ,26 ,pdata 
-0490 6012004c hstore 4 ,core_lpm_reg 
-0491 20402c21 call lpm_write_ctrl 
-0492 20400496 call p_mouse_sensor_powerdown_check 
-0493 204074bd call disable_authrom 
-0494 20403e9f call mouse_before_hibernate_wheel_gpio_set 
-0495 20200301 branch p_mouse_setgpio_lpm_before 
+048b 68120138 hfetch 4 ,core_lpm_ctrl 
+048c 79207e1a set1 ,26 ,pdata 
+048d 6012004c hstore 4 ,core_lpm_reg 
+048e 20402c21 call lpm_write_ctrl 
+048f 20400493 call p_mouse_sensor_powerdown_check 
+0490 204074bd call disable_authrom 
+0491 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+0492 20200301 branch p_mouse_setgpio_lpm_before 
 
 p_mouse_sensor_powerdown_check:
-0496 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0497 207a0000 rtn blank 
-0498 704b0c00 jam 0 ,mem_mouse_init_sensor_reset_flag 
-0499 20200364 branch p_mouse_sensor_powerdown 
+0493 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0494 207a0000 rtn blank 
+0495 704b0c00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0496 20200361 branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-049a 204004ab call p_mouse_le_switch_adv_timer 
-049b 20400510 call p_mouse_multi_led_blink_timer 
-049c 204004d8 call p_mouse_wheel_trigger_timer 
-049d 204004f6 call p_mouse_select_device 
-049e 204004dd call p_mouse_bt_discovery_check 
-049f 20404234 call mouse_check_discovery_timeout_timer 
-04a0 204004b8 call p_mouse_g24_long_sleep_param_update_timer 
-04a1 204004c2 call p_mouse_g24_stop_mode_timeout_timer 
-04a2 204004bf call p_g24_search_dongle_delay_timer 
-04a3 204004a8 call p_mouse_check_direct_timeout_timer 
-04a4 204004c7 call p_mouse_le_enable_att_list_timer 
-04a5 204004ca call p_mouse_le_current_mult_update_timer 
-04a6 204004d0 call p_le_send_smp_security_request_timer 
-04a7 2020423a branch mouse_check_no_data_timeout_timer 
+0497 204004a8 call p_mouse_le_switch_adv_timer 
+0498 2040050d call p_mouse_multi_led_blink_timer 
+0499 204004d5 call p_mouse_wheel_trigger_timer 
+049a 204004f3 call p_mouse_select_device 
+049b 204004da call p_mouse_bt_discovery_check 
+049c 20404234 call mouse_check_discovery_timeout_timer 
+049d 204004b5 call p_mouse_g24_long_sleep_param_update_timer 
+049e 204004bf call p_mouse_g24_stop_mode_timeout_timer 
+049f 204004bc call p_g24_search_dongle_delay_timer 
+04a0 204004a5 call p_mouse_check_direct_timeout_timer 
+04a1 204004c4 call p_mouse_le_enable_att_list_timer 
+04a2 204004c7 call p_mouse_le_current_mult_update_timer 
+04a3 204004cd call p_le_send_smp_security_request_timer 
+04a4 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_check_direct_timeout_timer:
-04a8 da6046ae arg mem_mouse_direct_timer ,regc 
-04a9 da404266 arg mouse_check_direct_timeout ,regb 
-04aa 20203374 branch timer_single_step_2b 
+04a5 da6046ae arg mem_mouse_direct_timer ,regc 
+04a6 da404266 arg mouse_check_direct_timeout ,regb 
+04a7 20203374 branch timer_single_step_2b 
 
 p_mouse_le_switch_adv_timer:
-04ab 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-04ac 207a0000 rtn blank 
-04ad da604b48 arg mem_le_switch_adv_timer ,regc 
-04ae da4004b0 arg p_mouse_le_switch_adv ,regb 
-04af 2020336d branch timer_single_step 
+04a8 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+04a9 207a0000 rtn blank 
+04aa da604b48 arg mem_le_switch_adv_timer ,regc 
+04ab da4004ad arg p_mouse_le_switch_adv ,regb 
+04ac 2020336d branch timer_single_step 
 
 p_mouse_le_switch_adv:
-04b0 704b4801 jam 1 ,mem_le_switch_adv_timer 
-04b1 6800cb49 fetch 1 ,mem_le_switch_adv_count 
-04b2 1fe0fe01 increase 1 ,pdata 
-04b3 1fe17e01 and_into 1 ,pdata 
-04b4 6000cb49 store 1 ,mem_le_switch_adv_count 
-04b5 c00005cf beq 0 ,p_check_51cmd_adv 
-04b6 c00085dd beq 1 ,p_mouse_check_fast_conn_adv_start1 
-04b7 20600000 rtn 
+04ad 704b4801 jam 1 ,mem_le_switch_adv_timer 
+04ae 6800cb49 fetch 1 ,mem_le_switch_adv_count 
+04af 1fe0fe01 increase 1 ,pdata 
+04b0 1fe17e01 and_into 1 ,pdata 
+04b1 6000cb49 store 1 ,mem_le_switch_adv_count 
+04b2 c00005d2 beq 0 ,p_check_51cmd_adv 
+04b3 c00085e0 beq 1 ,p_mouse_check_fast_conn_adv_start1 
+04b4 20600000 rtn 
 
 p_mouse_g24_long_sleep_param_update_timer:
-04b8 da604b3b arg mem_24g_long_sleep_param_update_timer ,regc 
-04b9 da4004bb arg p_mouse_g24_long_sleep_normal_param ,regb 
-04ba 2020336d branch timer_single_step 
+04b5 da604b3b arg mem_24g_long_sleep_param_update_timer ,regc 
+04b6 da4004b8 arg p_mouse_g24_long_sleep_normal_param ,regb 
+04b7 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-04bb 58124f80 setarg g24_long_sleep_step3 
-04bc 6001cc3d store 3 ,mem_24g_enter_hibernate 
+04b8 58124f80 setarg g24_long_sleep_step3 
+04b9 6001cc3d store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-04bd 704b3901 jam 1 ,mem_mouse_long_mult_flag 
-04be 20600000 rtn 
+04ba 704b3901 jam 1 ,mem_mouse_long_mult_flag 
+04bb 20600000 rtn 
 
 p_g24_search_dongle_delay_timer:
-04bf da604b58 arg mem_g24_search_dongle_delay_count ,regc 
-04c0 da400000 arg 0 ,regb 
-04c1 2020336d branch timer_single_step 
+04bc da604b58 arg mem_g24_search_dongle_delay_count ,regc 
+04bd da400000 arg 0 ,regb 
+04be 2020336d branch timer_single_step 
 
 p_mouse_g24_stop_mode_timeout_timer:
-04c2 da604b4e arg mem_g24_stop_g24_mode_timeout ,regc 
-04c3 da4004c5 arg p_mouse_g24_stop_mode_timeout ,regb 
-04c4 20203374 branch timer_single_step_2b 
+04bf da604b4e arg mem_g24_stop_g24_mode_timeout ,regc 
+04c0 da4004c2 arg p_mouse_g24_stop_mode_timeout ,regb 
+04c1 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-04c5 704b4d01 jam 1 ,mem_g24_stop_g24_mode 
-04c6 20600000 rtn 
+04c2 704b4d01 jam 1 ,mem_g24_stop_g24_mode 
+04c3 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-04c7 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-04c8 da403d60 arg mouse_le_write_enable ,regb 
-04c9 2020336d branch timer_single_step 
+04c4 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+04c5 da403d60 arg mouse_le_write_enable ,regb 
+04c6 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_update_timer:
-04ca da604b3a arg mem_mouse_le_current_mult_timer ,regc 
-04cb da4004cd arg p_mouse_le_current_mult_reinit ,regb 
-04cc 2020336d branch timer_single_step 
+04c7 da604b3a arg mem_mouse_le_current_mult_timer ,regc 
+04c8 da4004ca arg p_mouse_le_current_mult_reinit ,regb 
+04c9 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-04cd 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-04ce 6000c172 store 1 ,mem_lpm_mult 
-04cf 202004bd branch p_mouse_long_mult_flag_enable 
+04ca 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+04cb 6000c172 store 1 ,mem_lpm_mult 
+04cc 202004ba branch p_mouse_long_mult_flag_enable 
 
 p_le_send_smp_security_request_timer:
-04d0 6800cb3e fetch 1 ,mem_mouse_le_bb_connected_flag 
-04d1 207a0000 rtn blank 
-04d2 da604b3c arg mem_mouse_send_secutiry_request_timer ,regc 
-04d3 da4004d5 arg p_le_pairing_sm_start_check ,regb 
-04d4 2020336d branch timer_single_step 
+04cd 6800cb3e fetch 1 ,mem_mouse_le_bb_connected_flag 
+04ce 207a0000 rtn blank 
+04cf da604b3c arg mem_mouse_send_secutiry_request_timer ,regc 
+04d0 da4004d2 arg p_le_pairing_sm_start_check ,regb 
+04d1 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-04d5 6800cb3d fetch 1 ,mem_le_send_security_request_flag 
-04d6 247a0000 nrtn blank 
-04d7 20205bf5 branch le_pairing_sm_start 
+04d2 6800cb3d fetch 1 ,mem_le_send_security_request_flag 
+04d3 247a0000 nrtn blank 
+04d4 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_wheel_trigger_timer:
-04d8 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-04d9 da4004db arg p_mouse_wheel_trigger_disable ,regb 
-04da 2020336d branch timer_single_step 
+04d5 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+04d6 da4004d8 arg p_mouse_wheel_trigger_disable ,regb 
+04d7 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-04db 70480600 jam 0 ,mem_mouse_wheel_trigger 
-04dc 20600000 rtn 
+04d8 70480600 jam 0 ,mem_mouse_wheel_trigger 
+04d9 20600000 rtn 
 
 p_mouse_bt_discovery_check:
 
 p_mouse_bt_discovery_commbination_key:
-04dd 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-04de 2040681d call gpio_get_bit 
-04df 202084e6 branch p_mouse_bt_discovery_commbination_key_down ,true 
+04da 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+04db 2040681d call gpio_get_bit 
+04dc 202084e3 branch p_mouse_bt_discovery_commbination_key_down ,true 
 
 p_mouse_bt_discovery_commbination_key_up:
-04e0 6800c685 fetch 1 ,mem_ui_button_timeout 
-04e1 6000c6da store 1 ,mem_combination_ui_button_count 
-04e2 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-04e3 c1008000 rtneq dpi_button_state_up 
-04e4 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
-04e5 202043ca branch mouse_bt_discovery_button_down_disable 
+04dd 6800c685 fetch 1 ,mem_ui_button_timeout 
+04de 6000c6da store 1 ,mem_combination_ui_button_count 
+04df 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+04e0 c1008000 rtneq dpi_button_state_up 
+04e1 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+04e2 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-04e6 204004e8 call p_mouse_bt_discovery_timer 
-04e7 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+04e3 204004e5 call p_mouse_bt_discovery_timer 
+04e4 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-04e8 da6046da arg mem_combination_ui_button_count ,regc 
-04e9 da4004eb arg p_mouse_long_button_bt_discovery ,regb 
-04ea 2020336d branch timer_single_step 
+04e5 da6046da arg mem_combination_ui_button_count ,regc 
+04e6 da4004e8 arg p_mouse_long_button_bt_discovery ,regb 
+04e7 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-04eb 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-04ec 243a04f2 nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
+04e8 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+04e9 243a04ef nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
 
 p_mouse_long_button_bt_normal_discovery:
-04ed 6800c720 fetch 1 ,mem_device_flag 
-04ee c1010000 rtneq mode_24g_device 
-04ef 204004f4 call p_mouse_long_button_state_clear 
-04f0 204005d3 call p_mouse_le_adv_data_update 
-04f1 202043b8 branch mouse_long_button_bt_discovry 
+04ea 6800c720 fetch 1 ,mem_device_flag 
+04eb c1010000 rtneq mode_24g_device 
+04ec 204004f1 call p_mouse_long_button_state_clear 
+04ed 204005d6 call p_mouse_le_adv_data_update 
+04ee 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_fast_conn_adv_switch_timer_reinit:
-04f2 58000708 setarg ble_direct_adv_timeout 
-04f3 600146ae store 2 ,mem_mouse_direct_timer 
+04ef 58000708 setarg ble_direct_adv_timeout 
+04f0 600146ae store 2 ,mem_mouse_direct_timer 
 
 p_mouse_long_button_state_clear:
-04f4 704b4c00 jam 0 ,mem_mouse_long_button_select_device 
-04f5 2020050c branch p_mouse_store_device_mode_2eeporm 
+04f1 704b4c00 jam 0 ,mem_mouse_long_button_select_device 
+04f2 20200509 branch p_mouse_store_device_mode_2eeporm 
 
 p_mouse_select_device:
 
 p_mouse_select_device_by_button:
-04f6 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-04f7 2040681d call gpio_get_bit 
-04f8 2020c354 branch mouse_select_device_button_down ,true 
+04f3 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+04f4 2040681d call gpio_get_bit 
+04f5 2020c354 branch mouse_select_device_button_down ,true 
 
 p_mouse_select_device_button_up:
-04f9 6800cb57 fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
-04fa 245a0508 ncall p_mouse_select_button_wakeup_firstup ,blank 
-04fb 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-04fc c1008000 rtneq dpi_button_state_up 
-04fd 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
-04fe d8400001 arg 1 ,temp 
-04ff da204b4c arg mem_mouse_long_button_select_device ,rega 
-0500 da400061 arg mouse_device_mode_eeprom_offset ,regb 
-0501 204065df call iicd_read_eep_data 
-0502 6800cb4c fetch 1 ,mem_mouse_long_button_select_device 
-0503 203a050b branch p_mouse_select_device_and_reset ,blank 
+04f6 6800cb57 fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
+04f7 245a0505 ncall p_mouse_select_button_wakeup_firstup ,blank 
+04f8 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+04f9 c1008000 rtneq dpi_button_state_up 
+04fa 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+04fb d8400001 arg 1 ,temp 
+04fc da204b4c arg mem_mouse_long_button_select_device ,rega 
+04fd da400061 arg mouse_device_mode_eeprom_offset ,regb 
+04fe 204065df call iicd_read_eep_data 
+04ff 6800cb4c fetch 1 ,mem_mouse_long_button_select_device 
+0500 203a0508 branch p_mouse_select_device_and_reset ,blank 
 
 p_mouse_ready_reconnection_by_button:
-0504 7041bd00 jam 0 ,mem_link_key_exists 
-0505 2040003a call p_mouse_switch_device 
-0506 204043c0 call mouse_select_device_enable 
-0507 2020437e branch mouse_set_reconnection 
+0501 7041bd00 jam 0 ,mem_link_key_exists 
+0502 2040003a call p_mouse_switch_device 
+0503 204043c0 call mouse_select_device_enable 
+0504 2020437e branch mouse_set_reconnection 
 
 p_mouse_select_button_wakeup_firstup:
-0508 704b5700 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
-0509 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
-050a 20600000 rtn 
+0505 704b5700 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
+0506 7046d901 jam dpi_button_state_up ,mem_select_device_button_statue 
+0507 20600000 rtn 
 
 p_mouse_select_device_and_reset:
-050b 704b4cff jam 0xff ,mem_mouse_long_button_select_device 
+0508 704b4cff jam 0xff ,mem_mouse_long_button_select_device 
 
 p_mouse_store_device_mode_2eeporm:
-050c d8400001 arg 1 ,temp 
-050d da204b4c arg mem_mouse_long_button_select_device ,rega 
-050e da400061 arg mouse_device_mode_eeprom_offset ,regb 
-050f 202065d1 branch iicd_write_protect_eep_data 
+0509 d8400001 arg 1 ,temp 
+050a da204b4c arg mem_mouse_long_button_select_device ,rega 
+050b da400061 arg mouse_device_mode_eeprom_offset ,regb 
+050c 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_multi_led_blink_timer:
-0510 6800caff fetch 1 ,mem_mouse_multi_led_blink_enable 
-0511 207a0000 rtn blank 
-0512 6800cb02 fetch 1 ,mem_mouse_multi_led_type 
-0513 c0000515 beq multi_led_on ,p_mouse_multi_led_type_on 
-0514 2020052a branch p_mouse_multi_led_type_blink 
+050d 6800caff fetch 1 ,mem_mouse_multi_led_blink_enable 
+050e 207a0000 rtn blank 
+050f 6800cb02 fetch 1 ,mem_mouse_multi_led_type 
+0510 c0000512 beq multi_led_on ,p_mouse_multi_led_type_on 
+0511 20200527 branch p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-0515 20400537 call p_mouse_multi_led_on 
-0516 6800cb07 fetch 1 ,mem_mouse_multi_led_on_timer 
-0517 1fe0fe01 increase 1 ,pdata 
-0518 6000cb07 store 1 ,mem_mouse_multi_led_on_timer 
-0519 6808cb03 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-051a 98467c00 isub temp ,null 
-051b 2042851d call p_mouse_multi_led_off_poweron2s ,zero 
-051c 20600000 rtn 
+0512 20400534 call p_mouse_multi_led_on 
+0513 6800cb07 fetch 1 ,mem_mouse_multi_led_on_timer 
+0514 1fe0fe01 increase 1 ,pdata 
+0515 6000cb07 store 1 ,mem_mouse_multi_led_on_timer 
+0516 6808cb03 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+0517 98467c00 isub temp ,null 
+0518 2042851a call p_mouse_multi_led_off_poweron2s ,zero 
+0519 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-051d 704b0900 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-051e 20400549 call p_mouse_multi_led_off 
-051f 6800c720 fetch 1 ,mem_device_flag 
-0520 c1808000 rtnne mode_bt_device1 
-0521 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-0522 c1ff8000 rtnne 0xff 
+051a 704b0900 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+051b 20400546 call p_mouse_multi_led_off 
+051c 6800c720 fetch 1 ,mem_device_flag 
+051d c1808000 rtnne mode_bt_device1 
+051e 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+051f c1ff8000 rtnne 0xff 
 
 p_mouse_discovery_multi_led_blink:
-0523 704b0401 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+0520 704b0401 jam 1 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_discovery_multi_led_blink1:
-0524 704b0800 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0525 704b0601 jam 1 ,mem_mouse_multi_led_blink_count 
+0521 704b0800 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0522 704b0601 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0526 704b0505 jam 5 ,mem_mouse_multi_led_blink_timer 
-0527 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
-0528 704b0201 jam multi_led_blink ,mem_mouse_multi_led_type 
-0529 20600000 rtn 
+0523 704b0505 jam 5 ,mem_mouse_multi_led_blink_timer 
+0524 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
+0525 704b0201 jam multi_led_blink ,mem_mouse_multi_led_type 
+0526 20600000 rtn 
 
 p_mouse_multi_led_type_blink:
-052a da604b05 arg mem_mouse_multi_led_blink_timer ,regc 
-052b da40052d arg p_mouse_multi_led_type_blink_timeout ,regb 
-052c 2020336d branch timer_single_step 
+0527 da604b05 arg mem_mouse_multi_led_blink_timer ,regc 
+0528 da40052a arg p_mouse_multi_led_type_blink_timeout ,regb 
+0529 2020336d branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-052d 6800cb04 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-052e 6000cb05 store 1 ,mem_mouse_multi_led_blink_timer 
-052f 6800cb08 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0530 203a0535 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-0531 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
-0532 203a0547 branch p_mouse_multi_led_blink_off ,blank 
-0533 1fe0ffff increase -1 ,pdata 
-0534 6000cb06 store 1 ,mem_mouse_multi_led_blink_count 
+052a 6800cb04 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+052b 6000cb05 store 1 ,mem_mouse_multi_led_blink_timer 
+052c 6800cb08 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+052d 203a0532 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+052e 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
+052f 203a0544 branch p_mouse_multi_led_blink_off ,blank 
+0530 1fe0ffff increase -1 ,pdata 
+0531 6000cb06 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-0535 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
-0536 c0008549 beq on ,p_mouse_multi_led_off 
+0532 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
+0533 c0008546 beq on ,p_mouse_multi_led_off 
 
 p_mouse_multi_led_on:
-0537 704b0101 jam on ,mem_mouse_multi_led_state 
-0538 6800c720 fetch 1 ,mem_device_flag 
-0539 c000853f beq mode_bt_device1 ,p_mouse_multi_down_led_on 
+0534 704b0101 jam on ,mem_mouse_multi_led_state 
+0535 6800c720 fetch 1 ,mem_device_flag 
+0536 c000853c beq mode_bt_device1 ,p_mouse_multi_down_led_on 
 
 p_mouse_multi_up_led_on:
+0537 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+0538 79200407 set1 gpio_active_bit ,temp 
+0539 2040680e call gpio_config_output 
 053a 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-053b 79200407 set1 gpio_active_bit ,temp 
-053c 2040680e call gpio_config_output 
-053d 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-053e 20206829 branch gpio_out_active 
+053b 20206829 branch gpio_out_active 
 
 p_mouse_multi_down_led_on:
-053f 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-0540 2040680e call gpio_config_output 
-0541 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-0542 20206825 branch gpio_out_inactive 
+053c 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+053d 2040680e call gpio_config_output 
+053e 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+053f 20206825 branch gpio_out_inactive 
 
 p_mouse_discovey_led_blink_off:
-0543 6800cb07 fetch 1 ,mem_mouse_multi_led_on_timer 
-0544 247a0000 nrtn blank 
-0545 6800cb09 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0546 247a0000 nrtn blank 
+0540 6800cb07 fetch 1 ,mem_mouse_multi_led_on_timer 
+0541 247a0000 nrtn blank 
+0542 6800cb09 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0543 247a0000 nrtn blank 
 
 p_mouse_multi_led_blink_off:
-0547 58000000 setarg 0 
-0548 6001cb05 store 3 ,mem_mouse_multi_led_blink_timer 
+0544 58000000 setarg 0 
+0545 6001cb05 store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-0549 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
-054a 243a054d nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-054b 704aff00 jam 0 ,mem_mouse_multi_led_blink_enable 
-054c 704b0200 jam 0 ,mem_mouse_multi_led_type 
+0546 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
+0547 243a054a nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0548 704aff00 jam 0 ,mem_mouse_multi_led_blink_enable 
+0549 704b0200 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-054d 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
-054e 704b0100 jam off ,mem_mouse_multi_led_state 
+054a 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
+054b 704b0100 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_multi_led_gpio_set_float:
-054f 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+054c 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
 
 p_mouse_set_gpio_suspend:
-0550 793f8407 set0 gpio_active_bit ,temp 
-0551 20206806 branch gpio_set_high_impedance 
+054d 793f8407 set0 gpio_active_bit ,temp 
+054e 20206806 branch gpio_set_high_impedance 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-0552 704b0901 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0553 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
-0554 704b0200 jam multi_led_on ,mem_mouse_multi_led_type 
-0555 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
-0556 20600000 rtn 
+054f 704b0901 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0550 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
+0551 704b0200 jam multi_led_on ,mem_mouse_multi_led_type 
+0552 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
+0553 20600000 rtn 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_dpi_sensor_type:
-0557 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0558 c0030564 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-0559 c0040564 beq mx8650 ,p_mouse_seting_3065xy_dpi 
-055a c0010574 beq ka8 ,p_mouse_seting_ka8_dpi 
-
-p_mouse_seting_3205_dpi:
-055b 6800c77a fetch 1 ,mem_mouse_dpi 
-055c 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-055d 20428562 call p_mouse_3205_dpi_recount ,zero 
-055e 6800c77a fetch 1 ,mem_mouse_dpi 
-055f c0003d8a beq mouse_dpi_level1 ,mouse_set_cpi1 
-0560 c001bd8e beq mouse_dpi_level4 ,mouse_set_cpi4 
-0561 20203d8c branch mouse_set_cpi3 
-
-p_mouse_3205_dpi_recount:
-0562 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-0563 20600000 rtn 
-
-p_mouse_seting_3065xy_dpi:
-0564 6800c77a fetch 1 ,mem_mouse_dpi 
-0565 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0566 20428562 call p_mouse_3205_dpi_recount ,zero 
-0567 6800c77a fetch 1 ,mem_mouse_dpi 
-0568 c000056e beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-0569 c0018571 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
-p_mouse_3065xy_set_cpi3:
-056a 6800c781 fetch 1 ,mem_320x_dpi_3 
-056b 1fe0ffff increase -1 ,pdata 
+p_mouse_seting_320x_dpi:
+0554 6800c77a fetch 1 ,mem_mouse_dpi 
+0555 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0556 20428561 call p_mouse_320x_dpi_recount ,zero 
+0557 6800c77a fetch 1 ,mem_mouse_dpi 
+0558 c0000563 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+0559 c0018569 beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+
+p_mouse_set_cpi3:
+055a 6800c6e0 fetch 1 ,mem_config_sensor_type 
+055b c003056f beq p3065_xy ,p_mouse_3065xy_set_cpi3 
+055c c004056f beq mx8650 ,p_mouse_3065xy_set_cpi3 
+055d c0010578 beq ka8 ,p_mouse_ka8_set_cpi3 
+
+p_mouse_320x_set_cpi3:
+055e 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_dpi_store:
-056c 6000c6b5 store 1 ,mem_mouse_cpi_count 
-056d 20203dc1 branch mouse_p3205_dpi + 3 
+055f 6000c6b5 store 1 ,mem_mouse_cpi_count 
+0560 20203dc1 branch mouse_p3205_dpi + 3 
+
+p_mouse_320x_dpi_recount:
+0561 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0562 20600000 rtn 
+
+p_mouse_set_cpi1:
+0563 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0564 c0030572 beq p3065_xy ,p_mouse_3065xy_set_cpi1 
+0565 c0040572 beq mx8650 ,p_mouse_3065xy_set_cpi1 
+0566 c001057b beq ka8 ,p_mouse_ka8_set_cpi1 
+
+p_mouse_320x_set_cpi1:
+0567 6800c77f fetch 1 ,mem_320x_dpi_1 
+0568 2020055f branch p_mouse_dpi_store 
+
+p_mouse_set_cpi4:
+0569 6800c6e0 fetch 1 ,mem_config_sensor_type 
+056a c0030575 beq p3065_xy ,p_mouse_3065xy_set_cpi4 
+056b c0040575 beq mx8650 ,p_mouse_3065xy_set_cpi4 
+056c c001057d beq ka8 ,p_mouse_ka8_set_cpi4 
+
+p_mouse_320x_set_cpi4:
+056d 6800c782 fetch 1 ,mem_320x_dpi_4 
+056e 2020055f branch p_mouse_dpi_store 
+
+p_mouse_3065xy_set_cpi3:
+056f 6800c781 fetch 1 ,mem_320x_dpi_3 
+0570 1fe0ffff increase -1 ,pdata 
+0571 2020055f branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi1:
-056e 6800c77f fetch 1 ,mem_320x_dpi_1 
-056f 1fe0ffff increase -1 ,pdata 
-0570 2020056c branch p_mouse_dpi_store 
+0572 6800c77f fetch 1 ,mem_320x_dpi_1 
+0573 1fe0ffff increase -1 ,pdata 
+0574 2020055f branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-0571 6800c782 fetch 1 ,mem_320x_dpi_4 
-0572 1fe0ffff increase -1 ,pdata 
-0573 2020056c branch p_mouse_dpi_store 
-
-p_mouse_seting_ka8_dpi:
-0574 6800c77a fetch 1 ,mem_mouse_dpi 
-0575 205a0562 call p_mouse_3205_dpi_recount ,blank 
-0576 6800c77a fetch 1 ,mem_mouse_dpi 
-0577 c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
-0578 c001857a beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
-0579 20203d8e branch mouse_set_cpi4 
+0575 6800c782 fetch 1 ,mem_320x_dpi_4 
+0576 1fe0ffff increase -1 ,pdata 
+0577 2020055f branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi3:
-057a 58000005 setarg 5 
-057b 20203dbe branch mouse_p3205_dpi 
+0578 6800c781 fetch 1 ,mem_320x_dpi_3 
+
+p_mouse_ka8_dpi_store:
+0579 1fe0fe02 increase 2 ,pdata 
+057a 2020055f branch p_mouse_dpi_store 
+
+p_mouse_ka8_set_cpi1:
+057b 6800c77f fetch 1 ,mem_320x_dpi_1 
+057c 20200579 branch p_mouse_ka8_dpi_store 
+
+p_mouse_ka8_set_cpi4:
+057d 6800c782 fetch 1 ,mem_320x_dpi_4 
+057e 20200579 branch p_mouse_ka8_dpi_store 
 
 p_mouse_motion:
-057c 78547c00 disable user 
-057d 58000000 setarg 0 
-057e 6003469b store 6 ,mem_mouse_x 
-057f 20400585 call p_mouse_cheak_sensor_data 
-0580 20404079 call mouse_zwheel 
-0581 2040407e call mouse_t_zwheel 
-0582 20400588 call p_mouse_key 
-0583 24740000 nrtn user 
-0584 20203fa0 branch mouse_motion + 9 
+057f 78547c00 disable user 
+0580 58000000 setarg 0 
+0581 6003469b store 6 ,mem_mouse_x 
+0582 20400588 call p_mouse_cheak_sensor_data 
+0583 20404079 call mouse_zwheel 
+0584 2040407e call mouse_t_zwheel 
+0585 2040058b call p_mouse_key 
+0586 24740000 nrtn user 
+0587 20203fa0 branch mouse_motion + 9 
 
 p_mouse_cheak_sensor_data:
 
 p_mouse_p32xx_sensor_motion:
-0585 20403fc0 call mouse_clear_sensor_data 
-0586 78547c00 disable user 
-0587 20203fe7 branch mouse_p32xx_sensor_motion_2 
+0588 20403fc0 call mouse_clear_sensor_data 
+0589 78547c00 disable user 
+058a 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_key:
-0588 2040058a call p_mouse_check_key_gpio 
-0589 2020409a branch mouse_key + 1 
+058b 2040058d call p_mouse_check_key_gpio 
+058c 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-058a da200000 arg 0 ,rega 
-058b 20400590 call p_mouse_check_lkey_gpio 
-058c 2040058e call p_mouse_check_skey_gpio 
-058d 2020408e branch mouse_check_key_gpio + 11 
+058d da200000 arg 0 ,rega 
+058e 20400593 call p_mouse_check_lkey_gpio 
+058f 20400591 call p_mouse_check_skey_gpio 
+0590 2020408e branch mouse_check_key_gpio + 11 
 
 p_mouse_check_skey_gpio:
-058e 204005a0 call p_mouse_check_bk_key_gpio 
-058f 202005a6 branch p_mouse_check_fw_key_gpio 
+0591 204005a3 call p_mouse_check_bk_key_gpio 
+0592 202005a9 branch p_mouse_check_fw_key_gpio 
 
 p_mouse_check_lkey_gpio:
-0590 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0591 204005ab call p_gpio_set_input_pu 
-0592 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0593 2040681d call gpio_get_bit 
-0594 7920a200 setflag true ,0 ,rega 
+0593 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0594 204005ae call p_gpio_set_input_pu 
+0595 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0596 2040681d call gpio_get_bit 
+0597 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-0595 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0596 204005ab call p_gpio_set_input_pu 
-0597 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0598 2040681d call gpio_get_bit 
-0599 7920a201 setflag true ,1 ,rega 
+0598 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0599 204005ae call p_gpio_set_input_pu 
+059a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+059b 2040681d call gpio_get_bit 
+059c 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-059a 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-059b 204005ab call p_gpio_set_input_pu 
-059c 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-059d 2040681d call gpio_get_bit 
-059e 7920a202 setflag true ,2 ,rega 
-059f 20600000 rtn 
+059d 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+059e 204005ae call p_gpio_set_input_pu 
+059f 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+05a0 2040681d call gpio_get_bit 
+05a1 7920a202 setflag true ,2 ,rega 
+05a2 20600000 rtn 
 
 p_mouse_check_bk_key_gpio:
-05a0 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-05a1 204005b0 call p_gpio_set_input_pd 
-05a2 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-05a3 2040681d call gpio_get_bit 
-05a4 7d20a203 nsetflag true ,3 ,rega 
-05a5 202005ab branch p_gpio_set_input_pu 
+05a3 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+05a4 204005b3 call p_gpio_set_input_pd 
+05a5 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+05a6 2040681d call gpio_get_bit 
+05a7 7d20a203 nsetflag true ,3 ,rega 
+05a8 202005ae branch p_gpio_set_input_pu 
 
 p_mouse_check_fw_key_gpio:
-05a6 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-05a7 204005b0 call p_gpio_set_input_pd 
-05a8 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-05a9 2040681d call gpio_get_bit 
-05aa 7d20a204 nsetflag true ,4 ,rega 
+05a9 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+05aa 204005b3 call p_gpio_set_input_pd 
+05ab 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+05ac 2040681d call gpio_get_bit 
+05ad 7d20a204 nsetflag true ,4 ,rega 
 
 p_gpio_set_input_pu:
-05ab 79200407 set1 gpio_active_bit ,temp 
-05ac d8a08078 arg core_gpio_pu0 ,contw 
-05ad 20406830 call gpio_set_bit 
-05ae 793f8407 set0 gpio_active_bit ,temp 
-05af 202005b4 branch p_gpio_set_input_pd4 
+05ae 79200407 set1 gpio_active_bit ,temp 
+05af d8a08078 arg core_gpio_pu0 ,contw 
+05b0 20406830 call gpio_set_bit 
+05b1 793f8407 set0 gpio_active_bit ,temp 
+05b2 202005b7 branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-05b0 793f8407 set0 gpio_active_bit ,temp 
-05b1 d8a08078 arg core_gpio_pu0 ,contw 
-05b2 20406830 call gpio_set_bit 
-05b3 79200407 set1 gpio_active_bit ,temp 
+05b3 793f8407 set0 gpio_active_bit ,temp 
+05b4 d8a08078 arg core_gpio_pu0 ,contw 
+05b5 20406830 call gpio_set_bit 
+05b6 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-05b4 d8a0807c arg core_gpio_pd0 ,contw 
-05b5 2020680a branch gpio_set_high_impedance + 4 
+05b7 d8a0807c arg core_gpio_pd0 ,contw 
+05b8 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_bb_event_discovery_btn:
-05b6 280ffe26 isolate1 mark_24g ,mark 
-05b7 20408231 call p_g24_check_51cmd_stop_24g ,true 
-05b8 2020426d branch mouse_bb_event_discovery_btn + 1 
+05b9 280ffe26 isolate1 mark_24g ,mark 
+05ba 20408231 call p_g24_check_51cmd_stop_24g ,true 
+05bb 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_mouse_start_discovery:
-05b9 20400329 call p_mouse_tx_power_init 
-05ba 704b3d00 jam 0 ,mem_le_send_security_request_flag 
-05bb 704b4a01 jam 1 ,mem_mouse_start_discovery_enable 
-05bc 70472001 jam mode_bt_device1 ,mem_device_flag 
-05bd 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+05bc 20400329 call p_mouse_tx_power_init 
+05bd 704b3d00 jam 0 ,mem_le_send_security_request_flag 
+05be 704b4a01 jam 1 ,mem_mouse_start_discovery_enable 
+05bf 70472001 jam mode_bt_device1 ,mem_device_flag 
+05c0 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_start_discovery_norandom:
-05be df200003 arg 3 ,loopcnt 
-05bf d8c04722 arg mem_device1_addr ,contr 
-05c0 204003be call p_pdata_0xff_check 
-05c1 2454038a ncall p_mouse_fast_conn_store ,user 
-05c2 68034b41 fetch 6 ,mem_le_normal_lap 
-05c3 600344a0 store 6 ,mem_le_lap 
-05c4 20403418 call app_lpm_mult_disable 
-05c5 68014687 fetch 2 ,mem_discovery_timeout 
-05c6 600146ac store 2 ,mem_mouse_discovery_timer 
-05c7 70016d06 jam 6 ,mem_connection_options 
-05c8 58000000 setarg 0 
-05c9 600146b0 store 2 ,mem_mouse_no_data_timer 
-05ca 600146ae store 2 ,mem_mouse_direct_timer 
-05cb 204005db call p_mouse_store_eeprom_enable 
-05cc 204043ca call mouse_bt_discovery_button_down_disable 
-05cd 204042c4 call mouse_start_discovery_norandom + 13 
-05ce 20200523 branch p_mouse_discovery_multi_led_blink 
+05c1 df200003 arg 3 ,loopcnt 
+05c2 d8c04722 arg mem_device1_addr ,contr 
+05c3 204003bb call p_pdata_0xff_check 
+05c4 24540387 ncall p_mouse_fast_conn_store ,user 
+05c5 68034b41 fetch 6 ,mem_le_normal_lap 
+05c6 600344a0 store 6 ,mem_le_lap 
+05c7 20403418 call app_lpm_mult_disable 
+05c8 68014687 fetch 2 ,mem_discovery_timeout 
+05c9 600146ac store 2 ,mem_mouse_discovery_timer 
+05ca 70016d06 jam 6 ,mem_connection_options 
+05cb 58000000 setarg 0 
+05cc 600146b0 store 2 ,mem_mouse_no_data_timer 
+05cd 600146ae store 2 ,mem_mouse_direct_timer 
+05ce 204005de call p_mouse_store_eeprom_enable 
+05cf 204043ca call mouse_bt_discovery_button_down_disable 
+05d0 204042c4 call mouse_start_discovery_norandom + 13 
+05d1 20200520 branch p_mouse_discovery_multi_led_blink 
 
 p_check_51cmd_adv:
-05cf 68034b41 fetch 6 ,mem_le_normal_lap 
-05d0 600344a0 store 6 ,mem_le_lap 
-05d1 204005d3 call p_mouse_le_adv_data_update 
-05d2 20207df4 branch check_51cmd_adv 
+05d2 68034b41 fetch 6 ,mem_le_normal_lap 
+05d3 600344a0 store 6 ,mem_le_lap 
+05d4 204005d6 call p_mouse_le_adv_data_update 
+05d5 20207df4 branch check_51cmd_adv 
 
 p_mouse_le_adv_data_update:
-05d3 70436f1f jam 0x1f ,mem_le_adv_data_len 
-05d4 70438f1f jam 0x1f ,mem_le_scan_data_len 
-05d5 204005db call p_mouse_store_eeprom_enable 
-05d6 d8c04b1e arg mem_le_adv_swift_pair ,contr 
+05d6 70436f1f jam 0x1f ,mem_le_adv_data_len 
+05d7 70438f1f jam 0x1f ,mem_le_scan_data_len 
+05d8 204005de call p_mouse_store_eeprom_enable 
+05d9 d8c04b1e arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-05d7 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05d8 df200013 arg 19 ,loopcnt 
-05d9 20407f01 call memcpy 
-05da 202057b8 branch le_modified_name_adv 
+05da d8a0437b arg mem_le_adv_data + 11 ,contw 
+05db df200013 arg 19 ,loopcnt 
+05dc 20407f01 call memcpy 
+05dd 202057b8 branch le_modified_name_adv 
 
 p_mouse_store_eeprom_enable:
-05db d8e00007 arg mouse_store_eeprom_flag ,queue 
-05dc 202043ce branch mouse_enable_function_flag 
+05de d8e00007 arg mouse_store_eeprom_flag ,queue 
+05df 202043ce branch mouse_enable_function_flag 
 
 p_mouse_check_fast_conn_adv_start:
 
 p_mouse_check_fast_conn_adv_start1:
-05dd 70436f00 jam 0 ,mem_le_adv_data_len 
-05de 70438f00 jam 0 ,mem_le_scan_data_len 
-05df d8e00007 arg mouse_store_eeprom_flag ,queue 
-05e0 204043d2 call mouse_disable_function_flag 
-05e1 20200391 branch p_mouse_fast_conn_init 
+05e0 70436f00 jam 0 ,mem_le_adv_data_len 
+05e1 70438f00 jam 0 ,mem_le_scan_data_len 
+05e2 d8e00007 arg mouse_store_eeprom_flag ,queue 
+05e3 204043d2 call mouse_disable_function_flag 
+05e4 2020038e branch p_mouse_fast_conn_init 
 
 p_mouse_stop_discovery:
-05e2 20400543 call p_mouse_discovey_led_blink_off 
-05e3 58000000 setarg 0 
-05e4 600146ac store 2 ,mem_mouse_discovery_timer 
-05e5 704b0c01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-05e6 20400406 call p_mouse_sensor_poweron 
-05e7 202042cb branch mouse_stop_discovery + 1 
+05e5 20400540 call p_mouse_discovey_led_blink_off 
+05e6 58000000 setarg 0 
+05e7 600146ac store 2 ,mem_mouse_discovery_timer 
+05e8 2040034e call p_mouse_init_sensor_reset 
+05e9 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-05e8 6800c50f fetch 1 ,mem_le_md_count 
-05e9 1fe0fe01 pincrease 1 
-05ea 6000c50f store 1 ,mem_le_md_count 
-05eb c0065395 beq le_md_max_count ,le_slave_cont 
-05ec 204055aa call le_acknowledge 
-05ed 2040561e call le_prepare_tx 
-05ee 204006dc call power_ctrl_start 
-05ef 2020538f branch le_slave_match + 7 
+05ea 6800c50f fetch 1 ,mem_le_md_count 
+05eb 1fe0fe01 pincrease 1 
+05ec 6000c50f store 1 ,mem_le_md_count 
+05ed c0065395 beq le_md_max_count ,le_slave_cont 
+05ee 204055aa call le_acknowledge 
+05ef 2040561e call le_prepare_tx 
+05f0 204006de call power_ctrl_start 
+05f1 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05f0 68008016 fetch 1 ,mem_le_ch_mapped 
-05f1 1fe0fe01 increase 1 ,pdata 
-05f2 60008016 store 1 ,mem_le_ch_mapped 
-05f3 c1940000 rtnne 40 
-05f4 70001625 jam 37 ,mem_le_ch_mapped 
-05f5 20600000 rtn 
+05f2 68008016 fetch 1 ,mem_le_ch_mapped 
+05f3 1fe0fe01 increase 1 ,pdata 
+05f4 60008016 store 1 ,mem_le_ch_mapped 
+05f5 c1940000 rtnne 40 
+05f6 70001625 jam 37 ,mem_le_ch_mapped 
+05f7 20600000 rtn 
 
 p_le_receive_skip:
-05f6 204029bb call save_rssi 
-05f7 2040001e call p_rssi_signal 
-05f8 202054a3 branch le_receive_skip + 2 
+05f8 204029bb call save_rssi 
+05f9 2040001e call p_rssi_signal 
+05fa 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05f9 204005ff call p_mouse_le_conn_param_check 
-05fa 2020557d branch le_update_param + 8 
+05fb 20400601 call p_mouse_le_conn_param_check 
+05fc 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-05fb 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-05fc 6000c172 store 1 ,mem_lpm_mult 
+05fd 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+05fe 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-05fd 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-05fe 20600000 rtn 
+05ff 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0600 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-05ff 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-0600 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0601 24210471 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-0602 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0603 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-0604 98467c00 isub temp ,null 
-0605 202105fb branch p_mouse_le_lpm_mult_reinit ,positive 
-0606 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0607 6000c172 store 1 ,mem_lpm_mult 
-0608 202005fd branch p_mouse_le_conn_param_lpm_enable 
+0601 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0602 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0603 2421046e nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0604 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0605 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0606 98467c00 isub temp ,null 
+0607 202105fd branch p_mouse_le_lpm_mult_reinit ,positive 
+0608 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0609 6000c172 store 1 ,mem_lpm_mult 
+060a 202005ff branch p_mouse_le_conn_param_lpm_enable 
 
 p_le_update_channel_map:
-0609 6800843f fetch 1 ,mem_le_state 
-060a c4030000 rtnbit0 lestate_update_map 
-060b 2040060e call p_le_channel_map_overflow_check 
-060c 24740000 nrtn user 
-060d 202055a0 branch le_update_channel_map + 3 
+060b 6800843f fetch 1 ,mem_le_state 
+060c c4030000 rtnbit0 lestate_update_map 
+060d 20400610 call p_le_channel_map_overflow_check 
+060e 24740000 nrtn user 
+060f 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-060e 78347c00 enable user 
-060f 6800845a fetch 1 ,mem_le_event_count + 1 
-0610 1ff1fe00 rshift4 pdata ,pdata 
-0611 c1878000 rtnne 0x0f 
-0612 68008460 fetch 1 ,mem_le_instant + 1 
-0613 1ff1fe00 rshift4 pdata ,pdata 
-0614 c1800000 rtnne 0x00 
-0615 20207fe9 branch disable_user 
+0610 78347c00 enable user 
+0611 6800845a fetch 1 ,mem_le_event_count + 1 
+0612 1ff1fe00 rshift4 pdata ,pdata 
+0613 c1878000 rtnne 0x0f 
+0614 68008460 fetch 1 ,mem_le_instant + 1 
+0615 1ff1fe00 rshift4 pdata ,pdata 
+0616 c1800000 rtnne 0x00 
+0617 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-0616 68008456 fetch 1 ,mem_le_arq 
-0617 c2828636 bbit1 wak ,p_le_prepare_tx_wak 
-0618 204006ce call power_ctrl_pac_succ_incrs 
-0619 6800c78e fetch 1 ,mem_empty_count 
-061a 243a0620 nbranch p_le_send_empyt ,blank 
-061b 6800843f fetch 1 ,mem_le_state 
-061c c3020624 bbit0 lestate_encryption ,p_le_tx_4 
-061d 680082da fetch 1 ,mem_le_rxbuf + 1 
-061e 203a0624 branch p_le_tx_4 ,blank 
-061f 20205664 branch le_send_empty 
+0618 68008456 fetch 1 ,mem_le_arq 
+0619 c2828638 bbit1 wak ,p_le_prepare_tx_wak 
+061a 204006d0 call power_ctrl_pac_succ_incrs 
+061b 6800c78e fetch 1 ,mem_empty_count 
+061c 243a0622 nbranch p_le_send_empyt ,blank 
+061d 6800843f fetch 1 ,mem_le_state 
+061e c3020626 bbit0 lestate_encryption ,p_le_tx_4 
+061f 680082da fetch 1 ,mem_le_rxbuf + 1 
+0620 203a0626 branch p_le_tx_4 ,blank 
+0621 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0620 6800c78e fetch 1 ,mem_empty_count 
-0621 1fe0ffff increase -1 ,pdata 
-0622 6000c78e store 1 ,mem_empty_count 
-0623 20205664 branch le_send_empty 
+0622 6800c78e fetch 1 ,mem_empty_count 
+0623 1fe0ffff increase -1 ,pdata 
+0624 6000c78e store 1 ,mem_empty_count 
+0625 20205664 branch le_send_empty 
 
 p_le_tx_4:
-0624 6800c4c4 fetch 1 ,mem_le_pairing_state 
-0625 c0828627 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-0626 70478e03 jam 3 ,mem_empty_count 
+0626 6800c4c4 fetch 1 ,mem_le_pairing_state 
+0627 c0828629 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+0628 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-0627 20405892 call le_fifo_check_nearly_full 
-0628 205a0417 call p_mouse_data_pull ,blank 
-0629 20205622 branch le_prepare_tx + 4 
+0629 20405892 call le_fifo_check_nearly_full 
+062a 205a0415 call p_mouse_data_pull ,blank 
+062b 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-062a 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-062b 1fe17e03 and pdata ,0x03 ,pdata 
-062c c1818000 rtnne 0x03 
-062d 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-062e 207a0000 rtn blank 
-062f 6800c3dd fetch 1 ,mem_le_txlen 
+062c 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+062d 1fe17e03 and pdata ,0x03 ,pdata 
+062e c1818000 rtnne 0x03 
+062f 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
 0630 207a0000 rtn blank 
-0631 6800c3dc fetch 1 ,mem_le_txheader 
-0632 79207e04 set1 md ,pdata 
-0633 6000c3dc store 1 ,mem_le_txheader 
-0634 20405650 call le_set_md 
-0635 20600000 rtn 
+0631 6800c3dd fetch 1 ,mem_le_txlen 
+0632 207a0000 rtn blank 
+0633 6800c3dc fetch 1 ,mem_le_txheader 
+0634 79207e04 set1 md ,pdata 
+0635 6000c3dc store 1 ,mem_le_txheader 
+0636 20405650 call le_set_md 
+0637 20600000 rtn 
 
 p_le_prepare_tx_wak:
-0636 2040062a call p_le_check_tx_retransmit_setmd 
+0638 2040062c call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-0637 202006d2 branch power_ctrl_pac_succ_decrs 
+0639 202006d4 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-0638 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0639 207a0000 rtn blank 
-063a 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-063b 1fe17e03 and pdata ,0x03 ,pdata 
-063c c1018000 rtneq 0x03 
-063d 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-063e 20600000 rtn 
+063a 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+063b 207a0000 rtn blank 
+063c 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+063d 1fe17e03 and pdata ,0x03 ,pdata 
+063e c1018000 rtneq 0x03 
+063f 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+0640 20600000 rtn 
 
 p_le_parse:
-063f c6078000 rtnmark1 mark_old_packet 
-0640 20405890 call le_fifo_check_full 
-0641 247a0000 nrtn blank 
-0642 680082d9 fetch 1 ,mem_le_rxbuf 
-0643 1fe17e03 and pdata ,0x3 ,pdata 
-0644 6000c50c store 1 ,mem_le_packet_llid 
-0645 e8c08000 ifetch 1 ,contr 
-0646 1fe17e1f and pdata ,0x1f ,pdata 
-0647 6000c50b store 1 ,mem_le_packet_size 
-0648 207a0000 rtn blank 
-0649 18c27e00 copy contr ,pdata 
-064a 6001450d store 2 ,mem_le_payload_ptr 
-064b 6800c50c fetch 1 ,mem_le_packet_llid 
-064c c001864e beq llid_le_ll ,p_le_parse_ll 
-064d 2020568d branch le_parse_l2cap 
+0641 c6078000 rtnmark1 mark_old_packet 
+0642 20405890 call le_fifo_check_full 
+0643 247a0000 nrtn blank 
+0644 680082d9 fetch 1 ,mem_le_rxbuf 
+0645 1fe17e03 and pdata ,0x3 ,pdata 
+0646 6000c50c store 1 ,mem_le_packet_llid 
+0647 e8c08000 ifetch 1 ,contr 
+0648 1fe17e1f and pdata ,0x1f ,pdata 
+0649 6000c50b store 1 ,mem_le_packet_size 
+064a 207a0000 rtn blank 
+064b 18c27e00 copy contr ,pdata 
+064c 6001450d store 2 ,mem_le_payload_ptr 
+064d 6800c50c fetch 1 ,mem_le_packet_llid 
+064e c0018650 beq llid_le_ll ,p_le_parse_ll 
+064f 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-064e 680082db fetch 1 ,mem_le_rxbuf + 2 
-064f c0000652 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-0650 c0008659 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0651 20205c65 branch le_parse_ll + 1 
+0650 680082db fetch 1 ,mem_le_rxbuf + 2 
+0651 c0000654 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+0652 c000865b beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0653 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0652 20405c7b call le_parse_connection_update_req 
-0653 6800cb53 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-0654 207a0000 rtn blank 
+0654 20405c7b call le_parse_connection_update_req 
+0655 6800cb53 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0656 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-0655 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0656 6000c172 store 1 ,mem_lpm_mult 
-0657 6000c7c5 store 1 ,mem_lpm_mult_init 
-0658 20600000 rtn 
+0657 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0658 6000c172 store 1 ,mem_lpm_mult 
+0659 6000c7c5 store 1 ,mem_lpm_mult_init 
+065a 20600000 rtn 
 
 p_le_parse_channel_map_req:
-0659 e8c28000 ifetch 5 ,contr 
-065a 6002c3ce store 5 ,mem_le_new_map 
-065b e8c10000 ifetch 2 ,contr 
-065c 6001045f store 2 ,mem_le_instant 
-065d 20205c8a branch le_parse_channel_map_req + 7 
+065b e8c28000 ifetch 5 ,contr 
+065c 6002c3ce store 5 ,mem_le_new_map 
+065d e8c10000 ifetch 2 ,contr 
+065e 6001045f store 2 ,mem_le_instant 
+065f 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-065e e8c10000 ifetch 2 ,contr 
-065f c0020662 beq le_l2cap_cid_att ,p_le_parse_att 
-0660 c003068f beq le_l2cap_cid_smp ,p_le_parse_smp 
-0661 20205698 branch le_parse_l2cap + 11 
+0660 e8c10000 ifetch 2 ,contr 
+0661 c0020664 beq le_l2cap_cid_att ,p_le_parse_att 
+0662 c0030691 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0663 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0662 20407ea5 call store_contr 
-0663 20400638 call p_mouse_le_reconn_write_enable_timer_reinit 
-0664 20407e9f call get_contr 
-0665 e8c18000 ifetch 3 ,contr 
-0666 60018477 store 3 ,mem_le_att_opcode 
-0667 c0080671 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-0668 1fec8400 rshift8 pdata ,temp 
-0669 18467c24 sub temp ,0x24 ,null 
-066a 2021067f branch p_le_parse_att1 ,positive 
-066b d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-066c 600944bc storet 2 ,mem_ui_le_uuid_table 
-066d 204058ad call le_parse_att + 2 
-066e 58008e7a setarg 0x8e7a 
-066f 600144bc store 2 ,mem_ui_le_uuid_table 
-0670 20600000 rtn 
+0664 20407ea5 call store_contr 
+0665 2040063a call p_mouse_le_reconn_write_enable_timer_reinit 
+0666 20407e9f call get_contr 
+0667 e8c18000 ifetch 3 ,contr 
+0668 60018477 store 3 ,mem_le_att_opcode 
+0669 c0080673 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+066a 1fec8400 rshift8 pdata ,temp 
+066b 18467c24 sub temp ,0x24 ,null 
+066c 20210681 branch p_le_parse_att1 ,positive 
+066d d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+066e 600944bc storet 2 ,mem_ui_le_uuid_table 
+066f 204058ad call le_parse_att + 2 
+0670 58008e7a setarg 0x8e7a 
+0671 600144bc store 2 ,mem_ui_le_uuid_table 
+0672 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0671 204059fa call le_parse_att_read_by_group_type_request 
-0672 20405879 call le_fifo_get_last_tx_ptr 
-0673 18c08c07 increase 7 ,contr 
-0674 e8c08000 ifetch 1 ,contr 
-0675 c1888000 rtnne attop_read_by_group_type_response 
-0676 18c08c05 increase 5 ,contr 
-0677 e8c10000 ifetch 2 ,contr 
-0678 d8401812 arg uuid_service_hids ,temp 
-0679 98467c00 isub temp ,null 
-067a 24628000 nrtn zero 
-067b 18c08dfc increase -4 ,contr 
-067c 5800002b setarg 0x2b 
-067d e0c10000 istore 2 ,contr 
-067e 20600000 rtn 
+0673 204059fa call le_parse_att_read_by_group_type_request 
+0674 20405879 call le_fifo_get_last_tx_ptr 
+0675 18c08c07 increase 7 ,contr 
+0676 e8c08000 ifetch 1 ,contr 
+0677 c1888000 rtnne attop_read_by_group_type_response 
+0678 18c08c05 increase 5 ,contr 
+0679 e8c10000 ifetch 2 ,contr 
+067a d8401812 arg uuid_service_hids ,temp 
+067b 98467c00 isub temp ,null 
+067c 24628000 nrtn zero 
+067d 18c08dfc increase -4 ,contr 
+067e 5800002b setarg 0x2b 
+067f e0c10000 istore 2 ,contr 
+0680 20600000 rtn 
 
 p_le_parse_att1:
-067f c0050681 beq attop_read_request ,p_le_parse_att_read_request 
-0680 202058ad branch le_parse_att + 2 
+0681 c0050683 beq attop_read_request ,p_le_parse_att_read_request 
+0682 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0681 68090478 fetcht 2 ,mem_le_att_handle 
-0682 6800c4e9 fetch 1 ,mem_le_configuration 
-0683 c2818688 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0683 68090478 fetcht 2 ,mem_le_att_handle 
+0684 6800c4e9 fetch 1 ,mem_le_configuration 
+0685 c281868a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0684 68010478 fetch 2 ,mem_le_att_handle 
-0685 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-0686 68090478 fetcht 2 ,mem_le_att_handle 
-0687 202059bf branch le_send_att_read_response 
+0686 68010478 fetch 2 ,mem_le_att_handle 
+0687 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0688 68090478 fetcht 2 ,mem_le_att_handle 
+0689 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0688 680144fa fetch 2 ,mem_le_pairing_handle 
-0689 98467c00 isub temp ,null 
-068a 24228684 nbranch p_le_send_att_read_response ,zero 
+068a 680144fa fetch 2 ,mem_le_pairing_handle 
+068b 98467c00 isub temp ,null 
+068c 24228686 nbranch p_le_send_att_read_response ,zero 
 
 p_le_send_att_read_response_error_insufficient_auth:
-068b 20405a42 call le_check_encrypt_state 
-068c 24340684 nbranch p_le_send_att_read_response ,user 
-068d 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-068e 20205a77 branch le_send_att_error_response 
+068d 20405a42 call le_check_encrypt_state 
+068e 24340686 nbranch p_le_send_att_read_response ,user 
+068f 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0690 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-068f e8c08000 ifetch 1 ,contr 
-0690 c0008693 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0691 c0028695 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0692 20205af5 branch le_parse_smp + 1 
+0691 e8c08000 ifetch 1 ,contr 
+0692 c0008695 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0693 c0028697 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0694 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_request:
-0693 704b3d01 jam 1 ,mem_le_send_security_request_flag 
-0694 20205b09 branch le_parse_smp_pairing_request 
+0695 704b3d01 jam 1 ,mem_le_send_security_request_flag 
+0696 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-0695 20405b5a call le_parse_smp_pairing_failed 
-0696 6800843f fetch 1 ,mem_le_state 
-0697 793ffe05 set0 lestate_update_param ,pdata 
-0698 6000843f store 1 ,mem_le_state 
-0699 20205c8e branch le_parse_terminate_ind 
+0697 20405b5a call le_parse_smp_pairing_failed 
+0698 6800843f fetch 1 ,mem_le_state 
+0699 793ffe05 set0 lestate_update_param ,pdata 
+069a 6000843f store 1 ,mem_le_state 
+069b 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-069a 68008016 fetch 1 ,mem_le_ch_mapped 
-069b c093d6f2 bne 39 ,le_adv_loop 
-069c 204006a0 call p_le_adv_random_delay 
-069d d8e00000 arg le_adv_interval_timer ,queue 
-069e 68014482 fetch 2 ,mem_le_adv_interval 
-069f 20207f08 branch timer_init 
+069c 68008016 fetch 1 ,mem_le_ch_mapped 
+069d c093d6f2 bne 39 ,le_adv_loop 
+069e 204006a2 call p_le_adv_random_delay 
+069f d8e00000 arg le_adv_interval_timer ,queue 
+06a0 68014482 fetch 2 ,mem_le_adv_interval 
+06a1 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-06a0 180a7e00 random pdata 
-06a1 d84001ff arg 0x1ff ,temp 
-06a2 98417e00 iand temp ,pdata 
-06a3 1fe0fefa add pdata ,250 ,pdata 
-06a4 20203cbe branch delay 
+06a2 180a7e00 random pdata 
+06a3 d84001ff arg 0x1ff ,temp 
+06a4 98417e00 iand temp ,pdata 
+06a5 1fe0fefa add pdata ,250 ,pdata 
+06a6 20203cbe branch delay 
 
 p_le_lpm_setmult:
-06a5 7855fc00 disable wake 
-06a6 203706a8 branch p_le_lpm_set_mult_attempt ,attempt 
-06a7 2436d806 nbranch le_lpm_lost ,match 
+06a7 7855fc00 disable wake 
+06a8 203706aa branch p_le_lpm_set_mult_attempt ,attempt 
+06a9 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-06a8 20402bcb call lpm_match 
-06a9 680140c1 fetch 2 ,mem_rx_window_sniff 
-06aa 6001044d store 2 ,mem_le_receive_window 
-06ab 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-06ac 2fe00603 compare 3 ,pdata ,3 
-06ad 2420abde nbranch lpm_mult_short ,true 
-06ae 202057fb branch le_lpm_set_mult_attempt + 3 
+06aa 20402bcb call lpm_match 
+06ab 680140c1 fetch 2 ,mem_rx_window_sniff 
+06ac 6001044d store 2 ,mem_le_receive_window 
+06ad 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+06ae 2fe00603 compare 3 ,pdata ,3 
+06af 2420abde nbranch lpm_mult_short ,true 
+06b0 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-06af 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-06b0 247a0000 nrtn blank 
-06b1 68008478 fetch 1 ,mem_le_att_handle 
-06b2 1fe67e1a sub pdata ,26 ,pdata 
-06b3 24628000 nrtn zero 
-06b4 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-06b5 20203d60 branch mouse_le_write_enable 
+06b1 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+06b2 247a0000 nrtn blank 
+06b3 68008478 fetch 1 ,mem_le_att_handle 
+06b4 1fe67e1a sub pdata ,26 ,pdata 
+06b5 24628000 nrtn zero 
+06b6 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+06b7 20203d60 branch mouse_le_write_enable 
 
 p_check_51cmd_once_continue:
-06b6 204062bc call lmo_fifo_check 
-06b7 243a7ddb nbranch check_51cmd_restore ,blank 
-06b8 68008a99 fetch 1 ,mem_fifo_temp 
-06b9 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06ba c00906bc beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06bb 20207dca branch check_51cmd_once_continue + 2 
+06b8 204062bc call lmo_fifo_check 
+06b9 243a7ddb nbranch check_51cmd_restore ,blank 
+06ba 68008a99 fetch 1 ,mem_fifo_temp 
+06bb c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06bc c00906be beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06bd 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06bc 20405890 call le_fifo_check_full 
-06bd 247a0000 nrtn blank 
-06be 20205abf branch le_l2cap_tx_update_req 
+06be 20405890 call le_fifo_check_full 
+06bf 247a0000 nrtn blank 
+06c0 20205abf branch le_l2cap_tx_update_req 
 
 p_twspi_reset:
-06bf 68108077 hfetch 1 ,core_gpio_out3 
-06c0 1fe17efd and_into 0xfd ,pdata 
-06c1 60108077 hstore 1 ,core_gpio_out3 
-06c2 68188073 hfetcht 1 ,core_gpio_oe3 
-06c3 18418402 or_into 0x2 ,temp 
-06c4 60188073 hstoret 1 ,core_gpio_oe3 
-06c5 204063ee call twspi_disable 
-06c6 184104fd and_into 0xfd ,temp 
-06c7 2000000d nop 13 
-06c8 204063f2 call twspi_enable 
-06c9 60188073 hstoret 1 ,core_gpio_oe3 
-06ca 20600000 rtn 
+06c1 68108077 hfetch 1 ,core_gpio_out3 
+06c2 1fe17efd and_into 0xfd ,pdata 
+06c3 60108077 hstore 1 ,core_gpio_out3 
+06c4 68188073 hfetcht 1 ,core_gpio_oe3 
+06c5 18418402 or_into 0x2 ,temp 
+06c6 60188073 hstoret 1 ,core_gpio_oe3 
+06c7 204063ee call twspi_disable 
+06c8 184104fd and_into 0xfd ,temp 
+06c9 2000000d nop 13 
+06ca 204063f2 call twspi_enable 
+06cb 60188073 hstoret 1 ,core_gpio_oe3 
+06cc 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_init:
-06cb 704d4a01 jam 1 ,mem_power_ctrl_level 
-06cc 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06cd 20600000 rtn 
+06cd 704d4a01 jam 1 ,mem_power_ctrl_level 
+06ce 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06cf 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06ce 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06cf 1fe0fe01 increase 1 ,pdata 
-06d0 6000cd47 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06d1 20600000 rtn 
+06d0 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d1 1fe0fe01 increase 1 ,pdata 
+06d2 6000cd47 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06d3 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06d2 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d3 1fe67c02 sub pdata ,2 ,null 
-06d4 244106da ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06d5 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d6 c1000000 rtneq 0 
-06d7 1fe0ffff increase -1 ,pdata 
-06d8 6000cd47 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06d9 20600000 rtn 
+06d4 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d5 1fe67c02 sub pdata ,2 ,null 
+06d6 244106dc ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06d7 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d8 c1000000 rtneq 0 
+06d9 1fe0ffff increase -1 ,pdata 
+06da 6000cd47 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06db 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06da 704d4703 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06db 20600000 rtn 
+06dc 704d4703 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06dd 20600000 rtn 
 
 power_ctrl_start:
-06dc 68014682 fetch 2 ,mem_ui_state_map 
-06dd c3858000 rtnbit1 ui_state_ble_adv 
-06de da204cd0 arg mem_rssi_signal_buf ,rega 
-06df 204002e4 call p_rssi_average 
-06e0 6008cd48 storet 1 ,mem_rssi_avg_received 
-06e1 58000082 setarg rssi_dis_max_24g 
-06e2 c51306e4 bmark1 mark_24g ,power_ctrl_start_next 
-06e3 58000080 setarg rssi_dis_max_ble 
+06de 68014682 fetch 2 ,mem_ui_state_map 
+06df c3858000 rtnbit1 ui_state_ble_adv 
+06e0 da204cd0 arg mem_rssi_signal_buf ,rega 
+06e1 204002e4 call p_rssi_average 
+06e2 6008cd48 storet 1 ,mem_rssi_avg_received 
+06e3 58000082 setarg rssi_dis_max_24g 
+06e4 c51306e6 bmark1 mark_24g ,power_ctrl_start_next 
+06e5 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-06e4 98467c00 isub temp ,null 
-06e5 242106fc nbranch power_ctrl_txpower_incrs_force ,positive 
-06e6 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06e7 1fe67c02 sub pdata ,2 ,null 
-06e8 242106ec nbranch power_ctrl_txpower_decrs_check ,positive 
-06e9 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ea c00006fd beq 0 ,power_ctrl_txpower_incrs 
-06eb 20600000 rtn 
+06e6 98467c00 isub temp ,null 
+06e7 242106fe nbranch power_ctrl_txpower_incrs_force ,positive 
+06e8 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06e9 1fe67c02 sub pdata ,2 ,null 
+06ea 242106ee nbranch power_ctrl_txpower_decrs_check ,positive 
+06eb 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ec c00006ff beq 0 ,power_ctrl_txpower_incrs 
+06ed 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-06ec 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ed c1990000 rtnne 50 
-06ee 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06ee 6800cd47 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ef c1990000 rtnne 50 
+06f0 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-06ef 6808cd48 fetcht 1 ,mem_rssi_avg_received 
-06f0 58000077 setarg rssi_dis_min_24g 
-06f1 c51306f3 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-06f2 58000075 setarg rssi_dis_min_ble 
+06f1 6808cd48 fetcht 1 ,mem_rssi_avg_received 
+06f2 58000077 setarg rssi_dis_min_24g 
+06f3 c51306f5 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+06f4 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-06f3 98467c00 isub temp ,null 
-06f4 24610000 nrtn positive 
-06f5 6800cd4a fetch 1 ,mem_power_ctrl_level 
-06f6 c0000704 beq 0 ,power_ctrl_decrs_level0 
-06f7 1fe0ffff increase -1 ,pdata 
-06f8 6000cd4a store 1 ,mem_power_ctrl_level 
-06f9 c0000704 beq 0 ,power_ctrl_decrs_level0 
+06f5 98467c00 isub temp ,null 
+06f6 24610000 nrtn positive 
+06f7 6800cd4a fetch 1 ,mem_power_ctrl_level 
+06f8 c0000706 beq 0 ,power_ctrl_decrs_level0 
+06f9 1fe0ffff increase -1 ,pdata 
+06fa 6000cd4a store 1 ,mem_power_ctrl_level 
+06fb c0000706 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-06fa 7041de00 jam tx_power_0db ,mem_tx_power 
-06fb 20600000 rtn 
+06fc 7041de00 jam tx_power_0db ,mem_tx_power 
+06fd 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-06fc 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06fe 704d4700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-06fd 6800cd4a fetch 1 ,mem_power_ctrl_level 
-06fe c0010702 beq 2 ,power_ctrl_incrs_level2 
-06ff 1fe0fe01 increase 1 ,pdata 
-0700 6000cd4a store 1 ,mem_power_ctrl_level 
-0701 c00086fa beq 1 ,power_ctrl_incrs_level1 
+06ff 6800cd4a fetch 1 ,mem_power_ctrl_level 
+0700 c0010704 beq 2 ,power_ctrl_incrs_level2 
+0701 1fe0fe01 increase 1 ,pdata 
+0702 6000cd4a store 1 ,mem_power_ctrl_level 
+0703 c00086fc beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0702 7041de02 jam tx_power_5db ,mem_tx_power 
-0703 20600000 rtn 
+0704 7041de02 jam tx_power_5db ,mem_tx_power 
+0705 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0704 7041de04 jam tx_power_f5db ,mem_tx_power 
-0705 20600000 rtn 
+0706 7041de04 jam tx_power_f5db ,mem_tx_power 
+0707 20600000 rtn 
 
 p_set_freq_tx:
-0706 60088017 storet 1 ,mem_last_freq 
-0707 1840a200 add temp ,0 ,rega 
-0708 20402981 call rf_write_freq 
-0709 58000500 setarg param_pll_setup 
-070a 20402a8f call sleep 
+0708 60088017 storet 1 ,mem_last_freq 
+0709 1840a200 add temp ,0 ,rega 
+070a 20402981 call rf_write_freq 
+070b 58000500 setarg param_pll_setup 
+070c 20402a8f call sleep 
 
 p_rf_tx_enable:
-070b 70890601 jam 0x1 ,rfen_adc 
-070c 7089003c jam 0x3c ,rfen_rx 
-070d 708901e0 jam 0xe0 ,rfen_tx 
-070e 2000000a nop 10 
-070f 70890201 jam 0x01 ,rfen_mdm 
-0710 7089023d jam 0x3d ,rfen_mdm 
-0711 2000000a nop 10 
-0712 708903b7 jam 0xb7 ,rfen_sn 
+070d 70890601 jam 0x1 ,rfen_adc 
+070e 7089003c jam 0x3c ,rfen_rx 
+070f 708901e0 jam 0xe0 ,rfen_tx 
+0710 2000000a nop 10 
+0711 70890201 jam 0x01 ,rfen_mdm 
+0712 7089023d jam 0x3d ,rfen_mdm 
 0713 2000000a nop 10 
-0714 7089027d jam 0x7d ,rfen_mdm 
-0715 6800c1de fetch 1 ,mem_tx_power 
-0716 c001071e beq tx_power_5db ,p_set_tx_power_5db 
-0717 c0020726 beq tx_power_f5db ,p_set_tx_power_f5db 
-0718 c0100730 beq tx_power_pair ,p_set_tx_power_pair 
+0714 708903b7 jam 0xb7 ,rfen_sn 
+0715 2000000a nop 10 
+0716 7089027d jam 0x7d ,rfen_mdm 
+0717 6800c1de fetch 1 ,mem_tx_power 
+0718 c0010720 beq tx_power_5db ,p_set_tx_power_5db 
+0719 c0020728 beq tx_power_f5db ,p_set_tx_power_f5db 
+071a c0100732 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0719 2040072b call p_rx_low_sens 
-071a 708955d0 jam 0xd0 ,0x8955 
-071b 708956e0 jam 0xe0 ,0x8956 
-071c 7089586c jam 0x6c ,0x8958 
-071d 2020294b branch set_tx_power_0db 
+071b 2040072d call p_rx_low_sens 
+071c 708955d0 jam 0xd0 ,0x8955 
+071d 708956e0 jam 0xe0 ,0x8956 
+071e 7089586c jam 0x6c ,0x8958 
+071f 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-071e 70894cfb jam 0xfb ,0x894c 
-071f 70894def jam 0xef ,0x894d 
-0720 70894eec jam 0xec ,0x894e 
-0721 70894f5e jam 0x5e ,0x894f 
-0722 708955d0 jam 0xd0 ,0x8955 
-0723 708956e0 jam 0xe0 ,0x8956 
-0724 7089583c jam 0x3c ,0x8958 
-0725 20202953 branch set_tx_power_5db 
+0720 70894cfb jam 0xfb ,0x894c 
+0721 70894def jam 0xef ,0x894d 
+0722 70894eec jam 0xec ,0x894e 
+0723 70894f5e jam 0x5e ,0x894f 
+0724 708955d0 jam 0xd0 ,0x8955 
+0725 708956e0 jam 0xe0 ,0x8956 
+0726 7089583c jam 0x3c ,0x8958 
+0727 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0726 2040072b call p_rx_low_sens 
-0727 708955d0 jam 0xd0 ,0x8955 
-0728 708956c0 jam 0xc0 ,0x8956 
-0729 7089586c jam 0x6c ,0x8958 
-072a 2020295b branch set_tx_power_f5db 
+0728 2040072d call p_rx_low_sens 
+0729 708955d0 jam 0xd0 ,0x8955 
+072a 708956c0 jam 0xc0 ,0x8956 
+072b 7089586c jam 0x6c ,0x8958 
+072c 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-072b 70894c5b jam 0x5b ,0x894c 
-072c 70894d96 jam 0x96 ,0x894d 
-072d 70894e2c jam 0x2c ,0x894e 
-072e 70894f46 jam 0x46 ,0x894f 
-072f 20600000 rtn 
+072d 70894c5b jam 0x5b ,0x894c 
+072e 70894d96 jam 0x96 ,0x894d 
+072f 70894e2c jam 0x2c ,0x894e 
+0730 70894f46 jam 0x46 ,0x894f 
+0731 20600000 rtn 
 
 p_set_tx_power_pair:
-0730 708956c2 jam 0xc2 ,0x8956 
-0731 708955d0 jam 0xd0 ,0x8955 
-0732 20600000 rtn 
+0732 708956c2 jam 0xc2 ,0x8956 
+0733 708955d0 jam 0xd0 ,0x8955 
+0734 20600000 rtn 
 
 p_shutdown_radio:
-0733 18002a08 force 8 ,radio_ctrl 
-0734 202028fa branch shutdown_radio + 1 
+0735 18002a08 force 8 ,radio_ctrl 
+0736 202028fa branch shutdown_radio + 1 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/PB_Switch/program/patch.prog	(revision 1737)
+++ /branch/mouse_project/YJX_Project/PB_Switch/program/patch.prog	(working copy)
@@ -219,18 +219,18 @@
 	call p_g24_transmit_receive_ack
 	nbranch p_g24_pair_txdata_retry,sync
 	nbranch p_g24_pair_txdata_retry,user3
-//	fetch 1,mem_g24_conn_sm
-//	set0 STATE_24G_PAIR,pdata
-//	store 1,mem_g24_conn_sm
-	jam 0,mem_g24_conn_sm
 	call p_g24_ackpayload_parse
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_allpowerful_addr
 	isub temp,null
 	branch p_g24_auto_pair_skip_rx_length,zero
 	fetch 1,mem_24g_rxdata_length	//ack payload length
-	rtn blank
+	rtnne BIND_ACKPAYLOAD_LENGTH
 p_g24_auto_pair_skip_rx_length:
+//	fetch 1,mem_g24_conn_sm
+//	set0 STATE_24G_PAIR,pdata
+//	store 1,mem_g24_conn_sm
+	jam 0,mem_g24_conn_sm
 	call p_mouse_tx_power_init
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_paring_addr
@@ -1365,7 +1365,6 @@
 	call app_lpm_mult_disable
 	arg mem_le_scan_data,contr
 	call p_le_adv_data_update
-	jam 0x1f,mem_le_scan_data_len
 	branch check_51cmd_adv
 	
 
@@ -1397,7 +1396,7 @@
 //	branch p_g24_start_pairing_sm1
 
 p_g24_start_pairing_sm1:
-	set1 mark_24g,mark
+//	set1 mark_24g,mark
 	call p_g24_pair_init
 p_g24_set_pairing_sm_1:
 	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
@@ -1406,8 +1405,7 @@
 
 p_mouse_dpi_config:
 	fetch 1,mem_mouse_dpi
-	beq 0xff,p_mouse_dpi_config_default
-	branch p_mouse_seting_dpi_sensor_type
+	bne 0xff,p_mouse_seting_dpi_sensor_type
 p_mouse_dpi_config_default:
 	fetch 1,mem_config_sensor_motion
 	store 1,mem_mouse_dpi
@@ -1780,6 +1778,8 @@
 	setarg 0
 	store 1,mem_mouse_long_mult_flag
 	store 4,mem_mouse_x
+	branch p_mouse_init_sensor_reset
+	
 p_mouse_sensor_poweron:
 	arg mem_sensor_poweron_init,regc
 	call p_sensor_wr_seq
@@ -1908,8 +1908,7 @@
 
 p_mouse_clear_sensor_data:
 	call le_set_config_more_data
-	jam 1,mem_mouse_clear_sensor_data_flag
-	branch p_mouse_sensor_poweron
+	branch p_mouse_init_sensor_reset
 
 p_mouse_idle:
 	call ui_check_paring_button
@@ -2644,36 +2643,57 @@
 
 p_mouse_seting_dpi:
 p_mouse_seting_dpi_sensor_type:
-	fetch 1,mem_config_sensor_type
+//	fetch 1,mem_config_sensor_type
 //	beq P3212,p_mouse_seting_3212_dpi
-	beq P3065_XY,p_mouse_seting_3065XY_dpi
-	beq MX8650,p_mouse_seting_3065XY_dpi
-	beq KA8,p_mouse_seting_ka8_dpi
-p_mouse_seting_3205_dpi:
+//	beq P3065_XY,p_mouse_seting_3065XY_dpi
+//	beq MX8650,p_mouse_seting_3065XY_dpi
+//	beq KA8,p_mouse_seting_ka8_dpi
+p_mouse_seting_320x_dpi:
 	fetch 1,mem_mouse_dpi
 	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
+	call p_mouse_320x_dpi_recount,zero
 	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,mouse_set_cpi1
-	beq MOUSE_DPI_LEVEL4,mouse_set_cpi4
-	branch mouse_set_cpi3
-p_mouse_3205_dpi_recount:
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_cpi4
+p_mouse_set_cpi3:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi3
+	beq P3065_XY,p_mouse_3065xy_set_cpi3
+	beq MX8650,p_mouse_3065xy_set_cpi3
+	beq KA8,p_mouse_ka8_set_cpi3
+p_mouse_320x_set_cpi3:	
+	fetch 1,mem_320x_dpi_3
+p_mouse_dpi_store:
+	store 1,mem_mouse_cpi_count
+	branch mouse_p3205_dpi+3
+p_mouse_320x_dpi_recount:
 	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
 	rtn
 
-p_mouse_seting_3065XY_dpi:
-	fetch 1,mem_mouse_dpi
-	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
-	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,p_mouse_3065xy_set_cpi1
-	beq MOUSE_DPI_LEVEL4,p_mouse_3065xy_set_cpi4
+p_mouse_set_cpi1:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi1
+	beq P3065_XY,p_mouse_3065xy_set_cpi1
+	beq MX8650,p_mouse_3065xy_set_cpi1
+	beq KA8,p_mouse_ka8_set_cpi1
+p_mouse_320x_set_cpi1:	
+	fetch 1,mem_320x_dpi_1
+	branch p_mouse_dpi_store
+
+p_mouse_set_cpi4:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi4
+	beq P3065_XY,p_mouse_3065xy_set_cpi4
+	beq MX8650,p_mouse_3065xy_set_cpi4
+	beq KA8,p_mouse_ka8_set_cpi4
+p_mouse_320x_set_cpi4:	
+	fetch 1,mem_320x_dpi_4
+	branch p_mouse_dpi_store
+
 p_mouse_3065xy_set_cpi3:
 	fetch 1,mem_320x_dpi_3
 	increase -1,pdata
-p_mouse_dpi_store:
-	store 1,mem_mouse_cpi_count
-	branch mouse_p3205_dpi+3
+	branch p_mouse_dpi_store
 p_mouse_3065xy_set_cpi1:
 	fetch 1,mem_320x_dpi_1
 	increase -1,pdata
@@ -2683,54 +2703,17 @@
 	increase -1,pdata
 	branch p_mouse_dpi_store
 
-p_mouse_seting_ka8_dpi:
-	fetch 1,mem_mouse_dpi
-	call p_mouse_3205_dpi_recount,blank
-	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2			//800
-	beq MOUSE_DPI_LEVEL4,p_mouse_ka8_set_cpi3		//1600
-	branch mouse_set_cpi4							//1200
-p_mouse_ka8_set_cpi3:	
-	setarg 5
-	branch mouse_p3205_dpi
-	
-//p_mouse_seting_3212_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL2,null
-//	call p_mouse_3205_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
-//	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
-//	branch mouse_set_p3212_cpi3
-
-
-//p_mouse_seting_8009_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL1,null
-//	call p_mouse_8009_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL2,p_mouse_8650_8009_set_cpi1		//750
-//	beq MOUSE_DPI_LEVEL4,mouse_set_cpi2		//1500
-//	branch mouse_set_cpi1						//1250
-//p_mouse_8009_dpi_recount:
-//	jam MOUSE_DPI_LEVEL2,mem_mouse_dpi
-//	rtn
-
-//p_mouse_seting_8650_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL1,null
-//	call p_mouse_8065_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL2,p_mouse_8650_8009_set_cpi1	//800
-//	beq MOUSE_DPI_LEVEL4,mouse_set_cpi2		//1600
-//	branch mouse_set_cpi1						//1200
-//p_mouse_8065_dpi_recount:
-//	jam MOUSE_DPI_LEVEL2,mem_mouse_dpi
-//	rtn
-//p_mouse_8650_8009_set_cpi1:	
-//	jam 0,mem_mouse_cpi_count
-//	branch mouse_p3205_dpi+3
-
+p_mouse_ka8_set_cpi3:
+	fetch 1,mem_320x_dpi_3
+p_mouse_ka8_dpi_store:
+	increase 2,pdata
+	branch p_mouse_dpi_store
+p_mouse_ka8_set_cpi1:
+	fetch 1,mem_320x_dpi_1
+	branch p_mouse_ka8_dpi_store
+p_mouse_ka8_set_cpi4:
+	fetch 1,mem_320x_dpi_4
+	branch p_mouse_ka8_dpi_store
 
 p_mouse_motion:
 	disable user
@@ -2926,8 +2909,7 @@
 	call p_mouse_discovey_led_blink_off
 	setarg 0
 	store 2,mem_mouse_discovery_timer
-	jam 1,mem_mouse_init_sensor_reset_flag
-	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
+	call p_mouse_init_sensor_reset		//clear sensor data,confirm the motion pin high
 	branch mouse_stop_discovery+1
 
 ifdef BLE
