Index: format/app_usb.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/format/app_usb.format	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/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/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/flash.dat	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-92
+ba
 1f
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 03
-b8
+b3
 68
 00
 c1
@@ -23,7 +23,7 @@
 20
 40
 06
-ea
+f4
 68
 00
 c6
@@ -35,7 +35,7 @@
 20
 40
 04
-ce
+c9
 20
 40
 03
@@ -43,7 +43,7 @@
 20
 40
 07
-88
+92
 20
 40
 00
@@ -95,7 +95,7 @@
 58
 00
 03
-a4
+9f
 60
 01
 41
@@ -103,7 +103,7 @@
 58
 00
 06
-35
+30
 60
 01
 41
@@ -111,7 +111,7 @@
 58
 00
 03
-d7
+d2
 60
 01
 41
@@ -127,7 +127,7 @@
 58
 00
 04
-0f
+0a
 60
 01
 41
@@ -135,7 +135,7 @@
 58
 00
 03
-fc
+f7
 60
 01
 41
@@ -143,7 +143,7 @@
 58
 00
 04
-50
+4b
 60
 01
 41
@@ -151,7 +151,7 @@
 58
 00
 04
-5d
+58
 60
 01
 41
@@ -179,7 +179,7 @@
 20
 40
 04
-56
+51
 68
 00
 c7
@@ -199,7 +199,7 @@
 20
 20
 03
-a1
+9c
 58
 00
 01
@@ -275,47 +275,47 @@
 c0
 42
 87
-56
+60
 c0
 44
 87
-27
+31
 c0
 45
 07
-58
+62
 c0
 0d
 86
-4a
+45
 c0
 13
 06
-4c
+47
 c0
 24
 06
-67
+62
 c0
 25
 06
-69
+64
 c0
 28
 86
-72
+6d
 c0
 2c
 86
-65
+60
 c0
 53
 86
-77
+72
 c0
 56
 86
-8d
+88
 c0
 65
 b3
@@ -323,7 +323,7 @@
 c0
 74
 86
-9e
+99
 c0
 50
 80
@@ -343,23 +343,23 @@
 c0
 71
 85
-3a
+35
 c0
 73
 05
-54
+4f
 c0
 75
 05
-81
+7c
 c0
 75
 85
-86
+81
 c0
 76
 05
-88
+83
 20
 20
 2a
@@ -367,71 +367,71 @@
 c0
 1c
 85
-8c
+86
 c0
 21
 85
-94
+8e
 c0
 25
 05
-9a
+94
 c0
 2b
 85
-9d
+97
 c0
 2c
 85
-9f
+99
 c0
 31
 85
-a1
+9b
 c0
 33
 05
-ca
+c4
 c0
 33
 85
-e9
+e3
 c0
 35
 06
-21
+1b
 c0
 3b
 86
-2c
+26
 c0
 7d
 06
-d2
+dc
 c0
 02
 86
-a0
+9b
 c0
 40
 06
-a2
+9d
 c0
 41
 06
-ac
+a7
 c0
 44
 06
-ae
+b8
 c0
 46
 06
-37
+32
 c0
 46
 86
-43
+3e
 20
 20
 2a
@@ -674,8 +674,8 @@
 00
 20
 40
-06
-fb
+07
+05
 20
 40
 00
@@ -693,8 +693,8 @@
 c6
 9a
 c2
-81
-03
+80
+83
 77
 20
 40
@@ -723,7 +723,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -731,7 +731,7 @@
 20
 20
 07
-5b
+65
 58
 01
 77
@@ -1011,7 +1011,7 @@
 20
 20
 05
-32
+2d
 70
 4c
 57
@@ -1087,7 +1087,7 @@
 20
 20
 07
-5b
+65
 70
 4d
 7c
@@ -1119,7 +1119,7 @@
 20
 20
 04
-56
+51
 68
 00
 cc
@@ -1155,7 +1155,7 @@
 20
 20
 03
-d5
+d0
 70
 4d
 61
@@ -1227,7 +1227,7 @@
 20
 40
 06
-f1
+fb
 20
 20
 01
@@ -1271,7 +1271,7 @@
 20
 40
 06
-f1
+fb
 70
 4d
 5e
@@ -1655,7 +1655,7 @@
 20
 40
 06
-ed
+f7
 68
 00
 cc
@@ -1815,11 +1815,11 @@
 20
 40
 07
-1e
+28
 20
 40
 06
-f1
+fb
 20
 20
 01
@@ -1987,11 +1987,11 @@
 20
 20
 07
-5b
+65
 20
 40
 06
-ea
+f4
 70
 11
 c6
@@ -1999,7 +1999,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -2007,7 +2007,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -2015,7 +2015,7 @@
 20
 20
 07
-5b
+65
 79
 3f
 80
@@ -2783,7 +2783,7 @@
 20
 20
 05
-3a
+35
 20
 40
 29
@@ -2819,7 +2819,7 @@
 20
 40
 05
-35
+30
 68
 00
 c2
@@ -2835,7 +2835,7 @@
 20
 40
 04
-e2
+dd
 70
 01
 6d
@@ -2843,7 +2843,7 @@
 20
 40
 04
-94
+8f
 20
 20
 7d
@@ -2887,11 +2887,11 @@
 70
 11
 c6
-11
+12
 20
 20
 07
-5b
+65
 da
 20
 43
@@ -2955,7 +2955,7 @@
 20
 40
 03
-96
+97
 68
 00
 c6
@@ -3019,7 +3019,7 @@
 20
 40
 03
-96
+97
 68
 00
 c6
@@ -3043,7 +3043,7 @@
 20
 20
 07
-5b
+65
 68
 08
 cb
@@ -3515,7 +3515,7 @@
 20
 40
 05
-35
+30
 68
 00
 c2
@@ -3677,6 +3677,10 @@
 46
 9b
 20
+20
+03
+d0
+20
 40
 03
 23
@@ -3688,38 +3692,14 @@
 40
 02
 e8
-20
-40
-03
-9e
-68
-00
-c6
-e0
-c0
-01
-02
-ee
-c0
-03
-82
-e6
-20
-60
-00
-00
 68
 00
 c7
 7a
 c0
-7f
-83
-a1
-20
-20
-05
-3a
+ff
+85
+35
 68
 00
 c6
@@ -3731,7 +3711,7 @@
 20
 20
 05
-3a
+35
 20
 40
 58
@@ -3747,7 +3727,7 @@
 c0
 7f
 83
-ab
+a6
 68
 00
 c6
@@ -3767,7 +3747,7 @@
 20
 5a
 03
-d3
+ce
 68
 02
 46
@@ -3795,7 +3775,7 @@
 20
 40
 03
-ce
+c9
 da
 20
 46
@@ -3807,7 +3787,7 @@
 20
 54
 03
-bd
+b8
 20
 60
 00
@@ -3859,7 +3839,7 @@
 20
 34
 03
-c5
+c0
 20
 60
 00
@@ -3963,7 +3943,7 @@
 20
 5a
 03
-d3
+ce
 68
 02
 46
@@ -3995,7 +3975,7 @@
 20
 40
 03
-ce
+c9
 68
 00
 cb
@@ -4003,7 +3983,7 @@
 c0
 00
 83
-eb
+e6
 68
 00
 cb
@@ -4091,7 +4071,7 @@
 20
 40
 03
-ff
+fa
 20
 20
 3e
@@ -4103,7 +4083,7 @@
 20
 40
 05
-78
+73
 68
 08
 c6
@@ -4115,11 +4095,11 @@
 20
 20
 84
-0d
+08
 20
 40
 05
-73
+6e
 68
 00
 c6
@@ -4155,7 +4135,7 @@
 20
 40
 05
-73
+6e
 20
 20
 3d
@@ -4167,31 +4147,31 @@
 c0
 0a
 04
-20
+1b
 c0
 0a
 84
-2b
+26
 c0
 14
 84
-2e
+29
 c0
 19
 04
-30
+2b
 c0
 20
 04
-32
+2d
 c0
 02
 04
-34
+2f
 c0
 09
 84
-34
+2f
 c0
 0c
 b3
@@ -4199,31 +4179,31 @@
 c0
 10
 84
-38
+33
 c0
 00
 84
-3a
+35
 c0
 01
 04
-42
+3d
 c0
 15
 84
-45
+40
 c0
 1c
 84
-47
+42
 c0
 1d
 04
-4a
+45
 c0
 1e
 04
-4d
+48
 20
 20
 41
@@ -4231,7 +4211,7 @@
 20
 40
 03
-d5
+d0
 58
 00
 00
@@ -4255,7 +4235,7 @@
 24
 3a
 04
-28
+23
 70
 4b
 6b
@@ -4263,11 +4243,11 @@
 20
 40
 04
-ec
+e7
 20
 40
 03
-b8
+b3
 20
 20
 41
@@ -4275,7 +4255,7 @@
 20
 40
 04
-53
+4e
 70
 11
 c6
@@ -4283,7 +4263,7 @@
 20
 20
 07
-5b
+65
 70
 0a
 99
@@ -4299,7 +4279,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -4307,7 +4287,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -4315,7 +4295,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -4323,7 +4303,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -4331,15 +4311,15 @@
 20
 20
 07
-5b
+65
 20
 40
 04
-92
+8d
 20
 40
 03
-d5
+d0
 58
 00
 00
@@ -4351,11 +4331,11 @@
 20
 40
 04
-ec
+e7
 20
 40
 05
-26
+21
 70
 48
 09
@@ -4367,7 +4347,7 @@
 20
 40
 04
-53
+4e
 70
 11
 c6
@@ -4375,7 +4355,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -4383,11 +4363,11 @@
 20
 20
 07
-5b
+65
 20
 40
 03
-d5
+d0
 70
 11
 c6
@@ -4395,11 +4375,11 @@
 20
 20
 07
-5b
+65
 20
 40
 04
-53
+4e
 70
 11
 c6
@@ -4407,11 +4387,11 @@
 20
 20
 07
-5b
+65
 20
 40
 03
-d5
+d0
 70
 11
 c6
@@ -4419,11 +4399,11 @@
 20
 20
 07
-5b
+65
 20
 40
 04
-53
+4e
 70
 11
 c6
@@ -4431,7 +4411,7 @@
 20
 20
 07
-5b
+65
 68
 00
 ca
@@ -4475,23 +4455,23 @@
 20
 40
 04
-77
+72
 20
 40
 04
-ef
+ea
 20
 40
 04
-be
+b9
 20
 40
 04
-e5
+e0
 20
 40
 04
-c3
+be
 20
 40
 42
@@ -4499,15 +4479,15 @@
 20
 40
 04
-6e
+69
 20
 40
 04
-99
+94
 20
 40
 04
-a0
+9b
 20
 40
 42
@@ -4515,19 +4495,19 @@
 20
 40
 04
-ad
+a8
 20
 40
 04
-b0
+ab
 20
 40
 04
-b8
+b3
 20
 40
 04
-a5
+a0
 20
 40
 42
@@ -4535,7 +4515,7 @@
 20
 40
 04
-a8
+a3
 20
 20
 42
@@ -4551,7 +4531,7 @@
 20
 20
 84
-74
+6f
 68
 00
 c7
@@ -4591,7 +4571,7 @@
 da
 40
 04
-7c
+77
 20
 20
 33
@@ -4619,7 +4599,7 @@
 c0
 00
 04
-94
+8f
 68
 03
 4b
@@ -4655,7 +4635,7 @@
 20
 40
 04
-8c
+87
 20
 20
 7d
@@ -4719,7 +4699,7 @@
 da
 40
 04
-9c
+97
 20
 20
 33
@@ -4747,7 +4727,7 @@
 da
 40
 04
-a3
+9e
 20
 20
 33
@@ -4779,7 +4759,7 @@
 da
 40
 04
-ab
+a6
 20
 20
 33
@@ -4819,7 +4799,7 @@
 da
 40
 04
-b5
+b0
 20
 20
 33
@@ -4843,7 +4823,7 @@
 da
 40
 04
-bb
+b6
 20
 20
 33
@@ -4859,7 +4839,7 @@
 20
 20
 04
-9e
+99
 da
 60
 48
@@ -4867,7 +4847,7 @@
 da
 40
 04
-c1
+bc
 20
 20
 33
@@ -4895,15 +4875,15 @@
 20
 3a
 04
-d1
+cc
 20
 40
 05
-60
+5b
 c0
 03
 84
-d1
+cc
 68
 00
 c6
@@ -4943,7 +4923,7 @@
 20
 40
 04
-d4
+cf
 20
 20
 43
@@ -4955,7 +4935,7 @@
 da
 40
 04
-d7
+d2
 20
 20
 33
@@ -4967,7 +4947,7 @@
 24
 3a
 04
-e2
+dd
 68
 01
 46
@@ -5031,7 +5011,7 @@
 da
 40
 04
-ea
+e5
 20
 20
 33
@@ -5071,11 +5051,11 @@
 c0
 00
 85
-0d
+08
 20
 40
 05
-1a
+15
 68
 00
 cb
@@ -5099,7 +5079,7 @@
 20
 42
 84
-fb
+f6
 20
 60
 00
@@ -5111,7 +5091,7 @@
 20
 40
 05
-2c
+27
 68
 00
 c7
@@ -5139,7 +5119,7 @@
 c0
 ff
 85
-0b
+06
 70
 4b
 29
@@ -5175,7 +5155,7 @@
 20
 20
 05
-05
+00
 da
 60
 4b
@@ -5183,7 +5163,7 @@
 da
 40
 05
-10
+0b
 20
 20
 33
@@ -5203,7 +5183,7 @@
 20
 3a
 05
-18
+13
 68
 00
 cb
@@ -5211,7 +5191,7 @@
 20
 3a
 05
-2a
+25
 1f
 e0
 ff
@@ -5227,7 +5207,7 @@
 c0
 00
 85
-2c
+27
 70
 4b
 25
@@ -5239,7 +5219,7 @@
 c0
 00
 85
-22
+1d
 68
 08
 cb
@@ -5307,7 +5287,7 @@
 24
 3a
 05
-30
+2b
 70
 4b
 23
@@ -5363,11 +5343,11 @@
 c0
 01
 05
-4c
+47
 20
 20
 05
-3f
+3a
 70
 47
 7a
@@ -5387,7 +5367,7 @@
 20
 42
 85
-3d
+38
 68
 00
 c7
@@ -5395,11 +5375,11 @@
 c0
 00
 05
-48
+43
 c0
 01
 85
-4a
+45
 68
 00
 cb
@@ -5419,7 +5399,7 @@
 20
 20
 05
-46
+41
 68
 00
 cb
@@ -5427,7 +5407,7 @@
 20
 20
 05
-46
+41
 68
 00
 c7
@@ -5435,7 +5415,7 @@
 20
 5a
 05
-3d
+38
 68
 00
 c7
@@ -5447,7 +5427,7 @@
 c0
 01
 85
-52
+4d
 20
 20
 3d
@@ -5475,7 +5455,7 @@
 20
 40
 05
-7e
+79
 20
 40
 40
@@ -5487,15 +5467,15 @@
 20
 40
 05
-5e
+59
 24
 34
 07
-88
+92
 20
 40
 07
-7c
+86
 20
 20
 3f
@@ -5503,7 +5483,7 @@
 20
 40
 05
-60
+5b
 20
 20
 40
@@ -5515,7 +5495,7 @@
 20
 40
 05
-63
+5e
 20
 20
 40
@@ -5527,7 +5507,7 @@
 20
 40
 05
-73
+6e
 68
 08
 c6
@@ -5547,7 +5527,7 @@
 20
 40
 05
-73
+6e
 68
 08
 c6
@@ -5567,7 +5547,7 @@
 20
 40
 05
-73
+6e
 68
 08
 c6
@@ -5603,7 +5583,7 @@
 20
 20
 05
-7c
+77
 79
 3f
 84
@@ -5643,11 +5623,11 @@
 20
 40
 04
-fb
+f6
 20
 40
 04
-ec
+e7
 28
 0f
 fe
@@ -5667,19 +5647,15 @@
 20
 20
 07
-5b
+65
 20
 40
 05
-26
-70
-4a
-fe
-01
+21
 20
 40
 03
-96
+d0
 20
 20
 42
@@ -5710,8 +5686,8 @@
 1e
 20
 40
-06
-fb
+07
+05
 20
 20
 53
@@ -5759,7 +5735,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -5767,7 +5743,7 @@
 20
 20
 07
-5b
+65
 68
 00
 84
@@ -5775,11 +5751,11 @@
 c2
 82
 85
-c1
+bb
 20
 40
 06
-ed
+f7
 68
 00
 c7
@@ -5787,7 +5763,7 @@
 24
 3a
 05
-ab
+a5
 68
 00
 84
@@ -5795,7 +5771,7 @@
 c3
 02
 05
-af
+a9
 68
 00
 82
@@ -5803,7 +5779,7 @@
 20
 3a
 05
-af
+a9
 20
 20
 56
@@ -5831,7 +5807,7 @@
 c0
 82
 85
-b2
+ac
 70
 47
 8e
@@ -5843,7 +5819,7 @@
 20
 5a
 03
-c1
+bc
 20
 20
 56
@@ -5899,11 +5875,11 @@
 20
 40
 05
-b5
+af
 20
 20
 06
-f1
+fb
 68
 00
 c7
@@ -5987,7 +5963,7 @@
 c0
 01
 85
-d9
+d3
 20
 20
 56
@@ -5999,11 +5975,11 @@
 c0
 00
 05
-dd
+d7
 c0
 00
 85
-e4
+de
 20
 20
 5c
@@ -6063,11 +6039,11 @@
 c0
 02
 05
-ed
+e7
 c0
 03
 06
-19
+13
 20
 20
 56
@@ -6079,7 +6055,7 @@
 20
 40
 05
-c3
+bd
 20
 40
 7e
@@ -6095,7 +6071,7 @@
 c0
 08
 05
-fc
+f6
 1f
 ec
 84
@@ -6107,7 +6083,7 @@
 20
 21
 06
-0a
+04
 d8
 40
 47
@@ -6191,7 +6167,7 @@
 c0
 05
 06
-0c
+06
 20
 20
 58
@@ -6207,7 +6183,7 @@
 c2
 81
 86
-13
+0d
 68
 01
 04
@@ -6235,7 +6211,7 @@
 24
 22
 86
-0f
+09
 20
 40
 5a
@@ -6243,7 +6219,7 @@
 24
 34
 06
-0f
+09
 20
 20
 59
@@ -6255,11 +6231,11 @@
 c0
 00
 86
-1d
+17
 c0
 02
 86
-1f
+19
 20
 20
 5a
@@ -6279,7 +6255,7 @@
 20
 20
 07
-5b
+65
 68
 00
 80
@@ -6291,7 +6267,7 @@
 20
 40
 06
-27
+21
 d8
 e0
 00
@@ -6331,7 +6307,7 @@
 20
 37
 06
-2f
+29
 24
 36
 d8
@@ -6352,8 +6328,12 @@
 00
 c6
 c5
-c0
-81
+2f
+e0
+06
+03
+24
+20
 ab
 de
 20
@@ -6367,7 +6347,7 @@
 20
 20
 07
-5b
+65
 68
 10
 80
@@ -6407,7 +6387,7 @@
 20
 40
 06
-44
+3f
 60
 18
 80
@@ -6451,7 +6431,7 @@
 20
 20
 07
-5b
+65
 20
 40
 21
@@ -6487,7 +6467,7 @@
 c5
 05
 86
-59
+54
 20
 40
 24
@@ -6495,11 +6475,11 @@
 24
 3a
 06
-52
+4d
 c5
 16
 86
-61
+5c
 20
 20
 21
@@ -6535,7 +6515,7 @@
 20
 20
 06
-52
+4d
 68
 02
 01
@@ -6567,7 +6547,7 @@
 20
 20
 07
-5b
+65
 68
 00
 80
@@ -6579,7 +6559,7 @@
 20
 40
 86
-6d
+68
 20
 20
 24
@@ -6595,15 +6575,15 @@
 20
 40
 86
-f1
+fb
 24
 40
 86
-ed
+f7
 20
 20
-06
-fb
+07
+05
 20
 40
 24
@@ -6655,7 +6635,7 @@
 20
 3a
 06
-81
+7c
 68
 00
 c5
@@ -6763,7 +6743,7 @@
 20
 5a
 06
-9b
+96
 20
 20
 2b
@@ -6787,7 +6767,7 @@
 20
 20
 07
-5b
+65
 70
 11
 c6
@@ -6795,7 +6775,7 @@
 20
 20
 07
-5b
+65
 68
 00
 85
@@ -6807,7 +6787,7 @@
 c0
 09
 86
-a6
+a1
 20
 20
 5d
@@ -6836,6 +6816,42 @@
 60
 00
 00
+78
+54
+7c
+00
+20
+40
+62
+c1
+68
+00
+80
+48
+20
+7a
+00
+00
+c2
+83
+86
+b0
+c0
+01
+86
+b2
+c0
+18
+86
+b4
+c0
+0b
+86
+b6
+20
+20
+60
+10
 70
 11
 c6
@@ -6843,7 +6859,31 @@
 20
 20
 07
-5b
+65
+70
+11
+c6
+11
+20
+20
+07
+65
+70
+4b
+01
+01
+20
+20
+61
+c3
+70
+4b
+09
+04
+20
+20
+61
+a4
 20
 40
 62
@@ -6863,11 +6903,11 @@
 c0
 02
 06
-d0
+da
 c0
 08
 06
-b5
+bf
 20
 20
 63
@@ -6883,7 +6923,7 @@
 c0
 00
 86
-b9
+c3
 20
 20
 63
@@ -6899,7 +6939,7 @@
 c2
 80
 06
-bd
+c7
 20
 20
 63
@@ -6967,7 +7007,7 @@
 24
 21
 06
-ce
+d8
 20
 20
 63
@@ -7007,15 +7047,15 @@
 c0
 0f
 86
-da
+e4
 c0
 10
 06
-dd
+e7
 c0
 09
 06
-e7
+f1
 20
 20
 7d
@@ -7031,7 +7071,7 @@
 20
 20
 06
-df
+e9
 70
 01
 85
@@ -7122,8 +7162,8 @@
 02
 24
 41
-06
-f9
+07
+03
 68
 00
 cd
@@ -7187,7 +7227,7 @@
 c5
 13
 07
-05
+0f
 58
 00
 00
@@ -7199,7 +7239,7 @@
 24
 21
 07
-1d
+27
 68
 00
 cd
@@ -7211,7 +7251,7 @@
 24
 21
 07
-0d
+17
 68
 00
 cd
@@ -7219,7 +7259,7 @@
 c0
 00
 07
-1e
+28
 20
 60
 00
@@ -7247,7 +7287,7 @@
 c5
 13
 07
-14
+1e
 58
 00
 00
@@ -7267,7 +7307,7 @@
 c0
 00
 07
-25
+2f
 1f
 e0
 ff
@@ -7279,7 +7319,7 @@
 c0
 00
 07
-25
+2f
 70
 41
 de
@@ -7299,7 +7339,7 @@
 c0
 01
 07
-23
+2d
 1f
 e0
 fe
@@ -7311,7 +7351,7 @@
 c0
 00
 87
-1b
+25
 70
 41
 de
@@ -7395,19 +7435,19 @@
 c0
 01
 07
-3f
+49
 c0
 02
 07
-44
+4e
 c0
 10
 07
-53
+5d
 20
 40
 07
-49
+53
 70
 89
 55
@@ -7427,7 +7467,7 @@
 20
 40
 07
-4e
+58
 70
 89
 55
@@ -7447,7 +7487,7 @@
 20
 40
 07
