Index: format/app_usb.format
===================================================================
--- /branch/mouse_project/YJX_24G&BLE/format/app_usb.format	(revision 1737)
+++ /branch/mouse_project/YJX_24G&BLE/format/app_usb.format	(working copy)
@@ -184,7 +184,9 @@
 
 (
 0x01 BIND_ACKPAYLOAD
+0x08 BIND_ACKPAYLOAD_LENGTH
 0x02 USER_ACKPAYLOAD
+0x1F USER_ACKPAYLOAD_LENGTH
 
 0xcf CMD_OTA
 0xc0 CMD_OTA_START
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_24G&BLE/output/eeprom.dat	(revision 1737)
+++ /branch/mouse_project/YJX_24G&BLE/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-e2
+ea
 1c
 c2
 84
@@ -23,11 +23,11 @@
 c0
 42
 87
-36
+38
 c0
 44
 87
-09
+0b
 c0
 50
 80
@@ -47,31 +47,31 @@
 c0
 64
 83
-89
+86
 c0
 65
 03
-8d
+8a
 c0
 71
 85
-51
+4e
 c0
 73
 05
-76
+79
 c0
 75
 05
-b0
+b3
 c0
 75
 85
-b8
+bb
 c0
 76
 05
-e5
+e8
 20
 20
 2a
@@ -79,51 +79,51 @@
 c0
 1c
 85
-eb
+ed
 c0
 21
 85
-f3
+f5
 c0
 25
 05
-f9
+fb
 c0
 2b
 85
-fc
+fe
 c0
 2c
 86
-0c
+0e
 c0
 31
 86
-19
+1b
 c0
 33
 06
-42
+44
 c0
 33
 86
-61
+63
 c0
 35
 06
-9d
+9f
 c0
 3b
 86
-a8
+aa
 c0
 7d
 06
-b9
+bb
 c0
 46
 06
-c2
+c4
 20
 20
 2a
@@ -195,7 +195,7 @@
 20
 40
 03
-d6
+d3
 20
 40
 6a
@@ -371,7 +371,7 @@
 20
 40
 06
-df
+e1
 20
 40
 00
@@ -428,10 +428,6 @@
 37
 82
 14
-70
-4d
-5b
-00
 20
 40
 01
@@ -451,14 +447,18 @@
 20
 22
 80
-72
+71
 68
 00
 cc
 0a
-20
-7a
+c1
+84
+00
 00
+70
+4d
+5b
 00
 20
 40
@@ -479,7 +479,7 @@
 20
 22
 83
-29
+28
 68
 02
 4c
@@ -1087,7 +1087,7 @@
 20
 20
 03
-35
+32
 70
 4d
 42
@@ -1159,7 +1159,7 @@
 20
 40
 06
-d5
+d7
 20
 20
 02
@@ -1203,7 +1203,7 @@
 20
 40
 06
-d5
+d7
 70
 4d
 3f
@@ -1415,7 +1415,7 @@
 20
 40
 03
-f3
+f0
 70
 4c
 38
@@ -1539,7 +1539,7 @@
 20
 40
 06
-d1
+d3
 68
 00
 cc
@@ -1699,11 +1699,11 @@
 20
 40
 07
-00
+02
 20
 40
 06
-d5
+d7
 20
 20
 02
@@ -1955,7 +1955,7 @@
 20
 40
 06
-ce
+d0
 68
 00
 cc
@@ -2019,7 +2019,7 @@
 20
 40
 03
-ae
+ab
 20
 34
 02
@@ -3023,7 +3023,7 @@
 20
 40
 03
-cc
+c9
 20
 40
 00
@@ -3067,7 +3067,7 @@
 20
 20
 05
-51
+4e
 20
 40
 34
@@ -3079,7 +3079,7 @@
 20
 40
 03
-fc
+fa
 68
 00
 c1
@@ -3091,7 +3091,7 @@
 20
 40
 06
-ce
+d0
 68
 00
 c6
@@ -3123,11 +3123,11 @@
 24
 55
 83
-4e
+4b
 20
 40
 03
-33
+30
 20
 75
 80
@@ -3135,11 +3135,11 @@
 20
 40
 03
-b7
+b4
 20
 20
 03
-94
+91
 20
 40
 03
@@ -3207,7 +3207,7 @@
 c0
 7f
 85
-de
+e1
 28
 0f
 fe
@@ -3215,11 +3215,11 @@
 24
 40
 85
-48
+45
 20
 40
 05
-dc
+df
 20
 40
 34
@@ -3231,19 +3231,11 @@
 20
 40
 05
-d8
-70
-43
-8f
-1f
+db
 20
 20
 7d
 f4
-79
-20
-00
-26
 20
 40
 01
@@ -3261,13 +3253,9 @@
 c7
 7a
 c0
-7f
-83
-30
-20
-20
-05
-51
+ff
+85
+4e
 68
 00
 c6
@@ -3279,7 +3267,7 @@
 20
 20
 05
-51
+4e
 70
 42
 12
@@ -3291,7 +3279,7 @@
 20
 40
 03
-33
+30
 20
 40
 40
@@ -3303,11 +3291,11 @@
 c0
 18
 03
-3d
+3a
 c0
 18
 83
-49
+46
 20
 40
 40
@@ -3319,11 +3307,11 @@
 20
 20
 03
-37
+34
 20
 40
 03
-f8
+f6
 68
 00
 c6
@@ -3331,7 +3319,7 @@
 c0
 2d
 03
-41
+3e
 20
 20
 40
@@ -3367,11 +3355,11 @@
 20
 20
 03
-43
+40
 20
 40
 03
-f8
+f6
 68
 00
 c6
@@ -3403,7 +3391,7 @@
 20
 40
 05
-3b
+38
 20
 40
 3e
@@ -3419,7 +3407,7 @@
 20
 40
 03
-76
+73
 20
 40
 58
@@ -3451,11 +3439,11 @@
 20
 40
 03
-86
+83
 20
 40
 04
-7f
+7c
 20
 40
 65
@@ -3463,7 +3451,7 @@
 20
 40
 03
-64
+61
 68
 00
 cb
@@ -3471,7 +3459,7 @@
 c0
 7f
 83
-70
+6d
 20
 60
 00
@@ -3563,7 +3551,7 @@
 20
 40
 03
-7e
+7b
 68
 10
 80
@@ -3679,11 +3667,11 @@
 24
 55
 83
-91
+8e
 20
 40
 03
-35
+32
 20
 40
 00
@@ -3699,7 +3687,7 @@
 20
 40
 05
-4d
+4a
 68
 00
 cb
@@ -3707,11 +3695,11 @@
 c2
 81
 03
-a8
+a5
 20
 40
 03
-30
+2d
 70
 4b
 54
@@ -3719,7 +3707,7 @@
 20
 40
 04
-4c
+49
 70
 4b
 55
@@ -3739,7 +3727,7 @@
 20
 40
 04
-7f
+7c
 20
 40
 65
@@ -3751,7 +3739,7 @@
 20
 40
 04
-4e
+4b
 68
 00
 cb
@@ -3759,7 +3747,7 @@
 c0
 00
 84
-8a
+87
 c0
 01
 01
@@ -3803,7 +3791,7 @@
 c2
 00
 03
-b2
+af
 20
 60
 00
@@ -3811,7 +3799,7 @@
 58
 00
 03
-c8
+c5
 60
 01
 4d
@@ -3819,7 +3807,7 @@
 58
 00
 03
-df
+dc
 60
 01
 41
@@ -3827,7 +3815,7 @@
 58
 00
 06
-b2
+b4
 60
 01
 41
@@ -3843,7 +3831,7 @@
 58
 00
 04
-2a
+27
 60
 01
 41
@@ -3851,7 +3839,7 @@
 58
 00
 04
-1e
+1b
 60
 01
 41
@@ -3859,7 +3847,7 @@
 58
 00
 04
-9b
+98
 60
 01
 41
@@ -3867,7 +3855,7 @@
 58
 00
 04
-b2
+af
 60
 01
 41
@@ -3903,7 +3891,7 @@
 20
 40
 03
-d4
+d1
 d8
 c0
 19
@@ -3911,7 +3899,7 @@
 20
 40
 03
-d4
+d1
 d8
 c0
 1a
@@ -3919,7 +3907,7 @@
 20
 40
 03
-d4
+d1
 d8
 c0
 1b
@@ -3943,7 +3931,7 @@
 20
 40
 03
-d4
+d1
 d8
 a0
 19
@@ -3951,7 +3939,7 @@
 20
 40
 03
-d4
+d1
 d8
 a0
 1a
@@ -3959,7 +3947,7 @@
 20
 40
 03
-d4
+d1
 d8
 a0
 1b
@@ -3967,7 +3955,7 @@
 20
 20
 03
-d4
+d1
 20
 40
 58
@@ -3983,7 +3971,7 @@
 c0
 7f
 83
-e6
+e3
 68
 00
 c6
@@ -4003,7 +3991,7 @@
 20
 5a
 04
-1b
+19
 68
 02
 46
@@ -4023,19 +4011,19 @@
 20
 40
 03
-f0
+ed
 20
 40
 03
-f3
+f0
 20
 40
 04
-16
+14
 20
 20
-04
-01
+03
+ff
 70
 41
 72
@@ -4068,6 +4056,10 @@
 02
 46
 9b
+20
+20
+01
+0d
 da
 60
 4b
@@ -4075,11 +4067,11 @@
 20
 40
 03
-43
+40
 20
 40
 03
-2d
+2b
 20
 60
 00
@@ -4115,7 +4107,7 @@
 20
 54
 04
-05
+03
 20
 60
 00
@@ -4147,7 +4139,7 @@
 20
 34
 04
-0d
+0b
 20
 60
 00
@@ -4212,14 +4204,10 @@
 40
 58
 14
-70
-47
-9c
-01
 20
 20
-03
-f8
+01
+0d
 20
 40
 7e
@@ -4227,7 +4215,7 @@
 20
 40
 04
-21
+1e
 20
 20
 3e
@@ -4239,7 +4227,7 @@
 20
 40
 05
-aa
+ad
 68
 08
 c6
@@ -4251,11 +4239,11 @@
 20
 20
 84
-28
+25
 20
 40
 05
-a5
+a8
 20
 20
 3d
@@ -4263,7 +4251,7 @@
 20
 40
 05
-a5
+a8
 20
 20
 3d
@@ -4275,35 +4263,35 @@
 c0
 0a
 04
-34
+31
 c0
 0a
 84
-54
+51
 c0
 14
 84
-61
+5e
 c0
 19
 04
-63
+60
 c0
 20
 04
-6b
+68
 c0
 1c
 84
-79
+76
 c0
 1d
 04
-83
+80
 c0
 1e
 04
-8f
+8c
 20
 20
 41
@@ -4331,7 +4319,7 @@
 24
 42
 83
-68
+65
 70
 4b
 55
@@ -4351,7 +4339,7 @@
 24
 3a
 04
-40
+3d
 70
 4b
 3c
@@ -4371,7 +4359,7 @@
 20
 40
 04
-47
+44
 20
 40
 01
@@ -4379,7 +4367,7 @@
 20
 40
 03
-fc
+fa
 20
 20
 41
@@ -4395,7 +4383,7 @@
 20
 40
 03
-b0
+ad
 20
 74
 00
@@ -4407,7 +4395,7 @@
 20
 40
 04
-50
+4d
 20
 20
 65
@@ -4415,7 +4403,7 @@
 20
 40
 04
-50
+4d
 20
 20
 65
@@ -4443,7 +4431,7 @@
 20
 40
 04
-ae
+ab
 58
 00
 00
@@ -4467,7 +4455,7 @@
 20
 40
 03
-fc
+fa
 20
 40
 58
@@ -4487,7 +4475,7 @@
 20
 20
 05
-d0
+d3
 70
 0a
 99
@@ -4503,7 +4491,7 @@
 c0
 00
 84
-67
+64
 70
 46
 c6
@@ -4511,11 +4499,11 @@
 20
 20
 04
-69
+66
 20
 40
 04
-61
+5e
 70
 46
 c6
@@ -4551,7 +4539,7 @@
 20
 21
 04
-77
+74
 58
 00
 00
@@ -4567,7 +4555,7 @@
 20
 40
 04
-61
+5e
 70
 47
 c4
@@ -4583,7 +4571,7 @@
 20
 20
 06
-58
+5a
 20
 40
 03
@@ -4591,7 +4579,7 @@
 20
 40
 04
-8f
+8c
 d8
 e0
 00
@@ -4627,7 +4615,7 @@
 20
 40
 04
-ae
+ab
 70
 4d
 4c
@@ -4691,7 +4679,7 @@
 20
 40
 05
-32
+2f
 20
 40
 02
@@ -4707,7 +4695,7 @@
 20
 40
 04
-7f
+7c
 20
 40
 65
@@ -4719,7 +4707,7 @@
 20
 20
 04
-4c
+49
 68
 12
 01
@@ -4739,7 +4727,7 @@
 20
 40
 04
-ae
+ab
 20
 40
 74
@@ -4747,7 +4735,7 @@
 20
 40
 05
-3b
+38
 20
 40
 3e
@@ -4775,7 +4763,7 @@
 20
 40
 05
-aa
+ad
 68
 04
 00
@@ -4815,19 +4803,19 @@
 20
 40
 04
-c9
+c6
 20
 40
 05
-1d
+1a
 20
 40
 04
-fd
+fa
 20
 40
-05
-02
+04
+ff
 20
 40
 42
@@ -4835,31 +4823,31 @@
 20
 40
 04
-d6
+d3
 20
 40
 04
-dd
+da
 20
 40
 04
-c2
+bf
 20
 40
 04
-ec
+e9
 20
 40
 04
-ef
+ec
 20
 40
 04
-f5
+f2
 20
 40
 04
-bf
+bc
 20
 20
 42
@@ -4871,7 +4859,7 @@
 da
 40
 04
-8a
+87
 20
 20
 33
@@ -4883,7 +4871,7 @@
 da
 40
 04
-c5
+c2
 20
 20
 33
@@ -4903,7 +4891,7 @@
 20
 20
 05
-11
+0e
 68
 00
 cb
@@ -4919,7 +4907,7 @@
 da
 40
 04
-ce
+cb
 20
 20
 33
@@ -4947,11 +4935,11 @@
 c0
 00
 05
-d0
+d3
 c0
 00
 85
-e0
+e3
 20
 60
 00
@@ -4963,7 +4951,7 @@
 da
 40
 04
-d9
+d6
 20
 20
 33
@@ -4991,7 +4979,7 @@
 da
 40
 04
-e0
+dd
 20
 20
 33
@@ -5007,7 +4995,7 @@
 24
 3a
 04
-e7
+e4
 68
 01
 46
@@ -5043,7 +5031,7 @@
 20
 20
 05
-40
+3d
 da
 60
 46
@@ -5063,7 +5051,7 @@
 da
 40
 04
-f2
+ef
 20
 20
 33
@@ -5079,7 +5067,7 @@
 20
 20
 04
-db
+d8
 68
 00
 cb
@@ -5095,7 +5083,7 @@
 da
 40
 04
-fa
+f7
 20
 20
 33
@@ -5118,8 +5106,8 @@
 07
 da
 40
-05
-00
+04
+fd
 20
 20
 33
@@ -5139,7 +5127,7 @@
 20
 3a
 05
-0a
+07
 68
 00
 c6
@@ -5167,7 +5155,7 @@
 20
 40
 05
-0c
+09
 20
 20
 43
@@ -5179,7 +5167,7 @@
 da
 40
 05
-0f
+0c
 20
 20
 33
@@ -5191,7 +5179,7 @@
 24
 3a
 05
-1a
+17
 28
 0f
 fe
@@ -5199,7 +5187,7 @@
 20
 40
 85
-18
+15
 68
 00
 cb
@@ -5211,11 +5199,11 @@
 20
 42
 85
-18
+15
 20
 40
 05
-d4
+d7
 20
 20
 43
@@ -5251,7 +5239,7 @@
 20
 20
 05
-20
+1d
 da
 60
 4b
@@ -5259,7 +5247,7 @@
 da
 40
 05
-23
+20
 20
 20
 33
@@ -5279,7 +5267,7 @@
 20
 3a
 05
-2b
+28
 68
 00
 cb
@@ -5287,7 +5275,7 @@
 20
 3a
 05
-32
+2f
 1f
 e0
 ff
@@ -5303,7 +5291,7 @@
 c0
 00
 85
-34
+31
 70
 4b
 01
@@ -5339,7 +5327,7 @@
 24
 3a
 05
-39
+36
 70
 4b
 0a
@@ -5419,7 +5407,7 @@
 20
 20
 05
-42
+3f
 68
 00
 cb
@@ -5431,7 +5419,7 @@
 20
 20
 05
-32
+2f
 70
 4b
 06
@@ -5447,23 +5435,7 @@
 20
 20
 05
-44
-68
-00
-c6
-e0
-c0
-03
-05
-5e
-c0
-03
-85
-5e
-c0
-01
-05
-6e
+41
 68
 00
 c7
@@ -5475,23 +5447,47 @@
 20
 42
 85
-5c
+5b
 68
 00
 c7
 7a
 c0
 00
-3d
-8a
+05
+5d
 c0
 01
-bd
-8e
+85
+63
+68
+00
+c6
+e0
+c0
+03
+05
+69
+c0
+03
+85
+69
+c0
+01
+05
+72
+68
+00
+c7
+81
+60
+00
+c6
+b5
 20
 20
 3d
-8c
+c1
 70
 47
 7a
@@ -5502,28 +5498,52 @@
 00
 68
 00
-c7
-7a
-1f
-e6
-7c
-01
-20
-42
+c6
+e0
+c0
+03
+05
+6c
+c0
+03
 85
-5c
+6c
+c0
+01
+05
+75
 68
 00
 c7
-7a
-c0
-00
+7f
+20
+20
 05
+59
 68
+00
+c6
+e0
 c0
-01
+03
+05
+6f
+c0
+03
 85
-6b
+6f
+c0
+01
+05
+77
+68
+00
+c7
+82
+20
+20
+05
+59
 68
 00
 c7
@@ -5532,14 +5552,10 @@
 e0
 ff
 ff
-60
-00
-c6
-b5
 20
 20
-3d
-c1
+05
+59
 68
 00
 c7
@@ -5551,7 +5567,7 @@
 20
 20
 05
-66
+59
 68
 00
 c7
@@ -5563,39 +5579,35 @@
 20
 20
 05
-66
+59
 68
 00
 c7
-7a
+81
+1f
+e0
+fe
+02
+20
 20
-5a
 05
-5c
+59
 68
 00
 c7
-7a
-c0
-00
-bd
-88
-c0
-01
-85
-74
+7f
 20
 20
-3d
-8e
-58
-00
-00
 05
+73
+68
+00
+c7
+82
 20
 20
-3d
-be
+05
+73
 78
 54
 7c
@@ -5611,7 +5623,7 @@
 20
 40
 05
-7f
+82
 20
 40
 40
@@ -5623,7 +5635,7 @@
 20
 40
 05
-82
+85
 24
 74
 00
@@ -5647,7 +5659,7 @@
 20
 40
 05
-84
+87
 20
 20
 40
@@ -5659,11 +5671,11 @@
 20
 40
 05
-8a
+8d
 20
 40
 05
-88
+8b
 20
 20
 40
@@ -5671,11 +5683,11 @@
 20
 40
 05
-9a
+9d
 20
 20
 05
-a0
+a3
 68
 08
 c6
@@ -5683,7 +5695,7 @@
 20
 40
 05
-a5
+a8
 68
 08
 c6
@@ -5703,7 +5715,7 @@
 20
 40
 05
-a5
+a8
 68
 08
 c6
@@ -5723,7 +5735,7 @@
 20
 40
 05
-a5
+a8
 68
 08
 c6
@@ -5747,7 +5759,7 @@
 20
 40
 05
-aa
+ad
 68
 08
 c6
@@ -5763,7 +5775,7 @@
 20
 20
 05
-a5
+a8
 68
 08
 c6
@@ -5771,7 +5783,7 @@
 20
 40
 05
-aa
+ad
 68
 08
 c6
@@ -5803,7 +5815,7 @@
 20
 20
 05
-ae
+b1
 79
 3f
 84
@@ -5891,11 +5903,11 @@
 20
 40
 03
-b0
+ad
 24
 54
 03
-6b
+68
 68
 03
 4b
@@ -5935,7 +5947,7 @@
 20
 40
 05
-dc
+df
 20
 40
 43
@@ -5947,7 +5959,7 @@
 24
 5a
 05
-d0
+d3
 20
 40
 42
@@ -5955,7 +5967,7 @@
 20
 20
 05
-40
+3d
 68
 03
 4b
@@ -5967,7 +5979,7 @@
 20
 40
 05
-d4
+d7
 20
 20
 7d
@@ -5983,7 +5995,7 @@
 20
 40
 05
-dc
+df
 d8
 c0
 4b
@@ -6019,7 +6031,7 @@
 24
 40
 85
-40
+3d
 70
 43
 6f
@@ -6039,11 +6051,11 @@
 20
 20
 03
-72
+6f
 20
 40
 05
-4a
+47
 58
 00
 00
@@ -6052,14 +6064,10 @@
 01
 46
 ac
-70
-4b
-0c
-01
 20
 40
-03
-f8
+01
+0d
 20
 20
 42
@@ -6091,7 +6099,7 @@
 20
 40
 06
-df
+e1
 20
 20
 53
@@ -6135,7 +6143,7 @@
 20
 40
 06
-02
+04
 20
 20
 55
@@ -6167,7 +6175,7 @@
 24
 21
 04
-75
+72
 68
 00
 c3
@@ -6182,8 +6190,8 @@
 00
 20
 21
-05
-fe
+06
+00
 68
 00
 c3
@@ -6195,7 +6203,7 @@
 20
 20
 06
-00
+02
 68
 00
 84
@@ -6207,7 +6215,7 @@
 20
 40
 06
-11
+13
 24
 74
 00
@@ -6255,11 +6263,11 @@
 c2
 82
 86
-39
+3b
 20
 40
 06
-d1
+d3
 68
 00
 c7
@@ -6267,7 +6275,7 @@
 24
 3a
 06
-23
+25
 68
 00
 84
@@ -6275,7 +6283,7 @@
 c3
 02
 06
-27
+29
 68
 00
 82
@@ -6283,7 +6291,7 @@
 20
 3a
 06
-27
+29
 20
 20
 56
@@ -6311,7 +6319,7 @@
 c0
 82
 86
-2a
+2c
 70
 47
 8e
@@ -6323,7 +6331,7 @@
 20
 5a
 04
-09
+07
 20
 20
 56
@@ -6379,11 +6387,11 @@
 20
 40
 06
-2d
+2f
 20
 20
 06
-d5
+d7
 68
 00
 c7
@@ -6467,7 +6475,7 @@
 c0
 01
 86
-51
+53
 20
 20
 56
@@ -6479,11 +6487,11 @@
 c0
 00
 06
-55
+57
 c0
 00
 86
-5c
+5e
 20
 20
 5c
@@ -6543,11 +6551,11 @@
 c0
 02
 06
-65
+67
 c0
 03
 06
-92
+94
 20
 20
 56
@@ -6559,7 +6567,7 @@
 20
 40
 06
-3b
+3d
 20
 40
 7e
@@ -6575,7 +6583,7 @@
 c0
 08
 06
-74
+76
 1f
 ec
 84
@@ -6587,7 +6595,7 @@
 20
 21
 06
-82
+84
 d8
 40
 47
@@ -6671,7 +6679,7 @@
 c0
 05
 06
-84
+86
 20
 20
 58
@@ -6687,7 +6695,7 @@
 c2
 81
 86
-8b
+8d
 68
 01
 04
@@ -6715,7 +6723,7 @@
 24
 22
 86
-87
+89
 20
 40
 5a
@@ -6723,7 +6731,7 @@
 24
 34
 06
-87
+89
 70
 04
 7a
@@ -6739,11 +6747,11 @@
 c0
 00
 86
-96
+98
 c0
 02
 86
-98
+9a
 20
 20
 5a
@@ -6787,7 +6795,7 @@
 20
 40
 06
-a3
+a5
 d8
 e0
 00
@@ -6827,7 +6835,7 @@
 20
 37
 06
-ab
+ad
 24
 36
 d8
@@ -6907,7 +6915,7 @@
 c0
 09
 06
-bf
+c1
 20
 20
 7d
@@ -7011,7 +7019,7 @@
 24
 41
 06
-dd
+df
 68
 00
 cd
@@ -7067,7 +7075,7 @@
 c5
 13
 06
-e7
+e9
 58
 00
 00
@@ -7078,8 +7086,8 @@
 00
 24
 21
-06
-ff
+07
+01
 68
 00
 cd
@@ -7091,7 +7099,7 @@
 24
 21
 06
-ef
+f1
 68
 00
 cd
@@ -7099,7 +7107,7 @@
 c0
 00
 07
-00
+02
 20
 60
 00
@@ -7127,7 +7135,7 @@
 c5
 13
 06
-f6
+f8
 58
 00
 00
@@ -7147,7 +7155,7 @@
 c0
 00
 07
-07
+09
 1f
 e0
 ff
@@ -7159,7 +7167,7 @@
 c0
 00
 07
-07
+09
 70
 41
 de
@@ -7179,7 +7187,7 @@
 c0
 01
 07
-05
+07
 1f
 e0
 fe
@@ -7191,7 +7199,7 @@
 c0
 00
 86
-fd
+ff
 70
 41
 de
@@ -7275,19 +7283,19 @@
 c0
 01
 07
-21
+23
 c0
 02
 07
-29
+2b
 c0
 10
 07
-33
+35
 20
 40
 07
-2e
+30
 70
 89
 55
@@ -7339,7 +7347,7 @@
 20
 40
 07
-2e
+30
 70
 89
 55
@@ -7396,8 +7404,8 @@
 20
 28
 fa
-ce
-6f
+e9
+57
 aa
 55
 08
@@ -8050,16 +8058,8 @@
 0f
 0f
 0f
-31
-61
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+d9
+8b
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-6e
-7f
+ed
+a9
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_24G&BLE/output/program.lis	(revision 1737)
+++ /branch/mouse_project/YJX_24G&BLE/output/program.lis	(working copy)
@@ -4,34 +4,34 @@
 0001 c0000029 beq patch00_0 ,p_soft_reset 
 0002 c000802c beq patch00_1 ,p_soft_reset_1 
 0003 c0010035 beq patch00_2 ,p_soft_reset_2 
-0004 c0428736 beq patch10_5 ,p_shutdown_radio 
-0005 c0448709 beq patch11_1 ,p_set_freq_tx 
+0004 c0428738 beq patch10_5 ,p_shutdown_radio 
+0005 c044870b beq patch11_1 ,p_set_freq_tx 
 0006 c050803e beq patch14_1 ,p_init_param 
 0007 c0588043 beq patch16_1 ,p_lpm_check_wake_lock 
 0008 c059004f beq patch16_2 ,p_g24_dispatch 
 0009 c06202fe beq patch18_4 ,p_device_init 
-000a c0648389 beq patch19_1 ,p_app_flag_store 
-000b c065038d beq patch19_2 ,p_app_initflag_check 
-000c c0718551 beq patch1c_3 ,p_mouse_seting_dpi 
-000d c0730576 beq patch1c_6 ,p_mouse_motion 
-000e c07505b0 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-000f c07585b8 beq patch1d_3 ,p_mouse_start_discovery 
-0010 c07605e5 beq patch1d_4 ,p_mouse_stop_discovery 
+000a c0648386 beq patch19_1 ,p_app_flag_store 
+000b c065038a beq patch19_2 ,p_app_initflag_check 
+000c c071854e beq patch1c_3 ,p_mouse_seting_dpi 
+000d c0730579 beq patch1c_6 ,p_mouse_motion 
+000e c07505b3 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000f c07585bb beq patch1d_3 ,p_mouse_start_discovery 
+0010 c07605e8 beq patch1d_4 ,p_mouse_stop_discovery 
 0011 20202a8e branch loop 
 
 pf_patch_ext:
-0012 c01c85eb beq patch27_1 ,p_le_slave_match 
-0013 c02185f3 beq patch28_3 ,p_le_next_adv_channel 
-0014 c02505f9 beq patch29_2 ,p_le_receive_skip 
-0015 c02b85fc beq patch2a_7 ,p_le_update_param 
-0016 c02c860c beq patch2b_1 ,p_le_update_channel_map 
-0017 c0318619 beq patch2c_3 ,p_le_prepare_tx 
-0018 c0330642 beq patch2c_6 ,p_le_parse 
-0019 c0338661 beq patch2c_7 ,p_le_parse_l2cap 
-001a c035069d beq patch2d_2 ,p_le_adv_not_match 
-001b c03b86a8 beq patch2e_7 ,p_le_lpm_setmult 
-001c c07d06b9 beq patch3f_2 ,p_check_51cmd_once_continue 
-001d c04606c2 beq patch31_4 ,p_twspi_reset 
+0012 c01c85ed beq patch27_1 ,p_le_slave_match 
+0013 c02185f5 beq patch28_3 ,p_le_next_adv_channel 
+0014 c02505fb beq patch29_2 ,p_le_receive_skip 
+0015 c02b85fe beq patch2a_7 ,p_le_update_param 
+0016 c02c860e beq patch2b_1 ,p_le_update_channel_map 
+0017 c031861b beq patch2c_3 ,p_le_prepare_tx 
+0018 c0330644 beq patch2c_6 ,p_le_parse 
+0019 c0338663 beq patch2c_7 ,p_le_parse_l2cap 
+001a c035069f beq patch2d_2 ,p_le_adv_not_match 
+001b c03b86aa beq patch2e_7 ,p_le_lpm_setmult 
+001c c07d06bb beq patch3f_2 ,p_check_51cmd_once_continue 
+001d c04606c4 beq patch31_4 ,p_twspi_reset 
 001e 20202a8e branch loop 
 
 p_rssi_signal:
@@ -55,7 +55,7 @@
 002c d8a009ae arg mem_sp_state ,contw 
 002d df20000c arg 12 ,loopcnt 
 002e 20407ed4 call clear_mem 
-002f 204003d6 call p_mouse_le_txbuff_load 
+002f 204003d3 call p_mouse_le_txbuff_load 
 0030 20406a03 call rfcomm_init 
 0031 20405cf6 call init_lmp 
 0032 2455ac65 ncall lpm_disable_exen_output ,wake 
@@ -113,7 +113,7 @@
 0058 20400177 call p_g24_transmit_packet 
 0059 6800cc1c fetch 1 ,mem_24g_pairing_sm 
 005a c1ff8000 rtnne state_24g_pairing_success 
-005b 204006df call power_ctrl_start 
+005b 204006e1 call power_ctrl_start 
 005c 2040008c call g24_long_sleep_shorter_param_update 
 005d 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
 005e c0008088 beq on ,p_g24_transmit_by_interrupt_enable 
@@ -132,21 +132,21 @@
 0067 2040018e call p_g24_transmit_receive_ack 
 0068 242c0214 nbranch p_g24_pair_txdata_retry ,sync 
 0069 24378214 nbranch p_g24_pair_txdata_retry ,user3 
-006a 704d5b00 jam 0 ,mem_g24_conn_sm 
-006b 204001b4 call p_g24_ackpayload_parse 
-006c 68024c34 fetch 4 ,mem_24g_addr 
-006d 680a4d51 fetcht 4 ,mem_24g_allpowerful_addr 
-006e 98467c00 isub temp ,null 
-006f 20228072 branch p_g24_auto_pair_skip_rx_length ,zero 
-0070 6800cc0a fetch 1 ,mem_24g_rxdata_length 
-0071 207a0000 rtn blank 
+006a 204001b4 call p_g24_ackpayload_parse 
+006b 68024c34 fetch 4 ,mem_24g_addr 
+006c 680a4d51 fetcht 4 ,mem_24g_allpowerful_addr 
+006d 98467c00 isub temp ,null 
+006e 20228071 branch p_g24_auto_pair_skip_rx_length ,zero 
+006f 6800cc0a fetch 1 ,mem_24g_rxdata_length 
+0070 c1840000 rtnne bind_ackpayload_length 
 
 p_g24_auto_pair_skip_rx_length:
+0071 704d5b00 jam 0 ,mem_g24_conn_sm 
 0072 20400314 call p_mouse_tx_power_init 
 0073 68024c34 fetch 4 ,mem_24g_addr 
 0074 680a4c18 fetcht 4 ,mem_24g_paring_addr 
 0075 98467c00 isub temp ,null 
-0076 20228329 branch p_g24_start_pairing_sm1 ,zero 
+0076 20228328 branch p_g24_start_pairing_sm1 ,zero 
 0077 68024c34 fetch 4 ,mem_24g_addr 
 0078 680a4c43 fetcht 4 ,mem_24g_device_addr 
 0079 98467c00 isub temp ,null 
@@ -350,7 +350,7 @@
 
 p_mouse_init_sensor_reset:
 010d 704b0c01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-010e 20200335 branch p_mouse_init_sunt 
+010e 20200332 branch p_mouse_init_sunt 
 
 p_g24_transmit_rf_sta_init:
 010f 704d4201 jam 1 ,mem_24g_rf_last_sta 
@@ -378,7 +378,7 @@
 011d 793ffe04 set0 bit_hop ,pdata 
 011e 6000cc0d store 1 ,mem_24g_data_type 
 011f 6000cbc8 store 1 ,mem_24g_txpayload 
-0120 204006d5 call power_ctrl_pac_succ_decrs 
+0120 204006d7 call power_ctrl_pac_succ_decrs 
 0121 20200256 branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -395,7 +395,7 @@
 012a 20200177 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-012b 204006d5 call power_ctrl_pac_succ_decrs 
+012b 204006d7 call power_ctrl_pac_succ_decrs 
 012c 704d3f00 jam 0 ,mem_24g_hop_fastly_cnt 
 012d 20200111 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -472,7 +472,7 @@
 015f 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-0160 204003f3 call p_mouse_data_xy_release 
+0160 204003f0 call p_mouse_data_xy_release 
 0161 704c3800 jam 0 ,mem_24g_abort_pac 
 0162 1a20fe01 add rega ,1 ,pdata 
 0163 6000cc0c store 1 ,mem_24g_datalen 
@@ -509,7 +509,7 @@
 017c 24378199 nbranch p_g24_retransmit ,user3 
 017d 2040018b call p_g24_txbuf_clear 
 017e 204001b4 call p_g24_ackpayload_parse 
-017f 204006d1 call power_ctrl_pac_succ_incrs 
+017f 204006d3 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0180 6800cc0b fetch 1 ,mem_24g_pid 
@@ -565,8 +565,8 @@
 01a6 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01a7 20400700 call power_ctrl_txpower_incrs 
-01a8 204006d5 call power_ctrl_pac_succ_decrs 
+01a7 20400702 call power_ctrl_txpower_incrs 
+01a8 204006d7 call power_ctrl_pac_succ_decrs 
 01a9 20200256 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -655,7 +655,7 @@
 01e6 20207fe7 branch enable_user 
 
 p_g24_paring_mode_start:
-01e7 204006ce call power_ctrl_pac_succ_cnt_init 
+01e7 204006d0 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01e8 6800cc1c fetch 1 ,mem_24g_pairing_sm 
@@ -681,7 +681,7 @@
 01f6 20200187 branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-01f7 204003ae call p_g24_factory_check 
+01f7 204003ab call p_g24_factory_check 
 01f8 20340208 branch p_g24_auto_pair_start ,user 
 01f9 79200026 set1 mark_24g ,mark 
 01fa 6800cd5b fetch 1 ,mem_g24_conn_sm 
@@ -996,7 +996,7 @@
 
 p_mouse_before_lpm:
 02f1 c6130000 rtnmark1 mark_24g 
-02f2 204003cc call p_mouse_le_txbuff_save 
+02f2 204003c9 call p_mouse_le_txbuff_save 
 02f3 204000c2 call p_mouse_setgpio_lpm 
 02f4 6800c040 fetch 1 ,mem_context 
 02f5 c30002f8 bbit0 state_inconn ,p_clear_wake 
@@ -1011,15 +1011,15 @@
 p_mouse_set_sdio_high:
 02fb 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
 02fc 207a0000 rtn blank 
-02fd 20200551 branch p_mouse_seting_dpi_sensor_type 
+02fd 2020054e branch p_mouse_seting_dpi_sensor_type 
 
 p_device_init:
 02fe 20403416 call app_lpm_mult_enable 
 02ff 20358309 branch p_device_init_common ,wake 
-0300 204003fc call p_mouse_data_init 
+0300 204003fa call p_mouse_data_init 
 0301 6800c1de fetch 1 ,mem_tx_power 
 0302 6000ccc3 store 1 ,mem_tx_power_temp 
-0303 204006ce call power_ctrl_pac_succ_cnt_init 
+0303 204006d0 call power_ctrl_pac_succ_cnt_init 
 0304 6800c685 fetch 1 ,mem_ui_button_timeout 
 0305 6000c6da store 1 ,mem_combination_ui_button_count 
 0306 204043ca call mouse_bt_discovery_button_down_disable 
@@ -1031,11 +1031,11 @@
 030a 202074b9 branch enable_authrom 
 
 p_mouse_init:
-030b 2455834e ncall p_mouse_setting_config ,wake 
-030c 20400333 call p_mouse_spi_init 
+030b 2455834b ncall p_mouse_setting_config ,wake 
+030c 20400330 call p_mouse_spi_init 
 030d 20758000 rtn wake 
-030e 204003b7 call p_mouse_cb_fuction 
-030f 20200394 branch p_mouse_wakeup_from_power 
+030e 204003b4 call p_mouse_cb_fuction 
+030f 20200391 branch p_mouse_wakeup_from_power 
 
 p_mouse_check_reconn_target:
 0310 20400314 call p_mouse_tx_power_init 
@@ -1060,1492 +1060,1508 @@
 p_mouse4_0_check_reconn_target_next:
 031e 600146ae store 2 ,mem_mouse_direct_timer 
 031f 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-0320 c07f85de beq 0xff ,p_mouse_check_fast_conn_adv_start 
+0320 c07f85e1 beq 0xff ,p_mouse_check_fast_conn_adv_start 
 0321 280ffe26 isolate1 mark_24g ,mark 
-0322 24408548 ncall p_mouse_bt_reconn_multi_led_blink ,true 
-0323 204005dc call p_mouse_store_eeprom_enable 
+0322 24408545 ncall p_mouse_bt_reconn_multi_led_blink ,true 
+0323 204005df call p_mouse_store_eeprom_enable 
 0324 20403418 call app_lpm_mult_disable 
 0325 d8c04390 arg mem_le_scan_data ,contr 
-0326 204005d8 call p_le_adv_data_update 
-0327 70438f1f jam 0x1f ,mem_le_scan_data_len 
-0328 20207df4 branch check_51cmd_adv 
+0326 204005db call p_le_adv_data_update 
+0327 20207df4 branch check_51cmd_adv 
 
 p_g24_start_pairing_sm1:
-0329 79200026 set1 mark_24g ,mark 
-032a 204001bb call p_g24_pair_init 
+0328 204001bb call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-032b 704c1c01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
-032c 20600000 rtn 
+0329 704c1c01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+032a 20600000 rtn 
 
 p_mouse_dpi_config:
-032d 6800c77a fetch 1 ,mem_mouse_dpi 
-032e c07f8330 beq 0xff ,p_mouse_dpi_config_default 
-032f 20200551 branch p_mouse_seting_dpi_sensor_type 
+032b 6800c77a fetch 1 ,mem_mouse_dpi 
+032c c0ff854e bne 0xff ,p_mouse_seting_dpi_sensor_type 
 
 p_mouse_dpi_config_default:
-0330 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0331 6000c77a store 1 ,mem_mouse_dpi 
-0332 20200551 branch p_mouse_seting_dpi_sensor_type 
+032d 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+032e 6000c77a store 1 ,mem_mouse_dpi 
+032f 2020054e branch p_mouse_seting_dpi_sensor_type 
 
 p_mouse_spi_init:
-0333 70421276 jam 0x76 ,mem_spi_init_clk 
-0334 20203d36 branch mouse_spi_init 
+0330 70421276 jam 0x76 ,mem_spi_init_clk 
+0331 20203d36 branch mouse_spi_init 
 
 p_mouse_init_sunt:
-0335 20400333 call p_mouse_spi_init 
-0336 204040c0 call mouse_spi_sdio_gpio_pollup 
+0332 20400330 call p_mouse_spi_init 
+0333 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
-0337 204040d9 call mouse_read_sensor_id 
-0338 c018033d beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0339 c0188349 beq p3065_id1 ,p_mouse_p3065_init_param 
-033a 204040d1 call mouse_twspi_reset 
-033b 200003e8 nop 1000 
-033c 20200337 branch p_mouse_init_sensor 
+0334 204040d9 call mouse_read_sensor_id 
+0335 c018033a beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0336 c0188346 beq p3065_id1 ,p_mouse_p3065_init_param 
+0337 204040d1 call mouse_twspi_reset 
+0338 200003e8 nop 1000 
+0339 20200334 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-033d 204003f8 call p_mouse_sensor_poweron 
-033e 6800c6de fetch 1 ,mem_sensor_id2 
-033f c02d0341 beq p_mx8650 ,p_mouse_mx8650_init_param 
-0340 202040e0 branch mouse_init_p32xx_id2_judge 
+033a 204003f6 call p_mouse_sensor_poweron 
+033b 6800c6de fetch 1 ,mem_sensor_id2 
+033c c02d033e beq p_mx8650 ,p_mouse_mx8650_init_param 
+033d 202040e0 branch mouse_init_p32xx_id2_judge 
 
 p_mouse_mx8650_init_param:
-0341 7046e007 jam mx8650 ,mem_config_sensor_type 
-0342 20600000 rtn 
+033e 7046e007 jam mx8650 ,mem_config_sensor_type 
+033f 20600000 rtn 
 
 p_sensor_wr_seq:
-0343 ea610000 ifetch 2 ,regc 
-0344 c17f8000 rtneq 0xff 
-0345 20406413 call twspi_write 
-0346 20002ee0 nop 12000 
-0347 1a60a602 increase 2 ,regc 
-0348 20200343 branch p_sensor_wr_seq 
+0340 ea610000 ifetch 2 ,regc 
+0341 c17f8000 rtneq 0xff 
+0342 20406413 call twspi_write 
+0343 20002ee0 nop 12000 
+0344 1a60a602 increase 2 ,regc 
+0345 20200340 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-0349 204003f8 call p_mouse_sensor_poweron 
-034a 6800c6de fetch 1 ,mem_sensor_id2 
-034b c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
-034c 7046e001 jam p3065 ,mem_config_sensor_type 
-034d 20600000 rtn 
+0346 204003f6 call p_mouse_sensor_poweron 
+0347 6800c6de fetch 1 ,mem_sensor_id2 
+0348 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0349 7046e001 jam p3065 ,mem_config_sensor_type 
+034a 20600000 rtn 
 
 p_mouse_setting_config:
-034e 680240a0 fetch 4 ,mem_lap 
-034f 60024c43 store 4 ,mem_24g_device_addr 
-0350 20403e6e call mouse_gpio_init 
-0351 2040053b call p_mouse_multi_led_off2 
-0352 20403e1e call mouse_param_init 
-0353 58000000 setarg 0 
-0354 60014154 store 2 ,mem_lpm_interval 
-0355 20400376 call p_mouse_set_gpio_control_sensor 
-0356 20405810 call le_set_config_fixed_ltk 
-0357 20405839 call le_set_justwork 
-0358 2040582c call le_set_fixed_ltk 
-0359 20405818 call le_set_config_read_authentication 
+034b 680240a0 fetch 4 ,mem_lap 
+034c 60024c43 store 4 ,mem_24g_device_addr 
+034d 20403e6e call mouse_gpio_init 
+034e 20400538 call p_mouse_multi_led_off2 
+034f 20403e1e call mouse_param_init 
+0350 58000000 setarg 0 
+0351 60014154 store 2 ,mem_lpm_interval 
+0352 20400373 call p_mouse_set_gpio_control_sensor 
+0353 20405810 call le_set_config_fixed_ltk 
+0354 20405839 call le_set_justwork 
+0355 2040582c call le_set_fixed_ltk 
+0356 20405818 call le_set_config_read_authentication 
 
 p_mouse_init_iic:
-035a 2040659c call iic_init_390k 
-035b 204065c2 call clear_eeprom_size_2k 
-035c 2040443f call mouse_load_eeprom_dpi 
-035d 20400386 call p_mouse_init_environment 
-035e 2040047f call p_mouse_set_24g_addr_eeprom 
-035f 204065df call iicd_read_eep_data 
-0360 20400364 call p_mouse_load_fast_conn_flag 
-0361 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-0362 c07f8370 beq 0xff ,p_mouse_fast_conn_init2 
-0363 20600000 rtn 
+0357 2040659c call iic_init_390k 
+0358 204065c2 call clear_eeprom_size_2k 
+0359 2040443f call mouse_load_eeprom_dpi 
+035a 20400383 call p_mouse_init_environment 
+035b 2040047c call p_mouse_set_24g_addr_eeprom 
+035c 204065df call iicd_read_eep_data 
+035d 20400361 call p_mouse_load_fast_conn_flag 
+035e 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+035f c07f836d beq 0xff ,p_mouse_fast_conn_init2 
+0360 20600000 rtn 
 
 p_mouse_load_fast_conn_flag:
-0364 d8400001 arg 1 ,temp 
-0365 da204b40 arg mem_mouse_fast_conn_flag ,rega 
-0366 da400064 arg mouse_fast_conn_flag_offset ,regb 
-0367 202065df branch iicd_read_eep_data 
+0361 d8400001 arg 1 ,temp 
+0362 da204b40 arg mem_mouse_fast_conn_flag ,rega 
+0363 da400064 arg mouse_fast_conn_flag_offset ,regb 
+0364 202065df branch iicd_read_eep_data 
 
 p_mouse_fast_conn_quit:
-0368 58000050 setarg 0x50 
-0369 600146ae store 2 ,mem_mouse_direct_timer 
-036a 20403410 call app_ble_store_reconn_info 
+0365 58000050 setarg 0x50 
+0366 600146ae store 2 ,mem_mouse_direct_timer 
+0367 20403410 call app_ble_store_reconn_info 
 
 p_mouse_fast_conn_store:
-036b 704b405a jam 0x5a ,mem_mouse_fast_conn_flag 
+0368 704b405a jam 0x5a ,mem_mouse_fast_conn_flag 
 
 p_mouse_store_fast_conn_flag:
-036c d8400001 arg 1 ,temp 
-036d da204b40 arg mem_mouse_fast_conn_flag ,rega 
-036e da400064 arg mouse_fast_conn_flag_offset ,regb 
-036f 202065d1 branch iicd_write_protect_eep_data 
+0369 d8400001 arg 1 ,temp 
+036a da204b40 arg mem_mouse_fast_conn_flag ,rega 
+036b da400064 arg mouse_fast_conn_flag_offset ,regb 
+036c 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_fast_conn_init2:
-0370 704b4801 jam 1 ,mem_le_switch_adv_timer 
-0371 704b4701 jam 1 ,mem_le_switch_adv_flag 
+036d 704b4801 jam 1 ,mem_le_switch_adv_timer 
+036e 704b4701 jam 1 ,mem_le_switch_adv_flag 
 
 p_mouse_fast_conn_init:
-0372 70421034 jam 0x34 ,mem_xrecord_mode 
-0373 68034d51 fetch 6 ,mem_24g_allpowerful_addr 
-0374 600344a0 store 6 ,mem_le_lap 
-0375 20600000 rtn 
+036f 70421034 jam 0x34 ,mem_xrecord_mode 
+0370 68034d51 fetch 6 ,mem_24g_allpowerful_addr 
+0371 600344a0 store 6 ,mem_le_lap 
+0372 20600000 rtn 
 
 p_mouse_set_gpio_control_sensor:
 
 p_mouse_sensor_set_angle:
-0376 68108078 hfetch 1 ,core_gpio_pu0 
-0377 79207e05 set1 5 ,pdata 
-0378 60108078 hstore 1 ,core_gpio_pu0 
-0379 2040037e call p_mouse_sensor_set_angle_2 
-037a 68108078 hfetch 1 ,core_gpio_pu0 
-037b 793ffe05 set0 5 ,pdata 
-037c 60108078 hstore 1 ,core_gpio_pu0 
-037d 20600000 rtn 
+0373 68108078 hfetch 1 ,core_gpio_pu0 
+0374 79207e05 set1 5 ,pdata 
+0375 60108078 hstore 1 ,core_gpio_pu0 
+0376 2040037b call p_mouse_sensor_set_angle_2 
+0377 68108078 hfetch 1 ,core_gpio_pu0 
+0378 793ffe05 set0 5 ,pdata 
+0379 60108078 hstore 1 ,core_gpio_pu0 
+037a 20600000 rtn 
 
 p_mouse_sensor_set_angle_2:
-037e 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-037f 204067fb call gpio_config_input 
-0380 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-0381 2040681d call gpio_get_bit 
-0382 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
-0383 20608000 rtn true 
-0384 7046f603 jam mouse_3clk_angle ,mem_config_sensor_angle 
-0385 20600000 rtn 
+037b 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+037c 204067fb call gpio_config_input 
+037d 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+037e 2040681d call gpio_get_bit 
+037f 7046f602 jam mouse_12clk_angle ,mem_config_sensor_angle 
+0380 20608000 rtn true 
+0381 7046f603 jam mouse_3clk_angle ,mem_config_sensor_angle 
+0382 20600000 rtn 
 
 p_mouse_init_environment:
-0386 204033c4 call app_initflag_check 
-0387 2022c316 branch mouse_eeprom_load_recon_info ,zero 
-0388 20203dcb branch mouse_init_environment + 2 
+0383 204033c4 call app_initflag_check 
+0384 2022c316 branch mouse_eeprom_load_recon_info ,zero 
+0385 20203dcb branch mouse_init_environment + 2 
 
 p_app_flag_store:
-0389 d8400002 arg 2 ,temp 
-038a da200aaa arg mem_timeup ,rega 
-038b da400062 arg mouse_eeprom_module_init_flag ,regb 
-038c 202065d1 branch iicd_write_protect_eep_data 
+0386 d8400002 arg 2 ,temp 
+0387 da200aaa arg mem_timeup ,rega 
+0388 da400062 arg mouse_eeprom_module_init_flag ,regb 
+0389 202065d1 branch iicd_write_protect_eep_data 
 
 p_app_initflag_check:
-038d d8400002 arg 2 ,temp 
-038e da200a9a arg mem_pdatatemp ,rega 
-038f da400062 arg mouse_eeprom_module_init_flag ,regb 
-0390 202033c8 branch app_initflag_check + 4 
+038a d8400002 arg 2 ,temp 
+038b da200a9a arg mem_pdatatemp ,rega 
+038c da400062 arg mouse_eeprom_module_init_flag ,regb 
+038d 202033c8 branch app_initflag_check + 4 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
-0391 58000177 setarg 375 
-0392 60014d4f store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0393 20600000 rtn 
+038e 58000177 setarg 375 
+038f 60014d4f store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0390 20600000 rtn 
 
 p_mouse_wakeup_from_power:
-0394 58000019 setarg 25 
-0395 60014d4f store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0396 24558391 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-0397 20400335 call p_mouse_init_sunt 
-0398 204000ff call p_mouse_sensor_powerdown 
+0391 58000019 setarg 25 
+0392 60014d4f store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0393 2455838e ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+0394 20400332 call p_mouse_init_sunt 
+0395 204000ff call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
-0399 6800c71f fetch 1 ,mem_reconn_times_init 
-039a 6000c71e store 1 ,mem_reconn_times 
+0396 6800c71f fetch 1 ,mem_reconn_times_init 
+0397 6000c71e store 1 ,mem_reconn_times 
 
 p_mouse_start_24g_mode:
-039b 2040054d call p_mouse_mode_24g_device_multi_led_blink3s 
-039c 6800cb3f fetch 1 ,mem_power_on_flag 
-039d c28103a8 bbit1 2 ,p_mouse_wakeup_from_hibernate 
-039e 20400330 call p_mouse_dpi_config_default 
-039f 704b54ff jam latest_mode_null ,mem_mouse_latest_mode 
-03a0 2040044c call p_mouse_store_latest_mode_eeprom 
-03a1 704b550a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
-03a2 5800ffff setarg 0xffff 
-03a3 60014c34 store 2 ,mem_24g_addr 
-03a4 e0a10000 istore 2 ,contw 
-03a5 2040047f call p_mouse_set_24g_addr_eeprom 
-03a6 204065d1 call iicd_write_protect_eep_data 
-03a7 20200208 branch p_g24_auto_pair_start 
+0398 2040054a call p_mouse_mode_24g_device_multi_led_blink3s 
+0399 6800cb3f fetch 1 ,mem_power_on_flag 
+039a c28103a5 bbit1 2 ,p_mouse_wakeup_from_hibernate 
+039b 2040032d call p_mouse_dpi_config_default 
+039c 704b54ff jam latest_mode_null ,mem_mouse_latest_mode 
+039d 20400449 call p_mouse_store_latest_mode_eeprom 
+039e 704b550a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
+039f 5800ffff setarg 0xffff 
+03a0 60014c34 store 2 ,mem_24g_addr 
+03a1 e0a10000 istore 2 ,contw 
+03a2 2040047c call p_mouse_set_24g_addr_eeprom 
+03a3 204065d1 call iicd_write_protect_eep_data 
+03a4 20200208 branch p_g24_auto_pair_start 
 
 p_mouse_wakeup_from_hibernate:
-03a8 2040044e call p_mouse_read_latest_mode_eeprom 
-03a9 6800cb54 fetch 1 ,mem_mouse_latest_mode 
-03aa c000848a beq latest_mode_bt ,p_mouse_bt_start_reconn 
-03ab c00101f7 beq latest_mode_24g ,p_g24_start_24g_mode 
-03ac 704b550a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
-03ad 20600000 rtn 
+03a5 2040044b call p_mouse_read_latest_mode_eeprom 
+03a6 6800cb54 fetch 1 ,mem_mouse_latest_mode 
+03a7 c0008487 beq latest_mode_bt ,p_mouse_bt_start_reconn 
+03a8 c00101f7 beq latest_mode_24g ,p_g24_start_24g_mode 
+03a9 704b550a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
+03aa 20600000 rtn 
 
 p_g24_factory_check:
-03ae df200002 arg 2 ,loopcnt 
-03af d8c04c34 arg mem_24g_addr ,contr 
+03ab df200002 arg 2 ,loopcnt 
+03ac d8c04c34 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
-03b0 20407fe7 call enable_user 
-03b1 5800ffff setarg 0xffff 
+03ad 20407fe7 call enable_user 
+03ae 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-03b2 e8c90000 ifetcht 2 ,contr 
-03b3 98467c00 isub temp ,null 
-03b4 2442ffe9 ncall disable_user ,zero 
-03b5 c20003b2 loop p_pdata_0xff_check_loop 
-03b6 20600000 rtn 
+03af e8c90000 ifetcht 2 ,contr 
+03b0 98467c00 isub temp ,null 
+03b1 2442ffe9 ncall disable_user ,zero 
+03b2 c20003af loop p_pdata_0xff_check_loop 
+03b3 20600000 rtn 
 
 p_mouse_cb_fuction:
-03b7 580003c8 setarg p_mouse_g24_package_data 
-03b8 60014d3d store 2 ,mem_cb_24g_data 
-03b9 580003df setarg p_mouse_le 
-03ba 600141ef store 2 ,mem_cb_le_process 
-03bb 580006b2 setarg p_le_mouse_bb_event_connect_complete 
-03bc 600141f9 store 2 ,mem_cb_att_write 
-03bd 580002f1 setarg p_mouse_before_lpm 
-03be 600141ed store 2 ,mem_cb_before_lpm 
-03bf 5800042a setarg p_mouse_priority_bb_event 
-03c0 600141f5 store 2 ,mem_cb_bb_event_process 
-03c1 5800041e setarg p_mouse_idle 
-03c2 600141f3 store 2 ,mem_cb_idle_process 
-03c3 5800049b setarg p_mouse_before_hibernate 
-03c4 600141eb store 2 ,mem_cb_before_hibernate 
-03c5 580004b2 setarg p_mouse_bb_event_timer 
-03c6 600141fd store 2 ,mem_cb_event_timer 
-03c7 20600000 rtn 
+03b4 580003c5 setarg p_mouse_g24_package_data 
+03b5 60014d3d store 2 ,mem_cb_24g_data 
+03b6 580003dc setarg p_mouse_le 
+03b7 600141ef store 2 ,mem_cb_le_process 
+03b8 580006b4 setarg p_le_mouse_bb_event_connect_complete 
+03b9 600141f9 store 2 ,mem_cb_att_write 
+03ba 580002f1 setarg p_mouse_before_lpm 
+03bb 600141ed store 2 ,mem_cb_before_lpm 
+03bc 58000427 setarg p_mouse_priority_bb_event 
+03bd 600141f5 store 2 ,mem_cb_bb_event_process 
+03be 5800041b setarg p_mouse_idle 
+03bf 600141f3 store 2 ,mem_cb_idle_process 
+03c0 58000498 setarg p_mouse_before_hibernate 
+03c1 600141eb store 2 ,mem_cb_before_hibernate 
+03c2 580004af setarg p_mouse_bb_event_timer 
+03c3 600141fd store 2 ,mem_cb_event_timer 
+03c4 20600000 rtn 
 
 p_mouse_g24_package_data:
-03c8 20404401 call mouse_g24_package_data 
-03c9 6801469f fetch 2 ,mem_mouse_z 
-03ca 207a0000 rtn blank 
-03cb 20200088 branch p_g24_transmit_by_interrupt_enable 
+03c5 20404401 call mouse_g24_package_data 
+03c6 6801469f fetch 2 ,mem_mouse_z 
+03c7 207a0000 rtn blank 
+03c8 20200088 branch p_g24_transmit_by_interrupt_enable 
 
 p_mouse_le_txbuff_save:
-03cc d8c01800 arg mem_le_tx_buffer0 ,contr 
-03cd d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-03ce 204003d4 call p_mouse_le_txbuff_copy 
-03cf d8c01900 arg mem_le_tx_buffer1 ,contr 
-03d0 204003d4 call p_mouse_le_txbuff_copy 
-03d1 d8c01a00 arg mem_le_tx_buffer2 ,contr 
-03d2 204003d4 call p_mouse_le_txbuff_copy 
-03d3 d8c01b00 arg mem_le_tx_buffer3 ,contr 
+03c9 d8c01800 arg mem_le_tx_buffer0 ,contr 
+03ca d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+03cb 204003d1 call p_mouse_le_txbuff_copy 
+03cc d8c01900 arg mem_le_tx_buffer1 ,contr 
+03cd 204003d1 call p_mouse_le_txbuff_copy 
+03ce d8c01a00 arg mem_le_tx_buffer2 ,contr 
+03cf 204003d1 call p_mouse_le_txbuff_copy 
+03d0 d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-03d4 df20001b arg 27 ,loopcnt 
-03d5 20207f01 branch memcpy 
+03d1 df20001b arg 27 ,loopcnt 
+03d2 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-03d6 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-03d7 d8a01800 arg mem_le_tx_buffer0 ,contw 
-03d8 204003d4 call p_mouse_le_txbuff_copy 
-03d9 d8a01900 arg mem_le_tx_buffer1 ,contw 
-03da 204003d4 call p_mouse_le_txbuff_copy 
-03db d8a01a00 arg mem_le_tx_buffer2 ,contw 
-03dc 204003d4 call p_mouse_le_txbuff_copy 
-03dd d8a01b00 arg mem_le_tx_buffer3 ,contw 
-03de 202003d4 branch p_mouse_le_txbuff_copy 
+03d3 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+03d4 d8a01800 arg mem_le_tx_buffer0 ,contw 
+03d5 204003d1 call p_mouse_le_txbuff_copy 
+03d6 d8a01900 arg mem_le_tx_buffer1 ,contw 
+03d7 204003d1 call p_mouse_le_txbuff_copy 
+03d8 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+03d9 204003d1 call p_mouse_le_txbuff_copy 
+03da d8a01b00 arg mem_le_tx_buffer3 ,contw 
+03db 202003d1 branch p_mouse_le_txbuff_copy 
 
 p_mouse_le:
-03df 20405892 call le_fifo_check_nearly_full 
-03e0 247a0000 nrtn blank 
-03e1 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-03e2 c07f83e6 beq 0xff ,p_mouse_le_next 
-03e3 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03e4 1fe17e03 and pdata ,0x03 ,pdata 
-03e5 c1818000 rtnne 0x03 
+03dc 20405892 call le_fifo_check_nearly_full 
+03dd 247a0000 nrtn blank 
+03de 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+03df c07f83e3 beq 0xff ,p_mouse_le_next 
+03e0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03e1 1fe17e03 and pdata ,0x03 ,pdata 
+03e2 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03e6 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03e7 205a041b call p_mouse_clear_sensor_data ,blank 
-03e8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03e9 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03ea 20403f97 call mouse_motion 
-03eb 24740000 nrtn user 
-03ec 204003f0 call p_mouse_le_current_mult_update 
-03ed 204003f3 call p_mouse_data_xy_release 
-03ee 20400416 call p_mouse_wheel_trigger 
-03ef 20200401 branch p_mouse_data_push 
+03e3 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03e4 205a0419 call p_mouse_clear_sensor_data ,blank 
+03e5 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03e6 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03e7 20403f97 call mouse_motion 
+03e8 24740000 nrtn user 
+03e9 204003ed call p_mouse_le_current_mult_update 
+03ea 204003f0 call p_mouse_data_xy_release 
+03eb 20400414 call p_mouse_wheel_trigger 
+03ec 202003ff branch p_mouse_data_push 
 
 p_mouse_le_current_mult_update:
-03f0 70417200 jam 0 ,mem_lpm_mult 
-03f1 704b3a1e jam 30 ,mem_mouse_le_current_mult_timer 
-03f2 20600000 rtn 
+03ed 70417200 jam 0 ,mem_lpm_mult 
+03ee 704b3a1e jam 30 ,mem_mouse_le_current_mult_timer 
+03ef 20600000 rtn 
 
 p_mouse_data_xy_release:
-03f3 6800cb39 fetch 1 ,mem_mouse_long_mult_flag 
-03f4 c1808000 rtnne 1 
-03f5 58000000 setarg 0 
-03f6 6000cb39 store 1 ,mem_mouse_long_mult_flag 
-03f7 6002469b store 4 ,mem_mouse_x 
+03f0 6800cb39 fetch 1 ,mem_mouse_long_mult_flag 
+03f1 c1808000 rtnne 1 
+03f2 58000000 setarg 0 
+03f3 6000cb39 store 1 ,mem_mouse_long_mult_flag 
+03f4 6002469b store 4 ,mem_mouse_x 
+03f5 2020010d branch p_mouse_init_sensor_reset 
 
 p_mouse_sensor_poweron:
-03f8 da604b7d arg mem_sensor_poweron_init ,regc 
-03f9 20400343 call p_sensor_wr_seq 
-03fa 2040032d call p_mouse_dpi_config 
-03fb 20600000 rtn 
+03f6 da604b7d arg mem_sensor_poweron_init ,regc 
+03f7 20400340 call p_sensor_wr_seq 
+03f8 2040032b call p_mouse_dpi_config 
+03f9 20600000 rtn 
 
 p_mouse_data_init:
-03fc 7047a007 jam 7 ,mem_mouse_data_queue 
-03fd 7047a104 jam 4 ,mem_mouse_data_queue + 1 
-03fe 580047a0 setarg mem_mouse_data_queue 
-03ff 60014218 store 2 ,mem_queue_ptr 
-0400 20207e38 branch queue_init 
+03fa 7047a007 jam 7 ,mem_mouse_data_queue 
+03fb 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+03fc 580047a0 setarg mem_mouse_data_queue 
+03fd 60014218 store 2 ,mem_queue_ptr 
+03fe 20207e38 branch queue_init 
 
 p_mouse_data_push:
-0401 da20469a arg mem_mouse_key ,rega 
-0402 20407e3d call queue_push 
-0403 20540405 call p_mouse_queue_increase ,user 
-0404 20600000 rtn 
+03ff da20469a arg mem_mouse_key ,rega 
+0400 20407e3d call queue_push 
+0401 20540403 call p_mouse_queue_increase ,user 
+0402 20600000 rtn 
 
 p_mouse_queue_increase:
-0405 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0406 1fe0fe01 increase 1 ,pdata 
-0407 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-0408 20600000 rtn 
+0403 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0404 1fe0fe01 increase 1 ,pdata 
+0405 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+0406 20600000 rtn 
 
 p_mouse_data_pull:
-0409 da20469a arg mem_mouse_key ,rega 
-040a 20407e54 call queue_pop 
-040b 2034040d branch p_mouse_fill_data_le ,user 
-040c 20600000 rtn 
+0407 da20469a arg mem_mouse_key ,rega 
+0408 20407e54 call queue_pop 
+0409 2034040b branch p_mouse_fill_data_le ,user 
+040a 20600000 rtn 
 
 p_mouse_fill_data_le:
-040d 20405652 call le_clear_md 
-040e 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-040f 1fe67c01 sub pdata ,1 ,null 
-0410 24415650 ncall le_set_md ,positive 
-0411 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0412 207a0000 rtn blank 
-0413 1fe0ffff increase -1 ,pdata 
-0414 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-0415 20203f90 branch mouse_fill_data_le 
+040b 20405652 call le_clear_md 
+040c 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+040d 1fe67c01 sub pdata ,1 ,null 
+040e 24415650 ncall le_set_md ,positive 
+040f 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0410 207a0000 rtn blank 
+0411 1fe0ffff increase -1 ,pdata 
+0412 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+0413 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-0416 6801469f fetch 2 ,mem_mouse_z 
-0417 207a0000 rtn blank 
-0418 70480601 jam 1 ,mem_mouse_wheel_trigger 
-0419 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-041a 20600000 rtn 
+0414 6801469f fetch 2 ,mem_mouse_z 
+0415 207a0000 rtn blank 
+0416 70480601 jam 1 ,mem_mouse_wheel_trigger 
+0417 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+0418 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-041b 20405814 call le_set_config_more_data 
-041c 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-041d 202003f8 branch p_mouse_sensor_poweron 
+0419 20405814 call le_set_config_more_data 
+041a 2020010d branch p_mouse_init_sensor_reset 
 
 p_mouse_idle:
-041e 20407e34 call ui_check_paring_button 
-041f 20400421 call p_mouse_dpi_check 
-0420 20203ee0 branch mouse_wheel_check 
+041b 20407e34 call ui_check_paring_button 
+041c 2040041e call p_mouse_dpi_check 
+041d 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-0421 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0422 204005aa call p_gpio_set_input_pd 
-0423 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0424 2040681d call gpio_get_bit 
-0425 20208428 branch p_mouse_dpi_up ,true 
-0426 204005a5 call p_gpio_set_input_pu 
-0427 20203d6d branch mouse_dpi_down 
+041e 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+041f 204005ad call p_gpio_set_input_pd 
+0420 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+0421 2040681d call gpio_get_bit 
+0422 20208425 branch p_mouse_dpi_up ,true 
+0423 204005a8 call p_gpio_set_input_pu 
+0424 20203d6d branch mouse_dpi_down 
 
 p_mouse_dpi_up:
-0428 204005a5 call p_gpio_set_input_pu 
-0429 20203d62 branch mouse_dpi_up 
+0425 204005a8 call p_gpio_set_input_pu 
+0426 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-042a 1a627e00 copy regc ,pdata 
-042b c00a0434 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-042c c00a8454 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-042d c0148461 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-042e c0190463 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-042f c020046b beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0430 c01c8479 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0431 c01d0483 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0432 c01e048f beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0433 2020417d branch mouse_priority_bb_event + 1 
+0427 1a627e00 copy regc ,pdata 
+0428 c00a0431 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0429 c00a8451 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+042a c014845e beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+042b c0190460 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+042c c0200468 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+042d c01c8476 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+042e c01d0480 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+042f c01e048c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0430 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0434 58000000 setarg 0 
-0435 6001cb47 store 3 ,mem_le_switch_adv_flag 
-0436 68034d51 fetch 6 ,mem_24g_allpowerful_addr 
-0437 680b44a0 fetcht 6 ,mem_le_lap 
-0438 98467c00 isub temp ,null 
-0439 24428368 ncall p_mouse_fast_conn_quit ,zero 
-043a 704b5500 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
-043b 704b4b00 jam 0 ,mem_mouse_le_adv_start 
-043c 704b3e01 jam 1 ,mem_mouse_le_bb_connected_flag 
-043d 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-043e 243a0440 nbranch p_mouse_le_bb_event_connected_next ,blank 
-043f 704b3c14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+0431 58000000 setarg 0 
+0432 6001cb47 store 3 ,mem_le_switch_adv_flag 
+0433 68034d51 fetch 6 ,mem_24g_allpowerful_addr 
+0434 680b44a0 fetcht 6 ,mem_le_lap 
+0435 98467c00 isub temp ,null 
+0436 24428365 ncall p_mouse_fast_conn_quit ,zero 
+0437 704b5500 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
+0438 704b4b00 jam 0 ,mem_mouse_le_adv_start 
+0439 704b3e01 jam 1 ,mem_mouse_le_bb_connected_flag 
+043a 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+043b 243a043d nbranch p_mouse_le_bb_event_connected_next ,blank 
+043c 704b3c14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-0440 704b5600 jam 0 ,mem_mouse_le_not_tx_disconn 
-0441 704b4a00 jam 0 ,mem_mouse_start_discovery_enable 
-0442 2040022d call p_g24_check_51cmd_stop_24g 
-0443 20400447 call p_mouse_store_latest_mode_le 
-0444 2040010d call p_mouse_init_sensor_reset 
-0445 204003fc call p_mouse_data_init 
-0446 202041c3 branch mouse_le_bb_event_connected 
+043d 704b5600 jam 0 ,mem_mouse_le_not_tx_disconn 
+043e 704b4a00 jam 0 ,mem_mouse_start_discovery_enable 
+043f 2040022d call p_g24_check_51cmd_stop_24g 
+0440 20400444 call p_mouse_store_latest_mode_le 
+0441 2040010d call p_mouse_init_sensor_reset 
+0442 204003fa call p_mouse_data_init 
+0443 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_store_latest_mode_le:
-0447 df200003 arg 3 ,loopcnt 
-0448 d8c044a0 arg mem_le_lap ,contr 
-0449 204003b0 call p_pdata_0xff_check 
-044a 20740000 rtn user 
-044b 704b5401 jam latest_mode_bt ,mem_mouse_latest_mode 
+0444 df200003 arg 3 ,loopcnt 
+0445 d8c044a0 arg mem_le_lap ,contr 
+0446 204003ad call p_pdata_0xff_check 
+0447 20740000 rtn user 
+0448 704b5401 jam latest_mode_bt ,mem_mouse_latest_mode 
 
 p_mouse_store_latest_mode_eeprom:
-044c 20400450 call p_mouse_set_latest_mode_eeprom 
-044d 202065d1 branch iicd_write_protect_eep_data 
+0449 2040044d call p_mouse_set_latest_mode_eeprom 
+044a 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_read_latest_mode_eeprom:
-044e 20400450 call p_mouse_set_latest_mode_eeprom 
-044f 202065df branch iicd_read_eep_data 
+044b 2040044d call p_mouse_set_latest_mode_eeprom 
+044c 202065df branch iicd_read_eep_data 
 
 p_mouse_set_latest_mode_eeprom:
-0450 da204b54 arg mem_mouse_latest_mode ,rega 
-0451 da400065 arg mouse_latest_mode_offset ,regb 
-0452 d8400001 arg 1 ,temp 
-0453 20600000 rtn 
+044d da204b54 arg mem_mouse_latest_mode ,rega 
+044e da400065 arg mouse_latest_mode_offset ,regb 
+044f d8400001 arg 1 ,temp 
+0450 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0454 704b3e00 jam 0 ,mem_mouse_le_bb_connected_flag 
-0455 204004ae call p_mouse_sensor_powerdown_check 
-0456 58000007 setarg le_interval_8_75ms 
-0457 60014496 store 2 ,mem_le_interval_min 
-0458 60014498 store 2 ,mem_le_interval_min + 2 
-0459 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-045a 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-045b 204003fc call p_mouse_data_init 
-045c 20405816 call le_clr_config_more_data 
-045d 204041d9 call mouse_bb_disconnected 
-045e 6800cb4a fetch 1 ,mem_mouse_start_discovery_enable 
-045f 207a0000 rtn blank 
-0460 202005d0 branch p_check_51cmd_adv 
+0451 704b3e00 jam 0 ,mem_mouse_le_bb_connected_flag 
+0452 204004ab call p_mouse_sensor_powerdown_check 
+0453 58000007 setarg le_interval_8_75ms 
+0454 60014496 store 2 ,mem_le_interval_min 
+0455 60014498 store 2 ,mem_le_interval_min + 2 
+0456 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0457 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0458 204003fa call p_mouse_data_init 
+0459 20405816 call le_clr_config_more_data 
+045a 204041d9 call mouse_bb_disconnected 
+045b 6800cb4a fetch 1 ,mem_mouse_start_discovery_enable 
+045c 207a0000 rtn blank 
+045d 202005d3 branch p_check_51cmd_adv 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0461 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0462 20207d8f branch ui_ipc_send_cmd 
+045e 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+045f 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0463 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0464 c0008467 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0465 7046c614 jam 20 ,mem_le_start_encrypt_timer 
-0466 20200469 branch p_mouse_le_ll_enable_start_enc_flag 
+0460 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0461 c0008464 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0462 7046c614 jam 20 ,mem_le_start_encrypt_timer 
+0463 20200466 branch p_mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0467 20400461 call p_app_updata_le_param 
-0468 7046c614 jam 20 ,mem_le_start_encrypt_timer 
+0464 2040045e call p_app_updata_le_param 
+0465 7046c614 jam 20 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_enable_start_enc_flag:
-0469 d8e00001 arg ll_start_enc_flag ,queue 
-046a 202041b9 branch mouse_le_enable_connect_flag 
+0466 d8e00001 arg ll_start_enc_flag ,queue 
+0467 202041b9 branch mouse_le_enable_connect_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-046b 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
-046c c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
-046d 68008441 fetch 1 ,mem_le_tsniff 
-046e 1feb7e00 rshift2 pdata ,pdata 
-046f 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0470 20210477 branch p_mouse_le_conn_param_update_rsp_not_accepted ,positive 
-0471 58000009 setarg le_interval_11_25ms 
-0472 60014496 store 2 ,mem_le_interval_min 
-0473 60014498 store 2 ,mem_le_interval_min + 2 
-0474 20400461 call p_app_updata_le_param 
+0468 68014509 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0469 c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+046a 68008441 fetch 1 ,mem_le_tsniff 
+046b 1feb7e00 rshift2 pdata ,pdata 
+046c 1fe67c0c sub pdata ,le_interval_15ms ,null 
+046d 20210474 branch p_mouse_le_conn_param_update_rsp_not_accepted ,positive 
+046e 58000009 setarg le_interval_11_25ms 
+046f 60014496 store 2 ,mem_le_interval_min 
+0470 60014498 store 2 ,mem_le_interval_min + 2 
+0471 2040045e call p_app_updata_le_param 
 
 p_mouse_le_conn_param_lpm_disable:
-0475 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
-0476 20600000 rtn 
+0472 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0473 20600000 rtn 
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
-0477 704b5301 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-0478 20200658 branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+0474 704b5301 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
+0475 2020065a branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_24g_pairing_complete:
-0479 20400314 call p_mouse_tx_power_init 
-047a 2040048f call p_mouse_24g_attempt_success 
-047b d8e00003 arg mosue_24g_pairing_flag ,queue 
-047c 204043d2 call mouse_disable_function_flag 
-047d 7046a700 jam 0 ,mem_mouse_move_flag 
-047e 2020405d branch mouse_read_sensor_common 
+0476 20400314 call p_mouse_tx_power_init 
+0477 2040048c call p_mouse_24g_attempt_success 
+0478 d8e00003 arg mosue_24g_pairing_flag ,queue 
+0479 204043d2 call mouse_disable_function_flag 
+047a 7046a700 jam 0 ,mem_mouse_move_flag 
+047b 2020405d branch mouse_read_sensor_common 
 
 p_mouse_set_24g_addr_eeprom:
-047f da204c34 arg mem_24g_addr ,rega 
-0480 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
-0481 d8400004 arg 4 ,temp 
-0482 20600000 rtn 
+047c da204c34 arg mem_24g_addr ,rega 
+047d da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+047e d8400004 arg 4 ,temp 
+047f 20600000 rtn 
 
 p_mouse_24g_attempt_fail:
-0483 204004ae call p_mouse_sensor_powerdown_check 
-0484 704d4c00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-0485 20400314 call p_mouse_tx_power_init 
-0486 2040022d call p_g24_check_51cmd_stop_24g 
-0487 6800cb54 fetch 1 ,mem_mouse_latest_mode 
-0488 c1810000 rtnne latest_mode_24g 
-0489 2020340a branch app_enter_hibernate 
+0480 204004ab call p_mouse_sensor_powerdown_check 
+0481 704d4c00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0482 20400314 call p_mouse_tx_power_init 
+0483 2040022d call p_g24_check_51cmd_stop_24g 
+0484 6800cb54 fetch 1 ,mem_mouse_latest_mode 
+0485 c1810000 rtnne latest_mode_24g 
+0486 2020340a branch app_enter_hibernate 
 
 p_mouse_bt_start_reconn:
-048a 7041bd00 jam 0 ,mem_link_key_exists 
-048b 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-048c c07f8310 beq 0xff ,p_mouse_check_reconn_target 
-048d 20404316 call mouse_eeprom_load_recon_info 
-048e 20200310 branch p_mouse_check_reconn_target 
+0487 7041bd00 jam 0 ,mem_link_key_exists 
+0488 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
+0489 c07f8310 beq 0xff ,p_mouse_check_reconn_target 
+048a 20404316 call mouse_eeprom_load_recon_info 
+048b 20200310 branch p_mouse_check_reconn_target 
 
 p_mouse_24g_attempt_success:
-048f 704b5500 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
-0490 58000000 setarg 0 
-0491 6001cb47 store 3 ,mem_le_switch_adv_flag 
-0492 204041c6 call mouse_le_bb_event_connected + 3 
-0493 20400532 call p_mouse_multi_led_blink_off 
-0494 20400210 call p_g24_auto_pair_timeout_clear 
-0495 2040010d call p_mouse_init_sensor_reset 
-0496 20403f8d call mouse_no_data_timer_init 
-0497 2040047f call p_mouse_set_24g_addr_eeprom 
-0498 204065d1 call iicd_write_protect_eep_data 
+048c 704b5500 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
+048d 58000000 setarg 0 
+048e 6001cb47 store 3 ,mem_le_switch_adv_flag 
+048f 204041c6 call mouse_le_bb_event_connected + 3 
+0490 2040052f call p_mouse_multi_led_blink_off 
+0491 20400210 call p_g24_auto_pair_timeout_clear 
+0492 2040010d call p_mouse_init_sensor_reset 
+0493 20403f8d call mouse_no_data_timer_init 
+0494 2040047c call p_mouse_set_24g_addr_eeprom 
+0495 204065d1 call iicd_write_protect_eep_data 
 
 p_mouse_24g_store_latest_mode_eeprom:
-0499 704b5402 jam latest_mode_24g ,mem_mouse_latest_mode 
-049a 2020044c branch p_mouse_store_latest_mode_eeprom 
+0496 704b5402 jam latest_mode_24g ,mem_mouse_latest_mode 
+0497 20200449 branch p_mouse_store_latest_mode_eeprom 
 
 p_mouse_before_hibernate:
-049b 68120138 hfetch 4 ,core_lpm_ctrl 
-049c 79207e1a set1 ,26 ,pdata 
-049d 6012004c hstore 4 ,core_lpm_reg 
-049e 20402c21 call lpm_write_ctrl 
-049f 204004ae call p_mouse_sensor_powerdown_check 
-04a0 204074bd call disable_authrom 
-04a1 2040053b call p_mouse_multi_led_off2 
-04a2 20403e9f call mouse_before_hibernate_wheel_gpio_set 
-04a3 204000c4 call p_mouse_setgpio_lpm_before 
-04a4 680400a1 fetch 8 ,mem_gpio_wakeup_low 
-04a5 793ffe08 set0 8 ,pdata 
-04a6 600400a1 store 8 ,mem_gpio_wakeup_low 
-04a7 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-04a8 204005aa call p_gpio_set_input_pd 
-04a9 680400a1 fetch 8 ,mem_gpio_wakeup_low 
-04aa 79207e28 set1 40 ,pdata 
-04ab 600400a1 store 8 ,mem_gpio_wakeup_low 
-04ac 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
-04ad 202067ed branch gpio_clr_wake 
+0498 68120138 hfetch 4 ,core_lpm_ctrl 
+0499 79207e1a set1 ,26 ,pdata 
+049a 6012004c hstore 4 ,core_lpm_reg 
+049b 20402c21 call lpm_write_ctrl 
+049c 204004ab call p_mouse_sensor_powerdown_check 
+049d 204074bd call disable_authrom 
+049e 20400538 call p_mouse_multi_led_off2 
+049f 20403e9f call mouse_before_hibernate_wheel_gpio_set 
+04a0 204000c4 call p_mouse_setgpio_lpm_before 
+04a1 680400a1 fetch 8 ,mem_gpio_wakeup_low 
+04a2 793ffe08 set0 8 ,pdata 
+04a3 600400a1 store 8 ,mem_gpio_wakeup_low 
+04a4 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+04a5 204005ad call p_gpio_set_input_pd 
+04a6 680400a1 fetch 8 ,mem_gpio_wakeup_low 
+04a7 79207e28 set1 40 ,pdata 
+04a8 600400a1 store 8 ,mem_gpio_wakeup_low 
+04a9 6808c6f7 fetcht 1 ,mem_select_sensor_angle_gpio 
+04aa 202067ed branch gpio_clr_wake 
 
 p_mouse_sensor_powerdown_check:
-04ae 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
-04af 207a0000 rtn blank 
-04b0 704b0c00 jam 0 ,mem_mouse_init_sensor_reset_flag 
-04b1 202000ff branch p_mouse_sensor_powerdown 
+04ab 6800cb0c fetch 1 ,mem_mouse_init_sensor_reset_flag 
+04ac 207a0000 rtn blank 
+04ad 704b0c00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+04ae 202000ff branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-04b2 204004c9 call p_mouse_le_switch_adv_timer 
-04b3 2040051d call p_mouse_multi_led_blink_timer 
-04b4 204004fd call p_mouse_wheel_trigger_timer 
-04b5 20400502 call p_mouse_bt_discovery_check 
-04b6 20404234 call mouse_check_discovery_timeout_timer 
-04b7 204004d6 call p_mouse_g24_long_sleep_param_update_timer 
-04b8 204004dd call p_mouse_g24_stop_mode_timeout_timer 
-04b9 204004c2 call p_mouse_check_direct_timeout_timer 
-04ba 204004ec call p_mouse_le_enable_att_list_timer 
-04bb 204004ef call p_mouse_le_current_mult_update_timer 
-04bc 204004f5 call p_le_send_smp_security_request_timer 
-04bd 204004bf call p_mouse_poweron_bt_start_reconn_timer 
-04be 2020423a branch mouse_check_no_data_timeout_timer 
+04af 204004c6 call p_mouse_le_switch_adv_timer 
+04b0 2040051a call p_mouse_multi_led_blink_timer 
+04b1 204004fa call p_mouse_wheel_trigger_timer 
+04b2 204004ff call p_mouse_bt_discovery_check 
+04b3 20404234 call mouse_check_discovery_timeout_timer 
+04b4 204004d3 call p_mouse_g24_long_sleep_param_update_timer 
+04b5 204004da call p_mouse_g24_stop_mode_timeout_timer 
+04b6 204004bf call p_mouse_check_direct_timeout_timer 
+04b7 204004e9 call p_mouse_le_enable_att_list_timer 
+04b8 204004ec call p_mouse_le_current_mult_update_timer 
+04b9 204004f2 call p_le_send_smp_security_request_timer 
+04ba 204004bc call p_mouse_poweron_bt_start_reconn_timer 
+04bb 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_poweron_bt_start_reconn_timer:
-04bf da604b55 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
-04c0 da40048a arg p_mouse_bt_start_reconn ,regb 
-04c1 2020336d branch timer_single_step 
+04bc da604b55 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
+04bd da400487 arg p_mouse_bt_start_reconn ,regb 
+04be 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-04c2 da6046ae arg mem_mouse_direct_timer ,regc 
-04c3 da4004c5 arg p_mouse_check_direct_timeout ,regb 
-04c4 20203374 branch timer_single_step_2b 
+04bf da6046ae arg mem_mouse_direct_timer ,regc 
+04c0 da4004c2 arg p_mouse_check_direct_timeout ,regb 
+04c1 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-04c5 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-04c6 243a340a nbranch app_enter_hibernate ,blank 
-04c7 704b5601 jam 1 ,mem_mouse_le_not_tx_disconn 
-04c8 20200511 branch p_mouse_long_button_bt_normal_discovery 
+04c2 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+04c3 243a340a nbranch app_enter_hibernate ,blank 
+04c4 704b5601 jam 1 ,mem_mouse_le_not_tx_disconn 
+04c5 2020050e branch p_mouse_long_button_bt_normal_discovery 
 
 p_mouse_le_switch_adv_timer:
-04c9 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-04ca 207a0000 rtn blank 
-04cb da604b48 arg mem_le_switch_adv_timer ,regc 
-04cc da4004ce arg p_mouse_le_switch_adv ,regb 
-04cd 2020336d branch timer_single_step 
+04c6 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+04c7 207a0000 rtn blank 
+04c8 da604b48 arg mem_le_switch_adv_timer ,regc 
+04c9 da4004cb arg p_mouse_le_switch_adv ,regb 
+04ca 2020336d branch timer_single_step 
 
 p_mouse_le_switch_adv:
-04ce 704b4801 jam 1 ,mem_le_switch_adv_timer 
-04cf 6800cb49 fetch 1 ,mem_le_switch_adv_count 
-04d0 1fe0fe01 increase 1 ,pdata 
-04d1 1fe17e01 and_into 1 ,pdata 
-04d2 6000cb49 store 1 ,mem_le_switch_adv_count 
-04d3 c00005d0 beq 0 ,p_check_51cmd_adv 
-04d4 c00085e0 beq 1 ,p_mouse_check_fast_conn_adv_start1 
-04d5 20600000 rtn 
+04cb 704b4801 jam 1 ,mem_le_switch_adv_timer 
+04cc 6800cb49 fetch 1 ,mem_le_switch_adv_count 
+04cd 1fe0fe01 increase 1 ,pdata 
+04ce 1fe17e01 and_into 1 ,pdata 
+04cf 6000cb49 store 1 ,mem_le_switch_adv_count 
+04d0 c00005d3 beq 0 ,p_check_51cmd_adv 
+04d1 c00085e3 beq 1 ,p_mouse_check_fast_conn_adv_start1 
+04d2 20600000 rtn 
 
 p_mouse_g24_long_sleep_param_update_timer:
-04d6 da604b3b arg mem_24g_long_sleep_param_update_timer ,regc 
-04d7 da4004d9 arg p_mouse_g24_long_sleep_normal_param ,regb 
-04d8 2020336d branch timer_single_step 
+04d3 da604b3b arg mem_24g_long_sleep_param_update_timer ,regc 
+04d4 da4004d6 arg p_mouse_g24_long_sleep_normal_param ,regb 
+04d5 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-04d9 58124f80 setarg g24_long_sleep_step3 
-04da 6001cc3b store 3 ,mem_24g_enter_hibernate 
+04d6 58124f80 setarg g24_long_sleep_step3 
+04d7 6001cc3b store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-04db 704b3901 jam 1 ,mem_mouse_long_mult_flag 
-04dc 20600000 rtn 
+04d8 704b3901 jam 1 ,mem_mouse_long_mult_flag 
+04d9 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-04dd da604b4e arg mem_g24_stop_g24_mode_timeout ,regc 
-04de da4004e0 arg p_mouse_g24_stop_mode_timeout ,regb 
-04df 20203374 branch timer_single_step_2b 
+04da da604b4e arg mem_g24_stop_g24_mode_timeout ,regc 
+04db da4004dd arg p_mouse_g24_stop_mode_timeout ,regb 
+04dc 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-04e0 704b4d01 jam 1 ,mem_g24_stop_g24_mode 
-04e1 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-04e2 243a04e7 nbranch p_mouse_wait_g24_led_off ,blank 
-04e3 680146ae fetch 2 ,mem_mouse_direct_timer 
-04e4 207a0000 rtn blank 
-04e5 7046ae02 jam 2 ,mem_mouse_direct_timer 
-04e6 20600000 rtn 
+04dd 704b4d01 jam 1 ,mem_g24_stop_g24_mode 
+04de 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+04df 243a04e4 nbranch p_mouse_wait_g24_led_off ,blank 
+04e0 680146ae fetch 2 ,mem_mouse_direct_timer 
+04e1 207a0000 rtn blank 
+04e2 7046ae02 jam 2 ,mem_mouse_direct_timer 
+04e3 20600000 rtn 
 
 p_mouse_wait_g24_led_off:
-04e7 704b4e01 jam 1 ,mem_g24_stop_g24_mode_timeout 
-04e8 6800cb0a fetch 1 ,mem_mouse_multi_led_blink_poweron3s_flag 
-04e9 247a0000 nrtn blank 
-04ea 704b4e00 jam 0 ,mem_g24_stop_g24_mode_timeout 
-04eb 20200540 branch p_mouse_discovery_multi_led_blink 
+04e4 704b4e01 jam 1 ,mem_g24_stop_g24_mode_timeout 
+04e5 6800cb0a fetch 1 ,mem_mouse_multi_led_blink_poweron3s_flag 
+04e6 247a0000 nrtn blank 
+04e7 704b4e00 jam 0 ,mem_g24_stop_g24_mode_timeout 
+04e8 2020053d branch p_mouse_discovery_multi_led_blink 
 
 p_mouse_le_enable_att_list_timer:
-04ec da6046c6 arg mem_le_start_encrypt_timer ,regc 
-04ed da403d60 arg mouse_le_write_enable ,regb 
-04ee 2020336d branch timer_single_step 
+04e9 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+04ea da403d60 arg mouse_le_write_enable ,regb 
+04eb 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_update_timer:
-04ef da604b3a arg mem_mouse_le_current_mult_timer ,regc 
-04f0 da4004f2 arg p_mouse_le_current_mult_reinit ,regb 
-04f1 2020336d branch timer_single_step 
+04ec da604b3a arg mem_mouse_le_current_mult_timer ,regc 
+04ed da4004ef arg p_mouse_le_current_mult_reinit ,regb 
+04ee 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-04f2 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-04f3 6000c172 store 1 ,mem_lpm_mult 
-04f4 202004db branch p_mouse_long_mult_flag_enable 
+04ef 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+04f0 6000c172 store 1 ,mem_lpm_mult 
+04f1 202004d8 branch p_mouse_long_mult_flag_enable 
 
 p_le_send_smp_security_request_timer:
-04f5 6800cb3e fetch 1 ,mem_mouse_le_bb_connected_flag 
-04f6 207a0000 rtn blank 
-04f7 da604b3c arg mem_mouse_send_secutiry_request_timer ,regc 
-04f8 da4004fa arg p_le_pairing_sm_start_check ,regb 
-04f9 2020336d branch timer_single_step 
+04f2 6800cb3e fetch 1 ,mem_mouse_le_bb_connected_flag 
+04f3 207a0000 rtn blank 
+04f4 da604b3c arg mem_mouse_send_secutiry_request_timer ,regc 
+04f5 da4004f7 arg p_le_pairing_sm_start_check ,regb 
+04f6 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-04fa 6800cb3d fetch 1 ,mem_le_send_security_request_flag 
-04fb 247a0000 nrtn blank 
-04fc 20205bf5 branch le_pairing_sm_start 
+04f7 6800cb3d fetch 1 ,mem_le_send_security_request_flag 
+04f8 247a0000 nrtn blank 
+04f9 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_wheel_trigger_timer:
-04fd da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-04fe da400500 arg p_mouse_wheel_trigger_disable ,regb 
-04ff 2020336d branch timer_single_step 
+04fa da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+04fb da4004fd arg p_mouse_wheel_trigger_disable ,regb 
+04fc 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-0500 70480600 jam 0 ,mem_mouse_wheel_trigger 
-0501 20600000 rtn 
+04fd 70480600 jam 0 ,mem_mouse_wheel_trigger 
+04fe 20600000 rtn 
 
 p_mouse_bt_discovery_check:
 
 p_mouse_bt_discovery_commbination_key:
-0502 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-0503 203a050a branch p_mouse_bt_discovery_commbination_key_down ,blank 
+04ff 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+0500 203a0507 branch p_mouse_bt_discovery_commbination_key_down ,blank 
 
 p_mouse_bt_discovery_commbination_key_up:
-0504 6800c685 fetch 1 ,mem_ui_button_timeout 
-0505 6000c6da store 1 ,mem_combination_ui_button_count 
-0506 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-0507 c1008000 rtneq dpi_button_state_up 
-0508 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
-0509 202043ca branch mouse_bt_discovery_button_down_disable 
+0501 6800c685 fetch 1 ,mem_ui_button_timeout 
+0502 6000c6da store 1 ,mem_combination_ui_button_count 
+0503 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+0504 c1008000 rtneq dpi_button_state_up 
+0505 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0506 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-050a 2040050c call p_mouse_bt_discovery_timer 
-050b 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+0507 20400509 call p_mouse_bt_discovery_timer 
+0508 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-050c da6046da arg mem_combination_ui_button_count ,regc 
-050d da40050f arg p_mouse_long_button_bt_discovery ,regb 
-050e 2020336d branch timer_single_step 
+0509 da6046da arg mem_combination_ui_button_count ,regc 
+050a da40050c arg p_mouse_long_button_bt_discovery ,regb 
+050b 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-050f 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
-0510 243a051a nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
+050c 6800cb47 fetch 1 ,mem_le_switch_adv_flag 
+050d 243a0517 nbranch p_mouse_fast_conn_adv_switch_timer_reinit ,blank 
 
 p_mouse_long_button_bt_normal_discovery:
-0511 280ffe26 isolate1 mark_24g ,mark 
-0512 20408518 call p_mouse_le_adv_start ,true 
-0513 6800cb54 fetch 1 ,mem_mouse_latest_mode 
-0514 1fe67cff sub pdata ,latest_mode_null ,null 
-0515 20428518 call p_mouse_le_adv_start ,zero 
-0516 204005d4 call p_mouse_le_adv_data_update 
-0517 202043b8 branch mouse_long_button_bt_discovry 
+050e 280ffe26 isolate1 mark_24g ,mark 
+050f 20408515 call p_mouse_le_adv_start ,true 
+0510 6800cb54 fetch 1 ,mem_mouse_latest_mode 
+0511 1fe67cff sub pdata ,latest_mode_null ,null 
+0512 20428515 call p_mouse_le_adv_start ,zero 
+0513 204005d7 call p_mouse_le_adv_data_update 
+0514 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_le_adv_start:
-0518 704b4b01 jam 1 ,mem_mouse_le_adv_start 
-0519 20600000 rtn 
+0515 704b4b01 jam 1 ,mem_mouse_le_adv_start 
+0516 20600000 rtn 
 
 p_mouse_fast_conn_adv_switch_timer_reinit:
-051a 58000708 setarg ble_direct_adv_timeout 
-051b 600146ae store 2 ,mem_mouse_direct_timer 
-051c 20600000 rtn 
+0517 58000708 setarg ble_direct_adv_timeout 
+0518 600146ae store 2 ,mem_mouse_direct_timer 
+0519 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-051d 6800caff fetch 1 ,mem_mouse_multi_led_blink_enable 
-051e 207a0000 rtn blank 
-051f 20200520 branch p_mouse_multi_led_type_blink 
+051a 6800caff fetch 1 ,mem_mouse_multi_led_blink_enable 
+051b 207a0000 rtn blank 
+051c 2020051d branch p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_blink:
-0520 da604b05 arg mem_mouse_multi_led_blink_timer ,regc 
-0521 da400523 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0522 2020336d branch timer_single_step 
+051d da604b05 arg mem_mouse_multi_led_blink_timer ,regc 
+051e da400520 arg p_mouse_multi_led_type_blink_timeout ,regb 
+051f 2020336d branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0523 6800cb04 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0524 6000cb05 store 1 ,mem_mouse_multi_led_blink_timer 
-0525 6800cb08 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0526 203a052b branch p_mouse_multi_led_blink_count_no_limited ,blank 
-0527 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
-0528 203a0532 branch p_mouse_multi_led_blink_off ,blank 
-0529 1fe0ffff increase -1 ,pdata 
-052a 6000cb06 store 1 ,mem_mouse_multi_led_blink_count 
+0520 6800cb04 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0521 6000cb05 store 1 ,mem_mouse_multi_led_blink_timer 
+0522 6800cb08 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+0523 203a0528 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0524 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
+0525 203a052f branch p_mouse_multi_led_blink_off ,blank 
+0526 1fe0ffff increase -1 ,pdata 
+0527 6000cb06 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-052b 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
-052c c0008534 beq on ,p_mouse_multi_led_off 
+0528 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
+0529 c0008531 beq on ,p_mouse_multi_led_off 
 
 p_mouse_multi_led_on:
-052d 704b0101 jam on ,mem_mouse_multi_led_state 
-052e 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-052f 2040680e call gpio_config_output 
-0530 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-0531 20206825 branch gpio_out_inactive 
+052a 704b0101 jam on ,mem_mouse_multi_led_state 
+052b 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+052c 2040680e call gpio_config_output 
+052d 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+052e 20206825 branch gpio_out_inactive 
 
 p_mouse_multi_led_blink_off:
-0532 58000000 setarg 0 
-0533 6001cb05 store 3 ,mem_mouse_multi_led_blink_timer 
+052f 58000000 setarg 0 
+0530 6001cb05 store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-0534 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
-0535 243a0539 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-0536 704b0a00 jam 0 ,mem_mouse_multi_led_blink_poweron3s_flag 
-0537 704aff00 jam 0 ,mem_mouse_multi_led_blink_enable 
-0538 704b0200 jam 0 ,mem_mouse_multi_led_type 
+0531 6800cb06 fetch 1 ,mem_mouse_multi_led_blink_count 
+0532 243a0536 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0533 704b0a00 jam 0 ,mem_mouse_multi_led_blink_poweron3s_flag 
+0534 704aff00 jam 0 ,mem_mouse_multi_led_blink_enable 
+0535 704b0200 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-0539 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
-053a 704b0100 jam off ,mem_mouse_multi_led_state 
+0536 704b0700 jam 0 ,mem_mouse_multi_led_on_timer 
+0537 704b0100 jam off ,mem_mouse_multi_led_state 
 
 p_mouse_multi_led_off2:
+0538 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
+0539 79200407 set1 gpio_active_bit ,temp 
+053a 2040680e call gpio_config_output 
 053b 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-053c 79200407 set1 gpio_active_bit ,temp 
-053d 2040680e call gpio_config_output 
-053e 6808cb00 fetcht 1 ,mem_mouse_multi_led_gpio 
-053f 20206829 branch gpio_out_active 
+053c 20206829 branch gpio_out_active 
 
 p_mouse_discovery_multi_led_blink:
-0540 704b0a00 jam 0 ,mem_mouse_multi_led_blink_poweron3s_flag 
-0541 704b0401 jam 1 ,mem_mouse_multi_led_blink_timer_init 
+053d 704b0a00 jam 0 ,mem_mouse_multi_led_blink_poweron3s_flag 
+053e 704b0401 jam 1 ,mem_mouse_multi_led_blink_timer_init 
 
 p_mouse_discovery_multi_led_blink1:
-0542 704b0800 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0543 704b0601 jam 1 ,mem_mouse_multi_led_blink_count 
+053f 704b0800 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0540 704b0601 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0544 704b0505 jam 5 ,mem_mouse_multi_led_blink_timer 
-0545 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
-0546 704b0201 jam multi_led_blink ,mem_mouse_multi_led_type 
-0547 20600000 rtn 
+0541 704b0505 jam 5 ,mem_mouse_multi_led_blink_timer 
+0542 704aff01 jam on ,mem_mouse_multi_led_blink_enable 
+0543 704b0201 jam multi_led_blink ,mem_mouse_multi_led_type 
+0544 20600000 rtn 
 
 p_mouse_bt_reconn_multi_led_blink:
-0548 704b0403 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-0549 20200542 branch p_mouse_discovery_multi_led_blink1 
+0545 704b0403 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0546 2020053f branch p_mouse_discovery_multi_led_blink1 
 
 p_mouse_discovey_led_blink_off:
-054a 6800cb0a fetch 1 ,mem_mouse_multi_led_blink_poweron3s_flag 
-054b 247a0000 nrtn blank 
-054c 20200532 branch p_mouse_multi_led_blink_off 
+0547 6800cb0a fetch 1 ,mem_mouse_multi_led_blink_poweron3s_flag 
+0548 247a0000 nrtn blank 
+0549 2020052f branch p_mouse_multi_led_blink_off 
 
 p_mouse_mode_24g_device_multi_led_blink3s:
-054d 704b0605 jam 5 ,mem_mouse_multi_led_blink_count 
-054e 704b040a jam 10 ,mem_mouse_multi_led_blink_timer_init 
-054f 704b0801 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-0550 20200544 branch p_mouse_multi_led_blink_enable 
+054a 704b0605 jam 5 ,mem_mouse_multi_led_blink_count 
+054b 704b040a jam 10 ,mem_mouse_multi_led_blink_timer_init 
+054c 704b0801 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+054d 20200541 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_dpi_sensor_type:
-0551 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0552 c003055e beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-0553 c003855e beq mx8650 ,p_mouse_seting_3065xy_dpi 
-0554 c001056e beq ka8 ,p_mouse_seting_ka8_dpi 
-
-p_mouse_seting_3205_dpi:
-0555 6800c77a fetch 1 ,mem_mouse_dpi 
-0556 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0557 2042855c call p_mouse_3205_dpi_recount ,zero 
-0558 6800c77a fetch 1 ,mem_mouse_dpi 
-0559 c0003d8a beq mouse_dpi_level1 ,mouse_set_cpi1 
-055a c001bd8e beq mouse_dpi_level4 ,mouse_set_cpi4 
-055b 20203d8c branch mouse_set_cpi3 
-
-p_mouse_3205_dpi_recount:
-055c 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-055d 20600000 rtn 
-
-p_mouse_seting_3065xy_dpi:
-055e 6800c77a fetch 1 ,mem_mouse_dpi 
-055f 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0560 2042855c call p_mouse_3205_dpi_recount ,zero 
-0561 6800c77a fetch 1 ,mem_mouse_dpi 
-0562 c0000568 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-0563 c001856b beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
-p_mouse_3065xy_set_cpi3:
-0564 6800c781 fetch 1 ,mem_320x_dpi_3 
-0565 1fe0ffff increase -1 ,pdata 
+p_mouse_seting_320x_dpi:
+054e 6800c77a fetch 1 ,mem_mouse_dpi 
+054f 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0550 2042855b call p_mouse_320x_dpi_recount ,zero 
+0551 6800c77a fetch 1 ,mem_mouse_dpi 
+0552 c000055d beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+0553 c0018563 beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+
+p_mouse_set_cpi3:
+0554 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0555 c0030569 beq p3065_xy ,p_mouse_3065xy_set_cpi3 
+0556 c0038569 beq mx8650 ,p_mouse_3065xy_set_cpi3 
+0557 c0010572 beq ka8 ,p_mouse_ka8_set_cpi3 
+
+p_mouse_320x_set_cpi3:
+0558 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_dpi_store:
-0566 6000c6b5 store 1 ,mem_mouse_cpi_count 
-0567 20203dc1 branch mouse_p3205_dpi + 3 
+0559 6000c6b5 store 1 ,mem_mouse_cpi_count 
+055a 20203dc1 branch mouse_p3205_dpi + 3 
+
+p_mouse_320x_dpi_recount:
+055b 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+055c 20600000 rtn 
+
+p_mouse_set_cpi1:
+055d 6800c6e0 fetch 1 ,mem_config_sensor_type 
+055e c003056c beq p3065_xy ,p_mouse_3065xy_set_cpi1 
+055f c003856c beq mx8650 ,p_mouse_3065xy_set_cpi1 
+0560 c0010575 beq ka8 ,p_mouse_ka8_set_cpi1 
+
+p_mouse_320x_set_cpi1:
+0561 6800c77f fetch 1 ,mem_320x_dpi_1 
+0562 20200559 branch p_mouse_dpi_store 
+
+p_mouse_set_cpi4:
+0563 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0564 c003056f beq p3065_xy ,p_mouse_3065xy_set_cpi4 
+0565 c003856f beq mx8650 ,p_mouse_3065xy_set_cpi4 
+0566 c0010577 beq ka8 ,p_mouse_ka8_set_cpi4 
+
+p_mouse_320x_set_cpi4:
+0567 6800c782 fetch 1 ,mem_320x_dpi_4 
+0568 20200559 branch p_mouse_dpi_store 
+
+p_mouse_3065xy_set_cpi3:
+0569 6800c781 fetch 1 ,mem_320x_dpi_3 
+056a 1fe0ffff increase -1 ,pdata 
+056b 20200559 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi1:
-0568 6800c77f fetch 1 ,mem_320x_dpi_1 
-0569 1fe0ffff increase -1 ,pdata 
-056a 20200566 branch p_mouse_dpi_store 
+056c 6800c77f fetch 1 ,mem_320x_dpi_1 
+056d 1fe0ffff increase -1 ,pdata 
+056e 20200559 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-056b 6800c782 fetch 1 ,mem_320x_dpi_4 
-056c 1fe0ffff increase -1 ,pdata 
-056d 20200566 branch p_mouse_dpi_store 
-
-p_mouse_seting_ka8_dpi:
-056e 6800c77a fetch 1 ,mem_mouse_dpi 
-056f 205a055c call p_mouse_3205_dpi_recount ,blank 
-0570 6800c77a fetch 1 ,mem_mouse_dpi 
-0571 c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
-0572 c0018574 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
-0573 20203d8e branch mouse_set_cpi4 
+056f 6800c782 fetch 1 ,mem_320x_dpi_4 
+0570 1fe0ffff increase -1 ,pdata 
+0571 20200559 branch p_mouse_dpi_store 
 
 p_mouse_ka8_set_cpi3:
-0574 58000005 setarg 5 
-0575 20203dbe branch mouse_p3205_dpi 
+0572 6800c781 fetch 1 ,mem_320x_dpi_3 
+
+p_mouse_ka8_dpi_store:
+0573 1fe0fe02 increase 2 ,pdata 
+0574 20200559 branch p_mouse_dpi_store 
+
+p_mouse_ka8_set_cpi1:
+0575 6800c77f fetch 1 ,mem_320x_dpi_1 
+0576 20200573 branch p_mouse_ka8_dpi_store 
+
+p_mouse_ka8_set_cpi4:
+0577 6800c782 fetch 1 ,mem_320x_dpi_4 
+0578 20200573 branch p_mouse_ka8_dpi_store 
 
 p_mouse_motion:
-0576 78547c00 disable user 
-0577 58000000 setarg 0 
-0578 6003469b store 6 ,mem_mouse_x 
-0579 2040057f call p_mouse_cheak_sensor_data 
-057a 20404079 call mouse_zwheel 
-057b 2040407e call mouse_t_zwheel 
-057c 20400582 call p_mouse_key 
-057d 24740000 nrtn user 
-057e 20203fa0 branch mouse_motion + 9 
+0579 78547c00 disable user 
+057a 58000000 setarg 0 
+057b 6003469b store 6 ,mem_mouse_x 
+057c 20400582 call p_mouse_cheak_sensor_data 
+057d 20404079 call mouse_zwheel 
+057e 2040407e call mouse_t_zwheel 
+057f 20400585 call p_mouse_key 
+0580 24740000 nrtn user 
+0581 20203fa0 branch mouse_motion + 9 
 
 p_mouse_cheak_sensor_data:
 
 p_mouse_p32xx_sensor_motion:
-057f 20403fc0 call mouse_clear_sensor_data 
-0580 78547c00 disable user 
-0581 20203fe7 branch mouse_p32xx_sensor_motion_2 
+0582 20403fc0 call mouse_clear_sensor_data 
+0583 78547c00 disable user 
+0584 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_key:
-0582 20400584 call p_mouse_check_key_gpio 
-0583 2020409a branch mouse_key + 1 
+0585 20400587 call p_mouse_check_key_gpio 
+0586 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0584 da200000 arg 0 ,rega 
-0585 2040058a call p_mouse_check_lkey_gpio 
-0586 20400588 call p_mouse_check_skey_gpio 
-0587 2020408e branch mouse_check_key_gpio + 11 
+0587 da200000 arg 0 ,rega 
+0588 2040058d call p_mouse_check_lkey_gpio 
+0589 2040058b call p_mouse_check_skey_gpio 
+058a 2020408e branch mouse_check_key_gpio + 11 
 
 p_mouse_check_skey_gpio:
-0588 2040059a call p_mouse_check_bk_key_gpio 
-0589 202005a0 branch p_mouse_check_fw_key_gpio 
+058b 2040059d call p_mouse_check_bk_key_gpio 
+058c 202005a3 branch p_mouse_check_fw_key_gpio 
 
 p_mouse_check_lkey_gpio:
-058a 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-058b 204005a5 call p_gpio_set_input_pu 
-058c 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-058d 2040681d call gpio_get_bit 
-058e 7920a200 setflag true ,0 ,rega 
+058d 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+058e 204005a8 call p_gpio_set_input_pu 
+058f 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0590 2040681d call gpio_get_bit 
+0591 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-058f 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0590 204005a5 call p_gpio_set_input_pu 
-0591 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0592 2040681d call gpio_get_bit 
-0593 7920a201 setflag true ,1 ,rega 
+0592 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0593 204005a8 call p_gpio_set_input_pu 
+0594 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0595 2040681d call gpio_get_bit 
+0596 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-0594 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0595 204005a5 call p_gpio_set_input_pu 
-0596 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0597 2040681d call gpio_get_bit 
-0598 7920a202 setflag true ,2 ,rega 
-0599 20600000 rtn 
+0597 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0598 204005a8 call p_gpio_set_input_pu 
+0599 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+059a 2040681d call gpio_get_bit 
+059b 7920a202 setflag true ,2 ,rega 
+059c 20600000 rtn 
 
 p_mouse_check_bk_key_gpio:
-059a 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-059b 204005aa call p_gpio_set_input_pd 
-059c 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-059d 2040681d call gpio_get_bit 
-059e 7d20a203 nsetflag true ,3 ,rega 
-059f 202005a5 branch p_gpio_set_input_pu 
+059d 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+059e 204005ad call p_gpio_set_input_pd 
+059f 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+05a0 2040681d call gpio_get_bit 
+05a1 7d20a203 nsetflag true ,3 ,rega 
+05a2 202005a8 branch p_gpio_set_input_pu 
 
 p_mouse_check_fw_key_gpio:
-05a0 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-05a1 204005aa call p_gpio_set_input_pd 
-05a2 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-05a3 2040681d call gpio_get_bit 
-05a4 7d20a204 nsetflag true ,4 ,rega 
+05a3 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+05a4 204005ad call p_gpio_set_input_pd 
+05a5 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+05a6 2040681d call gpio_get_bit 
+05a7 7d20a204 nsetflag true ,4 ,rega 
 
 p_gpio_set_input_pu:
-05a5 79200407 set1 gpio_active_bit ,temp 
-05a6 d8a08078 arg core_gpio_pu0 ,contw 
-05a7 20406830 call gpio_set_bit 
-05a8 793f8407 set0 gpio_active_bit ,temp 
-05a9 202005ae branch p_gpio_set_input_pd4 
+05a8 79200407 set1 gpio_active_bit ,temp 
+05a9 d8a08078 arg core_gpio_pu0 ,contw 
+05aa 20406830 call gpio_set_bit 
+05ab 793f8407 set0 gpio_active_bit ,temp 
+05ac 202005b1 branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-05aa 793f8407 set0 gpio_active_bit ,temp 
-05ab d8a08078 arg core_gpio_pu0 ,contw 
-05ac 20406830 call gpio_set_bit 
-05ad 79200407 set1 gpio_active_bit ,temp 
+05ad 793f8407 set0 gpio_active_bit ,temp 
+05ae d8a08078 arg core_gpio_pu0 ,contw 
+05af 20406830 call gpio_set_bit 
+05b0 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-05ae d8a0807c arg core_gpio_pd0 ,contw 
-05af 2020680a branch gpio_set_high_impedance + 4 
+05b1 d8a0807c arg core_gpio_pd0 ,contw 
+05b2 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_bb_event_discovery_btn:
-05b0 280ffe26 isolate1 mark_24g ,mark 
-05b1 2040822d call p_g24_check_51cmd_stop_24g ,true 
-05b2 7046b400 jam 0 ,mem_mouse_send_blank_timer 
-05b3 6800cb56 fetch 1 ,mem_mouse_le_not_tx_disconn 
-05b4 205a4386 call mouse_disconnect ,blank 
-05b5 58000000 setarg 0 
-05b6 600146b0 store 2 ,mem_mouse_no_data_timer 
-05b7 2020426f branch mouse_bb_event_discovery_btn + 3 
+05b3 280ffe26 isolate1 mark_24g ,mark 
+05b4 2040822d call p_g24_check_51cmd_stop_24g ,true 
+05b5 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+05b6 6800cb56 fetch 1 ,mem_mouse_le_not_tx_disconn 
+05b7 205a4386 call mouse_disconnect ,blank 
+05b8 58000000 setarg 0 
+05b9 600146b0 store 2 ,mem_mouse_no_data_timer 
+05ba 2020426f branch mouse_bb_event_discovery_btn + 3 
 
 p_mouse_start_discovery:
-05b8 20400314 call p_mouse_tx_power_init 
-05b9 704b3d00 jam 0 ,mem_le_send_security_request_flag 
-05ba 704b4a01 jam 1 ,mem_mouse_start_discovery_enable 
-05bb 70472001 jam mode_bt_device1 ,mem_device_flag 
-05bc 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+05bb 20400314 call p_mouse_tx_power_init 
+05bc 704b3d00 jam 0 ,mem_le_send_security_request_flag 
+05bd 704b4a01 jam 1 ,mem_mouse_start_discovery_enable 
+05be 70472001 jam mode_bt_device1 ,mem_device_flag 
+05bf 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_start_discovery_norandom:
-05bd df200003 arg 3 ,loopcnt 
-05be d8c04722 arg mem_device1_addr ,contr 
-05bf 204003b0 call p_pdata_0xff_check 
-05c0 2454036b ncall p_mouse_fast_conn_store ,user 
-05c1 68034b41 fetch 6 ,mem_le_normal_lap 
-05c2 600344a0 store 6 ,mem_le_lap 
-05c3 20403418 call app_lpm_mult_disable 
-05c4 68014687 fetch 2 ,mem_discovery_timeout 
-05c5 600146ac store 2 ,mem_mouse_discovery_timer 
-05c6 70016d06 jam 6 ,mem_connection_options 
-05c7 58000000 setarg 0 
-05c8 600146b0 store 2 ,mem_mouse_no_data_timer 
-05c9 600146ae store 2 ,mem_mouse_direct_timer 
-05ca 204005dc call p_mouse_store_eeprom_enable 
-05cb 204043ca call mouse_bt_discovery_button_down_disable 
-05cc 6800cb4b fetch 1 ,mem_mouse_le_adv_start 
-05cd 245a05d0 ncall p_check_51cmd_adv ,blank 
-05ce 204042c4 call mouse_start_discovery_norandom + 13 
-05cf 20200540 branch p_mouse_discovery_multi_led_blink 
+05c0 df200003 arg 3 ,loopcnt 
+05c1 d8c04722 arg mem_device1_addr ,contr 
+05c2 204003ad call p_pdata_0xff_check 
+05c3 24540368 ncall p_mouse_fast_conn_store ,user 
+05c4 68034b41 fetch 6 ,mem_le_normal_lap 
+05c5 600344a0 store 6 ,mem_le_lap 
+05c6 20403418 call app_lpm_mult_disable 
+05c7 68014687 fetch 2 ,mem_discovery_timeout 
+05c8 600146ac store 2 ,mem_mouse_discovery_timer 
+05c9 70016d06 jam 6 ,mem_connection_options 
+05ca 58000000 setarg 0 
+05cb 600146b0 store 2 ,mem_mouse_no_data_timer 
+05cc 600146ae store 2 ,mem_mouse_direct_timer 
+05cd 204005df call p_mouse_store_eeprom_enable 
+05ce 204043ca call mouse_bt_discovery_button_down_disable 
+05cf 6800cb4b fetch 1 ,mem_mouse_le_adv_start 
+05d0 245a05d3 ncall p_check_51cmd_adv ,blank 
+05d1 204042c4 call mouse_start_discovery_norandom + 13 
+05d2 2020053d branch p_mouse_discovery_multi_led_blink 
 
 p_check_51cmd_adv:
-05d0 68034b41 fetch 6 ,mem_le_normal_lap 
-05d1 600344a0 store 6 ,mem_le_lap 
-05d2 204005d4 call p_mouse_le_adv_data_update 
-05d3 20207df4 branch check_51cmd_adv 
+05d3 68034b41 fetch 6 ,mem_le_normal_lap 
+05d4 600344a0 store 6 ,mem_le_lap 
+05d5 204005d7 call p_mouse_le_adv_data_update 
+05d6 20207df4 branch check_51cmd_adv 
 
 p_mouse_le_adv_data_update:
-05d4 70436f1f jam 0x1f ,mem_le_adv_data_len 
-05d5 70438f1f jam 0x1f ,mem_le_scan_data_len 
-05d6 204005dc call p_mouse_store_eeprom_enable 
-05d7 d8c04b1e arg mem_le_adv_swift_pair ,contr 
+05d7 70436f1f jam 0x1f ,mem_le_adv_data_len 
+05d8 70438f1f jam 0x1f ,mem_le_scan_data_len 
+05d9 204005df call p_mouse_store_eeprom_enable 
+05da d8c04b1e arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-05d8 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05d9 df200013 arg 19 ,loopcnt 
-05da 20407f01 call memcpy 
-05db 202057b8 branch le_modified_name_adv 
+05db d8a0437b arg mem_le_adv_data + 11 ,contw 
+05dc df200013 arg 19 ,loopcnt 
+05dd 20407f01 call memcpy 
+05de 202057b8 branch le_modified_name_adv 
 
 p_mouse_store_eeprom_enable:
-05dc d8e00007 arg mouse_store_eeprom_flag ,queue 
-05dd 202043ce branch mouse_enable_function_flag 
+05df d8e00007 arg mouse_store_eeprom_flag ,queue 
+05e0 202043ce branch mouse_enable_function_flag 
 
 p_mouse_check_fast_conn_adv_start:
-05de 280ffe26 isolate1 mark_24g ,mark 
-05df 24408540 ncall p_mouse_discovery_multi_led_blink ,true 
+05e1 280ffe26 isolate1 mark_24g ,mark 
+05e2 2440853d ncall p_mouse_discovery_multi_led_blink ,true 
 
 p_mouse_check_fast_conn_adv_start1:
-05e0 70436f00 jam 0 ,mem_le_adv_data_len 
-05e1 70438f00 jam 0 ,mem_le_scan_data_len 
-05e2 d8e00007 arg mouse_store_eeprom_flag ,queue 
-05e3 204043d2 call mouse_disable_function_flag 
-05e4 20200372 branch p_mouse_fast_conn_init 
+05e3 70436f00 jam 0 ,mem_le_adv_data_len 
+05e4 70438f00 jam 0 ,mem_le_scan_data_len 
+05e5 d8e00007 arg mouse_store_eeprom_flag ,queue 
+05e6 204043d2 call mouse_disable_function_flag 
+05e7 2020036f branch p_mouse_fast_conn_init 
 
 p_mouse_stop_discovery:
-05e5 2040054a call p_mouse_discovey_led_blink_off 
-05e6 58000000 setarg 0 
-05e7 600146ac store 2 ,mem_mouse_discovery_timer 
-05e8 704b0c01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-05e9 204003f8 call p_mouse_sensor_poweron 
-05ea 202042cb branch mouse_stop_discovery + 1 
+05e8 20400547 call p_mouse_discovey_led_blink_off 
+05e9 58000000 setarg 0 
+05ea 600146ac store 2 ,mem_mouse_discovery_timer 
+05eb 2040010d call p_mouse_init_sensor_reset 
+05ec 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-05eb 6800c50f fetch 1 ,mem_le_md_count 
-05ec 1fe0fe01 pincrease 1 
-05ed 6000c50f store 1 ,mem_le_md_count 
-05ee c0065395 beq le_md_max_count ,le_slave_cont 
-05ef 204055aa call le_acknowledge 
-05f0 2040561e call le_prepare_tx 
-05f1 204006df call power_ctrl_start 
-05f2 2020538f branch le_slave_match + 7 
+05ed 6800c50f fetch 1 ,mem_le_md_count 
+05ee 1fe0fe01 pincrease 1 
+05ef 6000c50f store 1 ,mem_le_md_count 
+05f0 c0065395 beq le_md_max_count ,le_slave_cont 
+05f1 204055aa call le_acknowledge 
+05f2 2040561e call le_prepare_tx 
+05f3 204006e1 call power_ctrl_start 
+05f4 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05f3 68008016 fetch 1 ,mem_le_ch_mapped 
-05f4 1fe0fe01 increase 1 ,pdata 
-05f5 60008016 store 1 ,mem_le_ch_mapped 
-05f6 c1940000 rtnne 40 
-05f7 70001625 jam 37 ,mem_le_ch_mapped 
-05f8 20600000 rtn 
+05f5 68008016 fetch 1 ,mem_le_ch_mapped 
+05f6 1fe0fe01 increase 1 ,pdata 
+05f7 60008016 store 1 ,mem_le_ch_mapped 
+05f8 c1940000 rtnne 40 
+05f9 70001625 jam 37 ,mem_le_ch_mapped 
+05fa 20600000 rtn 
 
 p_le_receive_skip:
-05f9 204029bb call save_rssi 
-05fa 2040001f call p_rssi_signal 
-05fb 202054a3 branch le_receive_skip + 2 
+05fb 204029bb call save_rssi 
+05fc 2040001f call p_rssi_signal 
+05fd 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05fc 20400602 call p_mouse_le_conn_param_check 
-05fd 2020557d branch le_update_param + 8 
+05fe 20400604 call p_mouse_le_conn_param_check 
+05ff 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-05fe 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-05ff 6000c172 store 1 ,mem_lpm_mult 
+0600 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0601 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-0600 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0601 20600000 rtn 
+0602 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0603 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-0602 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-0603 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0604 24210475 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-0605 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0606 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-0607 98467c00 isub temp ,null 
-0608 202105fe branch p_mouse_le_lpm_mult_reinit ,positive 
-0609 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-060a 6000c172 store 1 ,mem_lpm_mult 
-060b 20200600 branch p_mouse_le_conn_param_lpm_enable 
+0604 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0605 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0606 24210472 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0607 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0608 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0609 98467c00 isub temp ,null 
+060a 20210600 branch p_mouse_le_lpm_mult_reinit ,positive 
+060b 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+060c 6000c172 store 1 ,mem_lpm_mult 
+060d 20200602 branch p_mouse_le_conn_param_lpm_enable 
 
 p_le_update_channel_map:
-060c 6800843f fetch 1 ,mem_le_state 
-060d c4030000 rtnbit0 lestate_update_map 
-060e 20400611 call p_le_channel_map_overflow_check 
-060f 24740000 nrtn user 
-0610 202055a0 branch le_update_channel_map + 3 
+060e 6800843f fetch 1 ,mem_le_state 
+060f c4030000 rtnbit0 lestate_update_map 
+0610 20400613 call p_le_channel_map_overflow_check 
+0611 24740000 nrtn user 
+0612 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-0611 78347c00 enable user 
-0612 6800845a fetch 1 ,mem_le_event_count + 1 
-0613 1ff1fe00 rshift4 pdata ,pdata 
-0614 c1878000 rtnne 0x0f 
-0615 68008460 fetch 1 ,mem_le_instant + 1 
-0616 1ff1fe00 rshift4 pdata ,pdata 
-0617 c1800000 rtnne 0x00 
-0618 20207fe9 branch disable_user 
+0613 78347c00 enable user 
+0614 6800845a fetch 1 ,mem_le_event_count + 1 
+0615 1ff1fe00 rshift4 pdata ,pdata 
+0616 c1878000 rtnne 0x0f 
+0617 68008460 fetch 1 ,mem_le_instant + 1 
+0618 1ff1fe00 rshift4 pdata ,pdata 
+0619 c1800000 rtnne 0x00 
+061a 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-0619 68008456 fetch 1 ,mem_le_arq 
-061a c2828639 bbit1 wak ,p_le_prepare_tx_wak 
-061b 204006d1 call power_ctrl_pac_succ_incrs 
-061c 6800c78e fetch 1 ,mem_empty_count 
-061d 243a0623 nbranch p_le_send_empyt ,blank 
-061e 6800843f fetch 1 ,mem_le_state 
-061f c3020627 bbit0 lestate_encryption ,p_le_tx_4 
-0620 680082da fetch 1 ,mem_le_rxbuf + 1 
-0621 203a0627 branch p_le_tx_4 ,blank 
-0622 20205664 branch le_send_empty 
+061b 68008456 fetch 1 ,mem_le_arq 
+061c c282863b bbit1 wak ,p_le_prepare_tx_wak 
+061d 204006d3 call power_ctrl_pac_succ_incrs 
+061e 6800c78e fetch 1 ,mem_empty_count 
+061f 243a0625 nbranch p_le_send_empyt ,blank 
+0620 6800843f fetch 1 ,mem_le_state 
+0621 c3020629 bbit0 lestate_encryption ,p_le_tx_4 
+0622 680082da fetch 1 ,mem_le_rxbuf + 1 
+0623 203a0629 branch p_le_tx_4 ,blank 
+0624 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0623 6800c78e fetch 1 ,mem_empty_count 
-0624 1fe0ffff increase -1 ,pdata 
-0625 6000c78e store 1 ,mem_empty_count 
-0626 20205664 branch le_send_empty 
+0625 6800c78e fetch 1 ,mem_empty_count 
+0626 1fe0ffff increase -1 ,pdata 
+0627 6000c78e store 1 ,mem_empty_count 
+0628 20205664 branch le_send_empty 
 
 p_le_tx_4:
-0627 6800c4c4 fetch 1 ,mem_le_pairing_state 
-0628 c082862a bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-0629 70478e03 jam 3 ,mem_empty_count 
+0629 6800c4c4 fetch 1 ,mem_le_pairing_state 
+062a c082862c bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+062b 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-062a 20405892 call le_fifo_check_nearly_full 
-062b 205a0409 call p_mouse_data_pull ,blank 
-062c 20205622 branch le_prepare_tx + 4 
+062c 20405892 call le_fifo_check_nearly_full 
+062d 205a0407 call p_mouse_data_pull ,blank 
+062e 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-062d 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-062e 1fe17e03 and pdata ,0x03 ,pdata 
-062f c1818000 rtnne 0x03 
-0630 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0631 207a0000 rtn blank 
-0632 6800c3dd fetch 1 ,mem_le_txlen 
+062f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0630 1fe17e03 and pdata ,0x03 ,pdata 
+0631 c1818000 rtnne 0x03 
+0632 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
 0633 207a0000 rtn blank 
-0634 6800c3dc fetch 1 ,mem_le_txheader 
-0635 79207e04 set1 md ,pdata 
-0636 6000c3dc store 1 ,mem_le_txheader 
-0637 20405650 call le_set_md 
-0638 20600000 rtn 
+0634 6800c3dd fetch 1 ,mem_le_txlen 
+0635 207a0000 rtn blank 
+0636 6800c3dc fetch 1 ,mem_le_txheader 
+0637 79207e04 set1 md ,pdata 
+0638 6000c3dc store 1 ,mem_le_txheader 
+0639 20405650 call le_set_md 
+063a 20600000 rtn 
 
 p_le_prepare_tx_wak:
-0639 2040062d call p_le_check_tx_retransmit_setmd 
+063b 2040062f call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-063a 202006d5 branch power_ctrl_pac_succ_decrs 
+063c 202006d7 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-063b 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-063c 207a0000 rtn blank 
-063d 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-063e 1fe17e03 and pdata ,0x03 ,pdata 
-063f c1018000 rtneq 0x03 
-0640 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-0641 20600000 rtn 
+063d 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+063e 207a0000 rtn blank 
+063f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0640 1fe17e03 and pdata ,0x03 ,pdata 
+0641 c1018000 rtneq 0x03 
+0642 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+0643 20600000 rtn 
 
 p_le_parse:
-0642 c6078000 rtnmark1 mark_old_packet 
-0643 20405890 call le_fifo_check_full 
-0644 247a0000 nrtn blank 
-0645 680082d9 fetch 1 ,mem_le_rxbuf 
-0646 1fe17e03 and pdata ,0x3 ,pdata 
-0647 6000c50c store 1 ,mem_le_packet_llid 
-0648 e8c08000 ifetch 1 ,contr 
-0649 1fe17e1f and pdata ,0x1f ,pdata 
-064a 6000c50b store 1 ,mem_le_packet_size 
-064b 207a0000 rtn blank 
-064c 18c27e00 copy contr ,pdata 
-064d 6001450d store 2 ,mem_le_payload_ptr 
-064e 6800c50c fetch 1 ,mem_le_packet_llid 
-064f c0018651 beq llid_le_ll ,p_le_parse_ll 
-0650 2020568d branch le_parse_l2cap 
+0644 c6078000 rtnmark1 mark_old_packet 
+0645 20405890 call le_fifo_check_full 
+0646 247a0000 nrtn blank 
+0647 680082d9 fetch 1 ,mem_le_rxbuf 
+0648 1fe17e03 and pdata ,0x3 ,pdata 
+0649 6000c50c store 1 ,mem_le_packet_llid 
+064a e8c08000 ifetch 1 ,contr 
+064b 1fe17e1f and pdata ,0x1f ,pdata 
+064c 6000c50b store 1 ,mem_le_packet_size 
+064d 207a0000 rtn blank 
+064e 18c27e00 copy contr ,pdata 
+064f 6001450d store 2 ,mem_le_payload_ptr 
+0650 6800c50c fetch 1 ,mem_le_packet_llid 
+0651 c0018653 beq llid_le_ll ,p_le_parse_ll 
+0652 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-0651 680082db fetch 1 ,mem_le_rxbuf + 2 
-0652 c0000655 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-0653 c000865c beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0654 20205c65 branch le_parse_ll + 1 
+0653 680082db fetch 1 ,mem_le_rxbuf + 2 
+0654 c0000657 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+0655 c000865e beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0656 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0655 20405c7b call le_parse_connection_update_req 
-0656 6800cb53 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-0657 207a0000 rtn blank 
+0657 20405c7b call le_parse_connection_update_req 
+0658 6800cb53 fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0659 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-0658 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0659 6000c172 store 1 ,mem_lpm_mult 
-065a 6000c7c5 store 1 ,mem_lpm_mult_init 
-065b 20600000 rtn 
+065a 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+065b 6000c172 store 1 ,mem_lpm_mult 
+065c 6000c7c5 store 1 ,mem_lpm_mult_init 
+065d 20600000 rtn 
 
 p_le_parse_channel_map_req:
-065c e8c28000 ifetch 5 ,contr 
-065d 6002c3ce store 5 ,mem_le_new_map 
-065e e8c10000 ifetch 2 ,contr 
-065f 6001045f store 2 ,mem_le_instant 
-0660 20205c8a branch le_parse_channel_map_req + 7 
+065e e8c28000 ifetch 5 ,contr 
+065f 6002c3ce store 5 ,mem_le_new_map 
+0660 e8c10000 ifetch 2 ,contr 
+0661 6001045f store 2 ,mem_le_instant 
+0662 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-0661 e8c10000 ifetch 2 ,contr 
-0662 c0020665 beq le_l2cap_cid_att ,p_le_parse_att 
-0663 c0030692 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0664 20205698 branch le_parse_l2cap + 11 
+0663 e8c10000 ifetch 2 ,contr 
+0664 c0020667 beq le_l2cap_cid_att ,p_le_parse_att 
+0665 c0030694 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0666 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0665 20407ea5 call store_contr 
-0666 2040063b call p_mouse_le_reconn_write_enable_timer_reinit 
-0667 20407e9f call get_contr 
-0668 e8c18000 ifetch 3 ,contr 
-0669 60018477 store 3 ,mem_le_att_opcode 
-066a c0080674 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-066b 1fec8400 rshift8 pdata ,temp 
-066c 18467c24 sub temp ,0x24 ,null 
-066d 20210682 branch p_le_parse_att1 ,positive 
-066e d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-066f 600944bc storet 2 ,mem_ui_le_uuid_table 
-0670 204058ad call le_parse_att + 2 
-0671 58008e7a setarg 0x8e7a 
-0672 600144bc store 2 ,mem_ui_le_uuid_table 
-0673 20600000 rtn 
+0667 20407ea5 call store_contr 
+0668 2040063d call p_mouse_le_reconn_write_enable_timer_reinit 
+0669 20407e9f call get_contr 
+066a e8c18000 ifetch 3 ,contr 
+066b 60018477 store 3 ,mem_le_att_opcode 
+066c c0080676 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+066d 1fec8400 rshift8 pdata ,temp 
+066e 18467c24 sub temp ,0x24 ,null 
+066f 20210684 branch p_le_parse_att1 ,positive 
+0670 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+0671 600944bc storet 2 ,mem_ui_le_uuid_table 
+0672 204058ad call le_parse_att + 2 
+0673 58008e7a setarg 0x8e7a 
+0674 600144bc store 2 ,mem_ui_le_uuid_table 
+0675 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0674 204059fa call le_parse_att_read_by_group_type_request 
-0675 20405879 call le_fifo_get_last_tx_ptr 
-0676 18c08c07 increase 7 ,contr 
-0677 e8c08000 ifetch 1 ,contr 
-0678 c1888000 rtnne attop_read_by_group_type_response 
-0679 18c08c05 increase 5 ,contr 
-067a e8c10000 ifetch 2 ,contr 
-067b d8401812 arg uuid_service_hids ,temp 
-067c 98467c00 isub temp ,null 
-067d 24628000 nrtn zero 
-067e 18c08dfc increase -4 ,contr 
-067f 5800002b setarg 0x2b 
-0680 e0c10000 istore 2 ,contr 
-0681 20600000 rtn 
+0676 204059fa call le_parse_att_read_by_group_type_request 
+0677 20405879 call le_fifo_get_last_tx_ptr 
+0678 18c08c07 increase 7 ,contr 
+0679 e8c08000 ifetch 1 ,contr 
+067a c1888000 rtnne attop_read_by_group_type_response 
+067b 18c08c05 increase 5 ,contr 
+067c e8c10000 ifetch 2 ,contr 
+067d d8401812 arg uuid_service_hids ,temp 
+067e 98467c00 isub temp ,null 
+067f 24628000 nrtn zero 
+0680 18c08dfc increase -4 ,contr 
+0681 5800002b setarg 0x2b 
+0682 e0c10000 istore 2 ,contr 
+0683 20600000 rtn 
 
 p_le_parse_att1:
-0682 c0050684 beq attop_read_request ,p_le_parse_att_read_request 
-0683 202058ad branch le_parse_att + 2 
+0684 c0050686 beq attop_read_request ,p_le_parse_att_read_request 
+0685 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0684 68090478 fetcht 2 ,mem_le_att_handle 
-0685 6800c4e9 fetch 1 ,mem_le_configuration 
-0686 c281868b bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0686 68090478 fetcht 2 ,mem_le_att_handle 
+0687 6800c4e9 fetch 1 ,mem_le_configuration 
+0688 c281868d bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0687 68010478 fetch 2 ,mem_le_att_handle 
-0688 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-0689 68090478 fetcht 2 ,mem_le_att_handle 
-068a 202059bf branch le_send_att_read_response 
+0689 68010478 fetch 2 ,mem_le_att_handle 
+068a c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+068b 68090478 fetcht 2 ,mem_le_att_handle 
+068c 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-068b 680144fa fetch 2 ,mem_le_pairing_handle 
-068c 98467c00 isub temp ,null 
-068d 24228687 nbranch p_le_send_att_read_response ,zero 
+068d 680144fa fetch 2 ,mem_le_pairing_handle 
+068e 98467c00 isub temp ,null 
+068f 24228689 nbranch p_le_send_att_read_response ,zero 
 
 p_le_send_att_read_response_error_insufficient_auth:
-068e 20405a42 call le_check_encrypt_state 
-068f 24340687 nbranch p_le_send_att_read_response ,user 
-0690 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0691 20205a77 branch le_send_att_error_response 
+0690 20405a42 call le_check_encrypt_state 
+0691 24340689 nbranch p_le_send_att_read_response ,user 
+0692 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0693 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0692 e8c08000 ifetch 1 ,contr 
-0693 c0008696 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0694 c0028698 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0695 20205af5 branch le_parse_smp + 1 
+0694 e8c08000 ifetch 1 ,contr 
+0695 c0008698 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0696 c002869a beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0697 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_request:
-0696 704b3d01 jam 1 ,mem_le_send_security_request_flag 
-0697 20205b09 branch le_parse_smp_pairing_request 
+0698 704b3d01 jam 1 ,mem_le_send_security_request_flag 
+0699 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-0698 20405b5a call le_parse_smp_pairing_failed 
-0699 6800843f fetch 1 ,mem_le_state 
-069a 793ffe05 set0 lestate_update_param ,pdata 
-069b 6000843f store 1 ,mem_le_state 
-069c 20205c8e branch le_parse_terminate_ind 
+069a 20405b5a call le_parse_smp_pairing_failed 
+069b 6800843f fetch 1 ,mem_le_state 
+069c 793ffe05 set0 lestate_update_param ,pdata 
+069d 6000843f store 1 ,mem_le_state 
+069e 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-069d 68008016 fetch 1 ,mem_le_ch_mapped 
-069e c093d6f2 bne 39 ,le_adv_loop 
-069f 204006a3 call p_le_adv_random_delay 
-06a0 d8e00000 arg le_adv_interval_timer ,queue 
-06a1 68014482 fetch 2 ,mem_le_adv_interval 
-06a2 20207f08 branch timer_init 
+069f 68008016 fetch 1 ,mem_le_ch_mapped 
+06a0 c093d6f2 bne 39 ,le_adv_loop 
+06a1 204006a5 call p_le_adv_random_delay 
+06a2 d8e00000 arg le_adv_interval_timer ,queue 
+06a3 68014482 fetch 2 ,mem_le_adv_interval 
+06a4 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-06a3 180a7e00 random pdata 
-06a4 d84001ff arg 0x1ff ,temp 
-06a5 98417e00 iand temp ,pdata 
-06a6 1fe0fefa add pdata ,250 ,pdata 
-06a7 20203cbe branch delay 
+06a5 180a7e00 random pdata 
+06a6 d84001ff arg 0x1ff ,temp 
+06a7 98417e00 iand temp ,pdata 
+06a8 1fe0fefa add pdata ,250 ,pdata 
+06a9 20203cbe branch delay 
 
 p_le_lpm_setmult:
-06a8 7855fc00 disable wake 
-06a9 203706ab branch p_le_lpm_set_mult_attempt ,attempt 
-06aa 2436d806 nbranch le_lpm_lost ,match 
+06aa 7855fc00 disable wake 
+06ab 203706ad branch p_le_lpm_set_mult_attempt ,attempt 
+06ac 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-06ab 20402bcb call lpm_match 
-06ac 680140c1 fetch 2 ,mem_rx_window_sniff 
-06ad 6001044d store 2 ,mem_le_receive_window 
-06ae 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-06af 2fe00603 compare 3 ,pdata ,3 
-06b0 2420abde nbranch lpm_mult_short ,true 
-06b1 202057fb branch le_lpm_set_mult_attempt + 3 
+06ad 20402bcb call lpm_match 
+06ae 680140c1 fetch 2 ,mem_rx_window_sniff 
+06af 6001044d store 2 ,mem_le_receive_window 
+06b0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+06b1 2fe00603 compare 3 ,pdata ,3 
+06b2 2420abde nbranch lpm_mult_short ,true 
+06b3 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-06b2 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-06b3 247a0000 nrtn blank 
-06b4 68008478 fetch 1 ,mem_le_att_handle 
-06b5 1fe67e1a sub pdata ,26 ,pdata 
-06b6 24628000 nrtn zero 
-06b7 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-06b8 20203d60 branch mouse_le_write_enable 
+06b4 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+06b5 247a0000 nrtn blank 
+06b6 68008478 fetch 1 ,mem_le_att_handle 
+06b7 1fe67e1a sub pdata ,26 ,pdata 
+06b8 24628000 nrtn zero 
+06b9 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+06ba 20203d60 branch mouse_le_write_enable 
 
 p_check_51cmd_once_continue:
-06b9 204062bc call lmo_fifo_check 
-06ba 243a7ddb nbranch check_51cmd_restore ,blank 
-06bb 68008a99 fetch 1 ,mem_fifo_temp 
-06bc c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06bd c00906bf beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06be 20207dca branch check_51cmd_once_continue + 2 
+06bb 204062bc call lmo_fifo_check 
+06bc 243a7ddb nbranch check_51cmd_restore ,blank 
+06bd 68008a99 fetch 1 ,mem_fifo_temp 
+06be c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06bf c00906c1 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06c0 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06bf 20405890 call le_fifo_check_full 
-06c0 247a0000 nrtn blank 
-06c1 20205abf branch le_l2cap_tx_update_req 
+06c1 20405890 call le_fifo_check_full 
+06c2 247a0000 nrtn blank 
+06c3 20205abf branch le_l2cap_tx_update_req 
 
 p_twspi_reset:
-06c2 68108077 hfetch 1 ,core_gpio_out3 
-06c3 1fe17efd and_into 0xfd ,pdata 
-06c4 60108077 hstore 1 ,core_gpio_out3 
-06c5 68188073 hfetcht 1 ,core_gpio_oe3 
-06c6 18418402 or_into 0x2 ,temp 
-06c7 60188073 hstoret 1 ,core_gpio_oe3 
-06c8 204063ee call twspi_disable 
-06c9 184104fd and_into 0xfd ,temp 
-06ca 2000000d nop 13 
-06cb 204063f2 call twspi_enable 
-06cc 60188073 hstoret 1 ,core_gpio_oe3 
-06cd 20600000 rtn 
+06c4 68108077 hfetch 1 ,core_gpio_out3 
+06c5 1fe17efd and_into 0xfd ,pdata 
+06c6 60108077 hstore 1 ,core_gpio_out3 
+06c7 68188073 hfetcht 1 ,core_gpio_oe3 
+06c8 18418402 or_into 0x2 ,temp 
+06c9 60188073 hstoret 1 ,core_gpio_oe3 
+06ca 204063ee call twspi_disable 
+06cb 184104fd and_into 0xfd ,temp 
+06cc 2000000d nop 13 
+06cd 204063f2 call twspi_enable 
+06ce 60188073 hstoret 1 ,core_gpio_oe3 
+06cf 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_init:
-06ce 704d4801 jam 1 ,mem_power_ctrl_level 
-06cf 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06d0 20600000 rtn 
+06d0 704d4801 jam 1 ,mem_power_ctrl_level 
+06d1 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06d2 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06d1 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d2 1fe0fe01 increase 1 ,pdata 
-06d3 6000cd45 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06d4 20600000 rtn 
+06d3 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d4 1fe0fe01 increase 1 ,pdata 
+06d5 6000cd45 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06d6 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06d5 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d6 1fe67c02 sub pdata ,2 ,null 
-06d7 244106dd ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06d8 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d9 c1000000 rtneq 0 
-06da 1fe0ffff increase -1 ,pdata 
-06db 6000cd45 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06dc 20600000 rtn 
+06d7 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d8 1fe67c02 sub pdata ,2 ,null 
+06d9 244106df ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06da 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06db c1000000 rtneq 0 
+06dc 1fe0ffff increase -1 ,pdata 
+06dd 6000cd45 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06de 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06dd 704d4503 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06de 20600000 rtn 
+06df 704d4503 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06e0 20600000 rtn 
 
 power_ctrl_start:
-06df 68014682 fetch 2 ,mem_ui_state_map 
-06e0 c3858000 rtnbit1 ui_state_ble_adv 
-06e1 da204cce arg mem_rssi_signal_buf ,rega 
-06e2 204002e0 call p_rssi_average 
-06e3 6008cd46 storet 1 ,mem_rssi_avg_received 
-06e4 58000082 setarg rssi_dis_max_24g 
-06e5 c51306e7 bmark1 mark_24g ,power_ctrl_start_next 
-06e6 58000080 setarg rssi_dis_max_ble 
+06e1 68014682 fetch 2 ,mem_ui_state_map 
+06e2 c3858000 rtnbit1 ui_state_ble_adv 
+06e3 da204cce arg mem_rssi_signal_buf ,rega 
+06e4 204002e0 call p_rssi_average 
+06e5 6008cd46 storet 1 ,mem_rssi_avg_received 
+06e6 58000082 setarg rssi_dis_max_24g 
+06e7 c51306e9 bmark1 mark_24g ,power_ctrl_start_next 
+06e8 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-06e7 98467c00 isub temp ,null 
-06e8 242106ff nbranch power_ctrl_txpower_incrs_force ,positive 
-06e9 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ea 1fe67c02 sub pdata ,2 ,null 
-06eb 242106ef nbranch power_ctrl_txpower_decrs_check ,positive 
-06ec 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ed c0000700 beq 0 ,power_ctrl_txpower_incrs 
-06ee 20600000 rtn 
+06e9 98467c00 isub temp ,null 
+06ea 24210701 nbranch power_ctrl_txpower_incrs_force ,positive 
+06eb 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ec 1fe67c02 sub pdata ,2 ,null 
+06ed 242106f1 nbranch power_ctrl_txpower_decrs_check ,positive 
+06ee 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ef c0000702 beq 0 ,power_ctrl_txpower_incrs 
+06f0 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-06ef 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f0 c1990000 rtnne 50 
-06f1 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f1 6800cd45 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f2 c1990000 rtnne 50 
+06f3 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-06f2 6808cd46 fetcht 1 ,mem_rssi_avg_received 
-06f3 58000077 setarg rssi_dis_min_24g 
-06f4 c51306f6 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-06f5 58000075 setarg rssi_dis_min_ble 
+06f4 6808cd46 fetcht 1 ,mem_rssi_avg_received 
+06f5 58000077 setarg rssi_dis_min_24g 
+06f6 c51306f8 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+06f7 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-06f6 98467c00 isub temp ,null 
-06f7 24610000 nrtn positive 
-06f8 6800cd48 fetch 1 ,mem_power_ctrl_level 
-06f9 c0000707 beq 0 ,power_ctrl_decrs_level0 
-06fa 1fe0ffff increase -1 ,pdata 
-06fb 6000cd48 store 1 ,mem_power_ctrl_level 
-06fc c0000707 beq 0 ,power_ctrl_decrs_level0 
+06f8 98467c00 isub temp ,null 
+06f9 24610000 nrtn positive 
+06fa 6800cd48 fetch 1 ,mem_power_ctrl_level 
+06fb c0000709 beq 0 ,power_ctrl_decrs_level0 
+06fc 1fe0ffff increase -1 ,pdata 
+06fd 6000cd48 store 1 ,mem_power_ctrl_level 
+06fe c0000709 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-06fd 7041de00 jam tx_power_0db ,mem_tx_power 
-06fe 20600000 rtn 
+06ff 7041de00 jam tx_power_0db ,mem_tx_power 
+0700 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-06ff 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0701 704d4500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0700 6800cd48 fetch 1 ,mem_power_ctrl_level 
-0701 c0010705 beq 2 ,power_ctrl_incrs_level2 
-0702 1fe0fe01 increase 1 ,pdata 
-0703 6000cd48 store 1 ,mem_power_ctrl_level 
-0704 c00086fd beq 1 ,power_ctrl_incrs_level1 
+0702 6800cd48 fetch 1 ,mem_power_ctrl_level 
+0703 c0010707 beq 2 ,power_ctrl_incrs_level2 
+0704 1fe0fe01 increase 1 ,pdata 
+0705 6000cd48 store 1 ,mem_power_ctrl_level 
+0706 c00086ff beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0705 7041de02 jam tx_power_5db ,mem_tx_power 
-0706 20600000 rtn 
+0707 7041de02 jam tx_power_5db ,mem_tx_power 
+0708 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0707 7041de04 jam tx_power_f5db ,mem_tx_power 
-0708 20600000 rtn 
+0709 7041de04 jam tx_power_f5db ,mem_tx_power 
+070a 20600000 rtn 
 
 p_set_freq_tx:
-0709 60088017 storet 1 ,mem_last_freq 
-070a 1840a200 add temp ,0 ,rega 
-070b 20402981 call rf_write_freq 
-070c 58000500 setarg param_pll_setup 
-070d 20402a8f call sleep 
+070b 60088017 storet 1 ,mem_last_freq 
+070c 1840a200 add temp ,0 ,rega 
+070d 20402981 call rf_write_freq 
+070e 58000500 setarg param_pll_setup 
+070f 20402a8f call sleep 
 
 p_rf_tx_enable:
-070e 70890601 jam 0x1 ,rfen_adc 
-070f 7089003c jam 0x3c ,rfen_rx 
-0710 708901e0 jam 0xe0 ,rfen_tx 
-0711 2000000a nop 10 
-0712 70890201 jam 0x01 ,rfen_mdm 
-0713 7089023d jam 0x3d ,rfen_mdm 
-0714 2000000a nop 10 
-0715 708903b7 jam 0xb7 ,rfen_sn 
+0710 70890601 jam 0x1 ,rfen_adc 
+0711 7089003c jam 0x3c ,rfen_rx 
+0712 708901e0 jam 0xe0 ,rfen_tx 
+0713 2000000a nop 10 
+0714 70890201 jam 0x01 ,rfen_mdm 
+0715 7089023d jam 0x3d ,rfen_mdm 
 0716 2000000a nop 10 
-0717 7089027d jam 0x7d ,rfen_mdm 
-0718 6800c1de fetch 1 ,mem_tx_power 
-0719 c0010721 beq tx_power_5db ,p_set_tx_power_5db 
-071a c0020729 beq tx_power_f5db ,p_set_tx_power_f5db 
-071b c0100733 beq tx_power_pair ,p_set_tx_power_pair 
+0717 708903b7 jam 0xb7 ,rfen_sn 
+0718 2000000a nop 10 
+0719 7089027d jam 0x7d ,rfen_mdm 
+071a 6800c1de fetch 1 ,mem_tx_power 
+071b c0010723 beq tx_power_5db ,p_set_tx_power_5db 
+071c c002072b beq tx_power_f5db ,p_set_tx_power_f5db 
+071d c0100735 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-071c 2040072e call p_rx_low_sens 
-071d 708955d0 jam 0xd0 ,0x8955 
-071e 708956e0 jam 0xe0 ,0x8956 
-071f 7089586c jam 0x6c ,0x8958 
-0720 2020294b branch set_tx_power_0db 
+071e 20400730 call p_rx_low_sens 
+071f 708955d0 jam 0xd0 ,0x8955 
+0720 708956e0 jam 0xe0 ,0x8956 
+0721 7089586c jam 0x6c ,0x8958 
+0722 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0721 70894cfb jam 0xfb ,0x894c 
-0722 70894def jam 0xef ,0x894d 
-0723 70894eec jam 0xec ,0x894e 
-0724 70894f5e jam 0x5e ,0x894f 
-0725 708955d0 jam 0xd0 ,0x8955 
-0726 708956e0 jam 0xe0 ,0x8956 
-0727 7089583c jam 0x3c ,0x8958 
-0728 20202953 branch set_tx_power_5db 
+0723 70894cfb jam 0xfb ,0x894c 
+0724 70894def jam 0xef ,0x894d 
+0725 70894eec jam 0xec ,0x894e 
+0726 70894f5e jam 0x5e ,0x894f 
+0727 708955d0 jam 0xd0 ,0x8955 
+0728 708956e0 jam 0xe0 ,0x8956 
+0729 7089583c jam 0x3c ,0x8958 
+072a 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0729 2040072e call p_rx_low_sens 
-072a 708955d0 jam 0xd0 ,0x8955 
-072b 708956c0 jam 0xc0 ,0x8956 
-072c 7089586c jam 0x6c ,0x8958 
-072d 2020295b branch set_tx_power_f5db 
+072b 20400730 call p_rx_low_sens 
+072c 708955d0 jam 0xd0 ,0x8955 
+072d 708956c0 jam 0xc0 ,0x8956 
+072e 7089586c jam 0x6c ,0x8958 
+072f 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-072e 70894c5b jam 0x5b ,0x894c 
-072f 70894d96 jam 0x96 ,0x894d 
-0730 70894e2c jam 0x2c ,0x894e 
-0731 70894f46 jam 0x46 ,0x894f 
-0732 20600000 rtn 
+0730 70894c5b jam 0x5b ,0x894c 
+0731 70894d96 jam 0x96 ,0x894d 
+0732 70894e2c jam 0x2c ,0x894e 
+0733 70894f46 jam 0x46 ,0x894f 
+0734 20600000 rtn 
 
 p_set_tx_power_pair:
-0733 708956c2 jam 0xc2 ,0x8956 
-0734 708955d0 jam 0xd0 ,0x8955 
-0735 20600000 rtn 
+0735 708956c2 jam 0xc2 ,0x8956 
+0736 708955d0 jam 0xd0 ,0x8955 
+0737 20600000 rtn 
 
 p_shutdown_radio:
-0736 18002a08 force 8 ,radio_ctrl 
-0737 202028fa branch shutdown_radio + 1 
+0738 18002a08 force 8 ,radio_ctrl 
+0739 202028fa branch shutdown_radio + 1 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_24G&BLE/program/patch.prog	(revision 1737)
+++ /branch/mouse_project/YJX_24G&BLE/program/patch.prog	(working copy)
@@ -192,18 +192,18 @@
 	call p_g24_transmit_receive_ack
 	nbranch p_g24_pair_txdata_retry,sync
 	nbranch p_g24_pair_txdata_retry,user3
-//	fetch 1,mem_g24_conn_sm
-//	set0 STATE_24G_PAIR,pdata
-//	store 1,mem_g24_conn_sm
-	jam 0,mem_g24_conn_sm
 	call p_g24_ackpayload_parse
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_allpowerful_addr
 	isub temp,null
 	branch p_g24_auto_pair_skip_rx_length,zero
 	fetch 1,mem_24g_rxdata_length	//ack payload length
-	rtn blank
+	rtnne BIND_ACKPAYLOAD_LENGTH
 p_g24_auto_pair_skip_rx_length:
+//	fetch 1,mem_g24_conn_sm
+//	set0 STATE_24G_PAIR,pdata
+//	store 1,mem_g24_conn_sm
+	jam 0,mem_g24_conn_sm
 	call p_mouse_tx_power_init
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_paring_addr
@@ -1324,13 +1324,12 @@
 	call app_lpm_mult_disable
 	arg mem_le_scan_data,contr
 	call p_le_adv_data_update
-	jam 0x1f,mem_le_scan_data_len
 	branch check_51cmd_adv
 endif
 
 ifdef G24
 p_g24_start_pairing_sm1:
-	set1 mark_24g,mark
+//	set1 mark_24g,mark
 	call p_g24_pair_init
 p_g24_set_pairing_sm_1:
 	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
@@ -1339,8 +1338,7 @@
 
 p_mouse_dpi_config:
 	fetch 1,mem_mouse_dpi
-	beq 0xff,p_mouse_dpi_config_default
-	branch p_mouse_seting_dpi_sensor_type
+	bne 0xff,p_mouse_seting_dpi_sensor_type
 p_mouse_dpi_config_default:
 	fetch 1,mem_config_sensor_motion
 	store 1,mem_mouse_dpi
@@ -1681,6 +1679,8 @@
 	setarg 0
 	store 1,mem_mouse_long_mult_flag
 	store 4,mem_mouse_x
+	branch p_mouse_init_sensor_reset
+
 p_mouse_sensor_poweron:
 	arg mem_sensor_poweron_init,regc
 	call p_sensor_wr_seq
@@ -1809,8 +1809,7 @@
 
 p_mouse_clear_sensor_data:
 	call le_set_config_more_data
-	jam 1,mem_mouse_clear_sensor_data_flag
-	branch p_mouse_sensor_poweron
+	branch p_mouse_init_sensor_reset
 
 p_mouse_idle:
 	call ui_check_paring_button
@@ -2467,36 +2466,57 @@
 
 p_mouse_seting_dpi:
 p_mouse_seting_dpi_sensor_type:
-	fetch 1,mem_config_sensor_type
+//	fetch 1,mem_config_sensor_type
 //	beq P3212,p_mouse_seting_3212_dpi
-	beq P3065_XY,p_mouse_seting_3065XY_dpi
-	beq MX8650,p_mouse_seting_3065XY_dpi
-	beq KA8,p_mouse_seting_ka8_dpi
-p_mouse_seting_3205_dpi:
+//	beq P3065_XY,p_mouse_seting_3065XY_dpi
+//	beq MX8650,p_mouse_seting_3065XY_dpi
+//	beq KA8,p_mouse_seting_ka8_dpi
+p_mouse_seting_320x_dpi:
 	fetch 1,mem_mouse_dpi
 	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
+	call p_mouse_320x_dpi_recount,zero
 	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,mouse_set_cpi1
-	beq MOUSE_DPI_LEVEL4,mouse_set_cpi4
-	branch mouse_set_cpi3
-p_mouse_3205_dpi_recount:
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_cpi1
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_cpi4
+p_mouse_set_cpi3:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi3
+	beq P3065_XY,p_mouse_3065xy_set_cpi3
+	beq MX8650,p_mouse_3065xy_set_cpi3
+	beq KA8,p_mouse_ka8_set_cpi3
+p_mouse_320x_set_cpi3:	
+	fetch 1,mem_320x_dpi_3
+p_mouse_dpi_store:
+	store 1,mem_mouse_cpi_count
+	branch mouse_p3205_dpi+3
+p_mouse_320x_dpi_recount:
 	jam MOUSE_DPI_LEVEL3,mem_mouse_dpi
 	rtn
 
-p_mouse_seting_3065XY_dpi:
-	fetch 1,mem_mouse_dpi
-	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
-	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,p_mouse_3065xy_set_cpi1
-	beq MOUSE_DPI_LEVEL4,p_mouse_3065xy_set_cpi4
+p_mouse_set_cpi1:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi1
+	beq P3065_XY,p_mouse_3065xy_set_cpi1
+	beq MX8650,p_mouse_3065xy_set_cpi1
+	beq KA8,p_mouse_ka8_set_cpi1
+p_mouse_320x_set_cpi1:	
+	fetch 1,mem_320x_dpi_1
+	branch p_mouse_dpi_store
+
+p_mouse_set_cpi4:
+	fetch 1,mem_config_sensor_type
+//	beq P3212,mouse_set_p3212_cpi4
+	beq P3065_XY,p_mouse_3065xy_set_cpi4
+	beq MX8650,p_mouse_3065xy_set_cpi4
+	beq KA8,p_mouse_ka8_set_cpi4
+p_mouse_320x_set_cpi4:	
+	fetch 1,mem_320x_dpi_4
+	branch p_mouse_dpi_store
+
 p_mouse_3065xy_set_cpi3:
 	fetch 1,mem_320x_dpi_3
 	increase -1,pdata
-p_mouse_dpi_store:
-	store 1,mem_mouse_cpi_count
-	branch mouse_p3205_dpi+3
+	branch p_mouse_dpi_store
 p_mouse_3065xy_set_cpi1:
 	fetch 1,mem_320x_dpi_1
 	increase -1,pdata
@@ -2506,54 +2526,17 @@
 	increase -1,pdata
 	branch p_mouse_dpi_store
 
-p_mouse_seting_ka8_dpi:
-	fetch 1,mem_mouse_dpi
-	call p_mouse_3205_dpi_recount,blank
-	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2			//800
-	beq MOUSE_DPI_LEVEL4,p_mouse_ka8_set_cpi3		//1600
-	branch mouse_set_cpi4							//1200
-p_mouse_ka8_set_cpi3:	
-	setarg 5
-	branch mouse_p3205_dpi
-	
-//p_mouse_seting_3212_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL2,null
-//	call p_mouse_3205_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi1
-//	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
-//	branch mouse_set_p3212_cpi3
-
-
-//p_mouse_seting_8009_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL1,null
-//	call p_mouse_8009_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL2,p_mouse_8650_8009_set_cpi1		//750
-//	beq MOUSE_DPI_LEVEL4,mouse_set_cpi2		//1500
-//	branch mouse_set_cpi1						//1250
-//p_mouse_8009_dpi_recount:
-//	jam MOUSE_DPI_LEVEL2,mem_mouse_dpi
-//	rtn
-
-//p_mouse_seting_8650_dpi:
-//	fetch 1,mem_mouse_dpi
-//	sub pdata,MOUSE_DPI_LEVEL1,null
-//	call p_mouse_8065_dpi_recount,zero
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL2,p_mouse_8650_8009_set_cpi1	//800
-//	beq MOUSE_DPI_LEVEL4,mouse_set_cpi2		//1600
-//	branch mouse_set_cpi1						//1200
-//p_mouse_8065_dpi_recount:
-//	jam MOUSE_DPI_LEVEL2,mem_mouse_dpi
-//	rtn
-//p_mouse_8650_8009_set_cpi1:	
-//	jam 0,mem_mouse_cpi_count
-//	branch mouse_p3205_dpi+3
-
+p_mouse_ka8_set_cpi3:
+	fetch 1,mem_320x_dpi_3
+p_mouse_ka8_dpi_store:
+	increase 2,pdata
+	branch p_mouse_dpi_store
+p_mouse_ka8_set_cpi1:
+	fetch 1,mem_320x_dpi_1
+	branch p_mouse_ka8_dpi_store
+p_mouse_ka8_set_cpi4:
+	fetch 1,mem_320x_dpi_4
+	branch p_mouse_ka8_dpi_store
 
 p_mouse_motion:
 	disable user
@@ -2741,8 +2724,7 @@
 	call p_mouse_discovey_led_blink_off
 	setarg 0
 	store 2,mem_mouse_discovery_timer
-	jam 1,mem_mouse_init_sensor_reset_flag
-	call p_mouse_sensor_poweron		//clear sensor data,confirm the motion pin high
+	call p_mouse_init_sensor_reset		//clear sensor data,confirm the motion pin high
 	branch mouse_stop_discovery+1
 
 ifdef BLE