-49
+53
 70
 89
 55
@@ -7555,7 +7595,7 @@
 20
 22
 87
-7a
+84
 60
 08
 cb
@@ -7631,7 +7671,7 @@
 24
 22
 87
-6b
+75
 20
 40
 03
@@ -7679,7 +7719,7 @@
 20
 40
 07
-d4
+de
 58
 00
 00
@@ -7687,15 +7727,15 @@
 20
 40
 07
-ca
+d4
 20
 5a
 07
-c6
+d0
 24
 5a
 07
-c8
+d2
 58
 00
 00
@@ -7703,11 +7743,11 @@
 20
 40
 07
-cf
+d9
 20
 5a
 07
-c6
+d0
 68
 00
 cb
@@ -7715,7 +7755,7 @@
 c0
 00
 87
-8b
+95
 df
 20
 00
@@ -7747,7 +7787,7 @@
 20
 40
 07
-9e
+a8
 68
 01
 11
@@ -7783,7 +7823,7 @@
 20
 40
 07
-9e
+a8
 68
 01
 11
@@ -7827,7 +7867,7 @@
 20
 20
 87
-ab
+b5
 68
 00
 91
@@ -7835,7 +7875,7 @@
 c0
 7f
 87
-b2
+bc
 68
 00
 91
@@ -7863,7 +7903,7 @@
 c0
 00
 07
-af
+b9
 68
 01
 91
@@ -7871,7 +7911,7 @@
 20
 20
 07
-a7
+b1
 70
 11
 c4
@@ -7883,7 +7923,7 @@
 20
 20
 07
-a7
+b1
 68
 00
 91
@@ -7891,7 +7931,7 @@
 20
 40
 07
-bd
+c7
 60
 00
 91
@@ -7903,7 +7943,7 @@
 20
 3a
 07
-bb
+c5
 58
 00
 00
@@ -7927,11 +7967,11 @@
 20
 20
 07
-b8
+c2
 20
 40
 07
-c2
+cc
 1f
 e3
 7e
@@ -7939,7 +7979,7 @@
 20
 40
 07
-c3
+cd
 1f
 e6
 7e
@@ -8027,7 +8067,7 @@
 20
 40
 07
-db
+e5
 1f
 e2
 22
@@ -8039,7 +8079,7 @@
 20
 40
 07
-db
+e5
 1f
 e2
 24
@@ -8059,7 +8099,7 @@
 c0
 7f
 87
-e1
+eb
 68
 00
 91
@@ -8083,9 +8123,9 @@
 20
 20
 07
-df
-3e
-5a
+e9
+18
+5f
 aa
 55
 08
@@ -8678,8 +8718,8 @@
 00
 02
 06
-14
 1d
+14
 ff
 ff
 14
@@ -8688,7 +8728,7 @@
 ff
 ff
 ff
-08
+05
 ff
 ff
 ff
@@ -9083,7 +9123,7 @@
 00
 24
 4b
-05
+08
 aa
 55
 02
@@ -9118,7 +9158,7 @@
 00
 51
 4b
-a9
+d1
 2f
 00
 ff
@@ -9205,7 +9245,7 @@
 20
 40
 04
-2e
+29
 70
 46
 c6
@@ -9441,7 +9481,7 @@
 20
 40
 04
-2e
+29
 70
 47
 c4
@@ -9457,7 +9497,7 @@
 20
 20
 05
-e0
+da
 68
 01
 46
@@ -9513,7 +9553,7 @@
 20
 40
 03
-b8
+b3
 20
 40
 58
@@ -9617,7 +9657,7 @@
 20
 20
 05
-33
+2e
 00
 00
 00
@@ -9909,7 +9949,7 @@
 20
 40
 05
-32
+2d
 68
 08
 cb
@@ -10462,10 +10502,6 @@
 37
 80
 26
-70
-4d
-7f
-00
 20
 40
 01
@@ -10485,15 +10521,19 @@
 20
 22
 80
-17
+16
 68
 00
 cc
 29
-20
-7a
+c1
+84
 00
 00
+70
+4d
+7f
+00
 20
 40
 02
@@ -10733,7 +10773,7 @@
 20
 40
 04
-ec
+e7
 20
 40
 3f
@@ -11249,7 +11289,7 @@
 20
 40
 04
-92
+8d
 20
 40
 43
@@ -11265,7 +11305,7 @@
 20
 40
 84
-84
+7f
 68
 00
 c0
@@ -11280,8 +11320,8 @@
 dd
 20
 20
-05
 04
+ff
 20
 40
 03
@@ -11689,11 +11729,15 @@
 c0
 08
 00
-10
+11
 c0
 08
 80
-04
+1e
+c0
+09
+00
+05
 20
 60
 00
@@ -11717,7 +11761,7 @@
 20
 40
 04
-92
+8d
 20
 40
 34
@@ -11737,7 +11781,7 @@
 20
 40
 04
-8f
+8a
 70
 43
 6f
@@ -11746,50 +11790,18 @@
 20
 7d
 f4
-78
-54
-7c
-00
-20
-40
-62
-c1
 68
 00
 80
 48
-20
-7a
-00
-00
-c2
-83
-80
-19
-c0
-01
-80
-29
-c0
-18
-80
-25
-c0
-0b
-80
-27
-20
-20
-60
-10
 c0
 42
 00
-1c
+15
 c0
 41
 80
-1f
+18
 20
 20
 60
@@ -11797,7 +11809,7 @@
 20
 40
 00
-22
+1b
 68
 00
 80
@@ -11809,7 +11821,7 @@
 20
 40
 00
-22
+1b
 68
 00
 80
@@ -11830,22 +11842,6 @@
 20
 61
 24
-70
-4b
-01
-01
-20
-20
-61
-c3
-70
-4b
-09
-04
-20
-20
-61
-a4
 18
 00
 7e
@@ -11877,7 +11873,7 @@
 c0
 17
 00
-32
+27
 20
 20
 60
@@ -11938,6 +11934,50 @@
 00
 00
 00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
 20
 20
 00
@@ -12077,7 +12117,7 @@
 20
 40
 05
-60
+5b
 c0
 03
 80
@@ -12177,7 +12217,7 @@
 c0
 02
 84
-36
+31
 20
 20
 4d
@@ -12198,5 +12238,5 @@
 55
 00
 00
-d1
-5f
+1a
+e9
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/program.lis	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/program.lis	(working copy)
@@ -7,15 +7,15 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204003b8 call p_mouse_data_init 
+0001 204003b3 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cce2 store 1 ,mem_tx_power_temp 
-0004 204006ea call power_ctrl_pac_succ_cnt_init 
+0004 204006f4 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000c6da store 1 ,mem_combination_ui_button_count 
-0007 204004ce call p_mouse_bt_discovery_button_up_init 
+0007 204004c9 call p_mouse_bt_discovery_button_up_init 
 0008 20400323 call p_mouse_spi_init 
-0009 20400788 call p_drawing_optima_init 
+0009 20400792 call p_drawing_optima_init 
 000a 20400014 call p_mouse_cb_fuction 
 000b 20400027 call p_mouse_wakeup_from_power 
 000c 680240a0 fetch 4 ,mem_lap 
@@ -30,21 +30,21 @@
 p_mouse_cb_fuction:
 0014 58000374 setarg p_mouse_g24_package_data 
 0015 60014d5c store 2 ,mem_cb_24g_data 
-0016 580003a4 setarg p_mouse_le 
+0016 5800039f setarg p_mouse_le 
 0017 600141ef store 2 ,mem_cb_le_process 
-0018 58000635 setarg p_le_mouse_bb_event_connect_complete 
+0018 58000630 setarg p_le_mouse_bb_event_connect_complete 
 0019 600141f9 store 2 ,mem_cb_att_write 
-001a 580003d7 setarg p_mouse_bt 
+001a 580003d2 setarg p_mouse_bt 
 001b 600141f1 store 2 ,mem_cb_bt_process 
 001c 580002aa setarg p_mouse_before_lpm 
 001d 600141ed store 2 ,mem_cb_before_lpm 
-001e 5800040f setarg p_mouse_priority_bb_event 
+001e 5800040a setarg p_mouse_priority_bb_event 
 001f 600141f5 store 2 ,mem_cb_bb_event_process 
-0020 580003fc setarg p_mouse_idle 
+0020 580003f7 setarg p_mouse_idle 
 0021 600141f3 store 2 ,mem_cb_idle_process 
-0022 58000450 setarg p_mouse_before_hibernate 
+0022 5800044b setarg p_mouse_before_hibernate 
 0023 600141eb store 2 ,mem_cb_before_hibernate 
-0024 5800045d setarg p_mouse_bb_event_timer 
+0024 58000458 setarg p_mouse_bb_event_timer 
 0025 600141fd store 2 ,mem_cb_event_timer 
 0026 20600000 rtn 
 
@@ -53,14 +53,14 @@
 0028 60014d6e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0029 24558031 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 002a 204002d9 call p_mouse_init_sunt 
-002b 20400456 call p_mouse_sensor_powerdown 
+002b 20400451 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
 002c 6800c71f fetch 1 ,mem_reconn_times_init 
 002d 6000c71e store 1 ,mem_reconn_times 
 002e 6800c241 fetch 1 ,mem_power_on_flag 
 002f c3810000 rtnbit1 2 
-0030 202003a1 branch p_mouse_dpi_config_default 
+0030 2020039c branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 0031 58000177 setarg 375 
@@ -83,48 +83,48 @@
 0040 c284005a bbit1 8 ,pf_patch_ext 
 0041 c0008076 beq patch00_1 ,p_soft_reset_1 
 0042 c001007f beq patch00_2 ,p_soft_reset_2 
-0043 c0428756 beq patch10_5 ,p_shutdown_radio 
-0044 c0448727 beq patch11_1 ,p_set_freq_tx 
-0045 c0450758 beq patch11_2 ,p_initialize_radio_cont 
-0046 c00d864a beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0047 c013064c beq patch04_6 ,p_role_switch_master 
-0048 c0240667 beq patch09_0 ,p_quit_connection_cont 
-0049 c0250669 beq patch09_2 ,p_prepare_tx 
-004a c0288672 beq patch0a_1 ,p_slave_conn_recv_packet 
-004b c02c8665 beq patch0b_1 ,p_process_dmh 
-004c c0538677 beq patch14_7 ,p_lpm_dispatch 
-004d c056868d beq patch15_5 ,p_lpm_set_mult 
+0043 c0428760 beq patch10_5 ,p_shutdown_radio 
+0044 c0448731 beq patch11_1 ,p_set_freq_tx 
+0045 c0450762 beq patch11_2 ,p_initialize_radio_cont 
+0046 c00d8645 beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0047 c0130647 beq patch04_6 ,p_role_switch_master 
+0048 c0240662 beq patch09_0 ,p_quit_connection_cont 
+0049 c0250664 beq patch09_2 ,p_prepare_tx 
+004a c028866d beq patch0a_1 ,p_slave_conn_recv_packet 
+004b c02c8660 beq patch0b_1 ,p_process_dmh 
+004c c0538672 beq patch14_7 ,p_lpm_dispatch 
+004d c0568688 beq patch15_5 ,p_lpm_set_mult 
 004e c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004f c074869e beq patch1d_1 ,p_mouse_bb_disconnected 
+004f c0748699 beq patch1d_1 ,p_mouse_bb_disconnected 
 0050 c0508088 beq patch14_1 ,p_init_param 
 0051 c058808d beq patch16_1 ,p_lpm_check_wake_lock 
 0052 c059009b beq patch16_2 ,p_g24_dispatch 
 0053 c06202b7 beq patch18_4 ,p_device_init 
-0054 c071853a beq patch1c_3 ,p_mouse_seting_dpi 
-0055 c0730554 beq patch1c_6 ,p_mouse_motion 
-0056 c0750581 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0057 c0758586 beq patch1d_3 ,p_mouse_start_discovery 
-0058 c0760588 beq patch1d_4 ,p_mouse_stop_discovery 
+0054 c0718535 beq patch1c_3 ,p_mouse_seting_dpi 
+0055 c073054f beq patch1c_6 ,p_mouse_motion 
+0056 c075057c beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0057 c0758581 beq patch1d_3 ,p_mouse_start_discovery 
+0058 c0760583 beq patch1d_4 ,p_mouse_stop_discovery 
 0059 20202a8e branch loop 
 
 pf_patch_ext:
-005a c01c858c beq patch27_1 ,p_le_slave_match 
-005b c0218594 beq patch28_3 ,p_le_next_adv_channel 
-005c c025059a beq patch29_2 ,p_le_receive_skip 
-005d c02b859d beq patch2a_7 ,p_le_update_param 
-005e c02c859f beq patch2b_1 ,p_le_update_channel_map 
-005f c03185a1 beq patch2c_3 ,p_le_prepare_tx 
-0060 c03305ca beq patch2c_6 ,p_le_parse 
-0061 c03385e9 beq patch2c_7 ,p_le_parse_l2cap 
-0062 c0350621 beq patch2d_2 ,p_le_adv_not_match 
-0063 c03b862c beq patch2e_7 ,p_le_lpm_setmult 
-0064 c07d06d2 beq patch3f_2 ,p_check_51cmd_once_continue 
-0065 c00286a0 beq patch20_5 ,p_hid_rx_process 
-0066 c04006a2 beq patch30_0 ,p_parse_lmp_accepted 
-0067 c04106ac beq patch30_2 ,p_send_lmp 
-0068 c04406ae beq patch31_0 ,p_process_conn_sm 
-0069 c0460637 beq patch31_4 ,p_twspi_reset 
-006a c0468643 beq patch31_5 ,p_spid_init 
+005a c01c8586 beq patch27_1 ,p_le_slave_match 
+005b c021858e beq patch28_3 ,p_le_next_adv_channel 
+005c c0250594 beq patch29_2 ,p_le_receive_skip 
+005d c02b8597 beq patch2a_7 ,p_le_update_param 
+005e c02c8599 beq patch2b_1 ,p_le_update_channel_map 
+005f c031859b beq patch2c_3 ,p_le_prepare_tx 
+0060 c03305c4 beq patch2c_6 ,p_le_parse 
+0061 c03385e3 beq patch2c_7 ,p_le_parse_l2cap 
+0062 c035061b beq patch2d_2 ,p_le_adv_not_match 
+0063 c03b8626 beq patch2e_7 ,p_le_lpm_setmult 
+0064 c07d06dc beq patch3f_2 ,p_check_51cmd_once_continue 
+0065 c002869b beq patch20_5 ,p_hid_rx_process 
+0066 c040069d beq patch30_0 ,p_parse_lmp_accepted 
+0067 c04106a7 beq patch30_2 ,p_send_lmp 
+0068 c04406b8 beq patch31_0 ,p_process_conn_sm 
+0069 c0460632 beq patch31_4 ,p_twspi_reset 
+006a c046863e beq patch31_5 ,p_spid_init 
 006b 20202a8e branch loop 
 
 p_rssi_signal:
@@ -203,12 +203,12 @@
 00a4 20400194 call p_g24_transmit_packet 
 00a5 6800cc3b fetch 1 ,mem_24g_pairing_sm 
 00a6 c1ff8000 rtnne state_24g_pairing_success 
-00a7 204006fb call power_ctrl_start 
+00a7 20400705 call power_ctrl_start 
 00a8 204000b6 call g24_long_sleep_shorter_param_update 
 00a9 6800cb25 fetch 1 ,mem_mouse_multi_led_state 
 00aa c0008377 beq on ,p_g24_transmit_by_interrupt_enable 
 00ab 6800c69a fetch 1 ,mem_mouse_key 
-00ac c2810377 bbit1 2 ,p_g24_transmit_by_interrupt_enable 
+00ac c2808377 bbit1 1 ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 00ad 204000e4 call p_g24_lpm_wait 
@@ -219,11 +219,11 @@
 
 p_g24_pair_dispatch:
 00b2 7011c660 jam zcode_60 ,mem_zcode_temp_param0 
-00b3 2020075b branch p_zcode_entrance 
+00b3 20200765 branch p_zcode_entrance 
 
 p_g24_reconn_dispatch:
 00b4 7011c653 jam zcode_53 ,mem_zcode_temp_param0 
-00b5 2020075b branch p_zcode_entrance 
+00b5 20200765 branch p_zcode_entrance 
 
 g24_long_sleep_shorter_param_update:
 00b6 58017700 setarg g24_long_sleep_step1 
@@ -317,7 +317,7 @@
 00f8 6810807e hfetch 1 ,core_gpio_pd2 
 00f9 793ffe06 set0 6 ,pdata 
 00fa 6010807e hstore 1 ,core_gpio_pd2 
-00fb 20200532 branch p_mouse_multi_led_gpio_set_float 
+00fb 2020052d branch p_mouse_multi_led_gpio_set_float 
 
 p_g24_send_abort_packet:
 00fc 704c5701 jam 1 ,mem_24g_abort_pac 
@@ -342,7 +342,7 @@
 
 p_g24_search_dongle:
 010d 7011c671 jam zcode_71 ,mem_zcode_temp_param0 
-010e 2020075b branch p_zcode_entrance 
+010e 20200765 branch p_zcode_entrance 
 
 p_g24_search_dongle_check:
 010f 704d7c00 jam 0 ,mem_24g_search_dongle_count 
@@ -352,7 +352,7 @@
 0113 6000cd7b store 1 ,mem_24g_search_dongle_action 
 0114 58000708 setarg g24_disconn_nodata_timer 
 0115 600146b0 store 2 ,mem_mouse_no_data_timer 
-0116 20200456 branch p_mouse_sensor_powerdown 
+0116 20200451 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
 0117 6800cc57 fetch 1 ,mem_24g_abort_pac 
@@ -363,7 +363,7 @@
 011c 793ffe00 set0 g24_disconn_state ,pdata 
 011d 6000cd7b store 1 ,mem_24g_search_dongle_action 
 011e 20403f8d call mouse_no_data_timer_init 
-011f 202003d5 branch p_mouse_init_sensor_reset 
+011f 202003d0 branch p_mouse_init_sensor_reset 
 
 p_g24_transmit_rf_sta_init:
 0120 704d6101 jam 1 ,mem_24g_rf_last_sta 
@@ -391,7 +391,7 @@
 012e 793ffe04 set0 bit_hop ,pdata 
 012f 6000cc2c store 1 ,mem_24g_data_type 
 0130 6000cbe7 store 1 ,mem_24g_txpayload 
-0131 204006f1 call power_ctrl_pac_succ_decrs 
+0131 204006fb call power_ctrl_pac_succ_decrs 
 0132 2020015f branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -408,7 +408,7 @@
 013b 20200194 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-013c 204006f1 call power_ctrl_pac_succ_decrs 
+013c 204006fb call power_ctrl_pac_succ_decrs 
 013d 704d5e00 jam 0 ,mem_24g_hop_fastly_cnt 
 013e 20200122 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -536,7 +536,7 @@
 0199 243781b6 nbranch p_g24_retransmit ,user3 
 019a 204001a8 call p_g24_txbuf_clear 
 019b 204001d1 call p_g24_ackpayload_parse 
-019c 204006ed call power_ctrl_pac_succ_incrs 
+019c 204006f7 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 019d 6800cc2a fetch 1 ,mem_24g_pid 
@@ -592,8 +592,8 @@
 01c3 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01c4 2040071e call power_ctrl_txpower_incrs 
-01c5 204006f1 call power_ctrl_pac_succ_decrs 
+01c4 20400728 call power_ctrl_txpower_incrs 
+01c5 204006fb call power_ctrl_pac_succ_decrs 
 01c6 2020015f branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -653,22 +653,22 @@
 
 p_g24_pairing_sm:
 01ee 7011c690 jam zcode_90 ,mem_zcode_temp_param0 
-01ef 2020075b branch p_zcode_entrance 
+01ef 20200765 branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-01f0 204006ea call power_ctrl_pac_succ_cnt_init 
+01f0 204006f4 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01f1 7011c691 jam zcode_91 ,mem_zcode_temp_param0 
-01f2 2020075b branch p_zcode_entrance 
+01f2 20200765 branch p_zcode_entrance 
 
 p_g24_start_24g_mode:
 01f3 7011c640 jam zcode_40 ,mem_zcode_temp_param0 
-01f4 2020075b branch p_zcode_entrance 
+01f4 20200765 branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 01f5 7011c641 jam zcode_41 ,mem_zcode_temp_param0 
-01f6 2020075b branch p_zcode_entrance 
+01f6 20200765 branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01f7 793f8026 set0 mark_24g ,mark 
@@ -904,7 +904,7 @@
 p_mouse_set_sdio_high:
 02b4 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
 02b5 207a0000 rtn blank 
-02b6 2020053a branch p_mouse_seting_sensor_type 
+02b6 20200535 branch p_mouse_seting_sensor_type 
 
 p_device_init:
 02b7 2040296c call initialize_radio 
@@ -919,13 +919,13 @@
 02bc 204002c8 call p_mouse_tx_power_init 
 02bd 6800c720 fetch 1 ,mem_device_flag 
 02be c001036d beq mode_24g_device ,p_mouse_connect_24g_mode 
-02bf 20400535 call p_mouse_mode_bt_device1_multi_led_on 
+02bf 20400530 call p_mouse_mode_bt_device1_multi_led_on 
 02c0 6800c210 fetch 1 ,mem_xrecord_mode 
 02c1 c01982cd beq rec_3_mode ,p_mouse3_0_check_reconn_target 
 02c2 c01a02d0 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-02c3 204004e2 call p_mouse_fast_conn_adv_switch_timer_reinit 
+02c3 204004dd call p_mouse_fast_conn_adv_switch_timer_reinit 
 02c4 70016d06 jam 6 ,mem_connection_options 
-02c5 20400494 call p_mouse_check_fast_conn_adv_start 
+02c5 2040048f call p_mouse_check_fast_conn_adv_start 
 02c6 20207ddd branch check_51cmd_start_discovery 
 
 p_device_wake_from_lpm:
@@ -946,8 +946,8 @@
 02cf 20204274 branch mouse3_0_check_reconn_target + 3 
 
 p_mouse4_0_check_reconn_target:
-02d0 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
-02d1 2020075b branch p_zcode_entrance 
+02d0 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
+02d1 20200765 branch p_zcode_entrance 
 
 p_le_check_adv_flag:
 02d2 da204370 arg mem_le_adv_data ,rega 
@@ -973,7 +973,7 @@
 02e0 202002db branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-02e1 20400396 call p_mouse_sensor_poweron 
+02e1 20400397 call p_mouse_sensor_poweron 
 02e2 6800c6de fetch 1 ,mem_sensor_id2 
 02e3 c02d02e6 beq p_mx8650 ,p_mouse_mx8650_init_param 
 02e4 c02a02ee beq pka8_id2 ,p_mouse_ka8_init_param 
@@ -997,7 +997,7 @@
 02f0 202002e8 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-02f1 20400396 call p_mouse_sensor_poweron 
+02f1 20400397 call p_mouse_sensor_poweron 
 02f2 6800c6de fetch 1 ,mem_sensor_id2 
 02f3 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
 02f4 7046e001 jam p3065 ,mem_config_sensor_type 
@@ -1005,7 +1005,7 @@
 
 p_mouse_setting_config:
 02f6 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
-02f7 2020075b branch p_zcode_entrance 
+02f7 20200765 branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 02f8 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
@@ -1165,7 +1165,7 @@
 036c 20200316 branch p_mouse_store_flash_device_info 
 
 p_mouse_connect_24g_mode:
-036d 20400535 call p_mouse_mode_24g_device_multi_led_on 
+036d 20400530 call p_mouse_mode_24g_device_multi_led_on 
 
 p_mouse_start_24g_mode:
 036e 6800c241 fetch 1 ,mem_power_on_flag 
@@ -1222,1598 +1222,1616 @@
 0393 58000000 setarg 0 
 0394 6000cb40 store 1 ,mem_mouse_long_mult_flag 
 0395 6002469b store 4 ,mem_mouse_x 
+0396 202003d0 branch p_mouse_init_sensor_reset 
 
 p_mouse_sensor_poweron:
-0396 20400323 call p_mouse_spi_init 
-0397 da604b9c arg mem_sensor_poweron_init ,regc 
-0398 204002e8 call p_sensor_wr_seq 
-0399 2040039e call p_mouse_dpi_config 
-039a 6800c6e0 fetch 1 ,mem_config_sensor_type 
-039b c00102ee beq ka8 ,p_mouse_ka8_init_param 
-039c c00382e6 beq mx8650 ,p_mouse_mx8650_init_param 
-039d 20600000 rtn 
+0397 20400323 call p_mouse_spi_init 
+0398 da604b9c arg mem_sensor_poweron_init ,regc 
+0399 204002e8 call p_sensor_wr_seq 
 
 p_mouse_dpi_config:
-039e 6800c77a fetch 1 ,mem_mouse_dpi 
-039f c07f83a1 beq 0xff ,p_mouse_dpi_config_default 
-03a0 2020053a branch p_mouse_seting_dpi 
+039a 6800c77a fetch 1 ,mem_mouse_dpi 
+039b c0ff8535 bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-03a1 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-03a2 6000c77a store 1 ,mem_mouse_dpi 
-03a3 2020053a branch p_mouse_seting_dpi 
+039c 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+039d 6000c77a store 1 ,mem_mouse_dpi 
+039e 20200535 branch p_mouse_seting_dpi 
 
 p_mouse_le:
-03a4 20405892 call le_fifo_check_nearly_full 
-03a5 247a0000 nrtn blank 
-03a6 6800cb73 fetch 1 ,mem_mouse_fast_conn_flag 
-03a7 c07f83ab beq 0xff ,p_mouse_le_next 
-03a8 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03a9 1fe17e03 and pdata ,0x03 ,pdata 
-03aa c1818000 rtnne 0x03 
+039f 20405892 call le_fifo_check_nearly_full 
+03a0 247a0000 nrtn blank 
+03a1 6800cb73 fetch 1 ,mem_mouse_fast_conn_flag 
+03a2 c07f83a6 beq 0xff ,p_mouse_le_next 
+03a3 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03a4 1fe17e03 and pdata ,0x03 ,pdata 
+03a5 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03ab 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03ac 205a03d3 call p_mouse_clear_sensor_data ,blank 
-03ad 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03ae c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03af 20403f97 call mouse_motion 
-03b0 24740000 nrtn user 
-03b1 2040038e call p_mouse_le_current_mult_update 
-03b2 20400391 call p_mouse_data_xy_release 
-03b3 204003ce call p_mouse_wheel_trigger 
+03a6 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03a7 205a03ce call p_mouse_clear_sensor_data ,blank 
+03a8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03a9 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03aa 20403f97 call mouse_motion 
+03ab 24740000 nrtn user 
+03ac 2040038e call p_mouse_le_current_mult_update 
+03ad 20400391 call p_mouse_data_xy_release 
+03ae 204003c9 call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-03b4 da20469a arg mem_mouse_key ,rega 
-03b5 20407e3d call queue_push 
-03b6 205403bd call p_mouse_queue_increase ,user 
-03b7 20600000 rtn 
+03af da20469a arg mem_mouse_key ,rega 
+03b0 20407e3d call queue_push 
+03b1 205403b8 call p_mouse_queue_increase ,user 
+03b2 20600000 rtn 
 
 p_mouse_data_init:
-03b8 7047a207 jam 7 ,mem_mouse_data_queue 
-03b9 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-03ba 580047a2 setarg mem_mouse_data_queue 
-03bb 60014218 store 2 ,mem_queue_ptr 
-03bc 20207e38 branch queue_init 
+03b3 7047a207 jam 7 ,mem_mouse_data_queue 
+03b4 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+03b5 580047a2 setarg mem_mouse_data_queue 
+03b6 60014218 store 2 ,mem_queue_ptr 
+03b7 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03bd 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03be 1fe0fe01 increase 1 ,pdata 
-03bf 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03c0 20600000 rtn 
+03b8 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03b9 1fe0fe01 increase 1 ,pdata 
+03ba 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03bb 20600000 rtn 
 
 p_mouse_data_pull:
-03c1 da20469a arg mem_mouse_key ,rega 
-03c2 20407e54 call queue_pop 
-03c3 203403c5 branch p_mouse_fill_data_le ,user 
-03c4 20600000 rtn 
+03bc da20469a arg mem_mouse_key ,rega 
+03bd 20407e54 call queue_pop 
+03be 203403c0 branch p_mouse_fill_data_le ,user 
+03bf 20600000 rtn 
 
 p_mouse_fill_data_le:
-03c5 20405652 call le_clear_md 
-03c6 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03c7 1fe67c01 sub pdata ,1 ,null 
-03c8 24415650 ncall le_set_md ,positive 
-03c9 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03ca 207a0000 rtn blank 
-03cb 1fe0ffff increase -1 ,pdata 
-03cc 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03cd 20203f90 branch mouse_fill_data_le 
+03c0 20405652 call le_clear_md 
+03c1 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03c2 1fe67c01 sub pdata ,1 ,null 
+03c3 24415650 ncall le_set_md ,positive 
+03c4 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03c5 207a0000 rtn blank 
+03c6 1fe0ffff increase -1 ,pdata 
+03c7 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03c8 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03ce 6801469f fetch 2 ,mem_mouse_z 
-03cf 207a0000 rtn blank 
-03d0 70480601 jam 1 ,mem_mouse_wheel_trigger 
-03d1 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-03d2 20600000 rtn 
+03c9 6801469f fetch 2 ,mem_mouse_z 
+03ca 207a0000 rtn blank 
+03cb 70480601 jam 1 ,mem_mouse_wheel_trigger 
+03cc 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+03cd 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-03d3 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-03d4 20405814 call le_set_config_more_data 
+03ce 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+03cf 20405814 call le_set_config_more_data 
 
 p_mouse_init_sensor_reset:
-03d5 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-03d6 202002d9 branch p_mouse_init_sunt 
+03d0 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+03d1 202002d9 branch p_mouse_init_sunt 
 
 p_mouse_bt:
-03d7 20770000 rtn attempt 
-03d8 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-03d9 207a0000 rtn blank 
-03da 20405271 call l2cap_malloc_is_fifo_nearly_full 
-03db 247a0000 nrtn blank 
-03dc 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03dd 205a03d3 call p_mouse_clear_sensor_data ,blank 
-03de 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03df c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-03e0 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-03e1 20403f97 call mouse_motion 
-03e2 24740000 nrtn user 
-03e3 2040038e call p_mouse_le_current_mult_update 
-03e4 20400391 call p_mouse_data_xy_release 
-03e5 204003ce call p_mouse_wheel_trigger 
-03e6 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
-03e7 c00083eb beq 1 ,p_mouse_send_data_boot_mode 
-03e8 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
-03e9 207a0000 rtn blank 
-03ea 20203f81 branch mouse_send_data 
+03d2 20770000 rtn attempt 
+03d3 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+03d4 207a0000 rtn blank 
+03d5 20405271 call l2cap_malloc_is_fifo_nearly_full 
+03d6 247a0000 nrtn blank 
+03d7 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03d8 205a03ce call p_mouse_clear_sensor_data ,blank 
+03d9 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03da c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+03db c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+03dc 20403f97 call mouse_motion 
+03dd 24740000 nrtn user 
+03de 2040038e call p_mouse_le_current_mult_update 
+03df 20400391 call p_mouse_data_xy_release 
+03e0 204003c9 call p_mouse_wheel_trigger 
+03e1 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
+03e2 c00083e6 beq 1 ,p_mouse_send_data_boot_mode 
+03e3 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
+03e4 207a0000 rtn blank 
+03e5 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-03eb 6800c69a fetch 1 ,mem_mouse_key 
-03ec 6000cb04 store 1 ,mem_mouse_bt_boot_data 
-03ed 6800c69b fetch 1 ,mem_mouse_x 
-03ee e0a08000 istore 1 ,contw 
-03ef 6800c69d fetch 1 ,mem_mouse_y 
-03f0 e0a08000 istore 1 ,contw 
-03f1 6801469f fetch 2 ,mem_mouse_z 
-03f2 e0a10000 istore 2 ,contw 
-03f3 da200007 arg 7 ,rega 
-03f4 20404d63 call hid_malloc_tx_buff 
-03f5 6801424e fetch 2 ,mem_hid_int_remote_cid 
-03f6 e0a10000 istore 2 ,contw 
-03f7 580002a1 setarg 0x02a1 
-03f8 e0a10000 istore 2 ,contw 
-03f9 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
-03fa e0a28000 istore 5 ,contw 
-03fb 20600000 rtn 
+03e6 6800c69a fetch 1 ,mem_mouse_key 
+03e7 6000cb04 store 1 ,mem_mouse_bt_boot_data 
+03e8 6800c69b fetch 1 ,mem_mouse_x 
+03e9 e0a08000 istore 1 ,contw 
+03ea 6800c69d fetch 1 ,mem_mouse_y 
+03eb e0a08000 istore 1 ,contw 
+03ec 6801469f fetch 2 ,mem_mouse_z 
+03ed e0a10000 istore 2 ,contw 
+03ee da200007 arg 7 ,rega 
+03ef 20404d63 call hid_malloc_tx_buff 
+03f0 6801424e fetch 2 ,mem_hid_int_remote_cid 
+03f1 e0a10000 istore 2 ,contw 
+03f2 580002a1 setarg 0x02a1 
+03f3 e0a10000 istore 2 ,contw 
+03f4 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
+03f5 e0a28000 istore 5 ,contw 
+03f6 20600000 rtn 
 
 p_mouse_idle:
-03fc 20407e34 call ui_check_paring_button 
-03fd 204003ff call p_mouse_dpi_check 
-03fe 20203ee0 branch mouse_wheel_check 
+03f7 20407e34 call ui_check_paring_button 
+03f8 204003fa call p_mouse_dpi_check 
+03f9 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-03ff 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0400 20400578 call p_gpio_set_input_pd 
-0401 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0402 2040681d call gpio_get_bit 
-0403 2020840d branch p_mouse_dpi_up ,true 
-0404 20400573 call p_gpio_set_input_pu 
+03fa 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03fb 20400573 call p_gpio_set_input_pd 
+03fc 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03fd 2040681d call gpio_get_bit 
+03fe 20208408 branch p_mouse_dpi_up ,true 
+03ff 2040056e call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-0405 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-0406 c1000000 rtneq dpi_button_state_down 
-0407 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-0408 6800c77a fetch 1 ,mem_mouse_dpi 
-0409 1fe0fe01 increase 1 ,pdata 
-040a 1fe17e03 and pdata ,0x03 ,pdata 
-040b 6000c77a store 1 ,mem_mouse_dpi 
-040c 20203d7e branch mouse_seting_dpi 
+0400 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+0401 c1000000 rtneq dpi_button_state_down 
+0402 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0403 6800c77a fetch 1 ,mem_mouse_dpi 
+0404 1fe0fe01 increase 1 ,pdata 
+0405 1fe17e03 and pdata ,0x03 ,pdata 
+0406 6000c77a store 1 ,mem_mouse_dpi 
+0407 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-040d 20400573 call p_gpio_set_input_pu 
-040e 20203d62 branch mouse_dpi_up 
+0408 2040056e call p_gpio_set_input_pu 
+0409 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-040f 1a627e00 copy regc ,pdata 
-0410 c00a0420 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0411 c00a842b beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0412 c014842e beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0413 c0190430 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0414 c0200432 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0415 c0020434 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0416 c0098434 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-0417 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-0418 c0108438 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-0419 c000843a beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-041a c0010442 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-041b c0158445 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-041c c01c8447 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-041d c01d044a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-041e c01e044d beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-041f 2020417d branch mouse_priority_bb_event + 1 
+040a 1a627e00 copy regc ,pdata 
+040b c00a041b beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+040c c00a8426 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+040d c0148429 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+040e c019042b beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+040f c020042d beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0410 c002042f beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+0411 c009842f beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+0412 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0413 c0108433 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+0414 c0008435 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+0415 c001043d beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+0416 c0158440 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+0417 c01c8442 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0418 c01d0445 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0419 c01e0448 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+041a 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0420 204003d5 call p_mouse_init_sensor_reset 
-0421 58000000 setarg 0 
-0422 6001cb66 store 3 ,mem_le_switch_adv_flag 
-0423 20403410 call app_ble_store_reconn_info 
-0424 704b6d01 jam 1 ,mem_mouse_le_bb_connected_flag 
-0425 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-0426 243a0428 nbranch p_mouse_le_bb_event_connected_next ,blank 
-0427 704b6b14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+041b 204003d0 call p_mouse_init_sensor_reset 
+041c 58000000 setarg 0 
+041d 6001cb66 store 3 ,mem_le_switch_adv_flag 
+041e 20403410 call app_ble_store_reconn_info 
+041f 704b6d01 jam 1 ,mem_mouse_le_bb_connected_flag 
+0420 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+0421 243a0423 nbranch p_mouse_le_bb_event_connected_next ,blank 
+0422 704b6b14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-0428 204004ec call p_mouse_null_enter_hibernate_disable 
-0429 204003b8 call p_mouse_data_init 
-042a 202041c3 branch mouse_le_bb_event_connected 
+0423 204004e7 call p_mouse_null_enter_hibernate_disable 
+0424 204003b3 call p_mouse_data_init 
+0425 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-042b 20400453 call p_mouse_sensor_powerdown_check 
-042c 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
-042d 2020075b branch p_zcode_entrance 
+0426 2040044e call p_mouse_sensor_powerdown_check 
+0427 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
+0428 20200765 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-042e 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-042f 20207d8f branch ui_ipc_send_cmd 
+0429 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+042a 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0430 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0431 2020075b branch p_zcode_entrance 
+042b 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
+042c 20200765 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0432 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0433 2020075b branch p_zcode_entrance 
+042d 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
+042e 20200765 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
-0434 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0435 2020075b branch p_zcode_entrance 
+042f 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
+0430 20200765 branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
-0436 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
-0437 2020075b branch p_zcode_entrance 
+0431 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
+0432 20200765 branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
-0438 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
-0439 2020075b branch p_zcode_entrance 
+0433 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
+0434 20200765 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
-043a 20400492 call p_mouse_store_eeprom_enable 
-043b 204003d5 call p_mouse_init_sensor_reset 
-043c 58000000 setarg 0 
-043d 6001cb66 store 3 ,mem_le_switch_adv_flag 
-043e 204004ec call p_mouse_null_enter_hibernate_disable 
-043f 20400526 call p_mouse_discovey_led_blink_off 
-0440 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
-0441 202042ca branch mouse_stop_discovery 
+0435 2040048d call p_mouse_store_eeprom_enable 
+0436 204003d0 call p_mouse_init_sensor_reset 
+0437 58000000 setarg 0 
+0438 6001cb66 store 3 ,mem_le_switch_adv_flag 
+0439 204004e7 call p_mouse_null_enter_hibernate_disable 
+043a 20400521 call p_mouse_discovey_led_blink_off 
+043b 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
+043c 202042ca branch mouse_stop_discovery 
 
 p_mouse_bb_event_disconnected:
-0442 20400453 call p_mouse_sensor_powerdown_check 
-0443 7011c6b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0444 2020075b branch p_zcode_entrance 
+043d 2040044e call p_mouse_sensor_powerdown_check 
+043e 7011c6b4 jam zcode_b4 ,mem_zcode_temp_param0 
+043f 20200765 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
-0445 7011c6b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0446 2020075b branch p_zcode_entrance 
+0440 7011c6b2 jam zcode_b2 ,mem_zcode_temp_param0 
+0441 20200765 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
-0447 204003d5 call p_mouse_init_sensor_reset 
-0448 7011c650 jam zcode_50 ,mem_zcode_temp_param0 
-0449 2020075b branch p_zcode_entrance 
+0442 204003d0 call p_mouse_init_sensor_reset 
+0443 7011c650 jam zcode_50 ,mem_zcode_temp_param0 
+0444 20200765 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
-044a 20400453 call p_mouse_sensor_powerdown_check 
-044b 7011c651 jam zcode_51 ,mem_zcode_temp_param0 
-044c 2020075b branch p_zcode_entrance 
+0445 2040044e call p_mouse_sensor_powerdown_check 
+0446 7011c651 jam zcode_51 ,mem_zcode_temp_param0 
+0447 20200765 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
-044d 204003d5 call p_mouse_init_sensor_reset 
-044e 7011c652 jam zcode_52 ,mem_zcode_temp_param0 
-044f 2020075b branch p_zcode_entrance 
+0448 204003d0 call p_mouse_init_sensor_reset 
+0449 7011c652 jam zcode_52 ,mem_zcode_temp_param0 
+044a 20200765 branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
-0450 20400453 call p_mouse_sensor_powerdown_check 
-0451 7011c6a0 jam zcode_a0 ,mem_zcode_temp_param0 
-0452 2020075b branch p_zcode_entrance 
+044b 2040044e call p_mouse_sensor_powerdown_check 
+044c 7011c6a0 jam zcode_a0 ,mem_zcode_temp_param0 
+044d 20200765 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-0453 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0454 207a0000 rtn blank 
-0455 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+044e 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
+044f 207a0000 rtn blank 
+0450 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-0456 204002d9 call p_mouse_init_sunt 
-0457 58000006 setarg 0x06 
-0458 20406414 call twspi_read 
-0459 1fe1fe08 or pdata ,0x08 ,pdata 
-045a 1fed7e00 lshift8 pdata ,pdata 
-045b 1fe0fe06 add pdata ,0x06 ,pdata 
-045c 20206413 branch twspi_write 
+0451 204002d9 call p_mouse_init_sunt 
+0452 58000006 setarg 0x06 
+0453 20406414 call twspi_read 
+0454 1fe1fe08 or pdata ,0x08 ,pdata 
+0455 1fed7e00 lshift8 pdata ,pdata 
+0456 1fe0fe06 add pdata ,0x06 ,pdata 
+0457 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-045d 20400477 call p_mouse_le_switch_adv_timer 
-045e 204004ef call p_mouse_multi_led_blink_timer 
-045f 204004be call p_mouse_wheel_trigger_timer 
-0460 204004e5 call p_mouse_null_enter_hibernate_timer 
-0461 204004c3 call p_mouse_bt_discovery_check 
-0462 20404234 call mouse_check_discovery_timeout_timer 
-0463 2040046e call p_mouse_check_select_device_by_switch_timer 
-0464 20400499 call p_mouse_g24_long_sleep_param_update_timer 
-0465 204004a0 call p_mouse_g24_stop_mode_timeout_timer 
-0466 20404237 call mouse_check_direct_timeout_timer 
-0467 204004ad call p_mouse_le_enable_att_list_timer 
-0468 204004b0 call p_le_send_smp_security_request_timer 
-0469 204004b8 call p_mouse_le_current_mult_update_timer 
-046a 204004a5 call p_mouse_send_switch_req_timer 
-046b 20404231 call mouse_check_hid_handshake_timer 
-046c 204004a8 call p_mouse_bt_check_sniff_req_timeout_timer 
-046d 2020423a branch mouse_check_no_data_timeout_timer 
+0458 20400472 call p_mouse_le_switch_adv_timer 
+0459 204004ea call p_mouse_multi_led_blink_timer 
+045a 204004b9 call p_mouse_wheel_trigger_timer 
+045b 204004e0 call p_mouse_null_enter_hibernate_timer 
+045c 204004be call p_mouse_bt_discovery_check 
+045d 20404234 call mouse_check_discovery_timeout_timer 
+045e 20400469 call p_mouse_check_select_device_by_switch_timer 
+045f 20400494 call p_mouse_g24_long_sleep_param_update_timer 
+0460 2040049b call p_mouse_g24_stop_mode_timeout_timer 
+0461 20404237 call mouse_check_direct_timeout_timer 
+0462 204004a8 call p_mouse_le_enable_att_list_timer 
+0463 204004ab call p_le_send_smp_security_request_timer 
+0464 204004b3 call p_mouse_le_current_mult_update_timer 
+0465 204004a0 call p_mouse_send_switch_req_timer 
+0466 20404231 call mouse_check_hid_handshake_timer 
+0467 204004a3 call p_mouse_bt_check_sniff_req_timeout_timer 
+0468 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_check_select_device_by_switch_timer:
-046e 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-046f 2040681d call gpio_get_bit 
-0470 20208474 branch p_mouse_cheak_select_24gdevice ,true 
+0469 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+046a 2040681d call gpio_get_bit 
+046b 2020846f branch p_mouse_cheak_select_24gdevice ,true 
 
 p_mouse_select_btdevice:
-0471 6800c720 fetch 1 ,mem_device_flag 
-0472 c080e59a bne mode_bt_device1 ,soft_reset_chip 
-0473 20600000 rtn 
+046c 6800c720 fetch 1 ,mem_device_flag 
+046d c080e59a bne mode_bt_device1 ,soft_reset_chip 
+046e 20600000 rtn 
 
 p_mouse_cheak_select_24gdevice:
-0474 6800c720 fetch 1 ,mem_device_flag 
-0475 c081659a bne mode_24g_device ,soft_reset_chip 
-0476 20600000 rtn 
+046f 6800c720 fetch 1 ,mem_device_flag 
+0470 c081659a bne mode_24g_device ,soft_reset_chip 
+0471 20600000 rtn 
 
 p_mouse_le_switch_adv_timer:
-0477 6800cb66 fetch 1 ,mem_le_switch_adv_flag 
-0478 207a0000 rtn blank 
-0479 da604b67 arg mem_le_switch_adv_timer ,regc 
-047a da40047c arg p_mouse_le_switch_adv ,regb 
-047b 2020336d branch timer_single_step 
+0472 6800cb66 fetch 1 ,mem_le_switch_adv_flag 
+0473 207a0000 rtn blank 
+0474 da604b67 arg mem_le_switch_adv_timer ,regc 
+0475 da400477 arg p_mouse_le_switch_adv ,regb 
+0476 2020336d branch timer_single_step 
 
 p_mouse_le_switch_adv:
-047c 704b6701 jam 1 ,mem_le_switch_adv_timer 
-047d 6800cb68 fetch 1 ,mem_le_switch_adv_count 
-047e 1fe0fe01 increase 1 ,pdata 
-047f 1fe17e01 and_into 1 ,pdata 
-0480 6000cb68 store 1 ,mem_le_switch_adv_count 
-0481 c0000494 beq 0 ,p_mouse_check_fast_conn_adv_start1 
+0477 704b6701 jam 1 ,mem_le_switch_adv_timer 
+0478 6800cb68 fetch 1 ,mem_le_switch_adv_count 
+0479 1fe0fe01 increase 1 ,pdata 
+047a 1fe17e01 and_into 1 ,pdata 
+047b 6000cb68 store 1 ,mem_le_switch_adv_count 
+047c c000048f beq 0 ,p_mouse_check_fast_conn_adv_start1 
 
 p_mouse_le_normal_adv:
-0482 68034b60 fetch 6 ,mem_le_normal_lap 
-0483 600344a0 store 6 ,mem_le_lap 
+047d 68034b60 fetch 6 ,mem_le_normal_lap 
+047e 600344a0 store 6 ,mem_le_lap 
 
 p_check_51cmd_adv:
-0484 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0485 204043ce call mouse_enable_function_flag 
-0486 204002d2 call p_le_check_adv_flag 
-0487 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-0488 e0c08000 istore 1 ,contr 
-0489 d8c04b10 arg mem_le_adv_swift_pair ,contr 
-048a 2040048c call p_le_adv_data_update 
-048b 20207df4 branch check_51cmd_adv 
+047f d8e00007 arg mouse_store_eeprom_flag ,queue 
+0480 204043ce call mouse_enable_function_flag 
+0481 204002d2 call p_le_check_adv_flag 
+0482 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0483 e0c08000 istore 1 ,contr 
+0484 d8c04b10 arg mem_le_adv_swift_pair ,contr 
+0485 20400487 call p_le_adv_data_update 
+0486 20207df4 branch check_51cmd_adv 
 
 p_le_adv_data_update:
-048c d8a0437b arg mem_le_adv_data + 11 ,contw 
-048d df200013 arg 19 ,loopcnt 
-048e 20407f01 call memcpy 
+0487 d8a0437b arg mem_le_adv_data + 11 ,contw 
+0488 df200013 arg 19 ,loopcnt 
+0489 20407f01 call memcpy 
 
 p_le_adv_data_update3:
-048f 204057b8 call le_modified_name_adv 
-0490 70438f00 jam 0 ,mem_le_scan_data_len 
-0491 20600000 rtn 
+048a 204057b8 call le_modified_name_adv 
+048b 70438f00 jam 0 ,mem_le_scan_data_len 
+048c 20600000 rtn 
 
 p_mouse_store_eeprom_enable:
-0492 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0493 202043ce branch mouse_enable_function_flag 
+048d d8e00007 arg mouse_store_eeprom_flag ,queue 
+048e 202043ce branch mouse_enable_function_flag 
 
 p_mouse_check_fast_conn_adv_start:
 
 p_mouse_check_fast_conn_adv_start1:
-0494 70436f00 jam 0 ,mem_le_adv_data_len 
-0495 70438f00 jam 0 ,mem_le_scan_data_len 
-0496 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0497 204043d2 call mouse_disable_function_flag 
-0498 2020035b branch p_mouse_fast_conn_init 
+048f 70436f00 jam 0 ,mem_le_adv_data_len 
+0490 70438f00 jam 0 ,mem_le_scan_data_len 
+0491 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0492 204043d2 call mouse_disable_function_flag 
+0493 2020035b branch p_mouse_fast_conn_init 
 
 p_mouse_g24_long_sleep_param_update_timer:
-0499 da604b42 arg mem_24g_long_sleep_param_update_timer ,regc 
-049a da40049c arg p_mouse_g24_long_sleep_normal_param ,regb 
-049b 2020336d branch timer_single_step 
+0494 da604b42 arg mem_24g_long_sleep_param_update_timer ,regc 
+0495 da400497 arg p_mouse_g24_long_sleep_normal_param ,regb 
+0496 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-049c 58124f80 setarg g24_long_sleep_step3 
-049d 6001cc5a store 3 ,mem_24g_enter_hibernate 
+0497 58124f80 setarg g24_long_sleep_step3 
+0498 6001cc5a store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-049e 704b4001 jam 1 ,mem_mouse_long_mult_flag 
-049f 20600000 rtn 
+0499 704b4001 jam 1 ,mem_mouse_long_mult_flag 
+049a 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-04a0 da604d77 arg mem_24g_stop_g24_mode_timeout ,regc 
-04a1 da4004a3 arg p_mouse_g24_stop_mode_timeout ,regb 
-04a2 20203374 branch timer_single_step_2b 
+049b da604d77 arg mem_24g_stop_g24_mode_timeout ,regc 
+049c da40049e arg p_mouse_g24_stop_mode_timeout ,regb 
+049d 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-04a3 704d7601 jam 1 ,mem_24g_stop_g24_mode 
-04a4 20600000 rtn 
+049e 704d7601 jam 1 ,mem_24g_stop_g24_mode 
+049f 20600000 rtn 
 
 p_mouse_send_switch_req_timer:
-04a5 da604809 arg mem_mouse_send_switch_req_timer ,regc 
-04a6 da40637a arg host_create_conn_resend ,regb 
-04a7 2020336d branch timer_single_step 
+04a0 da604809 arg mem_mouse_send_switch_req_timer ,regc 
+04a1 da40637a arg host_create_conn_resend ,regb 
+04a2 2020336d branch timer_single_step 
 
 p_mouse_bt_check_sniff_req_timeout_timer:
-04a8 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
-04a9 da4004ab arg p_mouse_bt_send_first_package ,regb 
-04aa 2020336d branch timer_single_step 
+04a3 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
+04a4 da4004a6 arg p_mouse_bt_send_first_package ,regb 
+04a5 2020336d branch timer_single_step 
 
 p_mouse_bt_send_first_package:
-04ab 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
-04ac 20600000 rtn 
+04a6 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
+04a7 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-04ad da6046c6 arg mem_le_start_encrypt_timer ,regc 
-04ae da403d60 arg mouse_le_write_enable ,regb 
-04af 2020336d branch timer_single_step 
+04a8 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+04a9 da403d60 arg mouse_le_write_enable ,regb 
+04aa 2020336d branch timer_single_step 
 
 p_le_send_smp_security_request_timer:
-04b0 6800cb6d fetch 1 ,mem_mouse_le_bb_connected_flag 
-04b1 207a0000 rtn blank 
-04b2 da604b6b arg mem_mouse_send_secutiry_request_timer ,regc 
-04b3 da4004b5 arg p_le_pairing_sm_start_check ,regb 
-04b4 2020336d branch timer_single_step 
+04ab 6800cb6d fetch 1 ,mem_mouse_le_bb_connected_flag 
+04ac 207a0000 rtn blank 
+04ad da604b6b arg mem_mouse_send_secutiry_request_timer ,regc 
+04ae da4004b0 arg p_le_pairing_sm_start_check ,regb 
+04af 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-04b5 6800cb6c fetch 1 ,mem_le_send_security_request_flag 
-04b6 247a0000 nrtn blank 
-04b7 20205bf5 branch le_pairing_sm_start 
+04b0 6800cb6c fetch 1 ,mem_le_send_security_request_flag 
+04b1 247a0000 nrtn blank 
+04b2 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_le_current_mult_update_timer:
-04b8 da604b41 arg mem_mouse_le_current_mult_timer ,regc 
-04b9 da4004bb arg p_mouse_le_current_mult_reinit ,regb 
-04ba 2020336d branch timer_single_step 
+04b3 da604b41 arg mem_mouse_le_current_mult_timer ,regc 
+04b4 da4004b6 arg p_mouse_le_current_mult_reinit ,regb 
+04b5 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-04bb 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-04bc 6000c172 store 1 ,mem_lpm_mult 
-04bd 2020049e branch p_mouse_long_mult_flag_enable 
+04b6 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+04b7 6000c172 store 1 ,mem_lpm_mult 
+04b8 20200499 branch p_mouse_long_mult_flag_enable 
 
 p_mouse_wheel_trigger_timer:
-04be da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-04bf da4004c1 arg p_mouse_wheel_trigger_disable ,regb 
-04c0 2020336d branch timer_single_step 
+04b9 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+04ba da4004bc arg p_mouse_wheel_trigger_disable ,regb 
+04bb 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-04c1 70480600 jam 0 ,mem_mouse_wheel_trigger 
-04c2 20600000 rtn 
+04bc 70480600 jam 0 ,mem_mouse_wheel_trigger 
+04bd 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-04c3 6800c720 fetch 1 ,mem_device_flag 
-04c4 c1010000 rtneq mode_24g_device 
+04be 6800c720 fetch 1 ,mem_device_flag 
+04bf c1010000 rtneq mode_24g_device 
 
 p_mouse_bt_discovery_commbination_key:
-04c5 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-04c6 203a04d1 branch p_mouse_bt_discovery_commbination_key_down ,blank 
-04c7 20400560 call p_mouse_check_key_gpio 
-04c8 c00384d1 beq mouse_lmr_button ,p_mouse_bt_discovery_commbination_key_down 
+04c0 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+04c1 203a04cc branch p_mouse_bt_discovery_commbination_key_down ,blank 
+04c2 2040055b call p_mouse_check_key_gpio 
+04c3 c00384cc beq mouse_lmr_button ,p_mouse_bt_discovery_commbination_key_down 
 
 p_mouse_bt_discovery_commbination_key_up:
-04c9 6800c685 fetch 1 ,mem_ui_button_timeout 
-04ca 6000c6da store 1 ,mem_combination_ui_button_count 
-04cb 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-04cc c1008000 rtneq dpi_button_state_up 
-04cd 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+04c4 6800c685 fetch 1 ,mem_ui_button_timeout 
+04c5 6000c6da store 1 ,mem_combination_ui_button_count 
+04c6 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+04c7 c1008000 rtneq dpi_button_state_up 
+04c8 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
 
 p_mouse_bt_discovery_button_up_init:
-04ce d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-04cf 204043d2 call mouse_disable_function_flag 
-04d0 202043ca branch mouse_bt_discovery_button_down_disable 
+04c9 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+04ca 204043d2 call mouse_disable_function_flag 
+04cb 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-04d1 7047a028 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-04d2 204004d4 call p_mouse_bt_discovery_timer 
-04d3 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+04cc 7047a028 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+04cd 204004cf call p_mouse_bt_discovery_timer 
+04ce 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-04d4 da6046da arg mem_combination_ui_button_count ,regc 
-04d5 da4004d7 arg p_mouse_long_button_bt_discovery ,regb 
-04d6 2020336d branch timer_single_step 
+04cf da6046da arg mem_combination_ui_button_count ,regc 
+04d0 da4004d2 arg p_mouse_long_button_bt_discovery ,regb 
+04d1 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-04d7 6800cb66 fetch 1 ,mem_le_switch_adv_flag 
-04d8 243a04e2 nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
-04d9 68014682 fetch 2 ,mem_ui_state_map 
-04da 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04db 2040c2d4 call mouse_stop_le_adv ,true 
-04dc 68014682 fetch 2 ,mem_ui_state_map 
-04dd 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04de 2040c392 call mouse_cancel_reconnect ,true 
-04df d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-04e0 204043ce call mouse_enable_function_flag 
-04e1 202043b8 branch mouse_long_button_bt_discovry 
+04d2 6800cb66 fetch 1 ,mem_le_switch_adv_flag 
+04d3 243a04dd nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
+04d4 68014682 fetch 2 ,mem_ui_state_map 
+04d5 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+04d6 2040c2d4 call mouse_stop_le_adv ,true 
+04d7 68014682 fetch 2 ,mem_ui_state_map 
+04d8 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+04d9 2040c392 call mouse_cancel_reconnect ,true 
+04da d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+04db 204043ce call mouse_enable_function_flag 
+04dc 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_fast_conn_adv_switch_timer_reinit:
-04e2 68014687 fetch 2 ,mem_discovery_timeout 
-04e3 600146ac store 2 ,mem_mouse_discovery_timer 
-04e4 20600000 rtn 
+04dd 68014687 fetch 2 ,mem_discovery_timeout 
+04de 600146ac store 2 ,mem_mouse_discovery_timer 
+04df 20600000 rtn 
 
 p_mouse_null_enter_hibernate_timer:
-04e5 6800c79f fetch 1 ,mem_mouse_null_enter_hibernate_flag 
-04e6 207a0000 rtn blank 
-04e7 da6047a0 arg mem_mouse_null_enter_hibernate_timer ,regc 
-04e8 da4004ea arg p_mouse_null_enter_hibernate ,regb 
-04e9 2020336d branch timer_single_step 
+04e0 6800c79f fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+04e1 207a0000 rtn blank 
+04e2 da6047a0 arg mem_mouse_null_enter_hibernate_timer ,regc 
+04e3 da4004e5 arg p_mouse_null_enter_hibernate ,regb 
+04e4 2020336d branch timer_single_step 
 
 p_mouse_null_enter_hibernate:
-04ea 70479f00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04eb 2020340a branch app_enter_hibernate 
+04e5 70479f00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04e6 2020340a branch app_enter_hibernate 
 
 p_mouse_null_enter_hibernate_disable:
-04ec 70479f00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04ed 7047a000 jam 0 ,mem_mouse_null_enter_hibernate_timer 
-04ee 20600000 rtn 
+04e7 70479f00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04e8 7047a000 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+04e9 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-04ef 6800cb23 fetch 1 ,mem_mouse_multi_led_blink_enable 
-04f0 207a0000 rtn blank 
-04f1 6800cb26 fetch 1 ,mem_mouse_multi_led_type 
-04f2 c000850d beq multi_led_blink ,p_mouse_multi_led_type_blink 
+04ea 6800cb23 fetch 1 ,mem_mouse_multi_led_blink_enable 
+04eb 207a0000 rtn blank 
+04ec 6800cb26 fetch 1 ,mem_mouse_multi_led_type 
+04ed c0008508 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-04f3 2040051a call p_mouse_multi_led_on 
-04f4 6800cb27 fetch 1 ,mem_mouse_multi_led_on_timer 
-04f5 1fe0fe01 increase 1 ,pdata 
-04f6 6000cb27 store 1 ,mem_mouse_multi_led_on_timer 
-04f7 6808cb28 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-04f8 98467c00 isub temp ,null 
-04f9 204284fb call p_mouse_multi_led_off_poweron2s ,zero 
-04fa 20600000 rtn 
+04ee 20400515 call p_mouse_multi_led_on 
+04ef 6800cb27 fetch 1 ,mem_mouse_multi_led_on_timer 
+04f0 1fe0fe01 increase 1 ,pdata 
+04f1 6000cb27 store 1 ,mem_mouse_multi_led_on_timer 
+04f2 6808cb28 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+04f3 98467c00 isub temp ,null 
+04f4 204284f6 call p_mouse_multi_led_off_poweron2s ,zero 
+04f5 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-04fb 704b2d00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-04fc 2040052c call p_mouse_multi_led_off 
-04fd 6800c720 fetch 1 ,mem_device_flag 
-04fe c1808000 rtnne mode_bt_device1 
-04ff 68014682 fetch 2 ,mem_ui_state_map 
-0500 c3848000 rtnbit1 ui_state_ble_connected 
-0501 c3800000 rtnbit1 ui_state_bt_connected 
-0502 6800cb73 fetch 1 ,mem_mouse_fast_conn_flag 
-0503 c0ff850b bne 0xff ,p_mouse_bt_reconn_multi_led_blink 
+04f6 704b2d00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+04f7 20400527 call p_mouse_multi_led_off 
+04f8 6800c720 fetch 1 ,mem_device_flag 
+04f9 c1808000 rtnne mode_bt_device1 
+04fa 68014682 fetch 2 ,mem_ui_state_map 
+04fb c3848000 rtnbit1 ui_state_ble_connected 
+04fc c3800000 rtnbit1 ui_state_bt_connected 
+04fd 6800cb73 fetch 1 ,mem_mouse_fast_conn_flag 
+04fe c0ff8506 bne 0xff ,p_mouse_bt_reconn_multi_led_blink 
 
 p_mouse_discovery_multi_led_blink:
-0504 704b2905 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+04ff 704b2905 jam 5 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_discovery_multi_led_blink1:
-0505 704b2c00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0506 704b2b01 jam 1 ,mem_mouse_multi_led_blink_count 
+0500 704b2c00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0501 704b2b01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0507 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0508 704b2301 jam on ,mem_mouse_multi_led_blink_enable 
-0509 704b2601 jam multi_led_blink ,mem_mouse_multi_led_type 
-050a 20600000 rtn 
+0502 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer 
+0503 704b2301 jam on ,mem_mouse_multi_led_blink_enable 
+0504 704b2601 jam multi_led_blink ,mem_mouse_multi_led_type 
+0505 20600000 rtn 
 
 p_mouse_bt_reconn_multi_led_blink:
-050b 704b2901 jam 1 ,mem_mouse_multi_led_blink_timer_init 
-050c 20200505 branch p_mouse_discovery_multi_led_blink1 
+0506 704b2901 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+0507 20200500 branch p_mouse_discovery_multi_led_blink1 
 
 p_mouse_multi_led_type_blink:
-050d da604b2a arg mem_mouse_multi_led_blink_timer ,regc 
-050e da400510 arg p_mouse_multi_led_type_blink_timeout ,regb 
-050f 2020336d branch timer_single_step 
+0508 da604b2a arg mem_mouse_multi_led_blink_timer ,regc 
+0509 da40050b arg p_mouse_multi_led_type_blink_timeout ,regb 
+050a 2020336d branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0510 6800cb29 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0511 6000cb2a store 1 ,mem_mouse_multi_led_blink_timer 
-0512 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0513 203a0518 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-0514 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_count 
-0515 203a052a branch p_mouse_multi_led_blink_off ,blank 
-0516 1fe0ffff increase -1 ,pdata 
-0517 6000cb2b store 1 ,mem_mouse_multi_led_blink_count 
+050b 6800cb29 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+050c 6000cb2a store 1 ,mem_mouse_multi_led_blink_timer 
+050d 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+050e 203a0513 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+050f 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_count 
+0510 203a0525 branch p_mouse_multi_led_blink_off ,blank 
+0511 1fe0ffff increase -1 ,pdata 
+0512 6000cb2b store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-0518 6800cb25 fetch 1 ,mem_mouse_multi_led_state 
-0519 c000852c beq on ,p_mouse_multi_led_off 
+0513 6800cb25 fetch 1 ,mem_mouse_multi_led_state 
+0514 c0008527 beq on ,p_mouse_multi_led_off 
 
 p_mouse_multi_led_on:
-051a 704b2501 jam on ,mem_mouse_multi_led_state 
-051b 6800c720 fetch 1 ,mem_device_flag 
-051c c0008522 beq mode_bt_device1 ,p_mouse_multi_down_led_on 
+0515 704b2501 jam on ,mem_mouse_multi_led_state 
+0516 6800c720 fetch 1 ,mem_device_flag 
+0517 c000851d beq mode_bt_device1 ,p_mouse_multi_down_led_on 
 
 p_mouse_multi_up_led_on:
-051d 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
-051e 79200407 set1 gpio_active_bit ,temp 
-051f 2040680e call gpio_config_output 
-0520 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
-0521 20206829 branch gpio_out_active 
+0518 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
+0519 79200407 set1 gpio_active_bit ,temp 
+051a 2040680e call gpio_config_output 
+051b 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
+051c 20206829 branch gpio_out_active 
 
 p_mouse_multi_down_led_on:
-0522 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
-0523 2040680e call gpio_config_output 
-0524 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
-0525 20206825 branch gpio_out_inactive 
+051d 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
+051e 2040680e call gpio_config_output 
+051f 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
+0520 20206825 branch gpio_out_inactive 
 
 p_mouse_discovey_led_blink_off:
-0526 6800cb27 fetch 1 ,mem_mouse_multi_led_on_timer 
-0527 247a0000 nrtn blank 
-0528 6800cb2d fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0529 247a0000 nrtn blank 
+0521 6800cb27 fetch 1 ,mem_mouse_multi_led_on_timer 
+0522 247a0000 nrtn blank 
+0523 6800cb2d fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0524 247a0000 nrtn blank 
 
 p_mouse_multi_led_blink_off:
-052a 58000000 setarg 0 
-052b 6001cb2a store 3 ,mem_mouse_multi_led_blink_timer 
+0525 58000000 setarg 0 
+0526 6001cb2a store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-052c 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_count 
-052d 243a0530 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-052e 704b2300 jam 0 ,mem_mouse_multi_led_blink_enable 
-052f 704b2600 jam 0 ,mem_mouse_multi_led_type 
+0527 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_count 
+0528 243a052b nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0529 704b2300 jam 0 ,mem_mouse_multi_led_blink_enable 
+052a 704b2600 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-0530 704b2700 jam 0 ,mem_mouse_multi_led_on_timer 
-0531 704b2500 jam off ,mem_mouse_multi_led_state 
+052b 704b2700 jam 0 ,mem_mouse_multi_led_on_timer 
+052c 704b2500 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_multi_led_gpio_set_float:
-0532 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
+052d 6808cb24 fetcht 1 ,mem_mouse_multi_led_gpio 
 
 p_mouse_set_gpio_suspend:
-0533 793f8407 set0 gpio_active_bit ,temp 
-0534 20206806 branch gpio_set_high_impedance 
+052e 793f8407 set0 gpio_active_bit ,temp 
+052f 20206806 branch gpio_set_high_impedance 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-0535 704b2d01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0536 704b2301 jam on ,mem_mouse_multi_led_blink_enable 
-0537 704b2600 jam multi_led_on ,mem_mouse_multi_led_type 
-0538 704b2700 jam 0 ,mem_mouse_multi_led_on_timer 
-0539 20600000 rtn 
+0530 704b2d01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0531 704b2301 jam on ,mem_mouse_multi_led_blink_enable 
+0532 704b2600 jam multi_led_on ,mem_mouse_multi_led_type 
+0533 704b2700 jam 0 ,mem_mouse_multi_led_on_timer 
+0534 20600000 rtn 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
-053a 6800c6e0 fetch 1 ,mem_config_sensor_type 
-053b c001054c beq ka8 ,p_mouse_seting_ka8_dpi 
-053c 2020053f branch p_mouse_seting_3065xy_dpi 
+0535 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0536 c0010547 beq ka8 ,p_mouse_seting_ka8_dpi 
+0537 2020053a branch p_mouse_seting_3065xy_dpi 
 
 p_mouse_3205_dpi_recount:
-053d 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-053e 20600000 rtn 
+0538 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0539 20600000 rtn 
 
 p_mouse_seting_3065xy_dpi:
-053f 6800c77a fetch 1 ,mem_mouse_dpi 
-0540 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0541 2042853d call p_mouse_3205_dpi_recount ,zero 
-0542 6800c77a fetch 1 ,mem_mouse_dpi 
-0543 c0000548 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-0544 c001854a beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+053a 6800c77a fetch 1 ,mem_mouse_dpi 
+053b 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+053c 20428538 call p_mouse_3205_dpi_recount ,zero 
+053d 6800c77a fetch 1 ,mem_mouse_dpi 
+053e c0000543 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+053f c0018545 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
 p_mouse_3065xy_set_cpi3:
-0545 6800cb36 fetch 1 ,mem_3065xy_dpi_3 
+0540 6800cb36 fetch 1 ,mem_3065xy_dpi_3 
 
 p_mouse_dpi_store:
-0546 6000c6b5 store 1 ,mem_mouse_cpi_count 
-0547 20203dc1 branch mouse_p3205_dpi + 3 
+0541 6000c6b5 store 1 ,mem_mouse_cpi_count 
+0542 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_3065xy_set_cpi1:
-0548 6800cb34 fetch 1 ,mem_3065xy_dpi_1 
-0549 20200546 branch p_mouse_dpi_store 
+0543 6800cb34 fetch 1 ,mem_3065xy_dpi_1 
+0544 20200541 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-054a 6800cb37 fetch 1 ,mem_3065xy_dpi_4 
-054b 20200546 branch p_mouse_dpi_store 
+0545 6800cb37 fetch 1 ,mem_3065xy_dpi_4 
+0546 20200541 branch p_mouse_dpi_store 
 
 p_mouse_seting_ka8_dpi:
-054c 6800c77a fetch 1 ,mem_mouse_dpi 
-054d 205a053d call p_mouse_3205_dpi_recount ,blank 
-054e 6800c77a fetch 1 ,mem_mouse_dpi 
-054f c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
-0550 c0018552 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
-0551 20203d8e branch mouse_set_cpi4 
+0547 6800c77a fetch 1 ,mem_mouse_dpi 
+0548 205a0538 call p_mouse_3205_dpi_recount ,blank 
+0549 6800c77a fetch 1 ,mem_mouse_dpi 
+054a c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
+054b c001854d beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
+054c 20203d8e branch mouse_set_cpi4 
 
 p_mouse_ka8_set_cpi3:
-0552 58000005 setarg 5 
-0553 20203dbe branch mouse_p3205_dpi 
+054d 58000005 setarg 5 
+054e 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_motion:
-0554 78547c00 disable user 
-0555 58000000 setarg 0 
-0556 6003469b store 6 ,mem_mouse_x 
-0557 2040057e call p_mouse_cheak_sensor_data 
-0558 20404079 call mouse_zwheel 
-0559 2040407e call mouse_t_zwheel 
-055a 2040055e call p_mouse_key 
-055b 24340788 nbranch p_drawing_optima_init ,user 
-055c 2040077c call p_drawing_optima 
-055d 20203fa0 branch mouse_motion + 9 
+054f 78547c00 disable user 
+0550 58000000 setarg 0 
+0551 6003469b store 6 ,mem_mouse_x 
+0552 20400579 call p_mouse_cheak_sensor_data 
+0553 20404079 call mouse_zwheel 
+0554 2040407e call mouse_t_zwheel 
+0555 20400559 call p_mouse_key 
+0556 24340792 nbranch p_drawing_optima_init ,user 
+0557 20400786 call p_drawing_optima 
+0558 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-055e 20400560 call p_mouse_check_key_gpio 
-055f 2020409a branch mouse_key + 1 
+0559 2040055b call p_mouse_check_key_gpio 
+055a 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0560 da200000 arg 0 ,rega 
-0561 20400563 call p_mouse_check_lkey_gpio 
-0562 2020408e branch mouse_check_key_gpio_output 
+055b da200000 arg 0 ,rega 
+055c 2040055e call p_mouse_check_lkey_gpio 
+055d 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0563 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0564 20400573 call p_gpio_set_input_pu 
-0565 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0566 2040681d call gpio_get_bit 
-0567 7920a200 setflag true ,0 ,rega 
+055e 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+055f 2040056e call p_gpio_set_input_pu 
+0560 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0561 2040681d call gpio_get_bit 
+0562 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-0568 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0569 20400573 call p_gpio_set_input_pu 
-056a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-056b 2040681d call gpio_get_bit 
-056c 7920a201 setflag true ,1 ,rega 
+0563 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0564 2040056e call p_gpio_set_input_pu 
+0565 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0566 2040681d call gpio_get_bit 
+0567 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-056d 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-056e 20400573 call p_gpio_set_input_pu 
-056f 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0570 2040681d call gpio_get_bit 
-0571 7920a202 setflag true ,2 ,rega 
-0572 20600000 rtn 
+0568 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0569 2040056e call p_gpio_set_input_pu 
+056a 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+056b 2040681d call gpio_get_bit 
+056c 7920a202 setflag true ,2 ,rega 
+056d 20600000 rtn 
 
 p_gpio_set_input_pu:
-0573 79200407 set1 gpio_active_bit ,temp 
-0574 d8a08078 arg core_gpio_pu0 ,contw 
-0575 20406830 call gpio_set_bit 
-0576 793f8407 set0 gpio_active_bit ,temp 
-0577 2020057c branch p_gpio_set_input_pd4 
+056e 79200407 set1 gpio_active_bit ,temp 
+056f d8a08078 arg core_gpio_pu0 ,contw 
+0570 20406830 call gpio_set_bit 
+0571 793f8407 set0 gpio_active_bit ,temp 
+0572 20200577 branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-0578 793f8407 set0 gpio_active_bit ,temp 
-0579 d8a08078 arg core_gpio_pu0 ,contw 
-057a 20406830 call gpio_set_bit 
-057b 79200407 set1 gpio_active_bit ,temp 
+0573 793f8407 set0 gpio_active_bit ,temp 
+0574 d8a08078 arg core_gpio_pu0 ,contw 
+0575 20406830 call gpio_set_bit 
+0576 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-057c d8a0807c arg core_gpio_pd0 ,contw 
-057d 2020680a branch gpio_set_high_impedance + 4 
+0577 d8a0807c arg core_gpio_pd0 ,contw 
+0578 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_cheak_sensor_data:
 
 p_mouse_p32xx_sensor_motion:
-057e 20403fc0 call mouse_clear_sensor_data 
-057f 78547c00 disable user 
-0580 20203fe7 branch mouse_p32xx_sensor_motion_2 
+0579 20403fc0 call mouse_clear_sensor_data 
+057a 78547c00 disable user 
+057b 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_bb_event_discovery_btn:
-0581 204004fb call p_mouse_multi_led_off_poweron2s 
-0582 204004ec call p_mouse_null_enter_hibernate_disable 
-0583 280ffe26 isolate1 mark_24g ,mark 
-0584 204081f7 call p_g24_check_51cmd_stop_24g ,true 
-0585 2020426d branch mouse_bb_event_discovery_btn + 1 
+057c 204004f6 call p_mouse_multi_led_off_poweron2s 
+057d 204004e7 call p_mouse_null_enter_hibernate_disable 
+057e 280ffe26 isolate1 mark_24g ,mark 
+057f 204081f7 call p_g24_check_51cmd_stop_24g ,true 
+0580 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_mouse_start_discovery:
-0586 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
-0587 2020075b branch p_zcode_entrance 
+0581 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
+0582 20200765 branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
-0588 20400526 call p_mouse_discovey_led_blink_off 
-0589 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-058a 20400396 call p_mouse_sensor_poweron 
-058b 202042cb branch mouse_stop_discovery + 1 
+0583 20400521 call p_mouse_discovey_led_blink_off 
+0584 204003d0 call p_mouse_init_sensor_reset 
+0585 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-058c 6800c50f fetch 1 ,mem_le_md_count 
-058d 1fe0fe01 pincrease 1 
-058e 6000c50f store 1 ,mem_le_md_count 
-058f c0065395 beq le_md_max_count ,le_slave_cont 
-0590 204055aa call le_acknowledge 
-0591 2040561e call le_prepare_tx 
-0592 204006fb call power_ctrl_start 
-0593 2020538f branch le_slave_match + 7 
+0586 6800c50f fetch 1 ,mem_le_md_count 
+0587 1fe0fe01 pincrease 1 
+0588 6000c50f store 1 ,mem_le_md_count 
+0589 c0065395 beq le_md_max_count ,le_slave_cont 
+058a 204055aa call le_acknowledge 
+058b 2040561e call le_prepare_tx 
+058c 20400705 call power_ctrl_start 
+058d 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-0594 68008016 fetch 1 ,mem_le_ch_mapped 
-0595 1fe0fe01 increase 1 ,pdata 
-0596 60008016 store 1 ,mem_le_ch_mapped 
-0597 c1940000 rtnne 40 
-0598 70001625 jam 37 ,mem_le_ch_mapped 
-0599 20600000 rtn 
+058e 68008016 fetch 1 ,mem_le_ch_mapped 
+058f 1fe0fe01 increase 1 ,pdata 
+0590 60008016 store 1 ,mem_le_ch_mapped 
+0591 c1940000 rtnne 40 
+0592 70001625 jam 37 ,mem_le_ch_mapped 
+0593 20600000 rtn 
 
 p_le_receive_skip:
-059a 204029bb call save_rssi 
-059b 2040006c call p_rssi_signal 
-059c 202054a3 branch le_receive_skip + 2 
+0594 204029bb call save_rssi 
+0595 2040006c call p_rssi_signal 
+0596 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-059d 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
-059e 2020075b branch p_zcode_entrance 
+0597 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
+0598 20200765 branch p_zcode_entrance 
 
 p_le_update_channel_map:
-059f 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
-05a0 2020075b branch p_zcode_entrance 
+0599 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
+059a 20200765 branch p_zcode_entrance 
 
 p_le_prepare_tx:
-05a1 68008456 fetch 1 ,mem_le_arq 
-05a2 c28285c1 bbit1 wak ,p_le_prepare_tx_wak 
-05a3 204006ed call power_ctrl_pac_succ_incrs 
-05a4 6800c78e fetch 1 ,mem_empty_count 
-05a5 243a05ab nbranch p_le_send_empyt ,blank 
-05a6 6800843f fetch 1 ,mem_le_state 
-05a7 c30205af bbit0 lestate_encryption ,p_le_tx_4 
-05a8 680082da fetch 1 ,mem_le_rxbuf + 1 
-05a9 203a05af branch p_le_tx_4 ,blank 
-05aa 20205664 branch le_send_empty 
+059b 68008456 fetch 1 ,mem_le_arq 
+059c c28285bb bbit1 wak ,p_le_prepare_tx_wak 
+059d 204006f7 call power_ctrl_pac_succ_incrs 
+059e 6800c78e fetch 1 ,mem_empty_count 
+059f 243a05a5 nbranch p_le_send_empyt ,blank 
+05a0 6800843f fetch 1 ,mem_le_state 
+05a1 c30205a9 bbit0 lestate_encryption ,p_le_tx_4 
+05a2 680082da fetch 1 ,mem_le_rxbuf + 1 
+05a3 203a05a9 branch p_le_tx_4 ,blank 
+05a4 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05ab 6800c78e fetch 1 ,mem_empty_count 
-05ac 1fe0ffff increase -1 ,pdata 
-05ad 6000c78e store 1 ,mem_empty_count 
-05ae 20205664 branch le_send_empty 
+05a5 6800c78e fetch 1 ,mem_empty_count 
+05a6 1fe0ffff increase -1 ,pdata 
+05a7 6000c78e store 1 ,mem_empty_count 
+05a8 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05af 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05b0 c08285b2 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05b1 70478e03 jam 3 ,mem_empty_count 
+05a9 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05aa c08285ac bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05ab 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05b2 20405892 call le_fifo_check_nearly_full 
-05b3 205a03c1 call p_mouse_data_pull ,blank 
-05b4 20205622 branch le_prepare_tx + 4 
+05ac 20405892 call le_fifo_check_nearly_full 
+05ad 205a03bc call p_mouse_data_pull ,blank 
+05ae 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-05b5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05b6 1fe17e03 and pdata ,0x03 ,pdata 
-05b7 c1818000 rtnne 0x03 
-05b8 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-05b9 207a0000 rtn blank 
-05ba 6800c3dd fetch 1 ,mem_le_txlen 
-05bb 207a0000 rtn blank 
-05bc 6800c3dc fetch 1 ,mem_le_txheader 
-05bd 79207e04 set1 md ,pdata 
-05be 6000c3dc store 1 ,mem_le_txheader 
-05bf 20405650 call le_set_md 
-05c0 20600000 rtn 
+05af 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05b0 1fe17e03 and pdata ,0x03 ,pdata 
+05b1 c1818000 rtnne 0x03 
+05b2 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+05b3 207a0000 rtn blank 
+05b4 6800c3dd fetch 1 ,mem_le_txlen 
+05b5 207a0000 rtn blank 
+05b6 6800c3dc fetch 1 ,mem_le_txheader 
+05b7 79207e04 set1 md ,pdata 
+05b8 6000c3dc store 1 ,mem_le_txheader 
+05b9 20405650 call le_set_md 
+05ba 20600000 rtn 
 
 p_le_prepare_tx_wak:
-05c1 204005b5 call p_le_check_tx_retransmit_setmd 
+05bb 204005af call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-05c2 202006f1 branch power_ctrl_pac_succ_decrs 
+05bc 202006fb branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05c3 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-05c4 207a0000 rtn blank 
-05c5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05c6 1fe17e03 and pdata ,0x03 ,pdata 
-05c7 c1018000 rtneq 0x03 
-05c8 7046c602 jam 2 ,mem_le_start_encrypt_timer 
-05c9 20600000 rtn 
+05bd 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+05be 207a0000 rtn blank 
+05bf 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05c0 1fe17e03 and pdata ,0x03 ,pdata 
+05c1 c1018000 rtneq 0x03 
+05c2 7046c602 jam 2 ,mem_le_start_encrypt_timer 
+05c3 20600000 rtn 
 
 p_le_parse:
-05ca c6078000 rtnmark1 mark_old_packet 
-05cb 20405890 call le_fifo_check_full 
-05cc 247a0000 nrtn blank 
-05cd 680082d9 fetch 1 ,mem_le_rxbuf 
-05ce 1fe17e03 and pdata ,0x3 ,pdata 
-05cf 6000c50c store 1 ,mem_le_packet_llid 
-05d0 e8c08000 ifetch 1 ,contr 
-05d1 1fe17e1f and pdata ,0x1f ,pdata 
-05d2 6000c50b store 1 ,mem_le_packet_size 
-05d3 207a0000 rtn blank 
-05d4 18c27e00 copy contr ,pdata 
-05d5 6001450d store 2 ,mem_le_payload_ptr 
-05d6 6800c50c fetch 1 ,mem_le_packet_llid 
-05d7 c00185d9 beq llid_le_ll ,p_le_parse_ll 
-05d8 2020568d branch le_parse_l2cap 
+05c4 c6078000 rtnmark1 mark_old_packet 
+05c5 20405890 call le_fifo_check_full 
+05c6 247a0000 nrtn blank 
+05c7 680082d9 fetch 1 ,mem_le_rxbuf 
+05c8 1fe17e03 and pdata ,0x3 ,pdata 
+05c9 6000c50c store 1 ,mem_le_packet_llid 
+05ca e8c08000 ifetch 1 ,contr 
+05cb 1fe17e1f and pdata ,0x1f ,pdata 
+05cc 6000c50b store 1 ,mem_le_packet_size 
+05cd 207a0000 rtn blank 
+05ce 18c27e00 copy contr ,pdata 
+05cf 6001450d store 2 ,mem_le_payload_ptr 
+05d0 6800c50c fetch 1 ,mem_le_packet_llid 
+05d1 c00185d3 beq llid_le_ll ,p_le_parse_ll 
+05d2 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-05d9 680082db fetch 1 ,mem_le_rxbuf + 2 
-05da c00005dd beq ll_connection_update_req ,p_le_parse_connection_update_req 
-05db c00085e4 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-05dc 20205c65 branch le_parse_ll + 1 
+05d3 680082db fetch 1 ,mem_le_rxbuf + 2 
+05d4 c00005d7 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+05d5 c00085de beq ll_channel_map_req ,p_le_parse_channel_map_req 
+05d6 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-05dd 20405c7b call le_parse_connection_update_req 
-05de 6800cb5f fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-05df 207a0000 rtn blank 
+05d7 20405c7b call le_parse_connection_update_req 
+05d8 6800cb5f fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+05d9 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-05e0 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-05e1 6000c172 store 1 ,mem_lpm_mult 
-05e2 6000c7c5 store 1 ,mem_lpm_mult_init 
-05e3 20600000 rtn 
+05da 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+05db 6000c172 store 1 ,mem_lpm_mult 
+05dc 6000c7c5 store 1 ,mem_lpm_mult_init 
+05dd 20600000 rtn 
 
 p_le_parse_channel_map_req:
-05e4 e8c28000 ifetch 5 ,contr 
-05e5 6002c3ce store 5 ,mem_le_new_map 
-05e6 e8c10000 ifetch 2 ,contr 
-05e7 6001045f store 2 ,mem_le_instant 
-05e8 20205c8a branch le_parse_channel_map_req + 7 
+05de e8c28000 ifetch 5 ,contr 
+05df 6002c3ce store 5 ,mem_le_new_map 
+05e0 e8c10000 ifetch 2 ,contr 
+05e1 6001045f store 2 ,mem_le_instant 
+05e2 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-05e9 e8c10000 ifetch 2 ,contr 
-05ea c00205ed beq le_l2cap_cid_att ,p_le_parse_att 
-05eb c0030619 beq le_l2cap_cid_smp ,p_le_parse_smp 
-05ec 20205698 branch le_parse_l2cap + 11 
+05e3 e8c10000 ifetch 2 ,contr 
+05e4 c00205e7 beq le_l2cap_cid_att ,p_le_parse_att 
+05e5 c0030613 beq le_l2cap_cid_smp ,p_le_parse_smp 
+05e6 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-05ed 20407ea5 call store_contr 
-05ee 204005c3 call p_mouse_le_reconn_write_enable_timer_reinit 
-05ef 20407e9f call get_contr 
-05f0 e8c18000 ifetch 3 ,contr 
-05f1 60018477 store 3 ,mem_le_att_opcode 
-05f2 c00805fc beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-05f3 1fec8400 rshift8 pdata ,temp 
-05f4 18467c24 sub temp ,0x24 ,null 
-05f5 2021060a branch p_le_parse_att1 ,positive 
-05f6 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-05f7 600944bc storet 2 ,mem_ui_le_uuid_table 
-05f8 204058ad call le_parse_att + 2 
-05f9 58008e7a setarg 0x8e7a 
-05fa 600144bc store 2 ,mem_ui_le_uuid_table 
-05fb 20600000 rtn 
+05e7 20407ea5 call store_contr 
+05e8 204005bd call p_mouse_le_reconn_write_enable_timer_reinit 
+05e9 20407e9f call get_contr 
+05ea e8c18000 ifetch 3 ,contr 
+05eb 60018477 store 3 ,mem_le_att_opcode 
+05ec c00805f6 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+05ed 1fec8400 rshift8 pdata ,temp 
+05ee 18467c24 sub temp ,0x24 ,null 
+05ef 20210604 branch p_le_parse_att1 ,positive 
+05f0 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+05f1 600944bc storet 2 ,mem_ui_le_uuid_table 
+05f2 204058ad call le_parse_att + 2 
+05f3 58008e7a setarg 0x8e7a 
+05f4 600144bc store 2 ,mem_ui_le_uuid_table 
+05f5 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-05fc 204059fa call le_parse_att_read_by_group_type_request 
-05fd 20405879 call le_fifo_get_last_tx_ptr 
-05fe 18c08c07 increase 7 ,contr 
-05ff e8c08000 ifetch 1 ,contr 
-0600 c1888000 rtnne attop_read_by_group_type_response 
-0601 18c08c05 increase 5 ,contr 
-0602 e8c10000 ifetch 2 ,contr 
-0603 d8401812 arg uuid_service_hids ,temp 
-0604 98467c00 isub temp ,null 
-0605 24628000 nrtn zero 
-0606 18c08dfc increase -4 ,contr 
-0607 5800002b setarg 0x2b 
-0608 e0c10000 istore 2 ,contr 
-0609 20600000 rtn 
+05f6 204059fa call le_parse_att_read_by_group_type_request 
+05f7 20405879 call le_fifo_get_last_tx_ptr 
+05f8 18c08c07 increase 7 ,contr 
+05f9 e8c08000 ifetch 1 ,contr 
+05fa c1888000 rtnne attop_read_by_group_type_response 
+05fb 18c08c05 increase 5 ,contr 
+05fc e8c10000 ifetch 2 ,contr 
+05fd d8401812 arg uuid_service_hids ,temp 
+05fe 98467c00 isub temp ,null 
+05ff 24628000 nrtn zero 
+0600 18c08dfc increase -4 ,contr 
+0601 5800002b setarg 0x2b 
+0602 e0c10000 istore 2 ,contr 
+0603 20600000 rtn 
 
 p_le_parse_att1:
-060a c005060c beq attop_read_request ,p_le_parse_att_read_request 
-060b 202058ad branch le_parse_att + 2 
+0604 c0050606 beq attop_read_request ,p_le_parse_att_read_request 
+0605 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-060c 68090478 fetcht 2 ,mem_le_att_handle 
-060d 6800c4e9 fetch 1 ,mem_le_configuration 
-060e c2818613 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0606 68090478 fetcht 2 ,mem_le_att_handle 
+0607 6800c4e9 fetch 1 ,mem_le_configuration 
+0608 c281860d bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-060f 68010478 fetch 2 ,mem_le_att_handle 
-0610 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-0611 68090478 fetcht 2 ,mem_le_att_handle 
-0612 202059bf branch le_send_att_read_response 
+0609 68010478 fetch 2 ,mem_le_att_handle 
+060a c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+060b 68090478 fetcht 2 ,mem_le_att_handle 
+060c 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0613 680144fa fetch 2 ,mem_le_pairing_handle 
-0614 98467c00 isub temp ,null 
-0615 2422860f nbranch p_le_send_att_read_response ,zero 
-0616 20405a42 call le_check_encrypt_state 
-0617 2434060f nbranch p_le_send_att_read_response ,user 
-0618 202059e2 branch le_send_att_read_response_check_auth + 5 
+060d 680144fa fetch 2 ,mem_le_pairing_handle 
+060e 98467c00 isub temp ,null 
+060f 24228609 nbranch p_le_send_att_read_response ,zero 
+0610 20405a42 call le_check_encrypt_state 
+0611 24340609 nbranch p_le_send_att_read_response ,user 
+0612 202059e2 branch le_send_att_read_response_check_auth + 5 
 
 p_le_parse_smp:
-0619 e8c08000 ifetch 1 ,contr 
-061a c000861d beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-061b c002861f beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-061c 20205af5 branch le_parse_smp + 1 
+0613 e8c08000 ifetch 1 ,contr 
+0614 c0008617 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0615 c0028619 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0616 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_request:
-061d 704b6c01 jam 1 ,mem_le_send_security_request_flag 
-061e 20205b09 branch le_parse_smp_pairing_request 
+0617 704b6c01 jam 1 ,mem_le_send_security_request_flag 
+0618 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-061f 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
-0620 2020075b branch p_zcode_entrance 
+0619 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
+061a 20200765 branch p_zcode_entrance 
 
 p_le_adv_not_match:
-0621 68008016 fetch 1 ,mem_le_ch_mapped 
-0622 c093d6f2 bne 39 ,le_adv_loop 
-0623 20400627 call p_le_adv_random_delay 
-0624 d8e00000 arg le_adv_interval_timer ,queue 
-0625 68014482 fetch 2 ,mem_le_adv_interval 
-0626 20207f08 branch timer_init 
+061b 68008016 fetch 1 ,mem_le_ch_mapped 
+061c c093d6f2 bne 39 ,le_adv_loop 
+061d 20400621 call p_le_adv_random_delay 
+061e d8e00000 arg le_adv_interval_timer ,queue 
+061f 68014482 fetch 2 ,mem_le_adv_interval 
+0620 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-0627 180a7e00 random pdata 
-0628 d84001ff arg 0x1ff ,temp 
-0629 98417e00 iand temp ,pdata 
-062a 1fe0fefa add pdata ,250 ,pdata 
-062b 20203cbe branch delay 
+0621 180a7e00 random pdata 
+0622 d84001ff arg 0x1ff ,temp 
+0623 98417e00 iand temp ,pdata 
+0624 1fe0fefa add pdata ,250 ,pdata 
+0625 20203cbe branch delay 
 
 p_le_lpm_setmult:
-062c 7855fc00 disable wake 
-062d 2037062f branch p_le_lpm_set_mult_attempt ,attempt 
-062e 2436d806 nbranch le_lpm_lost ,match 
+0626 7855fc00 disable wake 
+0627 20370629 branch p_le_lpm_set_mult_attempt ,attempt 
+0628 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-062f 20402bcb call lpm_match 
-0630 680140c1 fetch 2 ,mem_rx_window_sniff 
-0631 6001044d store 2 ,mem_le_receive_window 
-0632 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0633 c081abde bne 3 ,lpm_mult_short 
-0634 202057fb branch le_lpm_set_mult_attempt + 3 
+0629 20402bcb call lpm_match 
+062a 680140c1 fetch 2 ,mem_rx_window_sniff 
+062b 6001044d store 2 ,mem_le_receive_window 
+062c 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+062d 2fe00603 compare 3 ,pdata ,3 
+062e 2420abde nbranch lpm_mult_short ,true 
+062f 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0635 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
-0636 2020075b branch p_zcode_entrance 
+0630 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
+0631 20200765 branch p_zcode_entrance 
 
 p_twspi_reset:
-0637 68108077 hfetch 1 ,core_gpio_out3 
-0638 1fe17efd and_into 0xfd ,pdata 
-0639 60108077 hstore 1 ,core_gpio_out3 
-063a 68188073 hfetcht 1 ,core_gpio_oe3 
-063b 18418402 or_into 0x2 ,temp 
+0632 68108077 hfetch 1 ,core_gpio_out3 
+0633 1fe17efd and_into 0xfd ,pdata 
+0634 60108077 hstore 1 ,core_gpio_out3 
+0635 68188073 hfetcht 1 ,core_gpio_oe3 
+0636 18418402 or_into 0x2 ,temp 
+0637 60188073 hstoret 1 ,core_gpio_oe3 
+0638 204063ee call twspi_disable 
+0639 184104fd and_into 0xfd ,temp 
+063a 2000000d nop 13 
+063b 2040063f call p_twspi_enable 
 063c 60188073 hstoret 1 ,core_gpio_oe3 
-063d 204063ee call twspi_disable 
-063e 184104fd and_into 0xfd ,temp 
-063f 2000000d nop 13 
-0640 20400644 call p_twspi_enable 
-0641 60188073 hstoret 1 ,core_gpio_oe3 
-0642 20600000 rtn 
+063d 20600000 rtn 
 
 p_spid_init:
-0643 204064dd call spid_init_common 
+063e 204064dd call spid_init_common 
 
 p_twspi_enable:
-0644 68108081 hfetch 1 ,core_gpio_sel1 
-0645 79207e00 set1 0 ,pdata 
-0646 793ffe01 set0 1 ,pdata 
-0647 793ffe03 set0 3 ,pdata 
-0648 60108081 hstore 1 ,core_gpio_sel1 
-0649 20600000 rtn 
+063f 68108081 hfetch 1 ,core_gpio_sel1 
+0640 79207e00 set1 0 ,pdata 
+0641 793ffe01 set0 1 ,pdata 
+0642 793ffe03 set0 3 ,pdata 
+0643 60108081 hstore 1 ,core_gpio_sel1 
+0644 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-064a 7011c600 jam zcode_00 ,mem_zcode_temp_param0 
-064b 2020075b branch p_zcode_entrance 
+0645 7011c600 jam zcode_00 ,mem_zcode_temp_param0 
+0646 20200765 branch p_zcode_entrance 
 
 p_role_switch_master:
-064c 204021c9 call role_switch_check 
-064d 24740000 nrtn user 
+0647 204021c9 call role_switch_check 
+0648 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-064e 78547c00 disable user 
-064f 70001120 jam param_newconnto ,mem_newconnto_counter 
-0650 793f800b set0 mark_fhs_already_good ,mark 
-0651 793f802d set0 mark_role_switch_receive_fhs ,mark 
+0649 78547c00 disable user 
+064a 70001120 jam param_newconnto ,mem_newconnto_counter 
+064b 793f800b set0 mark_fhs_already_good ,mark 
+064c 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-0652 20402a4f call rf_setup_time_master_slot 
-0653 204022e6 call master_recv_packet 
-0654 c5058659 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-0655 20402455 call new_conn_timeout 
-0656 243a0652 nbranch p_roles_waitfhs_loop ,blank 
-0657 c5168661 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-0658 202021ec branch role_switch_fail_master 
+064d 20402a4f call rf_setup_time_master_slot 
+064e 204022e6 call master_recv_packet 
+064f c5058654 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+0650 20402455 call new_conn_timeout 
+0651 243a064d nbranch p_roles_waitfhs_loop ,blank 
+0652 c516865c bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0653 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-0659 20402a4d call rf_setup_time_slave_slot 
-065a d8200010 arg type_id ,type 
-065b 204022dc call master_send_packet 
-065c 7920002d set1 mark_role_switch_receive_fhs ,mark 
-065d 793f800b set0 mark_fhs_already_good ,mark 
-065e 18000801 force 1 ,am_addr 
-065f 70001102 jam 2 ,mem_newconnto_counter 
-0660 20200652 branch p_roles_waitfhs_loop 
+0654 20402a4d call rf_setup_time_slave_slot 
+0655 d8200010 arg type_id ,type 
+0656 204022dc call master_send_packet 
+0657 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0658 793f800b set0 mark_fhs_already_good ,mark 
+0659 18000801 force 1 ,am_addr 
+065a 70001102 jam 2 ,mem_newconnto_counter 
+065b 2020064d branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0661 68020165 fetch 4 ,mem_clke_bt 
-0662 1fe0fe08 pincrease 8 
-0663 60020165 store 4 ,mem_clke_bt 
-0664 202021f8 branch roles_replyto_fhs + 4 
+065c 68020165 fetch 4 ,mem_clke_bt 
+065d 1fe0fe08 pincrease 8 
+065e 60020165 store 4 ,mem_clke_bt 
+065f 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0665 c516264d bmark1 mark_first_packet ,end_of_packet 
-0666 2020258f branch process_dmh + 1 
+0660 c516264d bmark1 mark_first_packet ,end_of_packet 
+0661 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0667 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
-0668 2020075b branch p_zcode_entrance 
+0662 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
+0663 20200765 branch p_zcode_entrance 
 
 p_prepare_tx:
-0669 68008030 fetch 1 ,mem_state 
-066a 2feffe00 isolate1 state_inconn ,pdata 
-066b 2040866d call p_bt_power_ctrl ,true 
-066c 2020248a branch prepare_tx + 1 
+0664 68008030 fetch 1 ,mem_state 
+0665 2feffe00 isolate1 state_inconn ,pdata 
+0666 20408668 call p_bt_power_ctrl ,true 
+0667 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-066d 68008047 fetch 1 ,mem_arq 
-066e 2feffe03 isolate1 wack ,pdata 
-066f 204086f1 call power_ctrl_pac_succ_decrs ,true 
-0670 244086ed ncall power_ctrl_pac_succ_incrs ,true 
-0671 202006fb branch power_ctrl_start 
+0668 68008047 fetch 1 ,mem_arq 
+0669 2feffe03 isolate1 wack ,pdata 
+066a 204086fb call power_ctrl_pac_succ_decrs ,true 
+066b 244086f7 ncall power_ctrl_pac_succ_incrs ,true 
+066c 20200705 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-0672 204024f0 call slave_receive_master_slot 
-0673 242c28f9 nbranch shutdown_radio ,sync 
-0674 204029bb call save_rssi 
-0675 2040006c call p_rssi_signal 
-0676 20202518 branch slave_conn_recv_packet + 4 
+066d 204024f0 call slave_receive_master_slot 
+066e 242c28f9 nbranch shutdown_radio ,sync 
+066f 204029bb call save_rssi 
+0670 2040006c call p_rssi_signal 
+0671 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0677 c6130000 rtnmark1 mark_24g 
-0678 20402afa call lpo_calibration 
-0679 6801c16f fetch 3 ,mem_clks_per_lpo 
-067a 207a0000 rtn blank 
-067b 6800c091 fetch 1 ,mem_lpm_mode 
-067c 207a0000 rtn blank 
-067d 6800c65a fetch 1 ,mem_ssp_enable 
-067e 203a0681 branch p_lpm_dispatch_next ,blank 
-067f 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0680 207a0000 rtn blank 
+0672 c6130000 rtnmark1 mark_24g 
+0673 20402afa call lpo_calibration 
+0674 6801c16f fetch 3 ,mem_clks_per_lpo 
+0675 207a0000 rtn blank 
+0676 6800c091 fetch 1 ,mem_lpm_mode 
+0677 207a0000 rtn blank 
+0678 6800c65a fetch 1 ,mem_ssp_enable 
+0679 203a067c branch p_lpm_dispatch_next ,blank 
+067a 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+067b 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0681 6800c4c0 fetch 1 ,mem_le_sc_calc 
-0682 247a0000 nrtn blank 
-0683 20402c3a call lpm_check_wake_lock 
-0684 247a0000 nrtn blank 
-0685 6800c040 fetch 1 ,mem_context 
-0686 2fe00e03 compare 3 ,pdata ,0x7 
-0687 2420ab9d nbranch lpm_dispatch_unconn ,true 
-0688 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0689 d840ffff arg 0xffff ,temp 
-068a 98467c00 isub temp ,null 
-068b 20628000 rtn zero 
-068c 20202b7d branch lpm_dispatch_next + 9 
+067c 6800c4c0 fetch 1 ,mem_le_sc_calc 
+067d 247a0000 nrtn blank 
+067e 20402c3a call lpm_check_wake_lock 
+067f 247a0000 nrtn blank 
+0680 6800c040 fetch 1 ,mem_context 
+0681 2fe00e03 compare 3 ,pdata ,0x7 
+0682 2420ab9d nbranch lpm_dispatch_unconn ,true 
+0683 68014042 fetch 2 ,mem_context + coffset_tsniff 
+0684 d840ffff arg 0xffff ,temp 
+0685 98467c00 isub temp ,null 
+0686 20628000 rtn zero 
+0687 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-068d 7855fc00 disable wake 
-068e 68008030 fetch 1 ,mem_state 
-068f c4008000 rtnbit0 state_insniff 
-0690 2436abd0 nbranch lpm_not_match ,match 
-0691 20402bcb call lpm_match 
-0692 680140c1 fetch 2 ,mem_rx_window_sniff 
-0693 6001003e store 2 ,mem_rx_window 
-0694 68008047 fetch 1 ,mem_arq 
-0695 c281abde bbit1 wack ,lpm_mult_short 
-0696 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-0697 20405274 call l2cap_malloc_is_fifo_empty 
-0698 243a2bde nbranch lpm_mult_short ,blank 
-0699 205a069b call p_lpm_set_attemp_timeout ,blank 
-069a 20202bbe branch lpm_set_mult + 13 
+0688 7855fc00 disable wake 
+0689 68008030 fetch 1 ,mem_state 
+068a c4008000 rtnbit0 state_insniff 
+068b 2436abd0 nbranch lpm_not_match ,match 
+068c 20402bcb call lpm_match 
+068d 680140c1 fetch 2 ,mem_rx_window_sniff 
+068e 6001003e store 2 ,mem_rx_window 
+068f 68008047 fetch 1 ,mem_arq 
+0690 c281abde bbit1 wack ,lpm_mult_short 
+0691 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0692 20405274 call l2cap_malloc_is_fifo_empty 
+0693 243a2bde nbranch lpm_mult_short ,blank 
+0694 205a0696 call p_lpm_set_attemp_timeout ,blank 
+0695 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-069b 70008a01 jam 1 ,mem_current_sniff_attempt 
-069c 70008b00 jam 0 ,mem_current_sniff_timeout 
-069d 20600000 rtn 
+0696 70008a01 jam 1 ,mem_current_sniff_attempt 
+0697 70008b00 jam 0 ,mem_current_sniff_timeout 
+0698 20600000 rtn 
 
 p_mouse_bb_disconnected:
-069e 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
-069f 2020075b branch p_zcode_entrance 
+0699 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
+069a 20200765 branch p_zcode_entrance 
 
 p_hid_rx_process:
-06a0 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
-06a1 2020075b branch p_zcode_entrance 
+069b 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
+069c 20200765 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06a2 68008552 fetch 1 ,mem_rxbuf + 1 
-06a3 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06a4 c00986a6 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06a5 20205db4 branch parse_lmp_accepted + 3 
+069d 68008552 fetch 1 ,mem_rxbuf + 1 
+069e 600084c9 store 1 ,mem_lmi_accepted_opcode 
+069f c00986a1 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06a0 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06a6 20405dcf call parse_lmp_accepted_switch 
-06a7 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06a8 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06a9 207a0000 rtn blank 
-06aa 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-06ab 20600000 rtn 
+06a1 20405dcf call parse_lmp_accepted_switch 
+06a2 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06a3 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06a4 207a0000 rtn blank 
+06a5 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+06a6 20600000 rtn 
 
 p_send_lmp:
-06ac 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
-06ad 2020075b branch p_zcode_entrance 
+06a7 78547c00 disable user 
+06a8 204062c1 call lmo_fifo_process 
+06a9 68008048 fetch 1 ,mem_lmp_to_send 
+06aa 207a0000 rtn blank 
+06ab c28386b0 bbit1 7 ,p_send_lmp_escape 
+06ac c00186b2 beq lmp_accepted ,p_send_lmp_accepted 
+06ad c01886b4 beq lmp_setup_complete ,p_send_lmp_setup_complete 
+06ae c00b86b6 beq lmp_sniff_req ,p_send_lmp_sniff_req 
+06af 20206010 branch send_lmp0 
+
+p_send_lmp_escape:
+06b0 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
+06b1 20200765 branch p_zcode_entrance 
+
+p_send_lmp_accepted:
+06b2 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
+06b3 20200765 branch p_zcode_entrance 
+
+p_send_lmp_setup_complete:
+06b4 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
+06b5 202061c3 branch send_lmp_setup_complete 
+
+p_send_lmp_sniff_req:
+06b6 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
+06b7 202061a4 branch send_lmp_sniff_req 
 
 p_process_conn_sm:
-06ae 204062bc call lmo_fifo_check 
-06af 247a0000 nrtn blank 
+06b8 204062bc call lmo_fifo_check 
+06b9 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06b0 68008055 fetch 1 ,mem_conn_sm 
-06b1 207a0000 rtn blank 
-06b2 c00206d0 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06b3 c00806b5 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06b4 20206320 branch process_conn_sm_continue + 2 
+06ba 68008055 fetch 1 ,mem_conn_sm 
+06bb 207a0000 rtn blank 
+06bc c00206da beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06bd c00806bf beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06be 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06b5 6800c55b fetch 1 ,mem_switch_flag 
-06b6 c1000000 rtneq switch_flag_init 
-06b7 c00086b9 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06b8 2020635f branch host_creat_conn_wait_switch + 3 
+06bf 6800c55b fetch 1 ,mem_switch_flag 
+06c0 c1000000 rtneq switch_flag_init 
+06c1 c00086c3 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06c2 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06b9 20748000 rtn master 
+06c3 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06ba 6800816d fetch 1 ,mem_connection_options 
-06bb c28006bd bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06bc 20206399 branch host_create_conn_auth_pair + 1 
+06c4 6800816d fetch 1 ,mem_connection_options 
+06c5 c28006c7 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06c6 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06bd 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06be c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06bf 6800c1bd fetch 1 ,mem_link_key_exists 
-06c0 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06c1 680084d1 fetch 1 ,mem_lmp_conn_state 
-06c2 c4018000 rtnbit0 sent_setup_complete 
-06c3 c4010000 rtnbit0 received_setup_complete 
-06c4 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06c5 207a0000 rtn blank 
-06c6 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06c7 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06c8 d8400014 arg 20 ,temp 
-06c9 98408400 iadd temp ,temp 
-06ca 1c427e00 copy clkn_bt ,pdata 
-06cb 98467c00 isub temp ,null 
-06cc 242106ce nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06cd 20206349 branch host_create_conn_auth 
+06c7 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06c8 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06c9 6800c1bd fetch 1 ,mem_link_key_exists 
+06ca 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06cb 680084d1 fetch 1 ,mem_lmp_conn_state 
+06cc c4018000 rtnbit0 sent_setup_complete 
+06cd c4010000 rtnbit0 received_setup_complete 
+06ce 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06cf 207a0000 rtn blank 
+06d0 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06d1 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06d2 d8400014 arg 20 ,temp 
+06d3 98408400 iadd temp ,temp 
+06d4 1c427e00 copy clkn_bt ,pdata 
+06d5 98467c00 isub temp ,null 
+06d6 242106d8 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06d7 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06ce 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06cf 20600000 rtn 
+06d8 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06d9 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06d0 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-06d1 2020636f branch host_create_conn_send_conn_req 
+06da 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+06db 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06d2 204062bc call lmo_fifo_check 
-06d3 243a7ddb nbranch check_51cmd_restore ,blank 
-06d4 68008a99 fetch 1 ,mem_fifo_temp 
-06d5 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06d6 c00f86da beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06d7 c01006dd beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06d8 c00906e7 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06d9 20207dca branch check_51cmd_once_continue + 2 
+06dc 204062bc call lmo_fifo_check 
+06dd 243a7ddb nbranch check_51cmd_restore ,blank 
+06de 68008a99 fetch 1 ,mem_fifo_temp 
+06df c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06e0 c00f86e4 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06e1 c01006e7 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06e2 c00906f1 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06e3 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-06da 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06db 6803044f fetch 6 ,mem_le_plap 
-06dc 202006df branch p_flash_store_reconn_info 
+06e4 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06e5 6803044f fetch 6 ,mem_le_plap 
+06e6 202006e9 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06dd 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06de 68030040 fetch 6 ,mem_plap 
+06e7 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06e8 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-06df 60030186 store 6 ,mem_temp_lap 
+06e9 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-06e0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-06e1 c4038000 rtnbit0 mouse_store_eeprom_flag 
-06e2 d8e00007 arg mouse_store_eeprom_flag ,queue 
-06e3 204043d2 call mouse_disable_function_flag 
-06e4 204042e8 call mouse_check_device_addr 
+06ea 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06eb c4038000 rtnbit0 mouse_store_eeprom_flag 
+06ec d8e00007 arg mouse_store_eeprom_flag ,queue 
+06ed 204043d2 call mouse_disable_function_flag 
+06ee 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-06e5 204042fb call mouse_before_store_reconn_info 
-06e6 20200316 branch p_mouse_store_flash_device_info 
+06ef 204042fb call mouse_before_store_reconn_info 
+06f0 20200316 branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-06e7 20405890 call le_fifo_check_full 
-06e8 247a0000 nrtn blank 
-06e9 20205abf branch le_l2cap_tx_update_req 
+06f1 20405890 call le_fifo_check_full 
+06f2 247a0000 nrtn blank 
+06f3 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-06ea 704d6701 jam 1 ,mem_power_ctrl_level 
-06eb 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06ec 20600000 rtn 
+06f4 704d6701 jam 1 ,mem_power_ctrl_level 
+06f5 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f6 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06ed 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ee 1fe0fe01 increase 1 ,pdata 
-06ef 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06f0 20600000 rtn 
+06f7 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f8 1fe0fe01 increase 1 ,pdata 
+06f9 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06fa 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06f1 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f2 1fe67c02 sub pdata ,2 ,null 
-06f3 244106f9 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06f4 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f5 c1000000 rtneq 0 
-06f6 1fe0ffff increase -1 ,pdata 
-06f7 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06f8 20600000 rtn 
+06fb 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06fc 1fe67c02 sub pdata ,2 ,null 
+06fd 24410703 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06fe 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ff c1000000 rtneq 0 
+0700 1fe0ffff increase -1 ,pdata 
+0701 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0702 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06f9 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06fa 20600000 rtn 
+0703 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0704 20600000 rtn 
 
 power_ctrl_start:
-06fb 68014682 fetch 2 ,mem_ui_state_map 
-06fc c3858000 rtnbit1 ui_state_ble_adv 
-06fd c3838000 rtnbit1 ui_state_bt_reconnect 
-06fe c3830000 rtnbit1 ui_state_bt_discovery 
-06ff da204ced arg mem_rssi_signal_buf ,rega 
-0700 20400299 call p_rssi_average 
-0701 6008cd65 storet 1 ,mem_rssi_avg_received 
-0702 58000082 setarg rssi_dis_max_24g 
-0703 c5130705 bmark1 mark_24g ,power_ctrl_start_next 
-0704 58000080 setarg rssi_dis_max_ble 
+0705 68014682 fetch 2 ,mem_ui_state_map 
+0706 c3858000 rtnbit1 ui_state_ble_adv 
+0707 c3838000 rtnbit1 ui_state_bt_reconnect 
+0708 c3830000 rtnbit1 ui_state_bt_discovery 
+0709 da204ced arg mem_rssi_signal_buf ,rega 
+070a 20400299 call p_rssi_average 
+070b 6008cd65 storet 1 ,mem_rssi_avg_received 
+070c 58000082 setarg rssi_dis_max_24g 
+070d c513070f bmark1 mark_24g ,power_ctrl_start_next 
+070e 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-0705 98467c00 isub temp ,null 
-0706 2421071d nbranch power_ctrl_txpower_incrs_force ,positive 
-0707 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0708 1fe67c02 sub pdata ,2 ,null 
-0709 2421070d nbranch power_ctrl_txpower_decrs_check ,positive 
-070a 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-070b c000071e beq 0 ,power_ctrl_txpower_incrs 
-070c 20600000 rtn 
+070f 98467c00 isub temp ,null 
+0710 24210727 nbranch power_ctrl_txpower_incrs_force ,positive 
+0711 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0712 1fe67c02 sub pdata ,2 ,null 
+0713 24210717 nbranch power_ctrl_txpower_decrs_check ,positive 
+0714 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0715 c0000728 beq 0 ,power_ctrl_txpower_incrs 
+0716 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-070d 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-070e c1990000 rtnne 50 
-070f 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0717 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0718 c1990000 rtnne 50 
+0719 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0710 6808cd65 fetcht 1 ,mem_rssi_avg_received 
-0711 58000077 setarg rssi_dis_min_24g 
-0712 c5130714 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-0713 58000075 setarg rssi_dis_min_ble 
+071a 6808cd65 fetcht 1 ,mem_rssi_avg_received 
+071b 58000077 setarg rssi_dis_min_24g 
+071c c513071e bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+071d 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0714 98467c00 isub temp ,null 
-0715 24610000 nrtn positive 
-0716 6800cd67 fetch 1 ,mem_power_ctrl_level 
-0717 c0000725 beq 0 ,power_ctrl_decrs_level0 
-0718 1fe0ffff increase -1 ,pdata 
-0719 6000cd67 store 1 ,mem_power_ctrl_level 
-071a c0000725 beq 0 ,power_ctrl_decrs_level0 
+071e 98467c00 isub temp ,null 
+071f 24610000 nrtn positive 
+0720 6800cd67 fetch 1 ,mem_power_ctrl_level 
+0721 c000072f beq 0 ,power_ctrl_decrs_level0 
+0722 1fe0ffff increase -1 ,pdata 
+0723 6000cd67 store 1 ,mem_power_ctrl_level 
+0724 c000072f beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-071b 7041de00 jam tx_power_0db ,mem_tx_power 
-071c 20600000 rtn 
+0725 7041de00 jam tx_power_0db ,mem_tx_power 
+0726 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-071d 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0727 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-071e 6800cd67 fetch 1 ,mem_power_ctrl_level 
-071f c0010723 beq 2 ,power_ctrl_incrs_level2 
-0720 1fe0fe01 increase 1 ,pdata 
-0721 6000cd67 store 1 ,mem_power_ctrl_level 
-0722 c000871b beq 1 ,power_ctrl_incrs_level1 
+0728 6800cd67 fetch 1 ,mem_power_ctrl_level 
+0729 c001072d beq 2 ,power_ctrl_incrs_level2 
+072a 1fe0fe01 increase 1 ,pdata 
+072b 6000cd67 store 1 ,mem_power_ctrl_level 
+072c c0008725 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0723 7041de02 jam tx_power_5db ,mem_tx_power 
-0724 20600000 rtn 
+072d 7041de02 jam tx_power_5db ,mem_tx_power 
+072e 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0725 7041de04 jam tx_power_f5db ,mem_tx_power 
-0726 20600000 rtn 
+072f 7041de04 jam tx_power_f5db ,mem_tx_power 
+0730 20600000 rtn 
 
 p_set_freq_tx:
-0727 60088017 storet 1 ,mem_last_freq 
-0728 1840a200 add temp ,0 ,rega 
-0729 20402981 call rf_write_freq 
-072a 58000500 setarg param_pll_setup 
-072b 20402a8f call sleep 
+0731 60088017 storet 1 ,mem_last_freq 
+0732 1840a200 add temp ,0 ,rega 
+0733 20402981 call rf_write_freq 
+0734 58000500 setarg param_pll_setup 
+0735 20402a8f call sleep 
 
 p_rf_tx_enable:
-072c 70890601 jam 0x1 ,rfen_adc 
-072d 7089003c jam 0x3c ,rfen_rx 
-072e 708901e0 jam 0xe0 ,rfen_tx 
-072f 2000000a nop 10 
-0730 70890201 jam 0x01 ,rfen_mdm 
-0731 7089023d jam 0x3d ,rfen_mdm 
-0732 2000000a nop 10 
-0733 708903b7 jam 0xb7 ,rfen_sn 
-0734 2000000a nop 10 
-0735 7089027d jam 0x7d ,rfen_mdm 
-0736 6800c1de fetch 1 ,mem_tx_power 
-0737 c001073f beq tx_power_5db ,p_set_tx_power_5db 
-0738 c0020744 beq tx_power_f5db ,p_set_tx_power_f5db 
-0739 c0100753 beq tx_power_pair ,p_set_tx_power_pair 
+0736 70890601 jam 0x1 ,rfen_adc 
+0737 7089003c jam 0x3c ,rfen_rx 
+0738 708901e0 jam 0xe0 ,rfen_tx 
+0739 2000000a nop 10 
+073a 70890201 jam 0x01 ,rfen_mdm 
+073b 7089023d jam 0x3d ,rfen_mdm 
+073c 2000000a nop 10 
+073d 708903b7 jam 0xb7 ,rfen_sn 
+073e 2000000a nop 10 
+073f 7089027d jam 0x7d ,rfen_mdm 
+0740 6800c1de fetch 1 ,mem_tx_power 
+0741 c0010749 beq tx_power_5db ,p_set_tx_power_5db 
+0742 c002074e beq tx_power_f5db ,p_set_tx_power_f5db 
+0743 c010075d beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-073a 20400749 call p_rx_low_sens 
-073b 708955d0 jam 0xd0 ,0x8955 
-073c 708956e0 jam 0xe0 ,0x8956 
-073d 7089586c jam 0x6c ,0x8958 
-073e 2020294b branch set_tx_power_0db 
+0744 20400753 call p_rx_low_sens 
+0745 708955d0 jam 0xd0 ,0x8955 
+0746 708956e0 jam 0xe0 ,0x8956 
+0747 7089586c jam 0x6c ,0x8958 
+0748 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-073f 2040074e call p_rx_high_sens 
-0740 708955d0 jam 0xd0 ,0x8955 
-0741 708956e0 jam 0xe0 ,0x8956 
-0742 7089583c jam 0x3c ,0x8958 
-0743 20202953 branch set_tx_power_5db 
+0749 20400758 call p_rx_high_sens 
+074a 708955d0 jam 0xd0 ,0x8955 
+074b 708956e0 jam 0xe0 ,0x8956 
+074c 7089583c jam 0x3c ,0x8958 
+074d 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0744 20400749 call p_rx_low_sens 
-0745 708955d0 jam 0xd0 ,0x8955 
-0746 708956c0 jam 0xc0 ,0x8956 
-0747 7089586c jam 0x6c ,0x8958 
-0748 2020295b branch set_tx_power_f5db 
+074e 20400753 call p_rx_low_sens 
+074f 708955d0 jam 0xd0 ,0x8955 
+0750 708956c0 jam 0xc0 ,0x8956 
+0751 7089586c jam 0x6c ,0x8958 
+0752 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0749 70894c5b jam 0x5b ,0x894c 
-074a 70894d96 jam 0x96 ,0x894d 
-074b 70894e2c jam 0x2c ,0x894e 
-074c 70894f46 jam 0x46 ,0x894f 
-074d 20600000 rtn 
+0753 70894c5b jam 0x5b ,0x894c 
+0754 70894d96 jam 0x96 ,0x894d 
+0755 70894e2c jam 0x2c ,0x894e 
+0756 70894f46 jam 0x46 ,0x894f 
+0757 20600000 rtn 
 
 p_rx_high_sens:
-074e 70894cfb jam 0xfb ,0x894c 
-074f 70894def jam 0xef ,0x894d 
-0750 70894eec jam 0xec ,0x894e 
-0751 70894f5e jam 0x5e ,0x894f 
-0752 20600000 rtn 
+0758 70894cfb jam 0xfb ,0x894c 
+0759 70894def jam 0xef ,0x894d 
+075a 70894eec jam 0xec ,0x894e 
+075b 70894f5e jam 0x5e ,0x894f 
+075c 20600000 rtn 
 
 p_set_tx_power_pair:
-0753 708956c2 jam 0xc2 ,0x8956 
-0754 708955d0 jam 0xd0 ,0x8955 
-0755 20600000 rtn 
+075d 708956c2 jam 0xc2 ,0x8956 
+075e 708955d0 jam 0xd0 ,0x8955 
+075f 20600000 rtn 
 
 p_shutdown_radio:
-0756 18002a08 force 8 ,radio_ctrl 
-0757 202028fa branch shutdown_radio + 1 
+0760 18002a08 force 8 ,radio_ctrl 
+0761 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-0758 20402978 call initialize_radio_cont + 1 
-0759 70804205 jam clksel_dpll ,core_clksel 
-075a 20600000 rtn 
+0762 20402978 call initialize_radio_cont + 1 
+0763 70804205 jam clksel_dpll ,core_clksel 
+0764 20600000 rtn 
 
 p_zcode_entrance:
-075b 680891c6 fetcht 1 ,mem_zcode_temp_param0 
-075c 18518400 rshift4 temp ,temp 
-075d 6800cb50 fetch 1 ,mem_zcode_current_number 
-075e 98467c00 isub temp ,null 
-075f 2022877a branch p_zcode_run ,zero 
-0760 6008cb50 storet 1 ,mem_zcode_current_number 
-0761 18408401 increase 1 ,temp 
-0762 58000100 setarg zcode_buff_size 
-0763 984f8400 imul32 temp ,temp 
-0764 6801cb51 fetch 3 ,mem_xip_flash_offset 
-0765 98467e00 isub temp ,pdata 
-0766 6809cb54 fetcht 3 ,mem_flash_start_addr 
-0767 9840fe00 iadd temp ,pdata 
-0768 1fe0fffb increase -5 ,pdata 
-0769 6001cb57 store 3 ,mem_flash_address 
-076a 20400355 call p_flash_release_deep_power_down 
+0765 680891c6 fetcht 1 ,mem_zcode_temp_param0 
+0766 18518400 rshift4 temp ,temp 
+0767 6800cb50 fetch 1 ,mem_zcode_current_number 
+0768 98467c00 isub temp ,null 
+0769 20228784 branch p_zcode_run ,zero 
+076a 6008cb50 storet 1 ,mem_zcode_current_number 
+076b 18408401 increase 1 ,temp 
+076c 58000100 setarg zcode_buff_size 
+076d 984f8400 imul32 temp ,temp 
+076e 6801cb51 fetch 3 ,mem_xip_flash_offset 
+076f 98467e00 isub temp ,pdata 
+0770 6809cb54 fetcht 3 ,mem_flash_start_addr 
+0771 9840fe00 iadd temp ,pdata 
+0772 1fe0fffb increase -5 ,pdata 
+0773 6001cb57 store 3 ,mem_flash_address 
+0774 20400355 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-076b 6801cb57 fetch 3 ,mem_flash_address 
-076c d8400100 arg zcode_buff_size ,temp 
-076d da201f00 arg mem_zcode_buff ,rega 
-076e 20406562 call spid_read_flash 
-076f 68021f00 fetch 4 ,mem_zcode_buff 
-0770 680a4b5a fetcht 4 ,mem_zcode_head 
-0771 98467c00 isub temp ,null 
-0772 2422876b nbranch p_zcode_read_loop ,zero 
-0773 20400323 call p_mouse_spi_init 
-0774 58001f00 setarg mem_zcode_buff 
-0775 60014199 store 2 ,mem_patch_ptr 
-0776 70419b40 jam zcode_code_size ,mem_patch_len 
-0777 204064ca call load_ucode 
-0778 58000000 setarg 0 
-0779 60024199 store 4 ,mem_patch_ptr 
+0775 6801cb57 fetch 3 ,mem_flash_address 
+0776 d8400100 arg zcode_buff_size ,temp 
+0777 da201f00 arg mem_zcode_buff ,rega 
+0778 20406562 call spid_read_flash 
+0779 68021f00 fetch 4 ,mem_zcode_buff 
+077a 680a4b5a fetcht 4 ,mem_zcode_head 
+077b 98467c00 isub temp ,null 
+077c 24228775 nbranch p_zcode_read_loop ,zero 
+077d 20400323 call p_mouse_spi_init 
+077e 58001f00 setarg mem_zcode_buff 
+077f 60014199 store 2 ,mem_patch_ptr 
+0780 70419b40 jam zcode_code_size ,mem_patch_len 
+0781 204064ca call load_ucode 
+0782 58000000 setarg 0 
+0783 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-077a 680091c6 fetch 1 ,mem_zcode_temp_param0 
-077b 20200001 branch p_zcode 
+0784 680091c6 fetch 1 ,mem_zcode_temp_param0 
+0785 20200001 branch p_zcode 
 
 p_drawing_optima:
-077c 6802469b fetch 4 ,mem_mouse_x 
-077d 207a0000 rtn blank 
-077e 204007d4 call p_data_abs_check 
-077f 58000003 setarg 0x03 
-0780 204007ca call p_pdata_greater_than_check 
-0781 205a07c6 call p_disable_asm ,blank 
-0782 245a07c8 ncall p_enable_asm ,blank 
-0783 58000002 setarg 0x02 
-0784 204007cf call p_data_less_than_check 
-0785 205a07c6 call p_disable_asm ,blank 
-0786 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-0787 c000878b beq 1 ,p_drawing_optima_modify 
+0786 6802469b fetch 4 ,mem_mouse_x 
+0787 207a0000 rtn blank 
+0788 204007de call p_data_abs_check 
+0789 58000003 setarg 0x03 
+078a 204007d4 call p_pdata_greater_than_check 
+078b 205a07d0 call p_disable_asm ,blank 
+078c 245a07d2 ncall p_enable_asm ,blank 
+078d 58000002 setarg 0x02 
+078e 204007d9 call p_data_less_than_check 
+078f 205a07d0 call p_disable_asm ,blank 
+0790 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+0791 c0008795 beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0788 df200005 arg 5 ,loopcnt 
-0789 d8a04b0b arg mem_mouse_asm_flag ,contw 
-078a 20207ed4 branch clear_mem 
+0792 df200005 arg 5 ,loopcnt 
+0793 d8a04b0b arg mem_mouse_asm_flag ,contw 
+0794 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-078b 68014b0c fetch 2 ,mem_mouse_x_pre 
-078c 600111be store 2 ,mem_data_pre 
-078d 6801469b fetch 2 ,mem_mouse_x 
-078e 600111c0 store 2 ,mem_data_current 
-078f 2040079e call p_drawing_optima_data 
-0790 680111be fetch 2 ,mem_data_pre 
-0791 60014b0c store 2 ,mem_mouse_x_pre 
-0792 680111c0 fetch 2 ,mem_data_current 
-0793 6001469b store 2 ,mem_mouse_x 
-0794 68014b0e fetch 2 ,mem_mouse_y_pre 
-0795 600111be store 2 ,mem_data_pre 
-0796 6801469d fetch 2 ,mem_mouse_y 
-0797 600111c0 store 2 ,mem_data_current 
-0798 2040079e call p_drawing_optima_data 
-0799 680111be fetch 2 ,mem_data_pre 
-079a 60014b0e store 2 ,mem_mouse_y_pre 
-079b 680111c0 fetch 2 ,mem_data_current 
-079c 6001469d store 2 ,mem_mouse_y 
-079d 20600000 rtn 
+0795 68014b0c fetch 2 ,mem_mouse_x_pre 
+0796 600111be store 2 ,mem_data_pre 
+0797 6801469b fetch 2 ,mem_mouse_x 
+0798 600111c0 store 2 ,mem_data_current 
+0799 204007a8 call p_drawing_optima_data 
+079a 680111be fetch 2 ,mem_data_pre 
+079b 60014b0c store 2 ,mem_mouse_x_pre 
+079c 680111c0 fetch 2 ,mem_data_current 
+079d 6001469b store 2 ,mem_mouse_x 
+079e 68014b0e fetch 2 ,mem_mouse_y_pre 
+079f 600111be store 2 ,mem_data_pre 
+07a0 6801469d fetch 2 ,mem_mouse_y 
+07a1 600111c0 store 2 ,mem_data_current 
+07a2 204007a8 call p_drawing_optima_data 
+07a3 680111be fetch 2 ,mem_data_pre 
+07a4 60014b0e store 2 ,mem_mouse_y_pre 
+07a5 680111c0 fetch 2 ,mem_data_current 
+07a6 6001469d store 2 ,mem_mouse_y 
+07a7 20600000 rtn 
 
 p_drawing_optima_data:
-079e 680111be fetch 2 ,mem_data_pre 
-079f 680911c0 fetcht 2 ,mem_data_current 
-07a0 9840fe00 iadd temp ,pdata 
-07a1 600191c2 store 3 ,mem_data_sum 
-07a2 2feffe10 isolate1 16 ,pdata 
-07a3 202087ab branch p_data_sum_overflow ,true 
-07a4 680091c3 fetch 1 ,mem_data_sum + 1 
-07a5 c07f87b2 beq 0xff ,p_data_sum_n 
-07a6 680091c2 fetch 1 ,mem_data_sum 
+07a8 680111be fetch 2 ,mem_data_pre 
+07a9 680911c0 fetcht 2 ,mem_data_current 
+07aa 9840fe00 iadd temp ,pdata 
+07ab 600191c2 store 3 ,mem_data_sum 
+07ac 2feffe10 isolate1 16 ,pdata 
+07ad 202087b5 branch p_data_sum_overflow ,true 
+07ae 680091c3 fetch 1 ,mem_data_sum + 1 
+07af c07f87bc beq 0xff ,p_data_sum_n 
+07b0 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07a7 1fe37e00 rshift pdata ,pdata 
-07a8 600111be store 2 ,mem_data_pre 
-07a9 600111c0 store 2 ,mem_data_current 
-07aa 20600000 rtn 
+07b1 1fe37e00 rshift pdata ,pdata 
+07b2 600111be store 2 ,mem_data_pre 
+07b3 600111c0 store 2 ,mem_data_current 
+07b4 20600000 rtn 
 
 p_data_sum_overflow:
-07ab 680091c3 fetch 1 ,mem_data_sum + 1 
-07ac c00007af beq 0 ,p_data_sum_overflow_p 
-07ad 680191c2 fetch 3 ,mem_data_sum 
-07ae 202007a7 branch p_data_store_pre 
+07b5 680091c3 fetch 1 ,mem_data_sum + 1 
+07b6 c00007b9 beq 0 ,p_data_sum_overflow_p 
+07b7 680191c2 fetch 3 ,mem_data_sum 
+07b8 202007b1 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07af 7011c400 jam 0 ,mem_data_sum + 2 
-07b0 680091c2 fetch 1 ,mem_data_sum 
-07b1 202007a7 branch p_data_store_pre 
+07b9 7011c400 jam 0 ,mem_data_sum + 2 
+07ba 680091c2 fetch 1 ,mem_data_sum 
+07bb 202007b1 branch p_data_store_pre 
 
 p_data_sum_n:
-07b2 680091c2 fetch 1 ,mem_data_sum 
-07b3 204007bd call p_pdata_get_half 
-07b4 600091be store 1 ,mem_data_pre 
-07b5 600091c0 store 1 ,mem_data_current 
-07b6 203a07bb branch p_data_zero ,blank 
-07b7 580000ff setarg 0xff 
+07bc 680091c2 fetch 1 ,mem_data_sum 
+07bd 204007c7 call p_pdata_get_half 
+07be 600091be store 1 ,mem_data_pre 
+07bf 600091c0 store 1 ,mem_data_current 
+07c0 203a07c5 branch p_data_zero ,blank 
+07c1 580000ff setarg 0xff 
 
 p_data_set_direction:
-07b8 600091bf store 1 ,mem_data_pre + 1 
-07b9 600091c1 store 1 ,mem_data_current + 1 
-07ba 20600000 rtn 
+07c2 600091bf store 1 ,mem_data_pre + 1 
+07c3 600091c1 store 1 ,mem_data_current + 1 
+07c4 20600000 rtn 
 
 p_data_zero:
-07bb 58000000 setarg 0 
-07bc 202007b8 branch p_data_set_direction 
+07c5 58000000 setarg 0 
+07c6 202007c2 branch p_data_set_direction 
 
 p_pdata_get_half:
-07bd 204007c2 call p_pdata_invert 
-07be 1fe37e00 rshift pdata ,pdata 
+07c7 204007cc call p_pdata_invert 
+07c8 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-07bf 204007c3 call p_rega_in_out 
-07c0 1fe67e00 sub pdata ,0 ,pdata 
-07c1 20600000 rtn 
+07c9 204007cd call p_rega_in_out 
+07ca 1fe67e00 sub pdata ,0 ,pdata 
+07cb 20600000 rtn 
 
 p_pdata_invert:
-07c2 1fe67e00 sub pdata ,0 ,pdata 
+07cc 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-07c3 60008aae store 1 ,mem_rega 
-07c4 68008aae fetch 1 ,mem_rega 
-07c5 20600000 rtn 
+07cd 60008aae store 1 ,mem_rega 
+07ce 68008aae fetch 1 ,mem_rega 
+07cf 20600000 rtn 
 
 p_disable_asm:
-07c6 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07c7 20600000 rtn 
+07d0 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07d1 20600000 rtn 
 
 p_enable_asm:
-07c8 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07c9 20600000 rtn 
+07d2 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07d3 20600000 rtn 
 
 p_pdata_greater_than_check:
-07ca 9a267c00 isub rega ,null 
-07cb 24217fef nbranch disable_blank ,positive 
-07cc 9a467c00 isub regb ,null 
-07cd 24217fef nbranch disable_blank ,positive 
-07ce 20207ff1 branch enable_blank 
+07d4 9a267c00 isub rega ,null 
+07d5 24217fef nbranch disable_blank ,positive 
+07d6 9a467c00 isub regb ,null 
+07d7 24217fef nbranch disable_blank ,positive 
+07d8 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-07cf 9a267c00 isub rega ,null 
-07d0 24610000 nrtn positive 
-07d1 9a467c00 isub regb ,null 
-07d2 24610000 nrtn positive 
-07d3 20207ff1 branch enable_blank 
+07d9 9a267c00 isub rega ,null 
+07da 24610000 nrtn positive 
+07db 9a467c00 isub regb ,null 
+07dc 24610000 nrtn positive 
+07dd 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-07d4 6801469b fetch 2 ,mem_mouse_x 
-07d5 204007db call p_data_abs 
-07d6 1fe22200 copy pdata ,rega 
-07d7 6801469d fetch 2 ,mem_mouse_y 
-07d8 204007db call p_data_abs 
-07d9 1fe22400 copy pdata ,regb 
-07da 20600000 rtn 
+07de 6801469b fetch 2 ,mem_mouse_x 
+07df 204007e5 call p_data_abs 
+07e0 1fe22200 copy pdata ,rega 
+07e1 6801469d fetch 2 ,mem_mouse_y 
+07e2 204007e5 call p_data_abs 
+07e3 1fe22400 copy pdata ,regb 
+07e4 20600000 rtn 
 
 p_data_abs:
-07db 600111c0 store 2 ,mem_data_current 
-07dc 680091c1 fetch 1 ,mem_data_current + 1 
-07dd c07f87e1 beq 0xff ,p_data_reversal 
-07de 680091c0 fetch 1 ,mem_data_current 
+07e5 600111c0 store 2 ,mem_data_current 
+07e6 680091c1 fetch 1 ,mem_data_current + 1 
+07e7 c07f87eb beq 0xff ,p_data_reversal 
+07e8 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07df 1fe17eff and_into 0xff ,pdata 
-07e0 20600000 rtn 
+07e9 1fe17eff and_into 0xff ,pdata 
+07ea 20600000 rtn 
 
 p_data_reversal:
-07e1 680111c0 fetch 2 ,mem_data_current 
-07e2 1fe67e00 sub pdata ,0 ,pdata 
-07e3 202007df branch p_data_abs_store 
+07eb 680111c0 fetch 2 ,mem_data_current 
+07ec 1fe67e00 sub pdata ,0 ,pdata 
+07ed 202007e9 branch p_data_abs_store 
 org 0x2000
 
 start:
@@ -35475,7 +35493,7 @@
 1001f 68014682  fetch 2 ,mem_ui_state_map
 10020 c28642b0  bbit1 ui_state_btn_down ,mouse_start_discovery
 10021 204033a9  call app_disconn_reason_clear
-10022 20400560  call p_mouse_check_key_gpio
+10022 2040055b  call p_mouse_check_key_gpio
 10023 c0038027  beq mouse_lmr_button ,z_mouse_null_enter_hibernate_enable
 10024 6800c6b6  fetch 1 ,mem_mouse_dpi_button_state
 10025 203a0027  branch z_mouse_null_enter_hibernate_enable ,blank
@@ -35508,89 +35526,72 @@
 
 z_hid_rx_process_hid_control:
 1003a 18427e00  copy temp ,pdata
-1003b c0028436  beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug
+1003b c0028431  beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug
 1003c 20204d41  branch hid_rx_process_hid_control + 2
 org 0x20001
 
 z_entrance1:
-20001 c0080010  beq zcode_10 ,z_send_lmp
-20002 c0088004  beq zcode_11 ,z_mouse4_0_check_reconn_target
-20003 20600000  rtn
+20001 c0080011  beq zcode_10 ,z_send_lmp_escape
+20002 c008801e  beq zcode_11 ,z_send_lmp_accepted
+20003 c0090005  beq zcode_12 ,z_mouse4_0_check_reconn_target
+20004 20600000  rtn
 
 z_mouse4_0_check_reconn_target:
-20004 704b6c01  jam 1 ,mem_le_send_security_request_flag
-20005 7047a101  jam 1 ,mem_mouse_le_reconnect_flag
-20006 680146a8  fetch 2 ,mem_mouse_direct_timeout
-20007 600146ae  store 2 ,mem_mouse_direct_timer
-20008 20400492  call p_mouse_store_eeprom_enable
-20009 20403418  call app_lpm_mult_disable
-2000a 204002d2  call p_le_check_adv_flag
-2000b 58000004  setarg adv_flag_bredr_not_supported
-2000c e0c08000  istore 1 ,contr
-2000d 2040048f  call p_le_adv_data_update3
-2000e 70436f03  jam 0x03 ,mem_le_adv_data_len
-2000f 20207df4  branch check_51cmd_adv
-
-z_send_lmp:
-20010 78547c00  disable user
-20011 204062c1  call lmo_fifo_process
-20012 68008048  fetch 1 ,mem_lmp_to_send
-20013 207a0000  rtn blank
-20014 c2838019  bbit1 7 ,z_send_lmp_escape
-20015 c0018029  beq lmp_accepted ,z_send_lmp_accepted
-20016 c0188025  beq lmp_setup_complete ,z_send_lmp_setup_complete
-20017 c00b8027  beq lmp_sniff_req ,z_send_lmp_sniff_req
-20018 20206010  branch send_lmp0
+20005 704b6c01  jam 1 ,mem_le_send_security_request_flag
+20006 7047a101  jam 1 ,mem_mouse_le_reconnect_flag
+20007 680146a8  fetch 2 ,mem_mouse_direct_timeout
+20008 600146ae  store 2 ,mem_mouse_direct_timer
+20009 2040048d  call p_mouse_store_eeprom_enable
+2000a 20403418  call app_lpm_mult_disable
+2000b 204002d2  call p_le_check_adv_flag
+2000c 58000004  setarg adv_flag_bredr_not_supported
+2000d e0c08000  istore 1 ,contr
+2000e 2040048a  call p_le_adv_data_update3
+2000f 70436f03  jam 0x03 ,mem_le_adv_data_len
+20010 20207df4  branch check_51cmd_adv
 
 z_send_lmp_escape:
-20019 c042001c  beq lmp_ext_features_res ,z_send_lmpext_features_res
-2001a c041801f  beq lmp_ext_features_req ,z_send_lmpext_features_req
-2001b 2020603f  branch send_lmp_escape
+20011 68008048  fetch 1 ,mem_lmp_to_send
+20012 c0420015  beq lmp_ext_features_res ,z_send_lmpext_features_res
+20013 c0418018  beq lmp_ext_features_req ,z_send_lmpext_features_req
+20014 2020603f  branch send_lmp_escape
 
 z_send_lmpext_features_res:
-2001c 20400022  call z_check_ssp_enable
-2001d 68008048  fetch 1 ,mem_lmp_to_send
-2001e 20206099  branch send_lmpext_features_res
+20015 2040001b  call z_check_ssp_enable
+20016 68008048  fetch 1 ,mem_lmp_to_send
+20017 20206099  branch send_lmpext_features_res
 
 z_send_lmpext_features_req:
-2001f 20400022  call z_check_ssp_enable
-20020 68008048  fetch 1 ,mem_lmp_to_send
-20021 2020610d  branch send_lmpext_features_req
+20018 2040001b  call z_check_ssp_enable
+20019 68008048  fetch 1 ,mem_lmp_to_send
+2001a 2020610d  branch send_lmpext_features_req
 
 z_check_ssp_enable:
-20022 6800c65a  fetch 1 ,mem_ssp_enable
-20023 203a612b  branch ssp_disable ,blank
-20024 20206124  branch ssp_enable
-
-z_send_lmp_setup_complete:
-20025 704b0101  jam 1 ,mem_bt_send_lmp_setup_complete
-20026 202061c3  branch send_lmp_setup_complete
-
-z_send_lmp_sniff_req:
-20027 704b0904  jam 4 ,mem_mouse_bt_send_first_package_timer
-20028 202061a4  branch send_lmp_sniff_req
+2001b 6800c65a  fetch 1 ,mem_ssp_enable
+2001c 203a612b  branch ssp_disable ,blank
+2001d 20206124  branch ssp_enable
 
 z_send_lmp_accepted:
-20029 18007e02  force 2 ,pdata
-2002a 20406298  call msg_send_lmp
-2002b 68008049  fetch 1 ,mem_lmi_opcode
-2002c e0a08000  istore 1 ,contw
-2002d 6000cafc  store 1 ,mem_lmi_opcode_temp
-2002e 204062a7  call send_lmp_follow
-2002f 6800cafc  fetch 1 ,mem_lmi_opcode_temp
-20030 c0170032  beq lmp_max_slot_req ,z_send_lmp_accepted_max_slot_req
-20031 20206051  branch send_lmp_accepted + 7
+2001e 18007e02  force 2 ,pdata
+2001f 20406298  call msg_send_lmp
+20020 68008049  fetch 1 ,mem_lmi_opcode
+20021 e0a08000  istore 1 ,contw
+20022 6000cafc  store 1 ,mem_lmi_opcode_temp
+20023 204062a7  call send_lmp_follow
+20024 6800cafc  fetch 1 ,mem_lmi_opcode_temp
+20025 c0170027  beq lmp_max_slot_req ,z_send_lmp_accepted_max_slot_req
+20026 20206051  branch send_lmp_accepted + 7
 
 z_send_lmp_accepted_max_slot_req:
-20032 6800caff  fetch 1 ,mem_bt_rcvd_switch_req_accept
-20033 207a0000  rtn blank
-20034 704aff00  jam 0 ,mem_bt_rcvd_switch_req_accept
-20035 6800cb01  fetch 1 ,mem_bt_send_lmp_setup_complete
-20036 c1810000  rtnne 2
-20037 704b0001  jam 1 ,mem_bt_send_max_slot_req_accept_after_switch
-20038 1c427e00  copy clkn_bt ,pdata
-20039 600204e9  store 4 ,mem_aurand_send_delay_time
-2003a 20600000  rtn
+20027 6800caff  fetch 1 ,mem_bt_rcvd_switch_req_accept
+20028 207a0000  rtn blank
+20029 704aff00  jam 0 ,mem_bt_rcvd_switch_req_accept
+2002a 6800cb01  fetch 1 ,mem_bt_send_lmp_setup_complete
+2002b c1810000  rtnne 2
+2002c 704b0001  jam 1 ,mem_bt_send_max_slot_req_accept_after_switch
+2002d 1c427e00  copy clkn_bt ,pdata
+2002e 600204e9  store 4 ,mem_aurand_send_delay_time
+2002f 20600000  rtn
 org 0x30001
 
 z_entrance2:
@@ -35687,15 +35688,15 @@
 40010 58000000  setarg 0
 40011 600146b0  store 2 ,mem_mouse_no_data_timer
 40012 600146ae  store 2 ,mem_mouse_direct_timer
-40013 20400492  call p_mouse_store_eeprom_enable
+40013 2040048d  call p_mouse_store_eeprom_enable
 40014 204043ca  call mouse_bt_discovery_button_down_disable
 40015 6800c092  fetch 1 ,mem_device_option
 40016 2feffe01  isolate1 mode_4_mouse ,pdata
-40017 20408484  call p_check_51cmd_adv ,true
+40017 2040847f  call p_check_51cmd_adv ,true
 40018 6800c092  fetch 1 ,mem_device_option
 40019 2feffe00  isolate1 mode_3_mouse ,pdata
 4001a 2040fddd  call check_51cmd_start_discovery ,true
-4001b 20200504  branch p_mouse_discovery_multi_led_blink
+4001b 202004ff  branch p_mouse_discovery_multi_led_blink
 
 z_mouse_le_addr_update:
 4001c 2040035f  call p_mouse_load_flash_user_data
@@ -35802,7 +35803,7 @@
 z_mouse_24g_attempt_success:
 60010 704b4000  jam 0 ,mem_mouse_long_mult_flag
 60011 20400018  call z_g24_auto_pair_timeout_clear
-60012 204004ec  call p_mouse_null_enter_hibernate_disable
+60012 204004e7  call p_mouse_null_enter_hibernate_disable
 60013 20403f8d  call mouse_no_data_timer_init
 60014 68024c53  fetch 4 ,mem_24g_addr
 60015 6002477b  store 4 ,mem_mouse_24g_addr
@@ -35864,16 +35865,16 @@
 7000c 204001ab  call p_g24_transmit_receive_ack
 7000d 242c0026  nbranch z_g24_pair_txdata_retry ,sync
 7000e 24378026  nbranch z_g24_pair_txdata_retry ,user3
-7000f 704d7f00  jam 0 ,mem_24g_conn_sm
-70010 204001d1  call p_g24_ackpayload_parse
-70011 68024c53  fetch 4 ,mem_24g_addr
-70012 680a4d70  fetcht 4 ,mem_24g_allpowerful_addr
-70013 98467c00  isub temp ,null
-70014 20228017  branch z_g24_auto_pair_skip_rx_length ,zero
-70015 6800cc29  fetch 1 ,mem_24g_rxdata_length
-70016 207a0000  rtn blank
+7000f 204001d1  call p_g24_ackpayload_parse
+70010 68024c53  fetch 4 ,mem_24g_addr
+70011 680a4d70  fetcht 4 ,mem_24g_allpowerful_addr
+70012 98467c00  isub temp ,null
+70013 20228016  branch z_g24_auto_pair_skip_rx_length ,zero
+70014 6800cc29  fetch 1 ,mem_24g_rxdata_length
+70015 c1840000  rtnne bind_ackpayload_length
 
 z_g24_auto_pair_skip_rx_length:
+70016 704d7f00  jam 0 ,mem_24g_conn_sm
 70017 204002c8  call p_mouse_tx_power_init
 70018 68024c53  fetch 4 ,mem_24g_addr
 70019 680a4c37  fetcht 4 ,mem_24g_paring_addr
@@ -35995,7 +35996,7 @@
 
 z_mouse_setting_config:
 90003 20403e6e  call mouse_gpio_init
-90004 20400532  call p_mouse_multi_led_gpio_set_float
+90004 2040052d  call p_mouse_multi_led_gpio_set_float
 90005 6808cb43  fetcht 1 ,mem_flash_ncs_gpio
 90006 2040680e  call gpio_config_output
 90007 58001802  setarg 0x1802
@@ -36141,13 +36142,13 @@
 b000c 58000009  setarg le_interval_11_25ms
 b000d 60014496  store 2 ,mem_le_interval_min
 b000e 60014498  store 2 ,mem_le_interval_min + 2
-b000f 2040042e  call p_app_updata_le_param
+b000f 20400429  call p_app_updata_le_param
 b0010 7047c401  jam le_lpm_disable ,mem_mouse_le_conn_param_reject
 b0011 20600000  rtn
 
 z_mouse_le_conn_param_update_rsp_not_accepted:
 b0012 704b5f01  jam 1 ,mem_mouse_le_updata_not_accepted_flag
-b0013 202005e0  branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset
+b0013 202005da  branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset
 
 z_mouse_bb_event_reconn_timeout:
 
@@ -36167,7 +36168,7 @@
 b001e 60014498  store 2 ,mem_le_interval_min + 2
 b001f 7047c400  jam le_lpm_enable ,mem_mouse_le_conn_param_reject
 b0020 70479e00  jam 0 ,mem_mouse_clear_sensor_data_flag
-b0021 204003b8  call p_mouse_data_init
+b0021 204003b3  call p_mouse_data_init
 b0022 20405816  call le_clr_config_more_data
 b0023 204041d9  call mouse_bb_disconnected
 b0024 20200316  branch p_mouse_store_flash_device_info
@@ -36197,7 +36198,7 @@
 
 z_mouse_select_device_button_gpio_set_suspend:
 b003a 6808c6ed  fetcht 1 ,mem_config_select_device_button_gpio
-b003b 20200533  branch p_mouse_set_gpio_suspend
+b003b 2020052e  branch p_mouse_set_gpio_suspend
 org 0xc0001
 
 z_entranceb:
@@ -36228,7 +36229,7 @@
 c0013 20200016  branch z_mouse_le_ll_enable_start_enc_flag
 
 z_mouse_le_ll_reconn_start_encryt:
-c0014 2040042e  call p_app_updata_le_param
+c0014 20400429  call p_app_updata_le_param
 c0015 7046c60a  jam 10 ,mem_le_start_encrypt_timer
 
 z_mouse_le_ll_enable_start_enc_flag:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/romcode.rom	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/output/romcode.rom	(working copy)
@@ -24605,7 +24605,7 @@
 68014682
 c28642b0
 204033a9
-20400560
+2040055b
 c0038027
 6800c6b6
 203a0027
@@ -24630,48 +24630,37 @@
 704b0301
 20600000
 18427e00
-c0028436
+c0028431
 20204d41
-c0080010
-c0088004
+c0080011
+c008801e
+c0090005
 20600000
 704b6c01
 7047a101
 680146a8
 600146ae
-20400492
+2040048d
 20403418
 204002d2
 58000004
 e0c08000
-2040048f
+2040048a
 70436f03
 20207df4
-78547c00
-204062c1
 68008048
-207a0000
-c2838019
-c0018029
-c0188025
-c00b8027
-20206010
-c042001c
-c041801f
+c0420015
+c0418018
 2020603f
-20400022
+2040001b
 68008048
 20206099
-20400022
+2040001b
 68008048
 2020610d
 6800c65a
 203a612b
 20206124
-704b0101
-202061c3
-704b0904
-202061a4
 18007e02
 20406298
 68008049
@@ -24679,7 +24668,7 @@
 6000cafc
 204062a7
 6800cafc
-c0170032
+c0170027
 20206051
 6800caff
 207a0000
@@ -24758,15 +24747,15 @@
 58000000
 600146b0
 600146ae
-20400492
+2040048d
 204043ca
 6800c092
 2feffe01
-20408484
+2040847f
 6800c092
 2feffe00
 2040fddd
-20200504
+202004ff
 2040035f
 68094b6e
 18408401
@@ -24843,7 +24832,7 @@
 2020340a
 704b4000
 20400018
-204004ec
+204004e7
 20403f8d
 68024c53
 6002477b
@@ -24890,14 +24879,14 @@
 204001ab
 242c0026
 24378026
-704d7f00
 204001d1
 68024c53
 680a4d70
 98467c00
-20228017
+20228016
 6800cc29
-207a0000
+c1840000
+704d7f00
 204002c8
 68024c53
 680a4c37
@@ -24987,7 +24976,7 @@
 c0400003
 20600000
 20403e6e
-20400532
+2040052d
 6808cb43
 2040680e
 58001802
@@ -25103,11 +25092,11 @@
 58000009
 60014496
 60014498
-2040042e
+20400429
 7047c401
 20600000
 704b5f01
-202005e0
+202005da
 68014682
 c3860000
 c3830000
@@ -25121,7 +25110,7 @@
 60014498
 7047c400
 70479e00
-204003b8
+204003b3
 20405816
 204041d9
 20200316
@@ -25147,7 +25136,7 @@
 6808c6ed
 202067ed
 6808c6ed
-20200533
+2020052e
 c0588006
 c059000c
 c0598011
@@ -25167,7 +25156,7 @@
 6800c7a1
 c0008014
 20200016
-2040042e
+20400429
 7046c60a
 d8e00001
 202041b9
@@ -25176,4 +25165,4 @@
 704b0a00
 20400316
 202041d9
-00005c91
+00008a50
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/program/patch.prog	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/program/patch.prog	(working copy)
@@ -280,7 +280,7 @@
 	fetch 1,mem_mouse_multi_led_state
 	beq ON,p_g24_transmit_by_interrupt_enable
 	fetch 1,mem_mouse_key
-	bbit1 2,p_g24_transmit_by_interrupt_enable	//MButton
+	bbit1 1,p_g24_transmit_by_interrupt_enable	//RButton
 p_g24_short_sleep:
 	call p_g24_lpm_wait
 	nrtn user
@@ -1220,7 +1220,7 @@
 
 ifdef BLE
 p_mouse4_0_check_reconn_target:
-	jam ZCODE_11,mem_zcode_temp_param0
+	jam ZCODE_12,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
 p_le_check_adv_flag:
@@ -1521,20 +1521,15 @@
 	setarg 0
 	store 1,mem_mouse_long_mult_flag
 	store 4,mem_mouse_x
+	branch p_mouse_init_sensor_reset
+	
 p_mouse_sensor_poweron:
 	call p_mouse_spi_init
 	arg mem_sensor_poweron_init,regc
 	call p_sensor_wr_seq
-	call p_mouse_dpi_config
-	fetch 1,mem_config_sensor_type
-	beq KA8,p_mouse_ka8_init_param
-	beq MX8650,p_mouse_mx8650_init_param
-	rtn
-	
 p_mouse_dpi_config:
 	fetch 1,mem_mouse_dpi
-	beq 0xff,p_mouse_dpi_config_default
-	branch p_mouse_seting_dpi
+	bne 0xff,p_mouse_seting_dpi
 p_mouse_dpi_config_default:
 	fetch 1,mem_config_sensor_motion
 	store 1,mem_mouse_dpi
@@ -2471,8 +2466,7 @@
 
 p_mouse_stop_discovery:
 	call p_mouse_discovey_led_blink_off
-	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
@@ -2760,7 +2754,8 @@
 	fetch 2,mem_rx_window_sniff
 	store 2,mem_le_receive_window
 	fetch 1,mem_le_connect_status_flag
-	bne 3,lpm_mult_short
+	compare 3,pdata,3
+	nbranch lpm_mult_short,true
 	branch le_lpm_set_mult_attempt+3
 
 p_le_mouse_bb_event_connect_complete:
@@ -2925,9 +2920,45 @@
 	rtn
 
 p_send_lmp:
+	disable user
+	call lmo_fifo_process
+ifdef DEBUGLOG
+ifdef DEBUGLOG_SEND_LMP
+	setarg DEBUGLOG_DTYPE_SEND_LMP
+	store 2,mem_debuglog_datatype
+	fetch 1,mem_lmi_opcode
+	store 1,mem_debuglog_dataval+1
+	fetch 1,mem_lmp_to_send
+	store 1,mem_debuglog_dataval
+	fetch 1,mem_lmp_to_send
+	store 2,mem_debuglog_dataval
+	ncall debuglog_push,blank
+endif
+endif
+	fetch 1,mem_lmp_to_send
+	rtn blank
+	bbit1 7,p_send_lmp_escape
+	beq LMP_ACCEPTED,p_send_lmp_accepted
+	beq LMP_SETUP_COMPLETE,p_send_lmp_setup_complete
+	beq LMP_SNIFF_REQ,p_send_lmp_sniff_req
+	branch send_lmp0
+
+p_send_lmp_escape:
 	jam ZCODE_10,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
+p_send_lmp_accepted:
+	jam ZCODE_11,mem_zcode_temp_param0
+	branch p_zcode_entrance
+
+p_send_lmp_setup_complete:
+	jam 1,mem_bt_send_lmp_setup_complete
+	branch send_lmp_setup_complete
+
+p_send_lmp_sniff_req:
+	jam 4,mem_mouse_bt_send_first_package_timer
+	branch send_lmp_sniff_req
+
 p_process_conn_sm:
 	call lmo_fifo_check
 	nrtn blank
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/program/z.prog	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/program/z.prog	(working copy)
@@ -81,8 +81,9 @@
 org 0x20001
 
 z_entrance1:
-	beq ZCODE_10,z_send_lmp
-	beq ZCODE_11,z_mouse4_0_check_reconn_target
+	beq ZCODE_10,z_send_lmp_escape
+	beq ZCODE_11,z_send_lmp_accepted
+	beq ZCODE_12,z_mouse4_0_check_reconn_target
 	rtn
 
 z_mouse4_0_check_reconn_target:
@@ -99,32 +100,8 @@
 	jam 0x03,mem_le_adv_data_len
 	branch check_51cmd_adv
 
-z_send_lmp:
-	disable user
-	call lmo_fifo_process
-
-ifdef DEBUGLOG
-ifdef DEBUGLOG_SEND_LMP
-	setarg DEBUGLOG_DTYPE_SEND_LMP
-	store 2,mem_debuglog_datatype
-	fetch 1,mem_lmi_opcode
-	store 1,mem_debuglog_dataval+1
-	fetch 1,mem_lmp_to_send
-	store 1,mem_debuglog_dataval
-	fetch 1,mem_lmp_to_send
-	store 2,mem_debuglog_dataval
-	ncall debuglog_push,blank
-endif
-endif
-	
-	fetch 1,mem_lmp_to_send
-	rtn blank
-	bbit1 7,z_send_lmp_escape
-	beq LMP_ACCEPTED,z_send_lmp_accepted
-	beq LMP_SETUP_COMPLETE,z_send_lmp_setup_complete
-	beq LMP_SNIFF_REQ, z_send_lmp_sniff_req
-	branch send_lmp0
 z_send_lmp_escape:
+	fetch 1,mem_lmp_to_send
 	beq LMP_EXT_FEATURES_RES,z_send_lmpext_features_res
 	beq LMP_EXT_FEATURES_REQ,z_send_lmpext_features_req	
 	branch send_lmp_escape
@@ -141,15 +118,6 @@
 	branch ssp_disable,blank
 	branch ssp_enable
 
-z_send_lmp_setup_complete:
-	jam 1,mem_bt_send_lmp_setup_complete
-	branch send_lmp_setup_complete
-
-z_send_lmp_sniff_req:
-	jam 4,mem_mouse_bt_send_first_package_timer
-	branch send_lmp_sniff_req
-	
-
 z_send_lmp_accepted:
 	force 2,pdata
 	call msg_send_lmp
@@ -457,18 +425,18 @@
 	call p_g24_transmit_receive_ack
 	nbranch z_g24_pair_txdata_retry,sync
 	nbranch z_g24_pair_txdata_retry,user3
-//	fetch 1,mem_24g_conn_sm
-//	set0 STATE_24G_PAIR,pdata
-//	store 1,mem_24g_conn_sm
-	jam 0,mem_24g_conn_sm
 	call p_g24_ackpayload_parse
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_allpowerful_addr
 	isub temp,null
 	branch z_g24_auto_pair_skip_rx_length,zero
 	fetch 1,mem_24g_rxdata_length	//ack payload length
-	rtn blank
+	rtnne BIND_ACKPAYLOAD_LENGTH
 z_g24_auto_pair_skip_rx_length:
+//	fetch 1,mem_24g_conn_sm
+//	set0 STATE_24G_PAIR,pdata
+//	store 1,mem_24g_conn_sm
+	jam 0,mem_24g_conn_sm
 	call p_mouse_tx_power_init
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_paring_addr
Index: sched/109x.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/sched/109x.dat	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/sched/109x.dat	(working copy)
@@ -17,8 +17,6 @@
 
 mem_seqi:00
 
-
-
 mem_tx_power:00#0dbm
 mem_rf_init_data_new:
 # tx power
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/sched/mouse.dat	(revision 1737)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch_lap_random/sched/mouse.dat	(working copy)
@@ -152,8 +152,8 @@
 mem_config_sensor_type:00
 02 #mem_config_sensor_motion:02
 06 #mem_lbutton_gpio:04
-14 #mem_rbutton_gpio:1b
-1d #mem_mbutton_gpio:17
+1d #mem_rbutton_gpio:1b
+14 #mem_mbutton_gpio:17
 ff #mem_bk_button_gpio:ff
 ff #mem_fw_button_gpio:ff
 14 #mem_dpi_button_gpio:06
@@ -162,7 +162,7 @@
 ff #mem_whee_ta_data_gpio:ff
 ff #mem_whee_tb_data_gpio:ff
 ff #mem_config_bt_button_gpio:ff
-08 #mem_config_select_device_button_gpio:ff
+05 #mem_config_select_device_button_gpio:ff
 ff #mem_config_paraing_led_gpio:ff
 ff #mem_config_low_voltage_alarm_gpio:08
 ff #mem_config_device1_led_gpio:08
@@ -315,7 +315,7 @@
 mem_bt_discovey_button_statue:01#default: button up
 mem_empty_count:03
 
-mem_mouse_multi_led_gpio:05
+mem_mouse_multi_led_gpio:08
 mem_mouse_multi_led_on_timer_init:14
 mem_mouse_multi_led_blink_timer_init:03
 
