Index: format/app_mouse.format
===================================================================
--- /branch/mouse_project/LeXiang/BT&BLE_Trust/format/app_mouse.format	(revision 2209)
+++ /branch/mouse_project/LeXiang/BT&BLE_Trust/format/app_mouse.format	(working copy)
@@ -242,6 +242,8 @@
 1 mem_mouse_data_xtemp
 1 mem_mouse_data_ytemp
 
+1 mem_mouse_delay_store_timer
+1 mem_mouse_store_flag
 )
 
 (
@@ -440,3 +442,10 @@
 0x18 BLE_ADDR_OFFSET
 0x03 BLE_ADDR_LOOP
 )
+
+(
+0x01 MOUSE_STORE_DPI
+0x02 MOUSE_STORE_24G
+0x03 MOUSE_STORE_BLE
+0x04 MOUSE_STORE_BT
+)
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/LeXiang/BT&BLE_Trust/output/eeprom.dat	(revision 2209)
+++ /branch/mouse_project/LeXiang/BT&BLE_Trust/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-ca
-17
+76
+18
 c2
 84
 00
@@ -19,43 +19,43 @@
 c0
 42
 85
-7e
+a9
 c0
 44
 85
-4f
+7a
 c0
 0d
 84
-32
+5d
 c0
 13
 04
-3f
+6a
 c0
 24
 04
-5b
+86
 c0
 25
 04
-62
+8d
 c0
 2c
 84
-59
+84
 c0
 28
 84
-6b
+96
 c0
 53
 84
-70
+9b
 c0
 56
 84
-86
+b1
 c0
 65
 b3
@@ -63,7 +63,7 @@
 c0
 74
 84
-97
+c2
 c0
 50
 80
@@ -79,23 +79,23 @@
 c0
 71
 82
-aa
+ca
 c0
 73
-02
-f2
+03
+12
 c0
 75
-02
-fc
+03
+1c
 c0
 75
 83
-0f
+2f
 c0
 76
 03
-39
+58
 20
 20
 2a
@@ -103,67 +103,67 @@
 c0
 1c
 83
-3e
+5d
 c0
 21
 83
-46
+65
 c0
 25
 03
-4c
+6b
 c0
 2b
 83
-4f
+6e
 c0
 2c
 83
-5f
+7e
 c0
 31
 83
-6c
+8b
 c0
 33
 03
-96
+b5
 c0
 33
 83
-b5
+d4
 c0
 35
 04
-02
+21
 c0
 3b
 84
-0d
+2c
 c0
 7d
 04
-29
+48
 c0
 02
 84
-aa
+d5
 c0
 40
 04
-b9
+e4
 c0
 41
 04
-c3
+ee
 c0
 44
-04
-ee
+05
+19
 c0
 46
 04
-1d
+3c
 20
 20
 2a
@@ -175,11 +175,11 @@
 68
 08
 cc
-6a
+6c
 58
 00
 4c
-71
+73
 98
 40
 8a
@@ -203,7 +203,7 @@
 60
 08
 cc
-6a
+6c
 20
 60
 00
@@ -495,7 +495,7 @@
 20
 20
 02
-ab
+cb
 20
 40
 34
@@ -515,11 +515,11 @@
 60
 00
 cc
-66
+68
 20
 40
 05
-12
+3d
 68
 00
 c6
@@ -551,7 +551,7 @@
 68
 00
 cc
-66
+68
 60
 00
 c1
@@ -575,7 +575,7 @@
 20
 40
 05
-80
+ab
 20
 40
 01
@@ -611,7 +611,7 @@
 20
 20
 02
-59
+5a
 68
 03
 41
@@ -723,7 +723,7 @@
 20
 20
 02
-ab
+cb
 68
 00
 c6
@@ -735,7 +735,7 @@
 20
 20
 02
-ab
+cb
 70
 42
 12
@@ -1195,7 +1195,7 @@
 d8
 c0
 4b
-d7
+d9
 20
 40
 7f
@@ -1235,7 +1235,7 @@
 58
 00
 04
-17
+36
 60
 01
 41
@@ -1710,8 +1710,8 @@
 34
 20
 40
-3d
-6a
+02
+ac
 20
 20
 3e
@@ -1935,7 +1935,7 @@
 20
 20
 03
-ac
+cb
 68
 01
 46
@@ -2115,27 +2115,27 @@
 20
 40
 02
-5c
+6d
 20
 40
 02
-8d
+9e
 20
 40
 02
-30
+31
 20
 40
 02
-50
+51
 20
 40
 02
-9b
+bb
 20
 40
 02
-35
+36
 20
 40
 42
@@ -2147,15 +2147,15 @@
 20
 40
 02
-25
+26
 20
 40
 02
-28
+29
 20
 40
 02
-1d
+1e
 20
 40
 42
@@ -2163,7 +2163,11 @@
 20
 40
 02
+21
 20
+40
+02
+5d
 20
 20
 42
@@ -2187,7 +2191,7 @@
 da
 40
 02
-23
+24
 20
 20
 33
@@ -2227,7 +2231,7 @@
 da
 40
 02
-2d
+2e
 20
 20
 33
@@ -2251,7 +2255,7 @@
 da
 40
 02
-33
+34
 20
 20
 33
@@ -2279,7 +2283,7 @@
 c0
 03
 02
-41
+42
 68
 00
 c6
@@ -2319,7 +2323,7 @@
 20
 40
 02
-44
+45
 20
 20
 43
@@ -2331,7 +2335,7 @@
 da
 40
 02
-47
+48
 20
 20
 33
@@ -2387,7 +2391,7 @@
 20
 3a
 02
-57
+58
 1f
 e0
 ff
@@ -2420,6 +2424,70 @@
 60
 00
 00
+da
+60
+4b
+29
+da
+40
+02
+60
+20
+20
+33
+6d
+68
+00
+cb
+2a
+2f
+ef
+fe
+01
+20
+40
+c4
+3b
+68
+00
+cb
+2a
+2f
+ef
+fe
+04
+20
+40
+e7
+d0
+68
+00
+cb
+2a
+2f
+ef
+fe
+03
+20
+40
+82
+6b
+70
+4b
+2a
+00
+20
+60
+00
+00
+20
+40
+67
+cc
+20
+20
+03
+27
 68
 02
 46
@@ -2455,7 +2523,7 @@
 20
 40
 02
-73
+84
 20
 40
 69
@@ -2471,7 +2539,7 @@
 20
 40
 02
-7e
+8f
 68
 00
 c2
@@ -2483,7 +2551,7 @@
 c3
 00
 02
-6e
+7f
 70
 4a
 fd
@@ -2519,7 +2587,7 @@
 c0
 01
 02
-76
+87
 20
 20
 68
@@ -2659,7 +2727,7 @@
 24
 21
 02
-99
+aa
 20
 60
 00
@@ -2673,42 +2741,102 @@
 44
 89
 68
-02
-46
-d3
-c4
-0b
-80
-00
-da
-60
-46
-df
-da
-40
-02
-a0
+08
+c6
+e7
 20
+40
+68
+1d
+24
 20
-33
-6d
+bd
+62
 68
 00
 c6
-f4
-60
+b6
+c1
 00
-c7
-15
-58
 00
-03
-e8
-60
-01
-47
-16
-60
+00
+70
+46
+b6
+00
+70
+4b
+29
+02
+68
+00
+cb
+2a
+79
+20
+7e
+01
+60
+00
+cb
+2a
+68
+00
+c7
+7a
+1f
+e0
+fe
+01
+1f
+e1
+7e
+03
+60
+00
+c7
+7a
+20
+20
+3d
+7e
+68
+02
+46
+d3
+c4
+0b
+80
+00
+da
+60
+46
+df
+da
+40
+02
+c0
+20
+20
+33
+6d
+68
+00
+c6
+f4
+60
+00
+c7
+15
+58
+00
+03
+e8
+60
+01
+47
+16
+60
 01
 47
 18
@@ -2734,8 +2862,8 @@
 00
 20
 40
-02
-ec
+03
+0c
 68
 00
 c6
@@ -2743,19 +2871,19 @@
 c0
 02
 02
-d2
+f2
 c0
 03
 02
-bf
+df
 c0
 03
 82
-bf
+df
 c0
 01
 02
-df
+ff
 68
 00
 c7
@@ -2767,7 +2895,7 @@
 20
 42
 82
-b7
+d7
 68
 00
 c7
@@ -2775,15 +2903,15 @@
 c0
 00
 02
-b9
+d9
 c0
 01
 82
-bd
+dd
 20
 20
 02
-bb
+db
 70
 47
 7a
@@ -2827,7 +2955,7 @@
 20
 42
 82
-b7
+d7
 68
 00
 c7
@@ -2835,11 +2963,11 @@
 c0
 00
 02
-ca
+ea
 c0
 01
 82
-ce
+ee
 70
 4b
 1d
@@ -2875,7 +3003,7 @@
 20
 20
 02
-c8
+e8
 70
 4b
 1d
@@ -2891,7 +3019,7 @@
 20
 20
 02
-c8
+e8
 68
 00
 c7
@@ -2903,7 +3031,7 @@
 20
 42
 82
-b7
+d7
 68
 00
 c7
@@ -2911,15 +3039,15 @@
 c0
 00
 02
-d9
+f9
 c0
 01
 82
-dd
+fd
 20
 20
 02
-db
+fb
 70
 4b
 1d
@@ -2951,23 +3079,23 @@
 20
 5a
 02
-b7
+d7
 68
 00
 c7
 7a
 c0
 00
-82
-e8
+83
+08
 c0
 01
-82
-e5
+83
+05
 20
 20
-02
-ea
+03
+0a
 70
 4b
 1d
@@ -3051,11 +3179,11 @@
 24
 34
 05
-80
+ab
 20
 40
 05
-83
+ae
 20
 20
 3f
@@ -3083,7 +3211,7 @@
 20
 3a
 03
-04
+24
 60
 01
 47
@@ -3103,7 +3231,7 @@
 20
 20
 03
-03
+23
 d8
 40
 00
@@ -3163,7 +3291,7 @@
 c2
 85
 83
-24
+43
 68
 02
 46
@@ -3171,11 +3299,11 @@
 c3
 0c
 03
-24
+43
 20
 40
 03
-0b
+2b
 68
 09
 47
@@ -3190,8 +3318,8 @@
 00
 20
 42
-82
-ff
+83
+1f
 68
 09
 47
@@ -3208,10 +3336,6 @@
 09
 44
 a1
-20
-40
-03
-07
 18
 0a
 7e
@@ -3279,7 +3403,7 @@
 20
 40
 83
-34
+53
 20
 20
 42
@@ -3351,7 +3475,7 @@
 20
 40
 05
-23
+4e
 20
 20
 53
@@ -3395,7 +3519,7 @@
 20
 40
 03
-55
+74
 20
 20
 55
@@ -3443,7 +3567,7 @@
 20
 21
 03
-51
+70
 68
 00
 c3
@@ -3455,7 +3579,7 @@
 20
 20
 03
-53
+72
 68
 00
 84
@@ -3467,7 +3591,7 @@
 20
 40
 03
-64
+83
 24
 74
 00
@@ -3515,11 +3639,11 @@
 c2
 82
 83
-80
+9f
 20
 40
 05
-15
+40
 68
 00
 c7
@@ -3527,7 +3651,7 @@
 24
 3a
 03
-76
+95
 68
 00
 84
@@ -3535,7 +3659,7 @@
 c3
 02
 03
-7a
+99
 68
 00
 82
@@ -3543,7 +3667,7 @@
 20
 3a
 03
-7a
+99
 20
 20
 56
@@ -3571,7 +3695,7 @@
 c0
 82
 83
-7d
+9c
 70
 47
 8e
@@ -3591,11 +3715,11 @@
 20
 40
 03
-82
+a1
 20
 20
 03
-8e
+ad
 68
 00
 c6
@@ -3647,7 +3771,7 @@
 20
 20
 05
-19
+44
 68
 00
 c7
@@ -3731,7 +3855,7 @@
 c0
 01
 83
-a5
+c4
 20
 20
 56
@@ -3743,11 +3867,11 @@
 c0
 00
 03
-a9
+c8
 c0
 00
 83
-b0
+cf
 20
 20
 5c
@@ -3807,11 +3931,11 @@
 c0
 02
 03
-b9
+d8
 c0
 03
-03
-f7
+04
+16
 20
 20
 56
@@ -3823,7 +3947,7 @@
 20
 40
 03
-8f
+ae
 20
 40
 7e
@@ -3839,7 +3963,7 @@
 c0
 08
 03
-c8
+e7
 1f
 ec
 84
@@ -3851,7 +3975,7 @@
 20
 21
 03
-d6
+f5
 d8
 40
 47
@@ -3935,7 +4059,7 @@
 c0
 05
 03
-d8
+f7
 20
 20
 58
@@ -3950,8 +4074,8 @@
 e9
 c2
 81
-83
-f0
+84
+0f
 20
 40
 57
@@ -3978,8 +4102,8 @@
 00
 20
 22
-83
-e6
+84
+05
 68
 01
 04
@@ -4047,7 +4171,7 @@
 24
 22
 83
-db
+fa
 20
 40
 5a
@@ -4055,7 +4179,7 @@
 24
 34
 03
-db
+fa
 70
 04
 7a
@@ -4070,12 +4194,12 @@
 00
 c0
 00
-83
-fb
+84
+1a
 c0
 02
-83
-fd
+84
+1c
 20
 20
 5a
@@ -4119,7 +4243,7 @@
 20
 40
 04
-08
+27
 d8
 e0
 00
@@ -4159,7 +4283,7 @@
 20
 37
 04
-10
+2f
 24
 36
 d8
@@ -4283,7 +4407,15 @@
 c0
 09
 04
-2f
+50
+c0
+0f
+84
+53
+c0
+10
+04
+58
 20
 20
 7d
@@ -4300,6 +4432,46 @@
 20
 5a
 bf
+70
+4b
+29
+02
+68
+00
+cb
+2a
+79
+20
+7e
+03
+60
+00
+cb
+2a
+20
+60
+00
+00
+70
+4b
+29
+02
+68
+00
+cb
+2a
+79
+20
+7e
+04
+60
+00
+cb
+2a
+20
+60
+00
+00
 68
 00
 80
@@ -4327,7 +4499,7 @@
 20
 2c
 04
-3d
+68
 79
 3f
 80
@@ -4339,7 +4511,7 @@
 24
 3a
 04
-36
+61
 20
 20
 20
@@ -4387,7 +4559,7 @@
 c5
 05
 84
-4c
+77
 20
 40
 24
@@ -4395,11 +4567,11 @@
 24
 3a
 04
-45
+70
 c5
 16
 84
-55
+80
 20
 20
 21
@@ -4439,7 +4611,7 @@
 20
 20
 04
-45
+70
 68
 02
 01
@@ -4503,7 +4675,7 @@
 20
 40
 84
-66
+91
 20
 20
 24
@@ -4519,15 +4691,15 @@
 20
 40
 85
-19
+44
 24
 40
 85
-15
+40
 20
 20
 05
-23
+4e
 20
 40
 24
@@ -4579,7 +4751,7 @@
 20
 3a
 04
-7a
+a5
 68
 00
 c5
@@ -4687,7 +4859,7 @@
 20
 5a
 04
-94
+bf
 20
 20
 2b
@@ -4731,15 +4903,15 @@
 c2
 80
 84
-a1
+cc
 c2
 81
 04
-a4
+cf
 c2
 81
 84
-a4
+cf
 20
 20
 42
@@ -4747,11 +4919,11 @@
 c2
 82
 84
-a4
+cf
 c2
 81
 84
-a4
+cf
 20
 20
 42
@@ -4775,7 +4947,7 @@
 c0
 03
 02
-59
+5a
 20
 20
 33
@@ -4807,7 +4979,7 @@
 c0
 03
 84
-b2
+dd
 20
 20
 4d
@@ -4851,7 +5023,7 @@
 c0
 09
 84
-bd
+e8
 20
 20
 5d
@@ -4899,19 +5071,19 @@
 c2
 83
 84
-cc
+f7
 c0
 01
-84
-dc
+85
+07
 c0
 18
-84
-d8
+85
+03
 c0
 0b
-84
-da
+85
+05
 20
 20
 60
@@ -4919,19 +5091,19 @@
 c0
 42
 04
-cf
+fa
 c0
 41
 84
-d2
+fd
 20
 20
 60
 3f
 20
 40
-04
-d5
+05
+00
 68
 00
 80
@@ -4942,8 +5114,8 @@
 99
 20
 40
-04
-d5
+05
+00
 68
 00
 80
@@ -5010,8 +5182,8 @@
 fc
 c0
 17
-04
-e5
+05
+10
 20
 20
 60
@@ -5071,11 +5243,11 @@
 c0
 02
 05
-10
+3b
 c0
 08
-04
-f5
+05
+20
 20
 20
 63
@@ -5090,8 +5262,8 @@
 00
 c0
 00
-84
-f9
+85
+24
 20
 20
 63
@@ -5106,8 +5278,8 @@
 6d
 c2
 80
-04
-fd
+05
+28
 20
 20
 63
@@ -5175,7 +5347,7 @@
 24
 21
 05
-0e
+39
 20
 20
 63
@@ -5198,11 +5370,11 @@
 6f
 70
 4c
-eb
+ed
 01
 70
 4c
-e8
+ea
 00
 20
 60
@@ -5211,7 +5383,7 @@
 68
 00
 cc
-e8
+ea
 1f
 e0
 fe
@@ -5219,7 +5391,7 @@
 60
 00
 cc
-e8
+ea
 20
 60
 00
@@ -5227,7 +5399,7 @@
 68
 00
 cc
-e8
+ea
 1f
 e6
 7c
@@ -5235,11 +5407,11 @@
 24
 41
 05
-21
+4c
 68
 00
 cc
-e8
+ea
 c1
 00
 00
@@ -5251,14 +5423,14 @@
 60
 00
 cc
-e8
+ea
 20
 60
 00
 00
 70
 4c
-e8
+ea
 03
 20
 60
@@ -5283,7 +5455,7 @@
 da
 20
 4c
-71
+73
 20
 40
 00
@@ -5291,7 +5463,7 @@
 60
 08
 cc
-e9
+eb
 58
 00
 00
@@ -5299,7 +5471,7 @@
 c5
 13
 05
-2d
+58
 58
 00
 00
@@ -5311,11 +5483,11 @@
 24
 21
 05
-45
+70
 68
 00
 cc
-e8
+ea
 1f
 e6
 7c
@@ -5323,15 +5495,15 @@
 24
 21
 05
-35
+60
 68
 00
 cc
-e8
+ea
 c0
 00
 05
-46
+71
 20
 60
 00
@@ -5339,19 +5511,19 @@
 68
 00
 cc
-e8
+ea
 c1
 90
 00
 00
 70
 4c
-e8
+ea
 00
 68
 08
 cc
-e9
+eb
 58
 00
 00
@@ -5359,7 +5531,7 @@
 c5
 13
 05
-3c
+67
 58
 00
 00
@@ -5375,11 +5547,11 @@
 68
 00
 cc
-eb
+ed
 c0
 00
 05
-4d
+78
 1f
 e0
 ff
@@ -5387,11 +5559,11 @@
 60
 00
 cc
-eb
+ed
 c0
 00
 05
-4d
+78
 70
 41
 de
@@ -5402,16 +5574,16 @@
 00
 70
 4c
-e8
+ea
 00
 68
 00
 cc
-eb
+ed
 c0
 01
 05
-4b
+76
 1f
 e0
 fe
@@ -5419,11 +5591,11 @@
 60
 00
 cc
-eb
+ed
 c0
 00
 85
-43
+6e
 70
 41
 de
@@ -5507,19 +5679,19 @@
 c0
 01
 05
-67
+92
 c0
 02
 05
-6c
+97
 c0
 10
 05
-7b
+a6
 20
 40
 05
-71
+9c
 70
 89
 55
@@ -5539,7 +5711,7 @@
 20
 40
 05
-76
+a1
 70
 89
 55
@@ -5559,7 +5731,7 @@
 20
 40
 05
-71
+9c
 70
 89
 55
@@ -5658,8 +5830,8 @@
 00
 20
 40
-05
-e1
+06
+0c
 58
 00
 00
@@ -5667,15 +5839,15 @@
 20
 40
 05
-d4
+ff
 58
 00
 00
 03
 20
 40
+06
 05
-da
 68
 00
 cb
@@ -5683,11 +5855,11 @@
 c0
 00
 85
-8d
+b8
 20
 20
 05
-80
+ab
 68
 01
 4b
@@ -5707,7 +5879,7 @@
 20
 40
 05
-a0
+cb
 68
 01
 11
@@ -5743,7 +5915,7 @@
 20
 40
 05
-a8
+d3
 68
 01
 11
@@ -5795,7 +5967,7 @@
 20
 20
 05
-b0
+db
 68
 01
 11
@@ -5827,7 +5999,7 @@
 20
 20
 05
-b0
+db
 60
 01
 91
@@ -5839,7 +6011,7 @@
 20
 20
 85
-ba
+e5
 68
 00
 91
@@ -5847,7 +6019,7 @@
 c0
 7f
 85
-c1
+ec
 68
 00
 91
@@ -5875,7 +6047,7 @@
 c0
 00
 05
-be
+e9
 68
 01
 91
@@ -5883,7 +6055,7 @@
 20
 20
 05
-b6
+e1
 70
 11
 c4
@@ -5895,7 +6067,7 @@
 20
 20
 05
-b6
+e1
 68
 00
 91
@@ -5903,7 +6075,7 @@
 20
 40
 05
-cc
+f7
 60
 00
 91
@@ -5915,7 +6087,7 @@
 20
 3a
 05
-ca
+f5
 58
 00
 00
@@ -5939,7 +6111,7 @@
 20
 20
 05
-c7
+f2
 1f
 e6
 7e
@@ -5978,16 +6150,16 @@
 00
 24
 21
-05
-df
+06
+0a
 9a
 46
 7c
 00
 24
 21
-05
-df
+06
+0a
 70
 4b
 0b
@@ -6014,8 +6186,8 @@
 00
 20
 20
-05
-d8
+06
+03
 70
 4b
 0b
@@ -6034,8 +6206,8 @@
 c0
 20
 40
-05
-ea
+06
+15
 1f
 e2
 22
@@ -6050,8 +6222,8 @@
 c0
 20
 40
-05
-ea
+06
+15
 1f
 e2
 24
@@ -6066,8 +6238,8 @@
 c1
 c0
 7f
-85
-ef
+86
+1a
 68
 00
 91
@@ -6090,10 +6262,10 @@
 00
 20
 20
-05
-ed
-0f
-0b
+06
+18
+63
+66
 aa
 55
 08
@@ -6738,7 +6910,7 @@
 55
 04
 00
-b0
+b2
 4b
 01
 00
@@ -6748,7 +6920,7 @@
 55
 15
 00
-bb
+bd
 4b
 20
 15
@@ -6775,7 +6947,7 @@
 55
 03
 00
-d4
+d6
 4b
 19
 19
@@ -6784,7 +6956,7 @@
 55
 03
 00
-de
+e0
 4b
 00
 48
@@ -6793,184 +6965,12 @@
 55
 02
 00
-f4
+f6
 4b
 04
 01
-0f
-d9
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+4d
+60
 ff
 ff
 ff
@@ -16380,5 +16380,5 @@
 ff
 ff
 ff
-86
-6e
+f2
+dc
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/LeXiang/BT&BLE_Trust/output/memmap.format	(revision 2209)
+++ /branch/mouse_project/LeXiang/BT&BLE_Trust/output/memmap.format	(working copy)
@@ -1779,119 +1779,121 @@
 0x4b25 mem_firmware_version
 0x4b27 mem_mouse_data_xtemp
 0x4b28 mem_mouse_data_ytemp
-0x4b29 mem_24g_rxbuf
-0x4b4b mem_24g_txbuf
-0x4b6b mem_24g_txpayload
-0x4b8d mem_24g_rxpayload
-0x4bad mem_24g_rxdata_length
-0x4bae mem_24g_pid
-0x4baf mem_24g_datalen
-0x4bb0 mem_24g_data_type
-0x4bb1 mem_24g_txlen
-0x4bb2 mem_24g_rx_window
-0x4bb4 mem_24g_ensure
-0x4bb5 mem_24g_txfail_cnt
-0x4bb7 mem_24g_get_ack_fail
-0x4bb8 mem_24g_retry
-0x4bb9 mem_24g_ch
-0x4bba mem_24g_current_ch_number
-0x4bbb mem_24g_paring_addr
-0x4bbf mem_24g_pairing_sm
-0x4bc0 mem_24g_ch_map1
-0x4bc4 mem_24g_ch_map2
-0x4bc8 mem_24g_ch_map3
-0x4bcc mem_24g_ch_map4
-0x4bd0 mem_24g_tx_btclk
-0x4bd4 mem_24g_interval
-0x4bd5 mem_24g_interval_min
-0x4bd6 mem_24g_interval_max
-0x4bd7 mem_24g_addr
-0x4bdb mem_24g_abort_pac
-0x4bdc mem_24g_check_dongle_times
-0x4bde mem_24g_enter_hibernate
-0x4be6 mem_24g_device_addr
-0x4bea mem_24g_pac_index
-0x4beb mem_24g_no_ack
-0x4bec mem_24g_sta_crc
-0x4bef mem_24g_last_crc
-0x4bf2 mem_24g_sta_pid
-0x4bf3 mem_24g_last_pid
-0x4bf4 mem_24g_max_retry
-0x4bf5 mem_24g_mode
-0x4bf6 mem_24g_rxdata_temp
-0x4c18 mem_24g_rx_addr
-0x4c1c mem_dongle_mode_init
-0x4c1d mem_dongle_work_mode
-0x4c1e mem_dongle_ms_bind_step
-0x4c1f mem_dongle_kb_bind_step
-0x4c20 mem_dongle_bind_device_status
-0x4c21 mem_24g_bind_payload
-0x4c29 mem_24g_abort_packet
-0x4c2a mem_24g_rf_laststa
-0x4c2b mem_24g_hop_btclk
-0x4c2f mem_24g_hop_interval
-0x4c30 mem_24g_mode_switch
-0x4c31 mem_24g_ackpayload_enable
-0x4c32 mem_24g_hop_packet
-0x4c33 mem_24g_pair_mode
-0x4c34 mem_24g_nodata_timer_enable
-0x4c35 mem_24g_time_slice
-0x4c36 mem_24g_kb_data_sta_data
-0x4c3e mem_24g_kb_data_last_data
-0x4c46 mem_24g_kb_multikey_sta_data
-0x4c49 mem_24g_kb_multikey_last_data
-0x4c4c mem_24g_kb_blank_data_enable
-0x4c4d mem_24g_kb_mul_blank_data_enable
-0x4c4e mem_24g_ms_blank_data_enable
-0x4c4f mem_24g_kb_addr
-0x4c53 mem_24g_ms_addr
-0x4c57 mem_24g_dg_last_ch
-0x4c58 mem_24g_dg_ch_number
-0x4c59 mem_24g_dg_config_ch_once
-0x4c5a mem_24g_kb_last_ch
-0x4c5b mem_24g_kb_ch_number
-0x4c5c mem_24g_kb_config_ch_once
-0x4c5d mem_24g_ms_last_ch
-0x4c5e mem_24g_ms_ch_number
-0x4c5f mem_24g_ms_config_ch_once
-0x4c60 mem_24g_syncword
-0x4c62 mem_24g_syncword_crc8
-0x4c63 mem_24g_get_syncword_crc8
-0x4c64 mem_24g_ota_sta_pid
-0x4c66 mem_tx_power_temp
-0x4c67 mem_rssi_hex
-0x4c68 mem_rssi_noise_avg
-0x4c69 mem_rssi_noise_index
-0x4c6a mem_rssi_signal_index
-0x4c6b mem_rssi_noise_dg_avg
-0x4c6c mem_rssi_noise_kb_avg
-0x4c6d mem_rssi_noise_ms_avg
-0x4c6e mem_rssi_noise_dg_index
-0x4c6f mem_rssi_noise_kb_index
-0x4c70 mem_rssi_noise_ms_index
-0x4c71 mem_rssi_signal_buf
-0x4c79 mem_queue_ele_num
-0x4c7a mem_queue_read
-0x4c7c mem_queue_write
-0x4c7e mem_queue_start
-0x4c7e mem_data_ele0
-0x4c9e mem_data_ele1
-0x4cbe mem_data_ele2
-0x4cde mem_queue_end
-0x4cde mem_queue_temp
-0x4ce0 mem_cb_24g_data
-0x4ce2 mem_24g_hop_fastly_cnt
-0x4ce3 mem_24g_hop_pac_retry
-0x4ce4 mem_24g_rf_hop_ch
-0x4ce5 mem_24g_rf_last_sta
-0x4ce6 mem_24g_rf_work_stage
-0x4ce7 mem_24g_sync_cnt
-0x4ce8 mem_power_ctrl_pac_succ_cnt
-0x4ce9 mem_rssi_avg_received
-0x4cea mem_rssi_hex_received
-0x4ceb mem_power_ctrl_level
-0x4cec mem_seqi
-0x4ced mem_24g_auto_paring_switch
-0x4cee mem_24g_paccnt
-0x4cef mem_24g_transmit_by_interrupt
-0x4cf0 mem_24g_transmit_by_interrupt_exit_count
+0x4b29 mem_mouse_delay_store_timer
+0x4b2a mem_mouse_store_flag
+0x4b2b mem_24g_rxbuf
+0x4b4d mem_24g_txbuf
+0x4b6d mem_24g_txpayload
+0x4b8f mem_24g_rxpayload
+0x4baf mem_24g_rxdata_length
+0x4bb0 mem_24g_pid
+0x4bb1 mem_24g_datalen
+0x4bb2 mem_24g_data_type
+0x4bb3 mem_24g_txlen
+0x4bb4 mem_24g_rx_window
+0x4bb6 mem_24g_ensure
+0x4bb7 mem_24g_txfail_cnt
+0x4bb9 mem_24g_get_ack_fail
+0x4bba mem_24g_retry
+0x4bbb mem_24g_ch
+0x4bbc mem_24g_current_ch_number
+0x4bbd mem_24g_paring_addr
+0x4bc1 mem_24g_pairing_sm
+0x4bc2 mem_24g_ch_map1
+0x4bc6 mem_24g_ch_map2
+0x4bca mem_24g_ch_map3
+0x4bce mem_24g_ch_map4
+0x4bd2 mem_24g_tx_btclk
+0x4bd6 mem_24g_interval
+0x4bd7 mem_24g_interval_min
+0x4bd8 mem_24g_interval_max
+0x4bd9 mem_24g_addr
+0x4bdd mem_24g_abort_pac
+0x4bde mem_24g_check_dongle_times
+0x4be0 mem_24g_enter_hibernate
+0x4be8 mem_24g_device_addr
+0x4bec mem_24g_pac_index
+0x4bed mem_24g_no_ack
+0x4bee mem_24g_sta_crc
+0x4bf1 mem_24g_last_crc
+0x4bf4 mem_24g_sta_pid
+0x4bf5 mem_24g_last_pid
+0x4bf6 mem_24g_max_retry
+0x4bf7 mem_24g_mode
+0x4bf8 mem_24g_rxdata_temp
+0x4c1a mem_24g_rx_addr
+0x4c1e mem_dongle_mode_init
+0x4c1f mem_dongle_work_mode
+0x4c20 mem_dongle_ms_bind_step
+0x4c21 mem_dongle_kb_bind_step
+0x4c22 mem_dongle_bind_device_status
+0x4c23 mem_24g_bind_payload
+0x4c2b mem_24g_abort_packet
+0x4c2c mem_24g_rf_laststa
+0x4c2d mem_24g_hop_btclk
+0x4c31 mem_24g_hop_interval
+0x4c32 mem_24g_mode_switch
+0x4c33 mem_24g_ackpayload_enable
+0x4c34 mem_24g_hop_packet
+0x4c35 mem_24g_pair_mode
+0x4c36 mem_24g_nodata_timer_enable
+0x4c37 mem_24g_time_slice
+0x4c38 mem_24g_kb_data_sta_data
+0x4c40 mem_24g_kb_data_last_data
+0x4c48 mem_24g_kb_multikey_sta_data
+0x4c4b mem_24g_kb_multikey_last_data
+0x4c4e mem_24g_kb_blank_data_enable
+0x4c4f mem_24g_kb_mul_blank_data_enable
+0x4c50 mem_24g_ms_blank_data_enable
+0x4c51 mem_24g_kb_addr
+0x4c55 mem_24g_ms_addr
+0x4c59 mem_24g_dg_last_ch
+0x4c5a mem_24g_dg_ch_number
+0x4c5b mem_24g_dg_config_ch_once
+0x4c5c mem_24g_kb_last_ch
+0x4c5d mem_24g_kb_ch_number
+0x4c5e mem_24g_kb_config_ch_once
+0x4c5f mem_24g_ms_last_ch
+0x4c60 mem_24g_ms_ch_number
+0x4c61 mem_24g_ms_config_ch_once
+0x4c62 mem_24g_syncword
+0x4c64 mem_24g_syncword_crc8
+0x4c65 mem_24g_get_syncword_crc8
+0x4c66 mem_24g_ota_sta_pid
+0x4c68 mem_tx_power_temp
+0x4c69 mem_rssi_hex
+0x4c6a mem_rssi_noise_avg
+0x4c6b mem_rssi_noise_index
+0x4c6c mem_rssi_signal_index
+0x4c6d mem_rssi_noise_dg_avg
+0x4c6e mem_rssi_noise_kb_avg
+0x4c6f mem_rssi_noise_ms_avg
+0x4c70 mem_rssi_noise_dg_index
+0x4c71 mem_rssi_noise_kb_index
+0x4c72 mem_rssi_noise_ms_index
+0x4c73 mem_rssi_signal_buf
+0x4c7b mem_queue_ele_num
+0x4c7c mem_queue_read
+0x4c7e mem_queue_write
+0x4c80 mem_queue_start
+0x4c80 mem_data_ele0
+0x4ca0 mem_data_ele1
+0x4cc0 mem_data_ele2
+0x4ce0 mem_queue_end
+0x4ce0 mem_queue_temp
+0x4ce2 mem_cb_24g_data
+0x4ce4 mem_24g_hop_fastly_cnt
+0x4ce5 mem_24g_hop_pac_retry
+0x4ce6 mem_24g_rf_hop_ch
+0x4ce7 mem_24g_rf_last_sta
+0x4ce8 mem_24g_rf_work_stage
+0x4ce9 mem_24g_sync_cnt
+0x4cea mem_power_ctrl_pac_succ_cnt
+0x4ceb mem_rssi_avg_received
+0x4cec mem_rssi_hex_received
+0x4ced mem_power_ctrl_level
+0x4cee mem_seqi
+0x4cef mem_24g_auto_paring_switch
+0x4cf0 mem_24g_paccnt
+0x4cf1 mem_24g_transmit_by_interrupt
+0x4cf2 mem_24g_transmit_by_interrupt_exit_count
Index: output/program.lis
===================================================================
--- /branch/mouse_project/LeXiang/BT&BLE_Trust/output/program.lis	(revision 2209)
+++ /branch/mouse_project/LeXiang/BT&BLE_Trust/output/program.lis	(working copy)
@@ -1,59 +1,59 @@
-include "bt_format "
-org 0x0000
+              include "bt_format "
+              org 0x0000
 0000 c2840018 bbit1 8 ,pf_patch_ext 
 0001 c0008033 beq patch00_1 ,p_soft_reset_1 
 0002 c001003c beq patch00_2 ,p_soft_reset_2 
-0003 c042857e beq patch10_5 ,p_shutdown_radio 
-0004 c044854f beq patch11_1 ,p_set_freq_tx 
-0005 c00d8432 beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0006 c013043f beq patch04_6 ,p_role_switch_master 
-0007 c024045b beq patch09_0 ,p_quit_connection_cont 
-0008 c0250462 beq patch09_2 ,p_prepare_tx 
-0009 c02c8459 beq patch0b_1 ,p_process_dmh 
-000a c028846b beq patch0a_1 ,p_slave_conn_recv_packet 
-000b c0538470 beq patch14_7 ,p_lpm_dispatch 
-000c c0568486 beq patch15_5 ,p_lpm_set_mult 
+0003 c04285a9 beq patch10_5 ,p_shutdown_radio 
+0004 c044857a beq patch11_1 ,p_set_freq_tx 
+0005 c00d845d beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0006 c013046a beq patch04_6 ,p_role_switch_master 
+0007 c0240486 beq patch09_0 ,p_quit_connection_cont 
+0008 c025048d beq patch09_2 ,p_prepare_tx 
+0009 c02c8484 beq patch0b_1 ,p_process_dmh 
+000a c0288496 beq patch0a_1 ,p_slave_conn_recv_packet 
+000b c053849b beq patch14_7 ,p_lpm_dispatch 
+000c c05684b1 beq patch15_5 ,p_lpm_set_mult 
 000d c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-000e c0748497 beq patch1d_1 ,p_mouse_bb_disconnected 
+000e c07484c2 beq patch1d_1 ,p_mouse_bb_disconnected 
 000f c0508045 beq patch14_1 ,p_init_param 
 0010 c058804a beq patch16_1 ,p_lpm_check_wake_lock 
 0011 c062007b beq patch18_4 ,p_device_init 
-0012 c07182aa beq patch1c_3 ,p_mouse_seting_dpi 
-0013 c07302f2 beq patch1c_6 ,p_mouse_motion 
-0014 c07502fc beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0015 c075830f beq patch1d_3 ,p_mouse_start_discovery 
-0016 c0760339 beq patch1d_4 ,p_mouse_stop_discovery 
+0012 c07182ca beq patch1c_3 ,p_mouse_seting_dpi 
+0013 c0730312 beq patch1c_6 ,p_mouse_motion 
+0014 c075031c beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0015 c075832f beq patch1d_3 ,p_mouse_start_discovery 
+0016 c0760358 beq patch1d_4 ,p_mouse_stop_discovery 
 0017 20202a8e branch loop 
 
 pf_patch_ext:
-0018 c01c833e beq patch27_1 ,p_le_slave_match 
-0019 c0218346 beq patch28_3 ,p_le_next_adv_channel 
-001a c025034c beq patch29_2 ,p_le_receive_skip 
-001b c02b834f beq patch2a_7 ,p_le_update_param 
-001c c02c835f beq patch2b_1 ,p_le_update_channel_map 
-001d c031836c beq patch2c_3 ,p_le_prepare_tx 
-001e c0330396 beq patch2c_6 ,p_le_parse 
-001f c03383b5 beq patch2c_7 ,p_le_parse_l2cap 
-0020 c0350402 beq patch2d_2 ,p_le_adv_not_match 
-0021 c03b840d beq patch2e_7 ,p_le_lpm_setmult 
-0022 c07d0429 beq patch3f_2 ,p_check_51cmd_once_continue 
-0023 c00284aa beq patch20_5 ,p_hid_rx_process 
-0024 c04004b9 beq patch30_0 ,p_parse_lmp_accepted 
-0025 c04104c3 beq patch30_2 ,p_send_lmp 
-0026 c04404ee beq patch31_0 ,p_process_conn_sm 
-0027 c046041d beq patch31_4 ,p_twspi_reset 
+0018 c01c835d beq patch27_1 ,p_le_slave_match 
+0019 c0218365 beq patch28_3 ,p_le_next_adv_channel 
+001a c025036b beq patch29_2 ,p_le_receive_skip 
+001b c02b836e beq patch2a_7 ,p_le_update_param 
+001c c02c837e beq patch2b_1 ,p_le_update_channel_map 
+001d c031838b beq patch2c_3 ,p_le_prepare_tx 
+001e c03303b5 beq patch2c_6 ,p_le_parse 
+001f c03383d4 beq patch2c_7 ,p_le_parse_l2cap 
+0020 c0350421 beq patch2d_2 ,p_le_adv_not_match 
+0021 c03b842c beq patch2e_7 ,p_le_lpm_setmult 
+0022 c07d0448 beq patch3f_2 ,p_check_51cmd_once_continue 
+0023 c00284d5 beq patch20_5 ,p_hid_rx_process 
+0024 c04004e4 beq patch30_0 ,p_parse_lmp_accepted 
+0025 c04104ee beq patch30_2 ,p_send_lmp 
+0026 c0440519 beq patch31_0 ,p_process_conn_sm 
+0027 c046043c beq patch31_4 ,p_twspi_reset 
 0028 20202a8e branch loop 
 
 p_rssi_signal:
 0029 1fe22200 copy pdata ,rega 
-002a 6808cc6a fetcht 1 ,mem_rssi_signal_index 
-002b 58004c71 setarg mem_rssi_signal_buf 
+002a 6808cc6c fetcht 1 ,mem_rssi_signal_index 
+002b 58004c73 setarg mem_rssi_signal_buf 
 002c 98408a00 iadd temp ,contw 
 002d 1a227e00 copy rega ,pdata 
 002e e0a08000 istore 1 ,contw 
 002f 18408401 increase 1 ,temp 
 0030 18410407 and_into rssi_buf_len_signal ,temp 
-0031 6008cc6a storet 1 ,mem_rssi_signal_index 
+0031 6008cc6c storet 1 ,mem_rssi_signal_index 
 0032 20600000 rtn 
 
 p_soft_reset_1:
@@ -150,15 +150,15 @@
 p_mouse_set_sdio_high:
 0078 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
 0079 207a0000 rtn blank 
-007a 202002ab branch p_mouse_seting_sensor_type 
+007a 202002cb branch p_mouse_seting_sensor_type 
 
 p_device_init:
 007b 20403416 call app_lpm_mult_enable 
 007c 20358086 branch p_device_init_common ,wake 
 007d 20400164 call p_mouse_data_init 
 007e 6800c1de fetch 1 ,mem_tx_power 
-007f 6000cc66 store 1 ,mem_tx_power_temp 
-0080 20400512 call power_ctrl_pac_succ_cnt_init 
+007f 6000cc68 store 1 ,mem_tx_power_temp 
+0080 2040053d call power_ctrl_pac_succ_cnt_init 
 0081 6800c685 fetch 1 ,mem_ui_button_timeout 
 0082 6000c6da store 1 ,mem_combination_ui_button_count 
 0083 204043ca call mouse_bt_discovery_button_down_disable 
@@ -170,7 +170,7 @@
 0087 202074b9 branch enable_authrom 
 
 p_mouse_tx_power_init:
-0088 6800cc66 fetch 1 ,mem_tx_power_temp 
+0088 6800cc68 fetch 1 ,mem_tx_power_temp 
 0089 6000c1de store 1 ,mem_tx_power 
 008a 20600000 rtn 
 
@@ -178,7 +178,7 @@
 008b 245580d6 ncall p_mouse_setting_config ,wake 
 008c 204000b7 call p_mouse_spi_init 
 008d 20758000 rtn wake 
-008e 20400580 call p_drawing_optima_init 
+008e 204005ab call p_drawing_optima_init 
 008f 20400131 call p_mouse_cb_fuction 
 0090 2040011a call p_mouse_wakeup_from_power 
 0091 c6130000 rtnmark1 mark_24g 
@@ -189,7 +189,7 @@
 0094 6800c210 fetch 1 ,mem_xrecord_mode 
 0095 c0198098 beq rec_3_mode ,p_mouse3_0_check_reconn_target 
 0096 c01a009b beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-0097 20200259 branch p_mouse_null_enter_hibernate_enable 
+0097 2020025a branch p_mouse_null_enter_hibernate_enable 
 
 p_mouse3_0_check_reconn_target:
 0098 680341d0 fetch 6 ,mem_hci_plap 
@@ -229,12 +229,12 @@
 00b0 c30a3d66 bbit0 mouse_enable_eeprom ,mouse_dpi_config 
 00b1 6800c77a fetch 1 ,mem_mouse_dpi 
 00b2 c07f80b4 beq 0xff ,p_mouse_dpi_config_default 
-00b3 202002ab branch p_mouse_seting_sensor_type 
+00b3 202002cb branch p_mouse_seting_sensor_type 
 
 p_mouse_dpi_config_default:
 00b4 6800c6e1 fetch 1 ,mem_config_sensor_motion 
 00b5 6000c77a store 1 ,mem_mouse_dpi 
-00b6 202002ab branch p_mouse_seting_sensor_type 
+00b6 202002cb branch p_mouse_seting_sensor_type 
 
 p_mouse_spi_init:
 00b7 70421276 jam 0x76 ,mem_spi_init_clk 
@@ -385,7 +385,7 @@
 
 p_g24_factory_check:
 0128 df200002 arg 2 ,loopcnt 
-0129 d8c04bd7 arg mem_24g_addr ,contr 
+0129 d8c04bd9 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
 012a 20407fe7 call enable_user 
@@ -401,7 +401,7 @@
 p_mouse_cb_fuction:
 0131 58000155 setarg p_mouse_le 
 0132 600141ef store 2 ,mem_cb_le_process 
-0133 58000417 setarg p_le_mouse_bb_event_connect_complete 
+0133 58000436 setarg p_le_mouse_bb_event_connect_complete 
 0134 600141f9 store 2 ,mem_cb_att_write 
 0135 58000183 setarg p_mouse_bt 
 0136 600141f1 store 2 ,mem_cb_bt_process 
@@ -550,7 +550,7 @@
 
 p_mouse_idle:
 01a9 20407e34 call ui_check_paring_button 
-01aa 20403d6a call mouse_dpi_cheak 
+01aa 204002ac call p_mouse_dpi_cheak 
 01ab 20203ee0 branch mouse_wheel_check 
 
 p_mouse_priority_bb_event:
@@ -630,7 +630,7 @@
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
 01e1 704b1c01 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-01e2 202003ac branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+01e2 202003cb branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_bb_event_reconn_timeout:
 
@@ -695,1374 +695,1429 @@
 020e 202000d0 branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-020f 2040025c call p_mouse_adc_read 
-0210 2040028d call p_mouse_low_voltage_led_timer 
-0211 20400230 call p_mouse_wheel_trigger_timer 
-0212 20400250 call p_mouse_null_enter_hibernate_timer 
-0213 2040029b call p_mouse_dpi_led_blink_delay_timer 
-0214 20400235 call p_mouse_bt_discovery_check 
+020f 2040026d call p_mouse_adc_read 
+0210 2040029e call p_mouse_low_voltage_led_timer 
+0211 20400231 call p_mouse_wheel_trigger_timer 
+0212 20400251 call p_mouse_null_enter_hibernate_timer 
+0213 204002bb call p_mouse_dpi_led_blink_delay_timer 
+0214 20400236 call p_mouse_bt_discovery_check 
 0215 20404234 call mouse_check_discovery_timeout_timer 
 0216 20404237 call mouse_check_direct_timeout_timer 
-0217 20400225 call p_mouse_le_enable_att_list_timer 
-0218 20400228 call p_mouse_le_send_smp_security_request_timer 
-0219 2040021d call p_mouse_send_switch_req_timer 
+0217 20400226 call p_mouse_le_enable_att_list_timer 
+0218 20400229 call p_mouse_le_send_smp_security_request_timer 
+0219 2040021e call p_mouse_send_switch_req_timer 
 021a 20404231 call mouse_check_hid_handshake_timer 
-021b 20400220 call p_mouse_bt_check_sniff_req_timeout_timer 
-021c 2020423a branch mouse_check_no_data_timeout_timer 
+021b 20400221 call p_mouse_bt_check_sniff_req_timeout_timer 
+021c 2040025d call p_mouse_delay_store_eeprom_timer 
+021d 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_send_switch_req_timer:
-021d da604809 arg mem_mouse_send_switch_req_timer ,regc 
-021e da40637a arg host_create_conn_resend ,regb 
-021f 2020336d branch timer_single_step 
+021e da604809 arg mem_mouse_send_switch_req_timer ,regc 
+021f da40637a arg host_create_conn_resend ,regb 
+0220 2020336d branch timer_single_step 
 
 p_mouse_bt_check_sniff_req_timeout_timer:
-0220 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
-0221 da400223 arg p_mouse_bt_send_first_package ,regb 
-0222 2020336d branch timer_single_step 
+0221 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
+0222 da400224 arg p_mouse_bt_send_first_package ,regb 
+0223 2020336d branch timer_single_step 
 
 p_mouse_bt_send_first_package:
-0223 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
-0224 20600000 rtn 
+0224 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
+0225 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0225 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0226 da403d60 arg mouse_le_write_enable ,regb 
-0227 2020336d branch timer_single_step 
+0226 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0227 da403d60 arg mouse_le_write_enable ,regb 
+0228 2020336d branch timer_single_step 
 
 p_mouse_le_send_smp_security_request_timer:
-0228 6800cb1a fetch 1 ,mem_mouse_le_bb_connected_flag 
-0229 207a0000 rtn blank 
-022a da604b18 arg mem_mouse_send_secutiry_request_timer ,regc 
-022b da40022d arg p_mouse_le_pairing_sm_start_check ,regb 
-022c 2020336d branch timer_single_step 
+0229 6800cb1a fetch 1 ,mem_mouse_le_bb_connected_flag 
+022a 207a0000 rtn blank 
+022b da604b18 arg mem_mouse_send_secutiry_request_timer ,regc 
+022c da40022e arg p_mouse_le_pairing_sm_start_check ,regb 
+022d 2020336d branch timer_single_step 
 
 p_mouse_le_pairing_sm_start_check:
-022d 6800cb19 fetch 1 ,mem_le_send_security_request_flag 
-022e 247a0000 nrtn blank 
-022f 20205bf5 branch le_pairing_sm_start 
+022e 6800cb19 fetch 1 ,mem_le_send_security_request_flag 
+022f 247a0000 nrtn blank 
+0230 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_wheel_trigger_timer:
-0230 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-0231 da400233 arg p_mouse_wheel_trigger_disable ,regb 
-0232 2020336d branch timer_single_step 
+0231 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+0232 da400234 arg p_mouse_wheel_trigger_disable ,regb 
+0233 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-0233 70480600 jam 0 ,mem_mouse_wheel_trigger 
-0234 20600000 rtn 
+0234 70480600 jam 0 ,mem_mouse_wheel_trigger 
+0235 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-0235 6800c6f5 fetch 1 ,mem_config_function_enable 
-0236 c2824394 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
+0236 6800c6f5 fetch 1 ,mem_config_function_enable 
+0237 c2824394 bbit1 enable_bt_button ,mouse_bt_discovery_by_button 
 
 p_mouse_bt_discovery_commbination_key:
-0237 20404083 call mouse_check_key_gpio 
-0238 c0030241 beq mouse_rm_button ,p_mouse_bt_discovery_commbination_key_down 
+0238 20404083 call mouse_check_key_gpio 
+0239 c0030242 beq mouse_rm_button ,p_mouse_bt_discovery_commbination_key_down 
 
 p_mouse_bt_discovery_commbination_key_up:
-0239 6800c685 fetch 1 ,mem_ui_button_timeout 
-023a 6000c6da store 1 ,mem_combination_ui_button_count 
-023b 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-023c c1008000 rtneq dpi_button_state_up 
-023d 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
-023e d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-023f 204043d2 call mouse_disable_function_flag 
-0240 202043ca branch mouse_bt_discovery_button_down_disable 
+023a 6800c685 fetch 1 ,mem_ui_button_timeout 
+023b 6000c6da store 1 ,mem_combination_ui_button_count 
+023c 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+023d c1008000 rtneq dpi_button_state_up 
+023e 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+023f d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0240 204043d2 call mouse_disable_function_flag 
+0241 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-0241 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-0242 20400244 call p_mouse_bt_discovery_timer 
-0243 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+0242 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+0243 20400245 call p_mouse_bt_discovery_timer 
+0244 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-0244 da6046da arg mem_combination_ui_button_count ,regc 
-0245 da400247 arg p_mouse_long_button_bt_discovery ,regb 
-0246 2020336d branch timer_single_step 
+0245 da6046da arg mem_combination_ui_button_count ,regc 
+0246 da400248 arg p_mouse_long_button_bt_discovery ,regb 
+0247 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-0247 68014682 fetch 2 ,mem_ui_state_map 
-0248 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0249 2040c2d4 call mouse_stop_le_adv ,true 
-024a 68014682 fetch 2 ,mem_ui_state_map 
-024b 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-024c 2040c392 call mouse_cancel_reconnect ,true 
-024d d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-024e 204043ce call mouse_enable_function_flag 
-024f 202043b8 branch mouse_long_button_bt_discovry 
+0248 68014682 fetch 2 ,mem_ui_state_map 
+0249 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+024a 2040c2d4 call mouse_stop_le_adv ,true 
+024b 68014682 fetch 2 ,mem_ui_state_map 
+024c 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+024d 2040c392 call mouse_cancel_reconnect ,true 
+024e d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+024f 204043ce call mouse_enable_function_flag 
+0250 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_null_enter_hibernate_timer:
-0250 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
-0251 207a0000 rtn blank 
-0252 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
-0253 203a0257 branch p_mouse_null_enter_hibernate ,blank 
-0254 1fe0ffff increase -1 ,pdata 
-0255 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
-0256 20600000 rtn 
+0251 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+0252 207a0000 rtn blank 
+0253 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+0254 203a0258 branch p_mouse_null_enter_hibernate ,blank 
+0255 1fe0ffff increase -1 ,pdata 
+0256 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
+0257 20600000 rtn 
 
 p_mouse_null_enter_hibernate:
-0257 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-0258 2020340a branch app_enter_hibernate 
+0258 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+0259 2020340a branch app_enter_hibernate 
 
 p_mouse_null_enter_hibernate_enable:
-0259 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
-025a 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-025b 20600000 rtn 
+025a 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+025b 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+025c 20600000 rtn 
+
+p_mouse_delay_store_eeprom_timer:
+025d da604b29 arg mem_mouse_delay_store_timer ,regc 
+025e da400260 arg p_mouse_delay_store_eeprom ,regb 
+025f 2020336d branch timer_single_step 
+
+p_mouse_delay_store_eeprom:
+0260 6800cb2a fetch 1 ,mem_mouse_store_flag 
+0261 2feffe01 isolate1 ,mouse_store_dpi ,pdata 
+0262 2040c43b call mouse_store_eerpom_dpi ,true 
+0263 6800cb2a fetch 1 ,mem_mouse_store_flag 
+0264 2feffe04 isolate1 ,mouse_store_bt ,pdata 
+0265 2040e7d0 call eeprom_store_bd_reconn_info ,true 
+0266 6800cb2a fetch 1 ,mem_mouse_store_flag 
+0267 2feffe03 isolate1 ,mouse_store_ble ,pdata 
+0268 2040826b call p_eeprom_store_le_reconn_info ,true 
+0269 704b2a00 jam 0 ,mem_mouse_store_flag 
+026a 20600000 rtn 
+
+p_eeprom_store_le_reconn_info:
+026b 204067cc call eeprom_store_le_reconn_info 
+026c 20200327 branch p_mouse_store_eerpom_random_addr_increase_count 
 
 p_mouse_adc_read:
-025c 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-025d c40d0000 rtnbit0 mouse_enable_adc 
-025e 6800c6ce fetch 1 ,mem_adc_read_timer 
-025f 1fe0fe01 increase 1 ,pdata 
-0260 6000c6ce store 1 ,mem_adc_read_timer 
-0261 1fe67c0a sub pdata ,10 ,null 
-0262 20610000 rtn positive 
-0263 7046ce00 jam 0 ,mem_adc_read_timer 
-0264 20400273 call p_adc_set_mode 
-0265 20406908 call vdd_calculate_by_mode 
-0266 6001470f store 2 ,mem_mouse_vdd_now_vol 
-0267 da204709 arg mem_mouse_vdd_calculate_set ,rega 
-0268 2040027e call p_adc_bat_percent_lowpower_out 
-0269 6800c231 fetch 1 ,mem_adc_power_flag 
-026a c280b40a bbit1 1 ,app_enter_hibernate 
-026b c300026e bbit0 0 ,p_mouse_adc_no_low_voltage 
-026c 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-026d 202043e7 branch mouse_adc_low_voltage 
+026d 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+026e c40d0000 rtnbit0 mouse_enable_adc 
+026f 6800c6ce fetch 1 ,mem_adc_read_timer 
+0270 1fe0fe01 increase 1 ,pdata 
+0271 6000c6ce store 1 ,mem_adc_read_timer 
+0272 1fe67c0a sub pdata ,10 ,null 
+0273 20610000 rtn positive 
+0274 7046ce00 jam 0 ,mem_adc_read_timer 
+0275 20400284 call p_adc_set_mode 
+0276 20406908 call vdd_calculate_by_mode 
+0277 6001470f store 2 ,mem_mouse_vdd_now_vol 
+0278 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+0279 2040028f call p_adc_bat_percent_lowpower_out 
+027a 6800c231 fetch 1 ,mem_adc_power_flag 
+027b c280b40a bbit1 1 ,app_enter_hibernate 
+027c c300027f bbit0 0 ,p_mouse_adc_no_low_voltage 
+027d 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+027e 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-026e 204043e9 call mouse_adc_no_low_voltage 
-026f 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0270 207a0000 rtn blank 
-0271 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0272 2020447a branch mouse_devce1_led_off 
+027f 204043e9 call mouse_adc_no_low_voltage 
+0280 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0281 207a0000 rtn blank 
+0282 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0283 2020447a branch mouse_devce1_led_off 
 
 p_adc_set_mode:
-0273 6800c22d fetch 1 ,mem_adc_config_flag 
-0274 c0010276 beq adc_config_gpio ,p_adc_check_gpio 
-0275 202068ec branch adc_set_mode + 1 
+0284 6800c22d fetch 1 ,mem_adc_config_flag 
+0285 c0010287 beq adc_config_gpio ,p_adc_check_gpio 
+0286 202068ec branch adc_set_mode + 1 
 
 p_adc_check_gpio:
-0276 68108078 hfetch 1 ,core_gpio_pu0 
-0277 793ffe05 set0 5 ,pdata 
-0278 60108078 hstore 1 ,core_gpio_pu0 
-0279 204068f4 call adc_check_gpio 
-027a 68108078 hfetch 1 ,core_gpio_pu0 
-027b 79207e05 set1 5 ,pdata 
-027c 60108078 hstore 1 ,core_gpio_pu0 
-027d 20600000 rtn 
+0287 68108078 hfetch 1 ,core_gpio_pu0 
+0288 793ffe05 set0 5 ,pdata 
+0289 60108078 hstore 1 ,core_gpio_pu0 
+028a 204068f4 call adc_check_gpio 
+028b 68108078 hfetch 1 ,core_gpio_pu0 
+028c 79207e05 set1 5 ,pdata 
+028d 60108078 hstore 1 ,core_gpio_pu0 
+028e 20600000 rtn 
 
 p_adc_bat_percent_lowpower_out:
-027e ea240000 ifetch 8 ,rega 
-027f 60040a9a store 8 ,mem_pdatatemp 
-0280 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-0281 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-0282 1fe3fe00 lshift pdata ,pdata 
-0283 1fe0fe08 pincrease 8 
-0284 98467c00 isub temp ,null 
-0285 24216944 nbranch adc_set_no_power_flag ,positive 
-0286 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-0287 98467c00 isub temp ,null 
-0288 24216940 nbranch adc_set_low_power_flag ,positive 
+028f ea240000 ifetch 8 ,rega 
+0290 60040a9a store 8 ,mem_pdatatemp 
+0291 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0292 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0293 1fe3fe00 lshift pdata ,pdata 
+0294 1fe0fe08 pincrease 8 
+0295 98467c00 isub temp ,null 
+0296 24216944 nbranch adc_set_no_power_flag ,positive 
+0297 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0298 98467c00 isub temp ,null 
+0299 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-0289 6800c231 fetch 1 ,mem_adc_power_flag 
-028a 793ffe00 set0 0 ,pdata 
-028b 6000c231 store 1 ,mem_adc_power_flag 
-028c 20600000 rtn 
+029a 6800c231 fetch 1 ,mem_adc_power_flag 
+029b 793ffe00 set0 0 ,pdata 
+029c 6000c231 store 1 ,mem_adc_power_flag 
+029d 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-028d 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-028e c4020000 rtnbit0 mouse_low_voltage_flag 
-028f 68014682 fetch 2 ,mem_ui_state_map 
-0290 c3858000 rtnbit1 ui_state_ble_adv 
-0291 c3830000 rtnbit1 ui_state_bt_discovery 
-0292 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0293 1fe0fe01 pincrease 1 
-0294 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-0295 c001c47a beq 3 ,mouse_devce1_led_off 
-0296 1fe67c14 sub pdata ,20 ,null 
-0297 24210299 nbranch p_mouse_device1_led_on ,positive 
-0298 20600000 rtn 
+029e 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+029f c4020000 rtnbit0 mouse_low_voltage_flag 
+02a0 68014682 fetch 2 ,mem_ui_state_map 
+02a1 c3858000 rtnbit1 ui_state_ble_adv 
+02a2 c3830000 rtnbit1 ui_state_bt_discovery 
+02a3 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+02a4 1fe0fe01 pincrease 1 
+02a5 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+02a6 c001c47a beq 3 ,mouse_devce1_led_off 
+02a7 1fe67c14 sub pdata ,20 ,null 
+02a8 242102aa nbranch p_mouse_device1_led_on ,positive 
+02a9 20600000 rtn 
 
 p_mouse_device1_led_on:
-0299 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-029a 20204489 branch mouse_device1_led_on 
+02aa 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+02ab 20204489 branch mouse_device1_led_on 
+
+p_mouse_dpi_cheak:
+02ac 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+02ad 2040681d call gpio_get_bit 
+02ae 2420bd62 nbranch mouse_dpi_up ,true 
+02af 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+02b0 c1000000 rtneq dpi_button_state_down 
+02b1 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+02b2 704b2902 jam 2 ,mem_mouse_delay_store_timer 
+02b3 6800cb2a fetch 1 ,mem_mouse_store_flag 
+02b4 79207e01 set1 mouse_store_dpi ,pdata 
+02b5 6000cb2a store 1 ,mem_mouse_store_flag 
+02b6 6800c77a fetch 1 ,mem_mouse_dpi 
+02b7 1fe0fe01 increase 1 ,pdata 
+02b8 1fe17e03 and pdata ,0x03 ,pdata 
+02b9 6000c77a store 1 ,mem_mouse_dpi 
+02ba 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_led_blink_delay_timer:
-029b 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-029c c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
-029d da6046df arg mem_mouse_dpi_led_delay_count ,regc 
-029e da4002a0 arg p_mouse_dpi_led_setting ,regb 
-029f 2020336d branch timer_single_step 
+02bb 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+02bc c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
+02bd da6046df arg mem_mouse_dpi_led_delay_count ,regc 
+02be da4002c0 arg p_mouse_dpi_led_setting ,regb 
+02bf 2020336d branch timer_single_step 
 
 p_mouse_dpi_led_setting:
-02a0 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
-02a1 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-02a2 580003e8 setarg led_dpi_blink_fixed 
-02a3 60014716 store 2 ,mem_mouse_on_time 
-02a4 60014718 store 2 ,mem_mouse_off_time 
-02a5 da200000 arg 0 ,rega 
-02a6 6808cb1d fetcht 1 ,mem_mouse_dpi_blink_count 
-02a7 6008c714 storet 1 ,mem_mouse_blink_count 
-02a8 70471301 jam ui_led_state_blink_start ,mem_mouse_led_type 
-02a9 20600000 rtn 
+02c0 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
+02c1 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+02c2 580003e8 setarg led_dpi_blink_fixed 
+02c3 60014716 store 2 ,mem_mouse_on_time 
+02c4 60014718 store 2 ,mem_mouse_off_time 
+02c5 da200000 arg 0 ,rega 
+02c6 6808cb1d fetcht 1 ,mem_mouse_dpi_blink_count 
+02c7 6008c714 storet 1 ,mem_mouse_blink_count 
+02c8 70471301 jam ui_led_state_blink_start ,mem_mouse_led_type 
+02c9 20600000 rtn 
 
 p_mouse_seting_dpi:
-02aa 204002ec call p_mosue_dpi_led_blink_init 
+02ca 2040030c call p_mosue_dpi_led_blink_init 
 
 p_mouse_seting_sensor_type:
-02ab 6800c6e0 fetch 1 ,mem_config_sensor_type 
-02ac c00202d2 beq p3212 ,p_mouse_seting_3212_dpi 
-02ad c00302bf beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-02ae c00382bf beq mx8650 ,p_mouse_seting_3065xy_dpi 
-02af c00102df beq ka8 ,p_mouse_seting_ka8_dpi 
+02cb 6800c6e0 fetch 1 ,mem_config_sensor_type 
+02cc c00202f2 beq p3212 ,p_mouse_seting_3212_dpi 
+02cd c00302df beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+02ce c00382df beq mx8650 ,p_mouse_seting_3065xy_dpi 
+02cf c00102ff beq ka8 ,p_mouse_seting_ka8_dpi 
 
 p_mouse_seting_3205_dpi:
-02b0 6800c77a fetch 1 ,mem_mouse_dpi 
-02b1 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-02b2 204282b7 call p_mouse_3205_dpi_recount ,zero 
-02b3 6800c77a fetch 1 ,mem_mouse_dpi 
-02b4 c00002b9 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
-02b5 c00182bd beq mouse_dpi_level4 ,p_mouse_set_cpi4 
-02b6 202002bb branch p_mouse_set_cpi3 
+02d0 6800c77a fetch 1 ,mem_mouse_dpi 
+02d1 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+02d2 204282d7 call p_mouse_3205_dpi_recount ,zero 
+02d3 6800c77a fetch 1 ,mem_mouse_dpi 
+02d4 c00002d9 beq mouse_dpi_level1 ,p_mouse_set_cpi1 
+02d5 c00182dd beq mouse_dpi_level4 ,p_mouse_set_cpi4 
+02d6 202002db branch p_mouse_set_cpi3 
 
 p_mouse_3205_dpi_recount:
-02b7 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-02b8 20600000 rtn 
+02d7 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+02d8 20600000 rtn 
 
 p_mouse_set_cpi1:
-02b9 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
-02ba 20203d8a branch mouse_set_cpi1 
+02d9 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
+02da 20203d8a branch mouse_set_cpi1 
 
 p_mouse_set_cpi3:
-02bb 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
-02bc 20203d8c branch mouse_set_cpi3 
+02db 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
+02dc 20203d8c branch mouse_set_cpi3 
 
 p_mouse_set_cpi4:
-02bd 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
-02be 20203d8e branch mouse_set_cpi4 
+02dd 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
+02de 20203d8e branch mouse_set_cpi4 
 
 p_mouse_seting_3065xy_dpi:
-02bf 6800c77a fetch 1 ,mem_mouse_dpi 
-02c0 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-02c1 204282b7 call p_mouse_3205_dpi_recount ,zero 
-02c2 6800c77a fetch 1 ,mem_mouse_dpi 
-02c3 c00002ca beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-02c4 c00182ce beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+02df 6800c77a fetch 1 ,mem_mouse_dpi 
+02e0 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+02e1 204282d7 call p_mouse_3205_dpi_recount ,zero 
+02e2 6800c77a fetch 1 ,mem_mouse_dpi 
+02e3 c00002ea beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+02e4 c00182ee beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
 p_mouse_3065xy_set_cpi3:
-02c5 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
-02c6 6800c781 fetch 1 ,mem_320x_dpi_3 
-02c7 1fe0ffff increase -1 ,pdata 
+02e5 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
+02e6 6800c781 fetch 1 ,mem_320x_dpi_3 
+02e7 1fe0ffff increase -1 ,pdata 
 
 p_mouse_dpi_store:
-02c8 6000c6b5 store 1 ,mem_mouse_cpi_count 
-02c9 20203dc1 branch mouse_p3205_dpi + 3 
+02e8 6000c6b5 store 1 ,mem_mouse_cpi_count 
+02e9 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_3065xy_set_cpi1:
-02ca 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
-02cb 6800c77f fetch 1 ,mem_320x_dpi_1 
-02cc 1fe0ffff increase -1 ,pdata 
-02cd 202002c8 branch p_mouse_dpi_store 
+02ea 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
+02eb 6800c77f fetch 1 ,mem_320x_dpi_1 
+02ec 1fe0ffff increase -1 ,pdata 
+02ed 202002e8 branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-02ce 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
-02cf 6800c782 fetch 1 ,mem_320x_dpi_4 
-02d0 1fe0ffff increase -1 ,pdata 
-02d1 202002c8 branch p_mouse_dpi_store 
+02ee 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
+02ef 6800c782 fetch 1 ,mem_320x_dpi_4 
+02f0 1fe0ffff increase -1 ,pdata 
+02f1 202002e8 branch p_mouse_dpi_store 
 
 p_mouse_seting_3212_dpi:
-02d2 6800c77a fetch 1 ,mem_mouse_dpi 
-02d3 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-02d4 204282b7 call p_mouse_3205_dpi_recount ,zero 
-02d5 6800c77a fetch 1 ,mem_mouse_dpi 
-02d6 c00002d9 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi1 
-02d7 c00182dd beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi4 
-02d8 202002db branch p_mouse_set_p3212_cpi3 
+02f2 6800c77a fetch 1 ,mem_mouse_dpi 
+02f3 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+02f4 204282d7 call p_mouse_3205_dpi_recount ,zero 
+02f5 6800c77a fetch 1 ,mem_mouse_dpi 
+02f6 c00002f9 beq mouse_dpi_level1 ,p_mouse_set_p3212_cpi1 
+02f7 c00182fd beq mouse_dpi_level4 ,p_mouse_set_p3212_cpi4 
+02f8 202002fb branch p_mouse_set_p3212_cpi3 
 
 p_mouse_set_p3212_cpi1:
-02d9 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
-02da 20203d9d branch mouse_set_p3212_cpi1 
+02f9 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
+02fa 20203d9d branch mouse_set_p3212_cpi1 
 
 p_mouse_set_p3212_cpi3:
-02db 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
-02dc 20203d9f branch mouse_set_p3212_cpi3 
+02fb 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
+02fc 20203d9f branch mouse_set_p3212_cpi3 
 
 p_mouse_set_p3212_cpi4:
-02dd 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
-02de 20203da1 branch mouse_set_p3212_cpi4 
+02fd 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
+02fe 20203da1 branch mouse_set_p3212_cpi4 
 
 p_mouse_seting_ka8_dpi:
-02df 6800c77a fetch 1 ,mem_mouse_dpi 
-02e0 205a02b7 call p_mouse_3205_dpi_recount ,blank 
-02e1 6800c77a fetch 1 ,mem_mouse_dpi 
-02e2 c00082e8 beq mouse_dpi_level2 ,p_mouse_ka8_set_cpi1 
-02e3 c00182e5 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
-02e4 202002ea branch p_mouse_ka8_set_cpi2 
+02ff 6800c77a fetch 1 ,mem_mouse_dpi 
+0300 205a02d7 call p_mouse_3205_dpi_recount ,blank 
+0301 6800c77a fetch 1 ,mem_mouse_dpi 
+0302 c0008308 beq mouse_dpi_level2 ,p_mouse_ka8_set_cpi1 
+0303 c0018305 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
+0304 2020030a branch p_mouse_ka8_set_cpi2 
 
 p_mouse_ka8_set_cpi3:
-02e5 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
-02e6 58000005 setarg 5 
-02e7 20203dbe branch mouse_p3205_dpi 
+0305 704b1d03 jam 3 ,mem_mouse_dpi_blink_count 
+0306 58000005 setarg 5 
+0307 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_ka8_set_cpi1:
-02e8 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
-02e9 20203d88 branch mouse_set_cpi2 
+0308 704b1d01 jam 1 ,mem_mouse_dpi_blink_count 
+0309 20203d88 branch mouse_set_cpi2 
 
 p_mouse_ka8_set_cpi2:
-02ea 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
-02eb 20203d8e branch mouse_set_cpi4 
+030a 704b1d02 jam 2 ,mem_mouse_dpi_blink_count 
+030b 20203d8e branch mouse_set_cpi4 
 
 p_mosue_dpi_led_blink_init:
-02ec 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-02ed c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
-02ee 7046df01 jam 1 ,mem_mouse_dpi_led_delay_count 
-02ef 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
-02f0 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-02f1 20600000 rtn 
+030c 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+030d c40b8000 rtnbit0 mouse_enable_dpi_led_blink 
+030e 7046df01 jam 1 ,mem_mouse_dpi_led_delay_count 
+030f 6800c6f4 fetch 1 ,mem_dpi_led_gpio 
+0310 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+0311 20600000 rtn 
 
 p_mouse_motion:
-02f2 78547c00 disable user 
-02f3 58000000 setarg 0 
-02f4 6003469b store 6 ,mem_mouse_x 
-02f5 20403fb5 call mouse_cheak_sensor_data 
-02f6 20404079 call mouse_zwheel 
-02f7 2040407e call mouse_t_zwheel 
-02f8 20404099 call mouse_key 
-02f9 24340580 nbranch p_drawing_optima_init ,user 
-02fa 20400583 call p_drawing_optima 
-02fb 20203fa0 branch mouse_motion + 9 
+0312 78547c00 disable user 
+0313 58000000 setarg 0 
+0314 6003469b store 6 ,mem_mouse_x 
+0315 20403fb5 call mouse_cheak_sensor_data 
+0316 20404079 call mouse_zwheel 
+0317 2040407e call mouse_t_zwheel 
+0318 20404099 call mouse_key 
+0319 243405ab nbranch p_drawing_optima_init ,user 
+031a 204005ae call p_drawing_optima 
+031b 20203fa0 branch mouse_motion + 9 
 
 p_mouse_bb_event_discovery_btn:
-02fc 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-02fd 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
-02fe 2020426d branch mouse_bb_event_discovery_btn + 1 
+031c 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+031d 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+031e 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-02ff 204068a2 call load_adc_init 
-0300 6801421d fetch 2 ,mem_0_5_adc_io_data 
-0301 203a0304 branch p_le_otp_adc_empty ,blank 
-0302 600147c2 store 2 ,mem_random_addr_increase_count 
+031f 204068a2 call load_adc_init 
+0320 6801421d fetch 2 ,mem_0_5_adc_io_data 
+0321 203a0324 branch p_le_otp_adc_empty ,blank 
+0322 600147c2 store 2 ,mem_random_addr_increase_count 
 
 p_le_addr_random_store:
-0303 20600000 rtn 
+0323 20600000 rtn 
 
 p_le_otp_adc_empty:
-0304 58001122 setarg 0x1122 
-0305 600147c2 store 2 ,mem_random_addr_increase_count 
-0306 20200303 branch p_le_addr_random_store 
+0324 58001122 setarg 0x1122 
+0325 600147c2 store 2 ,mem_random_addr_increase_count 
+0326 20200323 branch p_le_addr_random_store 
 
 p_mouse_store_eerpom_random_addr_increase_count:
-0307 d8400002 arg 2 ,temp 
-0308 da2047c2 arg mem_random_addr_increase_count ,rega 
-0309 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-030a 202065d1 branch iicd_write_protect_eep_data 
+0327 d8400002 arg 2 ,temp 
+0328 da2047c2 arg mem_random_addr_increase_count ,rega 
+0329 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+032a 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_load_eeprom_random_addr_increase_count:
-030b d8400002 arg 2 ,temp 
-030c da2047c2 arg mem_random_addr_increase_count ,rega 
-030d da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-030e 202065df branch iicd_read_eep_data 
+032b d8400002 arg 2 ,temp 
+032c da2047c2 arg mem_random_addr_increase_count ,rega 
+032d da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+032e 202065df branch iicd_read_eep_data 
 
 p_mouse_start_discovery:
-030f 70436f1f jam 0x1f ,mem_le_adv_data_len 
-0310 70438f1f jam 0x1f ,mem_le_scan_data_len 
-0311 704b1900 jam 0 ,mem_le_send_security_request_flag 
-0312 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-0313 20400088 call p_mouse_tx_power_init 
-0314 68014682 fetch 2 ,mem_ui_state_map 
-0315 c2858324 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
-0316 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0317 c30c0324 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
-0318 2040030b call p_mouse_load_eeprom_random_addr_increase_count 
-0319 680947c2 fetcht 2 ,mem_random_addr_increase_count 
-031a 68014b21 fetch 2 ,mem_compare_addr_ff 
-031b 98467c00 isub temp ,null 
-031c 204282ff call p_le_addr_random_config ,zero 
-031d 680947c2 fetcht 2 ,mem_random_addr_increase_count 
-031e 18408401 increase 1 ,temp 
-031f 600947c2 storet 2 ,mem_random_addr_increase_count 
-0320 600944a1 storet 2 ,mem_le_lap + 1 
-0321 20400307 call p_mouse_store_eerpom_random_addr_increase_count 
-0322 180a7e00 random pdata 
-0323 6000c4a0 store 1 ,mem_le_lap 
+032f 70436f1f jam 0x1f ,mem_le_adv_data_len 
+0330 70438f1f jam 0x1f ,mem_le_scan_data_len 
+0331 704b1900 jam 0 ,mem_le_send_security_request_flag 
+0332 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0333 20400088 call p_mouse_tx_power_init 
+0334 68014682 fetch 2 ,mem_ui_state_map 
+0335 c2858343 bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
+0336 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0337 c30c0343 bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
+0338 2040032b call p_mouse_load_eeprom_random_addr_increase_count 
+0339 680947c2 fetcht 2 ,mem_random_addr_increase_count 
+033a 68014b21 fetch 2 ,mem_compare_addr_ff 
+033b 98467c00 isub temp ,null 
+033c 2042831f call p_le_addr_random_config ,zero 
+033d 680947c2 fetcht 2 ,mem_random_addr_increase_count 
+033e 18408401 increase 1 ,temp 
+033f 600947c2 storet 2 ,mem_random_addr_increase_count 
+0340 600944a1 storet 2 ,mem_le_lap + 1 
+0341 180a7e00 random pdata 
+0342 6000c4a0 store 1 ,mem_le_lap 
 
 p_mouse_start_discovery_norandom:
-0324 6801cb1e fetch 3 ,mem_le_lap_high_3b 
-0325 6001c4a3 store 3 ,mem_le_lap + 3 
-0326 20403418 call app_lpm_mult_disable 
-0327 68014687 fetch 2 ,mem_discovery_timeout 
-0328 600146ac store 2 ,mem_mouse_discovery_timer 
-0329 70016d06 jam 6 ,mem_connection_options 
-032a 58000000 setarg 0 
-032b 600146b0 store 2 ,mem_mouse_no_data_timer 
-032c 600146ae store 2 ,mem_mouse_direct_timer 
-032d d8e00007 arg mouse_store_eeprom_flag ,queue 
-032e 204043ce call mouse_enable_function_flag 
-032f 204043ca call mouse_bt_discovery_button_down_disable 
-0330 6800c092 fetch 1 ,mem_device_option 
-0331 2feffe01 isolate1 mode_4_mouse ,pdata 
-0332 20408334 call p_check_51cmd_adv ,true 
-0333 202042c4 branch mouse_start_discovery_norandom + 13 
+0343 6801cb1e fetch 3 ,mem_le_lap_high_3b 
+0344 6001c4a3 store 3 ,mem_le_lap + 3 
+0345 20403418 call app_lpm_mult_disable 
+0346 68014687 fetch 2 ,mem_discovery_timeout 
+0347 600146ac store 2 ,mem_mouse_discovery_timer 
+0348 70016d06 jam 6 ,mem_connection_options 
+0349 58000000 setarg 0 
+034a 600146b0 store 2 ,mem_mouse_no_data_timer 
+034b 600146ae store 2 ,mem_mouse_direct_timer 
+034c d8e00007 arg mouse_store_eeprom_flag ,queue 
+034d 204043ce call mouse_enable_function_flag 
+034e 204043ca call mouse_bt_discovery_button_down_disable 
+034f 6800c092 fetch 1 ,mem_device_option 
+0350 2feffe01 isolate1 mode_4_mouse ,pdata 
+0351 20408353 call p_check_51cmd_adv ,true 
+0352 202042c4 branch mouse_start_discovery_norandom + 13 
 
 p_check_51cmd_adv:
-0334 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
-0335 204000a8 call p_le_check_adv_flag 
-0336 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-0337 e0c08000 istore 1 ,contr 
-0338 20207df4 branch check_51cmd_adv 
+0353 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
+0354 204000a8 call p_le_check_adv_flag 
+0355 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0356 e0c08000 istore 1 ,contr 
+0357 20207df4 branch check_51cmd_adv 
 
 p_mouse_stop_discovery:
-0339 58000000 setarg 0 
-033a 600146ac store 2 ,mem_mouse_discovery_timer 
-033b 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-033c 204000cc call p_mouse_sensor_poweron 
-033d 202042cb branch mouse_stop_discovery + 1 
+0358 58000000 setarg 0 
+0359 600146ac store 2 ,mem_mouse_discovery_timer 
+035a 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+035b 204000cc call p_mouse_sensor_poweron 
+035c 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-033e 6800c50f fetch 1 ,mem_le_md_count 
-033f 1fe0fe01 pincrease 1 
-0340 6000c50f store 1 ,mem_le_md_count 
-0341 c0065395 beq le_md_max_count ,le_slave_cont 
-0342 204055aa call le_acknowledge 
-0343 2040561e call le_prepare_tx 
-0344 20400523 call power_ctrl_start 
-0345 2020538f branch le_slave_match + 7 
+035d 6800c50f fetch 1 ,mem_le_md_count 
+035e 1fe0fe01 pincrease 1 
+035f 6000c50f store 1 ,mem_le_md_count 
+0360 c0065395 beq le_md_max_count ,le_slave_cont 
+0361 204055aa call le_acknowledge 
+0362 2040561e call le_prepare_tx 
+0363 2040054e call power_ctrl_start 
+0364 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-0346 68008016 fetch 1 ,mem_le_ch_mapped 
-0347 1fe0fe01 increase 1 ,pdata 
-0348 60008016 store 1 ,mem_le_ch_mapped 
-0349 c1940000 rtnne 40 
-034a 70001625 jam 37 ,mem_le_ch_mapped 
-034b 20600000 rtn 
+0365 68008016 fetch 1 ,mem_le_ch_mapped 
+0366 1fe0fe01 increase 1 ,pdata 
+0367 60008016 store 1 ,mem_le_ch_mapped 
+0368 c1940000 rtnne 40 
+0369 70001625 jam 37 ,mem_le_ch_mapped 
+036a 20600000 rtn 
 
 p_le_receive_skip:
-034c 204029bb call save_rssi 
-034d 20400029 call p_rssi_signal 
-034e 202054a3 branch le_receive_skip + 2 
+036b 204029bb call save_rssi 
+036c 20400029 call p_rssi_signal 
+036d 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-034f 20400355 call p_mouse_le_conn_param_check 
-0350 2020557d branch le_update_param + 8 
+036e 20400374 call p_mouse_le_conn_param_check 
+036f 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-0351 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-0352 6000c172 store 1 ,mem_lpm_mult 
+0370 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0371 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-0353 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0354 20600000 rtn 
+0372 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0373 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-0355 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-0356 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0357 242101df nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-0358 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0359 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-035a 98467c00 isub temp ,null 
-035b 20210351 branch p_mouse_le_lpm_mult_reinit ,positive 
-035c 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-035d 6000c172 store 1 ,mem_lpm_mult 
-035e 20200353 branch p_mouse_le_conn_param_lpm_enable 
+0374 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+0375 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0376 242101df nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0377 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0378 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0379 98467c00 isub temp ,null 
+037a 20210370 branch p_mouse_le_lpm_mult_reinit ,positive 
+037b 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+037c 6000c172 store 1 ,mem_lpm_mult 
+037d 20200372 branch p_mouse_le_conn_param_lpm_enable 
 
 p_le_update_channel_map:
-035f 6800843f fetch 1 ,mem_le_state 
-0360 c4030000 rtnbit0 lestate_update_map 
-0361 20400364 call p_le_channel_map_overflow_check 
-0362 24740000 nrtn user 
-0363 202055a0 branch le_update_channel_map + 3 
+037e 6800843f fetch 1 ,mem_le_state 
+037f c4030000 rtnbit0 lestate_update_map 
+0380 20400383 call p_le_channel_map_overflow_check 
+0381 24740000 nrtn user 
+0382 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-0364 78347c00 enable user 
-0365 6800845a fetch 1 ,mem_le_event_count + 1 
-0366 1ff1fe00 rshift4 pdata ,pdata 
-0367 c1878000 rtnne 0x0f 
-0368 68008460 fetch 1 ,mem_le_instant + 1 
-0369 1ff1fe00 rshift4 pdata ,pdata 
-036a c1800000 rtnne 0x00 
-036b 20207fe9 branch disable_user 
+0383 78347c00 enable user 
+0384 6800845a fetch 1 ,mem_le_event_count + 1 
+0385 1ff1fe00 rshift4 pdata ,pdata 
+0386 c1878000 rtnne 0x0f 
+0387 68008460 fetch 1 ,mem_le_instant + 1 
+0388 1ff1fe00 rshift4 pdata ,pdata 
+0389 c1800000 rtnne 0x00 
+038a 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-036c 68008456 fetch 1 ,mem_le_arq 
-036d c2828380 bbit1 wak ,p_le_prepare_tx_wak 
-036e 20400515 call power_ctrl_pac_succ_incrs 
-036f 6800c78e fetch 1 ,mem_empty_count 
-0370 243a0376 nbranch p_le_send_empyt ,blank 
-0371 6800843f fetch 1 ,mem_le_state 
-0372 c302037a bbit0 lestate_encryption ,p_le_tx_4 
-0373 680082da fetch 1 ,mem_le_rxbuf + 1 
-0374 203a037a branch p_le_tx_4 ,blank 
-0375 20205664 branch le_send_empty 
+038b 68008456 fetch 1 ,mem_le_arq 
+038c c282839f bbit1 wak ,p_le_prepare_tx_wak 
+038d 20400540 call power_ctrl_pac_succ_incrs 
+038e 6800c78e fetch 1 ,mem_empty_count 
+038f 243a0395 nbranch p_le_send_empyt ,blank 
+0390 6800843f fetch 1 ,mem_le_state 
+0391 c3020399 bbit0 lestate_encryption ,p_le_tx_4 
+0392 680082da fetch 1 ,mem_le_rxbuf + 1 
+0393 203a0399 branch p_le_tx_4 ,blank 
+0394 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0376 6800c78e fetch 1 ,mem_empty_count 
-0377 1fe0ffff increase -1 ,pdata 
-0378 6000c78e store 1 ,mem_empty_count 
-0379 20205664 branch le_send_empty 
+0395 6800c78e fetch 1 ,mem_empty_count 
+0396 1fe0ffff increase -1 ,pdata 
+0397 6000c78e store 1 ,mem_empty_count 
+0398 20205664 branch le_send_empty 
 
 p_le_tx_4:
-037a 6800c4c4 fetch 1 ,mem_le_pairing_state 
-037b c082837d bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-037c 70478e03 jam 3 ,mem_empty_count 
+0399 6800c4c4 fetch 1 ,mem_le_pairing_state 
+039a c082839c bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+039b 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-037d 20405892 call le_fifo_check_nearly_full 
-037e 205a0171 call p_mouse_data_pull ,blank 
-037f 20205622 branch le_prepare_tx + 4 
+039c 20405892 call le_fifo_check_nearly_full 
+039d 205a0171 call p_mouse_data_pull ,blank 
+039e 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
-0380 20400382 call p_le_check_tx_retransmit_setmd 
-0381 2020038e branch p_le_power_ctrl_pac_succ_decrs 
+039f 204003a1 call p_le_check_tx_retransmit_setmd 
+03a0 202003ad branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-0382 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0383 1fe17e03 and pdata ,0x03 ,pdata 
-0384 c1818000 rtnne 0x03 
-0385 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-0386 207a0000 rtn blank 
-0387 6800c3dd fetch 1 ,mem_le_txlen 
-0388 207a0000 rtn blank 
-0389 6800c3dc fetch 1 ,mem_le_txheader 
-038a 79207e04 set1 md ,pdata 
-038b 6000c3dc store 1 ,mem_le_txheader 
-038c 20405650 call le_set_md 
-038d 20600000 rtn 
+03a1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03a2 1fe17e03 and pdata ,0x03 ,pdata 
+03a3 c1818000 rtnne 0x03 
+03a4 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03a5 207a0000 rtn blank 
+03a6 6800c3dd fetch 1 ,mem_le_txlen 
+03a7 207a0000 rtn blank 
+03a8 6800c3dc fetch 1 ,mem_le_txheader 
+03a9 79207e04 set1 md ,pdata 
+03aa 6000c3dc store 1 ,mem_le_txheader 
+03ab 20405650 call le_set_md 
+03ac 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-038e 20200519 branch power_ctrl_pac_succ_decrs 
+03ad 20200544 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-038f 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0390 207a0000 rtn blank 
-0391 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0392 1fe17e03 and pdata ,0x03 ,pdata 
-0393 c1018000 rtneq 0x03 
-0394 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-0395 20600000 rtn 
+03ae 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+03af 207a0000 rtn blank 
+03b0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03b1 1fe17e03 and pdata ,0x03 ,pdata 
+03b2 c1018000 rtneq 0x03 
+03b3 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+03b4 20600000 rtn 
 
 p_le_parse:
-0396 c6078000 rtnmark1 mark_old_packet 
-0397 20405890 call le_fifo_check_full 
-0398 247a0000 nrtn blank 
-0399 680082d9 fetch 1 ,mem_le_rxbuf 
-039a 1fe17e03 and pdata ,0x3 ,pdata 
-039b 6000c50c store 1 ,mem_le_packet_llid 
-039c e8c08000 ifetch 1 ,contr 
-039d 1fe17e1f and pdata ,0x1f ,pdata 
-039e 6000c50b store 1 ,mem_le_packet_size 
-039f 207a0000 rtn blank 
-03a0 18c27e00 copy contr ,pdata 
-03a1 6001450d store 2 ,mem_le_payload_ptr 
-03a2 6800c50c fetch 1 ,mem_le_packet_llid 
-03a3 c00183a5 beq llid_le_ll ,p_le_parse_ll 
-03a4 2020568d branch le_parse_l2cap 
+03b5 c6078000 rtnmark1 mark_old_packet 
+03b6 20405890 call le_fifo_check_full 
+03b7 247a0000 nrtn blank 
+03b8 680082d9 fetch 1 ,mem_le_rxbuf 
+03b9 1fe17e03 and pdata ,0x3 ,pdata 
+03ba 6000c50c store 1 ,mem_le_packet_llid 
+03bb e8c08000 ifetch 1 ,contr 
+03bc 1fe17e1f and pdata ,0x1f ,pdata 
+03bd 6000c50b store 1 ,mem_le_packet_size 
+03be 207a0000 rtn blank 
+03bf 18c27e00 copy contr ,pdata 
+03c0 6001450d store 2 ,mem_le_payload_ptr 
+03c1 6800c50c fetch 1 ,mem_le_packet_llid 
+03c2 c00183c4 beq llid_le_ll ,p_le_parse_ll 
+03c3 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-03a5 680082db fetch 1 ,mem_le_rxbuf + 2 
-03a6 c00003a9 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-03a7 c00083b0 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-03a8 20205c65 branch le_parse_ll + 1 
+03c4 680082db fetch 1 ,mem_le_rxbuf + 2 
+03c5 c00003c8 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+03c6 c00083cf beq ll_channel_map_req ,p_le_parse_channel_map_req 
+03c7 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-03a9 20405c7b call le_parse_connection_update_req 
-03aa 6800cb1c fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-03ab 207a0000 rtn blank 
+03c8 20405c7b call le_parse_connection_update_req 
+03c9 6800cb1c fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+03ca 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-03ac 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-03ad 6000c172 store 1 ,mem_lpm_mult 
-03ae 6000c7c5 store 1 ,mem_lpm_mult_init 
-03af 20600000 rtn 
+03cb 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+03cc 6000c172 store 1 ,mem_lpm_mult 
+03cd 6000c7c5 store 1 ,mem_lpm_mult_init 
+03ce 20600000 rtn 
 
 p_le_parse_channel_map_req:
-03b0 e8c28000 ifetch 5 ,contr 
-03b1 6002c3ce store 5 ,mem_le_new_map 
-03b2 e8c10000 ifetch 2 ,contr 
-03b3 6001045f store 2 ,mem_le_instant 
-03b4 20205c8a branch le_parse_channel_map_req + 7 
+03cf e8c28000 ifetch 5 ,contr 
+03d0 6002c3ce store 5 ,mem_le_new_map 
+03d1 e8c10000 ifetch 2 ,contr 
+03d2 6001045f store 2 ,mem_le_instant 
+03d3 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-03b5 e8c10000 ifetch 2 ,contr 
-03b6 c00203b9 beq le_l2cap_cid_att ,p_le_parse_att 
-03b7 c00303f7 beq le_l2cap_cid_smp ,p_le_parse_smp 
-03b8 20205698 branch le_parse_l2cap + 11 
+03d4 e8c10000 ifetch 2 ,contr 
+03d5 c00203d8 beq le_l2cap_cid_att ,p_le_parse_att 
+03d6 c0030416 beq le_l2cap_cid_smp ,p_le_parse_smp 
+03d7 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-03b9 20407ea5 call store_contr 
-03ba 2040038f call p_mouse_le_reconn_write_enable_timer_reinit 
-03bb 20407e9f call get_contr 
-03bc e8c18000 ifetch 3 ,contr 
-03bd 60018477 store 3 ,mem_le_att_opcode 
-03be c00803c8 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-03bf 1fec8400 rshift8 pdata ,temp 
-03c0 18467c24 sub temp ,0x24 ,null 
-03c1 202103d6 branch p_le_parse_att1 ,positive 
-03c2 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-03c3 600944bc storet 2 ,mem_ui_le_uuid_table 
-03c4 204058ad call le_parse_att + 2 
-03c5 58008e7a setarg 0x8e7a 
-03c6 600144bc store 2 ,mem_ui_le_uuid_table 
-03c7 20600000 rtn 
+03d8 20407ea5 call store_contr 
+03d9 204003ae call p_mouse_le_reconn_write_enable_timer_reinit 
+03da 20407e9f call get_contr 
+03db e8c18000 ifetch 3 ,contr 
+03dc 60018477 store 3 ,mem_le_att_opcode 
+03dd c00803e7 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+03de 1fec8400 rshift8 pdata ,temp 
+03df 18467c24 sub temp ,0x24 ,null 
+03e0 202103f5 branch p_le_parse_att1 ,positive 
+03e1 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+03e2 600944bc storet 2 ,mem_ui_le_uuid_table 
+03e3 204058ad call le_parse_att + 2 
+03e4 58008e7a setarg 0x8e7a 
+03e5 600144bc store 2 ,mem_ui_le_uuid_table 
+03e6 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-03c8 204059fa call le_parse_att_read_by_group_type_request 
-03c9 20405879 call le_fifo_get_last_tx_ptr 
-03ca 18c08c07 increase 7 ,contr 
-03cb e8c08000 ifetch 1 ,contr 
-03cc c1888000 rtnne attop_read_by_group_type_response 
-03cd 18c08c05 increase 5 ,contr 
-03ce e8c10000 ifetch 2 ,contr 
-03cf d8401812 arg uuid_service_hids ,temp 
-03d0 98467c00 isub temp ,null 
-03d1 24628000 nrtn zero 
-03d2 18c08dfc increase -4 ,contr 
-03d3 5800002b setarg 0x2b 
-03d4 e0c10000 istore 2 ,contr 
-03d5 20600000 rtn 
+03e7 204059fa call le_parse_att_read_by_group_type_request 
+03e8 20405879 call le_fifo_get_last_tx_ptr 
+03e9 18c08c07 increase 7 ,contr 
+03ea e8c08000 ifetch 1 ,contr 
+03eb c1888000 rtnne attop_read_by_group_type_response 
+03ec 18c08c05 increase 5 ,contr 
+03ed e8c10000 ifetch 2 ,contr 
+03ee d8401812 arg uuid_service_hids ,temp 
+03ef 98467c00 isub temp ,null 
+03f0 24628000 nrtn zero 
+03f1 18c08dfc increase -4 ,contr 
+03f2 5800002b setarg 0x2b 
+03f3 e0c10000 istore 2 ,contr 
+03f4 20600000 rtn 
 
 p_le_parse_att1:
-03d6 c00503d8 beq attop_read_request ,p_le_parse_att_read_request 
-03d7 202058ad branch le_parse_att + 2 
+03f5 c00503f7 beq attop_read_request ,p_le_parse_att_read_request 
+03f6 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-03d8 68090478 fetcht 2 ,mem_le_att_handle 
-03d9 6800c4e9 fetch 1 ,mem_le_configuration 
-03da c28183f0 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+03f7 68090478 fetcht 2 ,mem_le_att_handle 
+03f8 6800c4e9 fetch 1 ,mem_le_configuration 
+03f9 c281840f bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-03db 2040576a call le_att_get_handle_ptr 
-03dc 203a5a76 branch le_send_att_error_response_notfound ,blank 
-03dd 18c08dfe increase -2 ,contr 
-03de e8c10000 ifetch 2 ,contr 
-03df d8402a50 arg uuid_chrctr_pnp_id ,temp 
-03e0 98467c00 isub temp ,null 
-03e1 202283e6 branch p_le_send_att_pnp_id ,zero 
-03e2 68010478 fetch 2 ,mem_le_att_handle 
-03e3 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-03e4 68090478 fetcht 2 ,mem_le_att_handle 
-03e5 202059bf branch le_send_att_read_response 
+03fa 2040576a call le_att_get_handle_ptr 
+03fb 203a5a76 branch le_send_att_error_response_notfound ,blank 
+03fc 18c08dfe increase -2 ,contr 
+03fd e8c10000 ifetch 2 ,contr 
+03fe d8402a50 arg uuid_chrctr_pnp_id ,temp 
+03ff 98467c00 isub temp ,null 
+0400 20228405 branch p_le_send_att_pnp_id ,zero 
+0401 68010478 fetch 2 ,mem_le_att_handle 
+0402 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0403 68090478 fetcht 2 ,mem_le_att_handle 
+0404 202059bf branch le_send_att_read_response 
 
 p_le_send_att_pnp_id:
-03e6 20407ea5 call store_contr 
-03e7 6800cb10 fetch 1 ,mem_le_att_pnp_id_len 
-03e8 1fe0a201 add pdata ,1 ,rega 
-03e9 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
-03ea 5800000b setarg attop_read_response 
-03eb e0a08000 istore 1 ,contw 
-03ec 6800cb10 fetch 1 ,mem_le_att_pnp_id_len 
-03ed 1fe27200 copy pdata ,loopcnt 
-03ee d8c04b11 arg mem_le_att_pnp_id ,contr 
-03ef 20207f01 branch memcpy 
+0405 20407ea5 call store_contr 
+0406 6800cb10 fetch 1 ,mem_le_att_pnp_id_len 
+0407 1fe0a201 add pdata ,1 ,rega 
+0408 20405a82 call le_fifo_malloc_tx_l2cap_gatt 
+0409 5800000b setarg attop_read_response 
+040a e0a08000 istore 1 ,contw 
+040b 6800cb10 fetch 1 ,mem_le_att_pnp_id_len 
+040c 1fe27200 copy pdata ,loopcnt 
+040d d8c04b11 arg mem_le_att_pnp_id ,contr 
+040e 20207f01 branch memcpy 
 
 p_le_send_att_read_response_check_auth:
-03f0 680144fa fetch 2 ,mem_le_pairing_handle 
-03f1 98467c00 isub temp ,null 
-03f2 242283db nbranch p_le_send_att_read_response ,zero 
-03f3 20405a42 call le_check_encrypt_state 
-03f4 243403db nbranch p_le_send_att_read_response ,user 
-03f5 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-03f6 20205a77 branch le_send_att_error_response 
+040f 680144fa fetch 2 ,mem_le_pairing_handle 
+0410 98467c00 isub temp ,null 
+0411 242283fa nbranch p_le_send_att_read_response ,zero 
+0412 20405a42 call le_check_encrypt_state 
+0413 243403fa nbranch p_le_send_att_read_response ,user 
+0414 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0415 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-03f7 e8c08000 ifetch 1 ,contr 
-03f8 c00083fb beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-03f9 c00283fd beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-03fa 20205af6 branch le_parse_smp + 2 
+0416 e8c08000 ifetch 1 ,contr 
+0417 c000841a beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0418 c002841c beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0419 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-03fb 704b1901 jam 1 ,mem_le_send_security_request_flag 
-03fc 20205b09 branch le_parse_smp_pairing_request 
+041a 704b1901 jam 1 ,mem_le_send_security_request_flag 
+041b 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-03fd 20405b5a call le_parse_smp_pairing_failed 
-03fe 6800843f fetch 1 ,mem_le_state 
-03ff 793ffe05 set0 lestate_update_param ,pdata 
-0400 6000843f store 1 ,mem_le_state 
-0401 20205c8e branch le_parse_terminate_ind 
+041c 20405b5a call le_parse_smp_pairing_failed 
+041d 6800843f fetch 1 ,mem_le_state 
+041e 793ffe05 set0 lestate_update_param ,pdata 
+041f 6000843f store 1 ,mem_le_state 
+0420 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-0402 68008016 fetch 1 ,mem_le_ch_mapped 
-0403 c093d6f2 bne 39 ,le_adv_loop 
-0404 20400408 call p_le_adv_random_delay 
-0405 d8e00000 arg le_adv_interval_timer ,queue 
-0406 68014482 fetch 2 ,mem_le_adv_interval 
-0407 20207f08 branch timer_init 
+0421 68008016 fetch 1 ,mem_le_ch_mapped 
+0422 c093d6f2 bne 39 ,le_adv_loop 
+0423 20400427 call p_le_adv_random_delay 
+0424 d8e00000 arg le_adv_interval_timer ,queue 
+0425 68014482 fetch 2 ,mem_le_adv_interval 
+0426 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-0408 180a7e00 random pdata 
-0409 d84001ff arg 0x1ff ,temp 
-040a 98417e00 iand temp ,pdata 
-040b 1fe0fefa add pdata ,250 ,pdata 
-040c 20203cbe branch delay 
+0427 180a7e00 random pdata 
+0428 d84001ff arg 0x1ff ,temp 
+0429 98417e00 iand temp ,pdata 
+042a 1fe0fefa add pdata ,250 ,pdata 
+042b 20203cbe branch delay 
 
 p_le_lpm_setmult:
-040d 7855fc00 disable wake 
-040e 20370410 branch p_le_lpm_set_mult_attempt ,attempt 
-040f 2436d806 nbranch le_lpm_lost ,match 
+042c 7855fc00 disable wake 
+042d 2037042f branch p_le_lpm_set_mult_attempt ,attempt 
+042e 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0410 20402bcb call lpm_match 
-0411 680140c1 fetch 2 ,mem_rx_window_sniff 
-0412 6001044d store 2 ,mem_le_receive_window 
-0413 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0414 2fe00603 compare 3 ,pdata ,3 
-0415 2420abde nbranch lpm_mult_short ,true 
-0416 202057fb branch le_lpm_set_mult_attempt + 3 
+042f 20402bcb call lpm_match 
+0430 680140c1 fetch 2 ,mem_rx_window_sniff 
+0431 6001044d store 2 ,mem_le_receive_window 
+0432 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0433 2fe00603 compare 3 ,pdata ,3 
+0434 2420abde nbranch lpm_mult_short ,true 
+0435 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0417 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0418 247a0000 nrtn blank 
-0419 68008478 fetch 1 ,mem_le_att_handle 
-041a 1fe67e1a sub pdata ,26 ,pdata 
-041b 24628000 nrtn zero 
-041c 20203d60 branch mouse_le_write_enable 
+0436 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0437 247a0000 nrtn blank 
+0438 68008478 fetch 1 ,mem_le_att_handle 
+0439 1fe67e1a sub pdata ,26 ,pdata 
+043a 24628000 nrtn zero 
+043b 20203d60 branch mouse_le_write_enable 
 
 p_twspi_reset:
-041d 68108077 hfetch 1 ,core_gpio_out3 
-041e 1fe17efd and_into 0xfd ,pdata 
-041f 60108077 hstore 1 ,core_gpio_out3 
-0420 68188073 hfetcht 1 ,core_gpio_oe3 
-0421 18418402 or_into 0x2 ,temp 
-0422 60188073 hstoret 1 ,core_gpio_oe3 
-0423 204063ee call twspi_disable 
-0424 184104fd and_into 0xfd ,temp 
-0425 2000000d nop 13 
-0426 204063f2 call twspi_enable 
-0427 60188073 hstoret 1 ,core_gpio_oe3 
-0428 20600000 rtn 
+043c 68108077 hfetch 1 ,core_gpio_out3 
+043d 1fe17efd and_into 0xfd ,pdata 
+043e 60108077 hstore 1 ,core_gpio_out3 
+043f 68188073 hfetcht 1 ,core_gpio_oe3 
+0440 18418402 or_into 0x2 ,temp 
+0441 60188073 hstoret 1 ,core_gpio_oe3 
+0442 204063ee call twspi_disable 
+0443 184104fd and_into 0xfd ,temp 
+0444 2000000d nop 13 
+0445 204063f2 call twspi_enable 
+0446 60188073 hstoret 1 ,core_gpio_oe3 
+0447 20600000 rtn 
 
 p_check_51cmd_once_continue:
-0429 204062bc call lmo_fifo_check 
-042a 243a7ddb nbranch check_51cmd_restore ,blank 
-042b 68008a99 fetch 1 ,mem_fifo_temp 
-042c c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-042d c009042f beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-042e 20207dca branch check_51cmd_once_continue + 2 
+0448 204062bc call lmo_fifo_check 
+0449 243a7ddb nbranch check_51cmd_restore ,blank 
+044a 68008a99 fetch 1 ,mem_fifo_temp 
+044b c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+044c c0090450 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+044d c00f8453 beq bt_cmd_store_reconn_info_le ,p_delay_store_ble_info 
+044e c0100458 beq bt_cmd_store_reconn_info_bt ,p_delay_store_bt_info 
+044f 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-042f 20405890 call le_fifo_check_full 
-0430 247a0000 nrtn blank 
-0431 20205abf branch le_l2cap_tx_update_req 
+0450 20405890 call le_fifo_check_full 
+0451 247a0000 nrtn blank 
+0452 20205abf branch le_l2cap_tx_update_req 
+
+p_delay_store_ble_info:
+0453 704b2902 jam 2 ,mem_mouse_delay_store_timer 
+0454 6800cb2a fetch 1 ,mem_mouse_store_flag 
+0455 79207e03 set1 mouse_store_ble ,pdata 
+0456 6000cb2a store 1 ,mem_mouse_store_flag 
+0457 20600000 rtn 
+
+p_delay_store_bt_info:
+0458 704b2902 jam 2 ,mem_mouse_delay_store_timer 
+0459 6800cb2a fetch 1 ,mem_mouse_store_flag 
+045a 79207e04 set1 mouse_store_bt ,pdata 
+045b 6000cb2a store 1 ,mem_mouse_store_flag 
+045c 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-0432 6800800e fetch 1 ,mem_page_rcv_fhs 
-0433 1fe0fe01 increase 1 ,pdata 
-0434 6000800e store 1 ,mem_page_rcv_fhs 
-0435 20402435 call prepare_newconn 
+045d 6800800e fetch 1 ,mem_page_rcv_fhs 
+045e 1fe0fe01 increase 1 ,pdata 
+045f 6000800e store 1 ,mem_page_rcv_fhs 
+0460 20402435 call prepare_newconn 
 
 p_master_newconn_loop:
-0436 7920002c set1 mark_first_packet ,mark 
-0437 204022f2 call master_newconn_once 
-0438 202c043d branch p_newconn_poll_responded ,sync 
-0439 793f802c set0 mark_first_packet ,mark 
-043a 20402455 call new_conn_timeout 
-043b 243a0436 nbranch p_master_newconn_loop ,blank 
-043c 202020fc branch page_restart 
+0461 7920002c set1 mark_first_packet ,mark 
+0462 204022f2 call master_newconn_once 
+0463 202c0468 branch p_newconn_poll_responded ,sync 
+0464 793f802c set0 mark_first_packet ,mark 
+0465 20402455 call new_conn_timeout 
+0466 243a0461 nbranch p_master_newconn_loop ,blank 
+0467 202020fc branch page_restart 
 
 p_newconn_poll_responded:
-043d 793f802c set0 mark_first_packet ,mark 
-043e 2020215f branch newconn_poll_responded 
+0468 793f802c set0 mark_first_packet ,mark 
+0469 2020215f branch newconn_poll_responded 
 
 p_role_switch_master:
-043f 204021c9 call role_switch_check 
-0440 24740000 nrtn user 
+046a 204021c9 call role_switch_check 
+046b 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-0441 78547c00 disable user 
-0442 70001120 jam param_newconnto ,mem_newconnto_counter 
-0443 793f800b set0 mark_fhs_already_good ,mark 
-0444 793f802d set0 mark_role_switch_receive_fhs ,mark 
+046c 78547c00 disable user 
+046d 70001120 jam param_newconnto ,mem_newconnto_counter 
+046e 793f800b set0 mark_fhs_already_good ,mark 
+046f 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-0445 20402a4f call rf_setup_time_master_slot 
-0446 204022e6 call master_recv_packet 
-0447 c505844c bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-0448 20402455 call new_conn_timeout 
-0449 243a0445 nbranch p_roles_waitfhs_loop ,blank 
-044a c5168455 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-044b 202021ec branch role_switch_fail_master 
+0470 20402a4f call rf_setup_time_master_slot 
+0471 204022e6 call master_recv_packet 
+0472 c5058477 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+0473 20402455 call new_conn_timeout 
+0474 243a0470 nbranch p_roles_waitfhs_loop ,blank 
+0475 c5168480 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0476 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-044c 20402a4d call rf_setup_time_slave_slot 
-044d d8200010 arg type_id ,type 
-044e 204022dc call master_send_packet 
-044f 7920002d set1 mark_role_switch_receive_fhs ,mark 
-0450 793f800b set0 mark_fhs_already_good ,mark 
-0451 68008077 fetch 1 ,mem_amaddr 
-0452 98000800 iforce am_addr 
-0453 70001102 jam 2 ,mem_newconnto_counter 
-0454 20200445 branch p_roles_waitfhs_loop 
+0477 20402a4d call rf_setup_time_slave_slot 
+0478 d8200010 arg type_id ,type 
+0479 204022dc call master_send_packet 
+047a 7920002d set1 mark_role_switch_receive_fhs ,mark 
+047b 793f800b set0 mark_fhs_already_good ,mark 
+047c 68008077 fetch 1 ,mem_amaddr 
+047d 98000800 iforce am_addr 
+047e 70001102 jam 2 ,mem_newconnto_counter 
+047f 20200470 branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0455 68020165 fetch 4 ,mem_clke_bt 
-0456 1fe0fe08 pincrease 8 
-0457 60020165 store 4 ,mem_clke_bt 
-0458 202021f8 branch roles_replyto_fhs + 4 
+0480 68020165 fetch 4 ,mem_clke_bt 
+0481 1fe0fe08 pincrease 8 
+0482 60020165 store 4 ,mem_clke_bt 
+0483 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0459 c516264d bmark1 mark_first_packet ,end_of_packet 
-045a 2020258f branch process_dmh + 1 
+0484 c516264d bmark1 mark_first_packet ,end_of_packet 
+0485 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-045b 204033af call app_disconn_reason_collect_bt 
-045c 204026e9 call sniff_exit 
-045d 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
-045e 20407d86 call ui_ipc_send_event 
-045f 20405cf7 call init_lmp_work 
-0460 20404d6b call l2cap_init_work 
-0461 2020246e branch quit_connection_cont + 8 
+0486 204033af call app_disconn_reason_collect_bt 
+0487 204026e9 call sniff_exit 
+0488 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0489 20407d86 call ui_ipc_send_event 
+048a 20405cf7 call init_lmp_work 
+048b 20404d6b call l2cap_init_work 
+048c 2020246e branch quit_connection_cont + 8 
 
 p_prepare_tx:
-0462 68008030 fetch 1 ,mem_state 
-0463 2feffe00 isolate1 state_inconn ,pdata 
-0464 20408466 call p_bt_power_ctrl ,true 
-0465 2020248a branch prepare_tx + 1 
+048d 68008030 fetch 1 ,mem_state 
+048e 2feffe00 isolate1 state_inconn ,pdata 
+048f 20408491 call p_bt_power_ctrl ,true 
+0490 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0466 68008047 fetch 1 ,mem_arq 
-0467 2feffe03 isolate1 wack ,pdata 
-0468 20408519 call power_ctrl_pac_succ_decrs ,true 
-0469 24408515 ncall power_ctrl_pac_succ_incrs ,true 
-046a 20200523 branch power_ctrl_start 
+0491 68008047 fetch 1 ,mem_arq 
+0492 2feffe03 isolate1 wack ,pdata 
+0493 20408544 call power_ctrl_pac_succ_decrs ,true 
+0494 24408540 ncall power_ctrl_pac_succ_incrs ,true 
+0495 2020054e branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-046b 204024f0 call slave_receive_master_slot 
-046c 242c28f9 nbranch shutdown_radio ,sync 
-046d 204029bb call save_rssi 
-046e 20400029 call p_rssi_signal 
-046f 20202518 branch slave_conn_recv_packet + 4 
+0496 204024f0 call slave_receive_master_slot 
+0497 242c28f9 nbranch shutdown_radio ,sync 
+0498 204029bb call save_rssi 
+0499 20400029 call p_rssi_signal 
+049a 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0470 c6130000 rtnmark1 mark_24g 
-0471 20402afa call lpo_calibration 
-0472 6801c16f fetch 3 ,mem_clks_per_lpo 
-0473 207a0000 rtn blank 
-0474 6800c091 fetch 1 ,mem_lpm_mode 
-0475 207a0000 rtn blank 
-0476 6800c65a fetch 1 ,mem_ssp_enable 
-0477 203a047a branch p_lpm_dispatch_next ,blank 
-0478 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0479 207a0000 rtn blank 
+049b c6130000 rtnmark1 mark_24g 
+049c 20402afa call lpo_calibration 
+049d 6801c16f fetch 3 ,mem_clks_per_lpo 
+049e 207a0000 rtn blank 
+049f 6800c091 fetch 1 ,mem_lpm_mode 
+04a0 207a0000 rtn blank 
+04a1 6800c65a fetch 1 ,mem_ssp_enable 
+04a2 203a04a5 branch p_lpm_dispatch_next ,blank 
+04a3 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+04a4 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-047a 6800c4c0 fetch 1 ,mem_le_sc_calc 
-047b 247a0000 nrtn blank 
-047c 20402c3a call lpm_check_wake_lock 
-047d 247a0000 nrtn blank 
-047e 6800c040 fetch 1 ,mem_context 
-047f 2fe00e03 compare 3 ,pdata ,0x7 
-0480 2420ab9d nbranch lpm_dispatch_unconn ,true 
-0481 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0482 d840ffff arg 0xffff ,temp 
-0483 98467c00 isub temp ,null 
-0484 20628000 rtn zero 
-0485 20202b7d branch lpm_dispatch_next + 9 
+04a5 6800c4c0 fetch 1 ,mem_le_sc_calc 
+04a6 247a0000 nrtn blank 
+04a7 20402c3a call lpm_check_wake_lock 
+04a8 247a0000 nrtn blank 
+04a9 6800c040 fetch 1 ,mem_context 
+04aa 2fe00e03 compare 3 ,pdata ,0x7 
+04ab 2420ab9d nbranch lpm_dispatch_unconn ,true 
+04ac 68014042 fetch 2 ,mem_context + coffset_tsniff 
+04ad d840ffff arg 0xffff ,temp 
+04ae 98467c00 isub temp ,null 
+04af 20628000 rtn zero 
+04b0 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-0486 7855fc00 disable wake 
-0487 68008030 fetch 1 ,mem_state 
-0488 c4008000 rtnbit0 state_insniff 
-0489 2436abd0 nbranch lpm_not_match ,match 
-048a 20402bcb call lpm_match 
-048b 680140c1 fetch 2 ,mem_rx_window_sniff 
-048c 6001003e store 2 ,mem_rx_window 
-048d 68008047 fetch 1 ,mem_arq 
-048e c281abde bbit1 wack ,lpm_mult_short 
-048f c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-0490 20405274 call l2cap_malloc_is_fifo_empty 
-0491 243a2bde nbranch lpm_mult_short ,blank 
-0492 205a0494 call p_lpm_set_attemp_timeout ,blank 
-0493 20202bbe branch lpm_set_mult + 13 
+04b1 7855fc00 disable wake 
+04b2 68008030 fetch 1 ,mem_state 
+04b3 c4008000 rtnbit0 state_insniff 
+04b4 2436abd0 nbranch lpm_not_match ,match 
+04b5 20402bcb call lpm_match 
+04b6 680140c1 fetch 2 ,mem_rx_window_sniff 
+04b7 6001003e store 2 ,mem_rx_window 
+04b8 68008047 fetch 1 ,mem_arq 
+04b9 c281abde bbit1 wack ,lpm_mult_short 
+04ba c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+04bb 20405274 call l2cap_malloc_is_fifo_empty 
+04bc 243a2bde nbranch lpm_mult_short ,blank 
+04bd 205a04bf call p_lpm_set_attemp_timeout ,blank 
+04be 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-0494 70008a01 jam 1 ,mem_current_sniff_attempt 
-0495 70008b00 jam 0 ,mem_current_sniff_timeout 
-0496 20600000 rtn 
+04bf 70008a01 jam 1 ,mem_current_sniff_attempt 
+04c0 70008b00 jam 0 ,mem_current_sniff_timeout 
+04c1 20600000 rtn 
 
 p_mouse_bb_disconnected:
-0497 70480800 jam 0 ,mem_mouse_enter_sniff_count 
-0498 7041e30e jam 0x0e ,mem_sniff_param_interval 
-0499 204041e7 call mouse_bb_discon_clear_stack 
-049a 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
-049b c283c1f5 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
-049c c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
-049d c28084a1 bbit1 app_disc_after_pairing ,p_mouse_event_light_state_pairing 
-049e c28104a4 bbit1 app_disc_after_reconn ,p_mouse_event_light_state_hibernate 
-049f c28184a4 bbit1 app_disc_after_sniff ,p_mouse_event_light_state_hibernate 
-04a0 202042b0 branch mouse_start_discovery 
+04c2 70480800 jam 0 ,mem_mouse_enter_sniff_count 
+04c3 7041e30e jam 0x0e ,mem_sniff_param_interval 
+04c4 204041e7 call mouse_bb_discon_clear_stack 
+04c5 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+04c6 c283c1f5 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+04c7 c28033a9 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+04c8 c28084cc bbit1 app_disc_after_pairing ,p_mouse_event_light_state_pairing 
+04c9 c28104cf bbit1 app_disc_after_reconn ,p_mouse_event_light_state_hibernate 
+04ca c28184cf bbit1 app_disc_after_sniff ,p_mouse_event_light_state_hibernate 
+04cb 202042b0 branch mouse_start_discovery 
 
 p_mouse_event_light_state_pairing:
-04a1 c28284a4 bbit1 app_disc_after_handshake ,p_mouse_event_light_state_hibernate 
-04a2 c28184a4 bbit1 app_disc_after_sniff ,p_mouse_event_light_state_hibernate 
-04a3 202042b0 branch mouse_start_discovery 
+04cc c28284cf bbit1 app_disc_after_handshake ,p_mouse_event_light_state_hibernate 
+04cd c28184cf bbit1 app_disc_after_sniff ,p_mouse_event_light_state_hibernate 
+04ce 202042b0 branch mouse_start_discovery 
 
 p_mouse_event_light_state_hibernate:
-04a4 68014682 fetch 2 ,mem_ui_state_map 
-04a5 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
-04a6 204033a9 call app_disconn_reason_clear 
-04a7 20404083 call mouse_check_key_gpio 
-04a8 c0030259 beq mouse_rm_button ,p_mouse_null_enter_hibernate_enable 
-04a9 202033a7 branch app_bb_hibernate 
+04cf 68014682 fetch 2 ,mem_ui_state_map 
+04d0 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
+04d1 204033a9 call app_disconn_reason_clear 
+04d2 20404083 call mouse_check_key_gpio 
+04d3 c003025a beq mouse_rm_button ,p_mouse_null_enter_hibernate_enable 
+04d4 202033a7 branch app_bb_hibernate 
 
 p_hid_rx_process:
-04aa 68010264 fetch 2 ,mem_l2cap_payload_ptr 
-04ab 1fe20c00 copy pdata ,contr 
-04ac e8c08000 ifetch 1 ,contr 
-04ad 6000cb02 store 1 ,mem_l2cap_rcv 
-04ae 1fe1040f and pdata ,0x0f ,temp 
-04af 1ff1fe00 rshift4 pdata ,pdata 
-04b0 c00384b2 beq hid_type_set_protocol ,p_hid_rx_set_protocol 
-04b1 20204d39 branch hid_rx_process + 6 
+04d5 68010264 fetch 2 ,mem_l2cap_payload_ptr 
+04d6 1fe20c00 copy pdata ,contr 
+04d7 e8c08000 ifetch 1 ,contr 
+04d8 6000cb02 store 1 ,mem_l2cap_rcv 
+04d9 1fe1040f and pdata ,0x0f ,temp 
+04da 1ff1fe00 rshift4 pdata ,pdata 
+04db c00384dd beq hid_type_set_protocol ,p_hid_rx_set_protocol 
+04dc 20204d39 branch hid_rx_process + 6 
 
 p_hid_rx_set_protocol:
-04b2 20404d53 call hid_rx_process_handshake 
-04b3 704b0300 jam 0 ,mem_mouse_bt_boot_mode 
-04b4 6800cb02 fetch 1 ,mem_l2cap_rcv 
-04b5 2feffe00 isolate1 0 ,pdata 
-04b6 20608000 rtn true 
-04b7 704b0301 jam 1 ,mem_mouse_bt_boot_mode 
-04b8 20600000 rtn 
+04dd 20404d53 call hid_rx_process_handshake 
+04de 704b0300 jam 0 ,mem_mouse_bt_boot_mode 
+04df 6800cb02 fetch 1 ,mem_l2cap_rcv 
+04e0 2feffe00 isolate1 0 ,pdata 
+04e1 20608000 rtn true 
+04e2 704b0301 jam 1 ,mem_mouse_bt_boot_mode 
+04e3 20600000 rtn 
 
 p_parse_lmp_accepted:
-04b9 68008552 fetch 1 ,mem_rxbuf + 1 
-04ba 600084c9 store 1 ,mem_lmi_accepted_opcode 
-04bb c00984bd beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-04bc 20205db4 branch parse_lmp_accepted + 3 
+04e4 68008552 fetch 1 ,mem_rxbuf + 1 
+04e5 600084c9 store 1 ,mem_lmi_accepted_opcode 
+04e6 c00984e8 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+04e7 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-04bd 20405dcf call parse_lmp_accepted_switch 
-04be 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-04bf 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-04c0 207a0000 rtn blank 
-04c1 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-04c2 20600000 rtn 
+04e8 20405dcf call parse_lmp_accepted_switch 
+04e9 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+04ea 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+04eb 207a0000 rtn blank 
+04ec 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+04ed 20600000 rtn 
 
 p_send_lmp:
-04c3 78547c00 disable user 
-04c4 204062c1 call lmo_fifo_process 
-04c5 68008048 fetch 1 ,mem_lmp_to_send 
-04c6 207a0000 rtn blank 
-04c7 c28384cc bbit1 7 ,p_send_lmp_escape 
-04c8 c00184dc beq lmp_accepted ,p_send_lmp_accepted 
-04c9 c01884d8 beq lmp_setup_complete ,p_send_lmp_setup_complete 
-04ca c00b84da beq lmp_sniff_req ,p_send_lmp_sniff_req 
-04cb 20206010 branch send_lmp0 
+04ee 78547c00 disable user 
+04ef 204062c1 call lmo_fifo_process 
+04f0 68008048 fetch 1 ,mem_lmp_to_send 
+04f1 207a0000 rtn blank 
+04f2 c28384f7 bbit1 7 ,p_send_lmp_escape 
+04f3 c0018507 beq lmp_accepted ,p_send_lmp_accepted 
+04f4 c0188503 beq lmp_setup_complete ,p_send_lmp_setup_complete 
+04f5 c00b8505 beq lmp_sniff_req ,p_send_lmp_sniff_req 
+04f6 20206010 branch send_lmp0 
 
 p_send_lmp_escape:
-04cc c04204cf beq lmp_ext_features_res ,p_send_lmpext_features_res 
-04cd c04184d2 beq lmp_ext_features_req ,p_send_lmpext_features_req 
-04ce 2020603f branch send_lmp_escape 
+04f7 c04204fa beq lmp_ext_features_res ,p_send_lmpext_features_res 
+04f8 c04184fd beq lmp_ext_features_req ,p_send_lmpext_features_req 
+04f9 2020603f branch send_lmp_escape 
 
 p_send_lmpext_features_res:
-04cf 204004d5 call p_check_ssp_enable 
-04d0 68008048 fetch 1 ,mem_lmp_to_send 
-04d1 20206099 branch send_lmpext_features_res 
+04fa 20400500 call p_check_ssp_enable 
+04fb 68008048 fetch 1 ,mem_lmp_to_send 
+04fc 20206099 branch send_lmpext_features_res 
 
 p_send_lmpext_features_req:
-04d2 204004d5 call p_check_ssp_enable 
-04d3 68008048 fetch 1 ,mem_lmp_to_send 
-04d4 2020610d branch send_lmpext_features_req 
+04fd 20400500 call p_check_ssp_enable 
+04fe 68008048 fetch 1 ,mem_lmp_to_send 
+04ff 2020610d branch send_lmpext_features_req 
 
 p_check_ssp_enable:
-04d5 6800c65a fetch 1 ,mem_ssp_enable 
-04d6 203a612b branch ssp_disable ,blank 
-04d7 20206124 branch ssp_enable 
+0500 6800c65a fetch 1 ,mem_ssp_enable 
+0501 203a612b branch ssp_disable ,blank 
+0502 20206124 branch ssp_enable 
 
 p_send_lmp_setup_complete:
-04d8 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
-04d9 202061c3 branch send_lmp_setup_complete 
+0503 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
+0504 202061c3 branch send_lmp_setup_complete 
 
 p_send_lmp_sniff_req:
-04da 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
-04db 202061a4 branch send_lmp_sniff_req 
+0505 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
+0506 202061a4 branch send_lmp_sniff_req 
 
 p_send_lmp_accepted:
-04dc 18007e02 force 2 ,pdata 
-04dd 20406298 call msg_send_lmp 
-04de 68008049 fetch 1 ,mem_lmi_opcode 
-04df e0a08000 istore 1 ,contw 
-04e0 6000cafc store 1 ,mem_lmi_opcode_temp 
-04e1 204062a7 call send_lmp_follow 
-04e2 6800cafc fetch 1 ,mem_lmi_opcode_temp 
-04e3 c01704e5 beq lmp_max_slot_req ,p_send_lmp_accepted_max_slot_req 
-04e4 20206051 branch send_lmp_accepted + 7 
+0507 18007e02 force 2 ,pdata 
+0508 20406298 call msg_send_lmp 
+0509 68008049 fetch 1 ,mem_lmi_opcode 
+050a e0a08000 istore 1 ,contw 
+050b 6000cafc store 1 ,mem_lmi_opcode_temp 
+050c 204062a7 call send_lmp_follow 
+050d 6800cafc fetch 1 ,mem_lmi_opcode_temp 
+050e c0170510 beq lmp_max_slot_req ,p_send_lmp_accepted_max_slot_req 
+050f 20206051 branch send_lmp_accepted + 7 
 
 p_send_lmp_accepted_max_slot_req:
-04e5 6800caff fetch 1 ,mem_bt_rcvd_switch_req_accept 
-04e6 207a0000 rtn blank 
-04e7 704aff00 jam 0 ,mem_bt_rcvd_switch_req_accept 
-04e8 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-04e9 c1810000 rtnne 2 
-04ea 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-04eb 1c427e00 copy clkn_bt ,pdata 
-04ec 600204e9 store 4 ,mem_aurand_send_delay_time 
-04ed 20600000 rtn 
+0510 6800caff fetch 1 ,mem_bt_rcvd_switch_req_accept 
+0511 207a0000 rtn blank 
+0512 704aff00 jam 0 ,mem_bt_rcvd_switch_req_accept 
+0513 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+0514 c1810000 rtnne 2 
+0515 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+0516 1c427e00 copy clkn_bt ,pdata 
+0517 600204e9 store 4 ,mem_aurand_send_delay_time 
+0518 20600000 rtn 
 
 p_process_conn_sm:
-04ee 204062bc call lmo_fifo_check 
-04ef 247a0000 nrtn blank 
+0519 204062bc call lmo_fifo_check 
+051a 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-04f0 68008055 fetch 1 ,mem_conn_sm 
-04f1 207a0000 rtn blank 
-04f2 c0020510 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-04f3 c00804f5 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-04f4 20206320 branch process_conn_sm_continue + 2 
+051b 68008055 fetch 1 ,mem_conn_sm 
+051c 207a0000 rtn blank 
+051d c002053b beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+051e c0080520 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+051f 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-04f5 6800c55b fetch 1 ,mem_switch_flag 
-04f6 c1000000 rtneq switch_flag_init 
-04f7 c00084f9 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-04f8 2020635f branch host_creat_conn_wait_switch + 3 
+0520 6800c55b fetch 1 ,mem_switch_flag 
+0521 c1000000 rtneq switch_flag_init 
+0522 c0008524 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+0523 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-04f9 20748000 rtn master 
+0524 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-04fa 6800816d fetch 1 ,mem_connection_options 
-04fb c28004fd bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-04fc 20206399 branch host_create_conn_auth_pair + 1 
+0525 6800816d fetch 1 ,mem_connection_options 
+0526 c2800528 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+0527 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-04fd 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-04fe c000e39d beq 1 ,host_create_conn_auth_pair_true 
-04ff 6800c1bd fetch 1 ,mem_link_key_exists 
-0500 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-0501 680084d1 fetch 1 ,mem_lmp_conn_state 
-0502 c4018000 rtnbit0 sent_setup_complete 
-0503 c4010000 rtnbit0 received_setup_complete 
-0504 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-0505 207a0000 rtn blank 
-0506 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-0507 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-0508 d8400014 arg 20 ,temp 
-0509 98408400 iadd temp ,temp 
-050a 1c427e00 copy clkn_bt ,pdata 
-050b 98467c00 isub temp ,null 
-050c 2421050e nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-050d 20206349 branch host_create_conn_auth 
+0528 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+0529 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+052a 6800c1bd fetch 1 ,mem_link_key_exists 
+052b 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+052c 680084d1 fetch 1 ,mem_lmp_conn_state 
+052d c4018000 rtnbit0 sent_setup_complete 
+052e c4010000 rtnbit0 received_setup_complete 
+052f 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+0530 207a0000 rtn blank 
+0531 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+0532 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+0533 d8400014 arg 20 ,temp 
+0534 98408400 iadd temp ,temp 
+0535 1c427e00 copy clkn_bt ,pdata 
+0536 98467c00 isub temp ,null 
+0537 24210539 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+0538 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-050e 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-050f 20600000 rtn 
+0539 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+053a 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-0510 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-0511 2020636f branch host_create_conn_send_conn_req 
+053b 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+053c 2020636f branch host_create_conn_send_conn_req 
 
 power_ctrl_pac_succ_cnt_init:
-0512 704ceb01 jam 1 ,mem_power_ctrl_level 
-0513 704ce800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-0514 20600000 rtn 
+053d 704ced01 jam 1 ,mem_power_ctrl_level 
+053e 704cea00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+053f 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-0515 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0516 1fe0fe01 increase 1 ,pdata 
-0517 6000cce8 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0518 20600000 rtn 
+0540 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0541 1fe0fe01 increase 1 ,pdata 
+0542 6000ccea store 1 ,mem_power_ctrl_pac_succ_cnt 
+0543 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-0519 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-051a 1fe67c02 sub pdata ,2 ,null 
-051b 24410521 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-051c 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-051d c1000000 rtneq 0 
-051e 1fe0ffff increase -1 ,pdata 
-051f 6000cce8 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0520 20600000 rtn 
+0544 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0545 1fe67c02 sub pdata ,2 ,null 
+0546 2441054c ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0547 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0548 c1000000 rtneq 0 
+0549 1fe0ffff increase -1 ,pdata 
+054a 6000ccea store 1 ,mem_power_ctrl_pac_succ_cnt 
+054b 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0521 704ce803 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0522 20600000 rtn 
+054c 704cea03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+054d 20600000 rtn 
 
 power_ctrl_start:
-0523 68014682 fetch 2 ,mem_ui_state_map 
-0524 c3858000 rtnbit1 ui_state_ble_adv 
-0525 c3838000 rtnbit1 ui_state_bt_reconnect 
-0526 c3830000 rtnbit1 ui_state_bt_discovery 
-0527 da204c71 arg mem_rssi_signal_buf ,rega 
-0528 20400054 call p_rssi_average 
-0529 6008cce9 storet 1 ,mem_rssi_avg_received 
-052a 58000082 setarg rssi_dis_max_24g 
-052b c513052d bmark1 mark_24g ,power_ctrl_start_next 
-052c 58000080 setarg rssi_dis_max_ble 
+054e 68014682 fetch 2 ,mem_ui_state_map 
+054f c3858000 rtnbit1 ui_state_ble_adv 
+0550 c3838000 rtnbit1 ui_state_bt_reconnect 
+0551 c3830000 rtnbit1 ui_state_bt_discovery 
+0552 da204c73 arg mem_rssi_signal_buf ,rega 
+0553 20400054 call p_rssi_average 
+0554 6008cceb storet 1 ,mem_rssi_avg_received 
+0555 58000082 setarg rssi_dis_max_24g 
+0556 c5130558 bmark1 mark_24g ,power_ctrl_start_next 
+0557 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-052d 98467c00 isub temp ,null 
-052e 24210545 nbranch power_ctrl_txpower_incrs_force ,positive 
-052f 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0530 1fe67c02 sub pdata ,2 ,null 
-0531 24210535 nbranch power_ctrl_txpower_decrs_check ,positive 
-0532 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0533 c0000546 beq 0 ,power_ctrl_txpower_incrs 
-0534 20600000 rtn 
+0558 98467c00 isub temp ,null 
+0559 24210570 nbranch power_ctrl_txpower_incrs_force ,positive 
+055a 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+055b 1fe67c02 sub pdata ,2 ,null 
+055c 24210560 nbranch power_ctrl_txpower_decrs_check ,positive 
+055d 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+055e c0000571 beq 0 ,power_ctrl_txpower_incrs 
+055f 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0535 6800cce8 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0536 c1900000 rtnne 32 
-0537 704ce800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0560 6800ccea fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0561 c1900000 rtnne 32 
+0562 704cea00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0538 6808cce9 fetcht 1 ,mem_rssi_avg_received 
-0539 58000077 setarg rssi_dis_min_24g 
-053a c513053c bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-053b 58000075 setarg rssi_dis_min_ble 
+0563 6808cceb fetcht 1 ,mem_rssi_avg_received 
+0564 58000077 setarg rssi_dis_min_24g 
+0565 c5130567 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0566 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-053c 98467c00 isub temp ,null 
-053d 24610000 nrtn positive 
-053e 6800cceb fetch 1 ,mem_power_ctrl_level 
-053f c000054d beq 0 ,power_ctrl_decrs_level0 
-0540 1fe0ffff increase -1 ,pdata 
-0541 6000cceb store 1 ,mem_power_ctrl_level 
-0542 c000054d beq 0 ,power_ctrl_decrs_level0 
+0567 98467c00 isub temp ,null 
+0568 24610000 nrtn positive 
+0569 6800cced fetch 1 ,mem_power_ctrl_level 
+056a c0000578 beq 0 ,power_ctrl_decrs_level0 
+056b 1fe0ffff increase -1 ,pdata 
+056c 6000cced store 1 ,mem_power_ctrl_level 
+056d c0000578 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0543 7041de00 jam tx_power_0db ,mem_tx_power 
-0544 20600000 rtn 
+056e 7041de00 jam tx_power_0db ,mem_tx_power 
+056f 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0545 704ce800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0570 704cea00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0546 6800cceb fetch 1 ,mem_power_ctrl_level 
-0547 c001054b beq 2 ,power_ctrl_incrs_level2 
-0548 1fe0fe01 increase 1 ,pdata 
-0549 6000cceb store 1 ,mem_power_ctrl_level 
-054a c0008543 beq 1 ,power_ctrl_incrs_level1 
+0571 6800cced fetch 1 ,mem_power_ctrl_level 
+0572 c0010576 beq 2 ,power_ctrl_incrs_level2 
+0573 1fe0fe01 increase 1 ,pdata 
+0574 6000cced store 1 ,mem_power_ctrl_level 
+0575 c000856e beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-054b 7041de02 jam tx_power_5db ,mem_tx_power 
-054c 20600000 rtn 
+0576 7041de02 jam tx_power_5db ,mem_tx_power 
+0577 20600000 rtn 
 
 power_ctrl_decrs_level0:
-054d 7041de04 jam tx_power_f5db ,mem_tx_power 
-054e 20600000 rtn 
+0578 7041de04 jam tx_power_f5db ,mem_tx_power 
+0579 20600000 rtn 
 
 p_set_freq_tx:
-054f 60088017 storet 1 ,mem_last_freq 
-0550 1840a200 add temp ,0 ,rega 
-0551 20402981 call rf_write_freq 
-0552 58000500 setarg param_pll_setup 
-0553 20402a8f call sleep 
+057a 60088017 storet 1 ,mem_last_freq 
+057b 1840a200 add temp ,0 ,rega 
+057c 20402981 call rf_write_freq 
+057d 58000500 setarg param_pll_setup 
+057e 20402a8f call sleep 
 
 p_rf_tx_enable:
-0554 70890601 jam 0x1 ,rfen_adc 
-0555 7089003c jam 0x3c ,rfen_rx 
-0556 708901e0 jam 0xe0 ,rfen_tx 
-0557 2000000a nop 10 
-0558 70890201 jam 0x01 ,rfen_mdm 
-0559 7089023d jam 0x3d ,rfen_mdm 
-055a 2000000a nop 10 
-055b 708903b7 jam 0xb7 ,rfen_sn 
-055c 2000000a nop 10 
-055d 7089027d jam 0x7d ,rfen_mdm 
-055e 6800c1de fetch 1 ,mem_tx_power 
-055f c0010567 beq tx_power_5db ,p_set_tx_power_5db 
-0560 c002056c beq tx_power_f5db ,p_set_tx_power_f5db 
-0561 c010057b beq tx_power_pair ,p_set_tx_power_pair 
+057f 70890601 jam 0x1 ,rfen_adc 
+0580 7089003c jam 0x3c ,rfen_rx 
+0581 708901e0 jam 0xe0 ,rfen_tx 
+0582 2000000a nop 10 
+0583 70890201 jam 0x01 ,rfen_mdm 
+0584 7089023d jam 0x3d ,rfen_mdm 
+0585 2000000a nop 10 
+0586 708903b7 jam 0xb7 ,rfen_sn 
+0587 2000000a nop 10 
+0588 7089027d jam 0x7d ,rfen_mdm 
+0589 6800c1de fetch 1 ,mem_tx_power 
+058a c0010592 beq tx_power_5db ,p_set_tx_power_5db 
+058b c0020597 beq tx_power_f5db ,p_set_tx_power_f5db 
+058c c01005a6 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0562 20400571 call p_rx_low_sens 
-0563 708955d0 jam 0xd0 ,0x8955 
-0564 708956e0 jam 0xe0 ,0x8956 
-0565 7089586c jam 0x6c ,0x8958 
-0566 2020294b branch set_tx_power_0db 
+058d 2040059c call p_rx_low_sens 
+058e 708955d0 jam 0xd0 ,0x8955 
+058f 708956e0 jam 0xe0 ,0x8956 
+0590 7089586c jam 0x6c ,0x8958 
+0591 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0567 20400576 call p_rx_high_sens 
-0568 708955d0 jam 0xd0 ,0x8955 
-0569 708956e0 jam 0xe0 ,0x8956 
-056a 7089583c jam 0x3c ,0x8958 
-056b 20202953 branch set_tx_power_5db 
+0592 204005a1 call p_rx_high_sens 
+0593 708955d0 jam 0xd0 ,0x8955 
+0594 708956e0 jam 0xe0 ,0x8956 
+0595 7089583c jam 0x3c ,0x8958 
+0596 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-056c 20400571 call p_rx_low_sens 
-056d 708955d0 jam 0xd0 ,0x8955 
-056e 708956c0 jam 0xc0 ,0x8956 
-056f 7089586c jam 0x6c ,0x8958 
-0570 2020295b branch set_tx_power_f5db 
+0597 2040059c call p_rx_low_sens 
+0598 708955d0 jam 0xd0 ,0x8955 
+0599 708956c0 jam 0xc0 ,0x8956 
+059a 7089586c jam 0x6c ,0x8958 
+059b 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0571 70894c5b jam 0x5b ,0x894c 
-0572 70894d96 jam 0x96 ,0x894d 
-0573 70894e2c jam 0x2c ,0x894e 
-0574 70894f46 jam 0x46 ,0x894f 
-0575 20600000 rtn 
+059c 70894c5b jam 0x5b ,0x894c 
+059d 70894d96 jam 0x96 ,0x894d 
+059e 70894e2c jam 0x2c ,0x894e 
+059f 70894f46 jam 0x46 ,0x894f 
+05a0 20600000 rtn 
 
 p_rx_high_sens:
-0576 70894cfb jam 0xfb ,0x894c 
-0577 70894def jam 0xef ,0x894d 
-0578 70894eec jam 0xec ,0x894e 
-0579 70894f5e jam 0x5e ,0x894f 
-057a 20600000 rtn 
+05a1 70894cfb jam 0xfb ,0x894c 
+05a2 70894def jam 0xef ,0x894d 
+05a3 70894eec jam 0xec ,0x894e 
+05a4 70894f5e jam 0x5e ,0x894f 
+05a5 20600000 rtn 
 
 p_set_tx_power_pair:
-057b 708956c2 jam 0xc2 ,0x8956 
-057c 708955d0 jam 0xd0 ,0x8955 
-057d 20600000 rtn 
+05a6 708956c2 jam 0xc2 ,0x8956 
+05a7 708955d0 jam 0xd0 ,0x8955 
+05a8 20600000 rtn 
 
 p_shutdown_radio:
-057e 18002a08 force 8 ,radio_ctrl 
-057f 202028fa branch shutdown_radio + 1 
+05a9 18002a08 force 8 ,radio_ctrl 
+05aa 202028fa branch shutdown_radio + 1 
 
 p_drawing_optima_init:
-0580 df200005 arg 5 ,loopcnt 
-0581 d8a04b0b arg mem_mouse_asm_flag ,contw 
-0582 20207ed4 branch clear_mem 
+05ab df200005 arg 5 ,loopcnt 
+05ac d8a04b0b arg mem_mouse_asm_flag ,contw 
+05ad 20207ed4 branch clear_mem 
 
 p_drawing_optima:
-0583 6802469b fetch 4 ,mem_mouse_x 
-0584 207a0000 rtn blank 
-0585 204005e1 call p_data_abs_check 
-0586 58000006 setarg 0x06 
-0587 204005d4 call p_data_greater_than_check 
-0588 58000003 setarg 0x03 
-0589 204005da call p_data_less_than_check 
-058a 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-058b c000858d beq 1 ,p_drawing_optima_modify 
-058c 20200580 branch p_drawing_optima_init 
+05ae 6802469b fetch 4 ,mem_mouse_x 
+05af 207a0000 rtn blank 
+05b0 2040060c call p_data_abs_check 
+05b1 58000006 setarg 0x06 
+05b2 204005ff call p_data_greater_than_check 
+05b3 58000003 setarg 0x03 
+05b4 20400605 call p_data_less_than_check 
+05b5 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+05b6 c00085b8 beq 1 ,p_drawing_optima_modify 
+05b7 202005ab branch p_drawing_optima_init 
 
 p_drawing_optima_modify:
-058d 68014b0c fetch 2 ,mem_mouse_x_pre 
-058e 600111be store 2 ,mem_data_pre 
-058f 6801469b fetch 2 ,mem_mouse_x 
-0590 600111c0 store 2 ,mem_data_current 
-0591 204005a0 call p_drawing_optima_data_x 
-0592 680111be fetch 2 ,mem_data_pre 
-0593 60014b0c store 2 ,mem_mouse_x_pre 
-0594 680111c0 fetch 2 ,mem_data_current 
-0595 6001469b store 2 ,mem_mouse_x 
-0596 68014b0e fetch 2 ,mem_mouse_y_pre 
-0597 600111be store 2 ,mem_data_pre 
-0598 6801469d fetch 2 ,mem_mouse_y 
-0599 600111c0 store 2 ,mem_data_current 
-059a 204005a8 call p_drawing_optima_data_y 
-059b 680111be fetch 2 ,mem_data_pre 
-059c 60014b0e store 2 ,mem_mouse_y_pre 
-059d 680111c0 fetch 2 ,mem_data_current 
-059e 6001469d store 2 ,mem_mouse_y 
-059f 20600000 rtn 
+05b8 68014b0c fetch 2 ,mem_mouse_x_pre 
+05b9 600111be store 2 ,mem_data_pre 
+05ba 6801469b fetch 2 ,mem_mouse_x 
+05bb 600111c0 store 2 ,mem_data_current 
+05bc 204005cb call p_drawing_optima_data_x 
+05bd 680111be fetch 2 ,mem_data_pre 
+05be 60014b0c store 2 ,mem_mouse_x_pre 
+05bf 680111c0 fetch 2 ,mem_data_current 
+05c0 6001469b store 2 ,mem_mouse_x 
+05c1 68014b0e fetch 2 ,mem_mouse_y_pre 
+05c2 600111be store 2 ,mem_data_pre 
+05c3 6801469d fetch 2 ,mem_mouse_y 
+05c4 600111c0 store 2 ,mem_data_current 
+05c5 204005d3 call p_drawing_optima_data_y 
+05c6 680111be fetch 2 ,mem_data_pre 
+05c7 60014b0e store 2 ,mem_mouse_y_pre 
+05c8 680111c0 fetch 2 ,mem_data_current 
+05c9 6001469d store 2 ,mem_mouse_y 
+05ca 20600000 rtn 
 
 p_drawing_optima_data_x:
-05a0 680111be fetch 2 ,mem_data_pre 
-05a1 680911c0 fetcht 2 ,mem_data_current 
-05a2 9840fe00 iadd temp ,pdata 
-05a3 6808cb27 fetcht 1 ,mem_mouse_data_xtemp 
-05a4 9840fe00 iadd temp ,pdata 
-05a5 1fe10401 and pdata ,0x01 ,temp 
-05a6 6008cb27 storet 1 ,mem_mouse_data_xtemp 
-05a7 202005b0 branch p_drawing_optima_data 
+05cb 680111be fetch 2 ,mem_data_pre 
+05cc 680911c0 fetcht 2 ,mem_data_current 
+05cd 9840fe00 iadd temp ,pdata 
+05ce 6808cb27 fetcht 1 ,mem_mouse_data_xtemp 
+05cf 9840fe00 iadd temp ,pdata 
+05d0 1fe10401 and pdata ,0x01 ,temp 
+05d1 6008cb27 storet 1 ,mem_mouse_data_xtemp 
+05d2 202005db branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-05a8 680111be fetch 2 ,mem_data_pre 
-05a9 680911c0 fetcht 2 ,mem_data_current 
-05aa 9840fe00 iadd temp ,pdata 
-05ab 6808cb28 fetcht 1 ,mem_mouse_data_ytemp 
-05ac 9840fe00 iadd temp ,pdata 
-05ad 1fe10401 and pdata ,0x01 ,temp 
-05ae 6008cb28 storet 1 ,mem_mouse_data_ytemp 
-05af 202005b0 branch p_drawing_optima_data 
+05d3 680111be fetch 2 ,mem_data_pre 
+05d4 680911c0 fetcht 2 ,mem_data_current 
+05d5 9840fe00 iadd temp ,pdata 
+05d6 6808cb28 fetcht 1 ,mem_mouse_data_ytemp 
+05d7 9840fe00 iadd temp ,pdata 
+05d8 1fe10401 and pdata ,0x01 ,temp 
+05d9 6008cb28 storet 1 ,mem_mouse_data_ytemp 
+05da 202005db branch p_drawing_optima_data 
 
 p_drawing_optima_data:
-05b0 600191c2 store 3 ,mem_data_sum 
-05b1 2feffe10 isolate1 16 ,pdata 
-05b2 202085ba branch p_data_sum_overflow ,true 
-05b3 680091c3 fetch 1 ,mem_data_sum + 1 
-05b4 c07f85c1 beq 0xff ,p_data_sum_n 
-05b5 680091c2 fetch 1 ,mem_data_sum 
+05db 600191c2 store 3 ,mem_data_sum 
+05dc 2feffe10 isolate1 16 ,pdata 
+05dd 202085e5 branch p_data_sum_overflow ,true 
+05de 680091c3 fetch 1 ,mem_data_sum + 1 
+05df c07f85ec beq 0xff ,p_data_sum_n 
+05e0 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-05b6 1fe37e00 rshift pdata ,pdata 
-05b7 600111be store 2 ,mem_data_pre 
-05b8 600111c0 store 2 ,mem_data_current 
-05b9 20600000 rtn 
+05e1 1fe37e00 rshift pdata ,pdata 
+05e2 600111be store 2 ,mem_data_pre 
+05e3 600111c0 store 2 ,mem_data_current 
+05e4 20600000 rtn 
 
 p_data_sum_overflow:
-05ba 680091c3 fetch 1 ,mem_data_sum + 1 
-05bb c00005be beq 0 ,p_data_sum_overflow_p 
-05bc 680191c2 fetch 3 ,mem_data_sum 
-05bd 202005b6 branch p_data_store_pre 
+05e5 680091c3 fetch 1 ,mem_data_sum + 1 
+05e6 c00005e9 beq 0 ,p_data_sum_overflow_p 
+05e7 680191c2 fetch 3 ,mem_data_sum 
+05e8 202005e1 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-05be 7011c400 jam 0 ,mem_data_sum + 2 
-05bf 680091c2 fetch 1 ,mem_data_sum 
-05c0 202005b6 branch p_data_store_pre 
+05e9 7011c400 jam 0 ,mem_data_sum + 2 
+05ea 680091c2 fetch 1 ,mem_data_sum 
+05eb 202005e1 branch p_data_store_pre 
 
 p_data_sum_n:
-05c1 680091c2 fetch 1 ,mem_data_sum 
-05c2 204005cc call p_pdata_get_half 
-05c3 600091be store 1 ,mem_data_pre 
-05c4 600091c0 store 1 ,mem_data_current 
-05c5 203a05ca branch p_data_zero ,blank 
-05c6 580000ff setarg 0xff 
+05ec 680091c2 fetch 1 ,mem_data_sum 
+05ed 204005f7 call p_pdata_get_half 
+05ee 600091be store 1 ,mem_data_pre 
+05ef 600091c0 store 1 ,mem_data_current 
+05f0 203a05f5 branch p_data_zero ,blank 
+05f1 580000ff setarg 0xff 
 
 p_data_set_direction:
-05c7 600091bf store 1 ,mem_data_pre + 1 
-05c8 600091c1 store 1 ,mem_data_current + 1 
-05c9 20600000 rtn 
+05f2 600091bf store 1 ,mem_data_pre + 1 
+05f3 600091c1 store 1 ,mem_data_current + 1 
+05f4 20600000 rtn 
 
 p_data_zero:
-05ca 58000000 setarg 0 
-05cb 202005c7 branch p_data_set_direction 
+05f5 58000000 setarg 0 
+05f6 202005f2 branch p_data_set_direction 
 
 p_pdata_get_half:
-05cc 1fe67e00 sub pdata ,0 ,pdata 
-05cd 60008aae store 1 ,mem_rega 
-05ce 68008aae fetch 1 ,mem_rega 
-05cf 1fe37e00 rshift pdata ,pdata 
-05d0 60008aae store 1 ,mem_rega 
-05d1 68008aae fetch 1 ,mem_rega 
-05d2 1fe67e00 sub pdata ,0 ,pdata 
-05d3 20600000 rtn 
+05f7 1fe67e00 sub pdata ,0 ,pdata 
+05f8 60008aae store 1 ,mem_rega 
+05f9 68008aae fetch 1 ,mem_rega 
+05fa 1fe37e00 rshift pdata ,pdata 
+05fb 60008aae store 1 ,mem_rega 
+05fc 68008aae fetch 1 ,mem_rega 
+05fd 1fe67e00 sub pdata ,0 ,pdata 
+05fe 20600000 rtn 
 
 p_data_greater_than_check:
-05d4 9a267c00 isub rega ,null 
-05d5 242105df nbranch p_enable_asm ,positive 
-05d6 9a467c00 isub regb ,null 
-05d7 242105df nbranch p_enable_asm ,positive 
+05ff 9a267c00 isub rega ,null 
+0600 2421060a nbranch p_enable_asm ,positive 
+0601 9a467c00 isub regb ,null 
+0602 2421060a nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-05d8 704b0b00 jam 0 ,mem_mouse_asm_flag 
-05d9 20600000 rtn 
+0603 704b0b00 jam 0 ,mem_mouse_asm_flag 
+0604 20600000 rtn 
 
 p_data_less_than_check:
-05da 9a267c00 isub rega ,null 
-05db 24610000 nrtn positive 
-05dc 9a467c00 isub regb ,null 
-05dd 24610000 nrtn positive 
-05de 202005d8 branch p_disable_asm 
+0605 9a267c00 isub rega ,null 
+0606 24610000 nrtn positive 
+0607 9a467c00 isub regb ,null 
+0608 24610000 nrtn positive 
+0609 20200603 branch p_disable_asm 
 
 p_enable_asm:
-05df 704b0b01 jam 1 ,mem_mouse_asm_flag 
-05e0 20600000 rtn 
+060a 704b0b01 jam 1 ,mem_mouse_asm_flag 
+060b 20600000 rtn 
 
 p_data_abs_check:
-05e1 6801469b fetch 2 ,mem_mouse_x 
-05e2 600111c0 store 2 ,mem_data_current 
-05e3 204005ea call p_data_abs 
-05e4 1fe22200 copy pdata ,rega 
-05e5 6801469d fetch 2 ,mem_mouse_y 
-05e6 600111c0 store 2 ,mem_data_current 
-05e7 204005ea call p_data_abs 
-05e8 1fe22400 copy pdata ,regb 
-05e9 20600000 rtn 
+060c 6801469b fetch 2 ,mem_mouse_x 
+060d 600111c0 store 2 ,mem_data_current 
+060e 20400615 call p_data_abs 
+060f 1fe22200 copy pdata ,rega 
+0610 6801469d fetch 2 ,mem_mouse_y 
+0611 600111c0 store 2 ,mem_data_current 
+0612 20400615 call p_data_abs 
+0613 1fe22400 copy pdata ,regb 
+0614 20600000 rtn 
 
 p_data_abs:
-05ea 680091c1 fetch 1 ,mem_data_current + 1 
-05eb c07f85ef beq 0xff ,p_data_reversal 
-05ec 680091c0 fetch 1 ,mem_data_current 
+0615 680091c1 fetch 1 ,mem_data_current + 1 
+0616 c07f861a beq 0xff ,p_data_reversal 
+0617 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-05ed 1fe17eff and_into 0xff ,pdata 
-05ee 20600000 rtn 
+0618 1fe17eff and_into 0xff ,pdata 
+0619 20600000 rtn 
 
 p_data_reversal:
-05ef 680111c0 fetch 2 ,mem_data_current 
-05f0 1fe67e00 sub pdata ,0 ,pdata 
-05f1 202005ed branch p_data_abs_store 
-org 0x2000
+061a 680111c0 fetch 2 ,mem_data_current 
+061b 1fe67e00 sub pdata ,0 ,pdata 
+061c 20200618 branch p_data_abs_store 
+              org 0x2000
 
 start:
 2000 20402abc call lpmstate 
@@ -34665,4 +34720,4 @@
 7ffb e0a08000 istore 1 ,contw 
 7ffc c2007ff9 loop reverse_loop 
 7ffd 20600000 rtn 
-rtn 
+
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/LeXiang/BT&BLE_Trust/program/patch.prog	(revision 2209)
+++ /branch/mouse_project/LeXiang/BT&BLE_Trust/program/patch.prog	(working copy)
@@ -1628,7 +1628,7 @@
 
 p_mouse_idle:
 	call ui_check_paring_button
-	call mouse_dpi_cheak
+	call p_mouse_dpi_cheak
 	branch mouse_wheel_check
 
 p_mouse_priority_bb_event:
@@ -1776,9 +1776,13 @@
 	
 	call mouse_read_sensor_common
 
-	call p_mouse_tx_power_init
-	call p_mouse_set_24g_addr_eeprom	//store rx dongle addr to eeprom
-	branch iicd_write_protect_eep_data
+	jam 2,mem_mouse_delay_store_timer
+	fetch 1,mem_mouse_store_flag
+	set1 MOUSE_STORE_24G,pdata
+	store 1,mem_mouse_store_flag
+
+	branch p_mouse_tx_power_init
+		
 
 p_mouse_set_24g_addr_eeprom:
 	arg mem_24g_addr,rega
@@ -1786,6 +1790,11 @@
 	arg 4,temp
 	rtn
 
+p_mouse_store_24g_addr_eeprom:
+	call p_mouse_set_24g_addr_eeprom
+	branch iicd_write_protect_eep_data
+
+
 p_mouse_24g_attempt_fail:
 	call p_mouse_sensor_powerdown_check
 	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
@@ -1846,6 +1855,7 @@
 	call mouse_check_hid_handshake_timer
 	call p_mouse_bt_check_sniff_req_timeout_timer
 endif
+	call p_mouse_delay_store_eeprom_timer
 	branch mouse_check_no_data_timeout_timer
 
 ifdef CLASSIC_BT
@@ -1943,6 +1953,32 @@
 	jam 40,mem_mouse_null_enter_hibernate_timer	//lmr 3s
 	rtn	
 
+p_mouse_delay_store_eeprom_timer:
+	arg mem_mouse_delay_store_timer,regc
+	arg p_mouse_delay_store_eeprom,regb
+	branch timer_single_step
+
+p_mouse_delay_store_eeprom:
+	fetch 1,mem_mouse_store_flag
+	isolate1,MOUSE_STORE_DPI,pdata
+	call mouse_store_eerpom_dpi,true
+ifdef G24	
+	fetch 1,mem_mouse_store_flag
+	isolate1,MOUSE_STORE_24G,pdata
+	call p_mouse_store_24g_addr_eeprom,true	//store rx dongle addr to eeprom,true
+endif	
+	fetch 1,mem_mouse_store_flag
+	isolate1,MOUSE_STORE_BT,pdata
+	call eeprom_store_bd_reconn_info,true
+	fetch 1,mem_mouse_store_flag
+	isolate1,MOUSE_STORE_BLE,pdata
+	call p_eeprom_store_le_reconn_info,true
+	jam 0,mem_mouse_store_flag
+	rtn
+
+p_eeprom_store_le_reconn_info:
+	call eeprom_store_le_reconn_info
+	branch p_mouse_store_eerpom_random_addr_increase_count
 	
 ifdef ADC_ENABLE
 p_mouse_adc_read:
@@ -2022,6 +2058,23 @@
 
 endif
 
+p_mouse_dpi_cheak:
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_get_bit
+	nbranch mouse_dpi_up,true
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_mouse_dpi_button_state
+	jam 2,mem_mouse_delay_store_timer
+	fetch 1,mem_mouse_store_flag
+	set1 MOUSE_STORE_DPI,pdata
+	store 1,mem_mouse_store_flag
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	branch mouse_seting_dpi
+
 p_mouse_dpi_led_blink_delay_timer:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_DPI_LED_BLINK
@@ -2214,7 +2267,7 @@
 	increase 1,temp
 	storet 2,mem_random_addr_increase_count
 	storet 2,mem_le_lap+1
-	call p_mouse_store_eerpom_random_addr_increase_count
+//	call p_mouse_store_eerpom_random_addr_increase_count
 	random pdata
 	store 1,mem_le_lap
 endif
@@ -2578,6 +2631,8 @@
 	fetch 1,mem_fifo_temp
 	bmark0 mark_context,check_51cmd_check_idle
 	beq BT_CMD_LE_UPDATE_CONN,p_check_51cmd_ble_update_connect_param
+	beq BT_CMD_STORE_RECONN_INFO_LE,p_delay_store_ble_info
+	beq BT_CMD_STORE_RECONN_INFO_BT,p_delay_store_bt_info
 	branch check_51cmd_once_continue+2
 
 p_check_51cmd_ble_update_connect_param:
@@ -2585,6 +2640,21 @@
 	nrtn blank
 	branch le_l2cap_tx_update_req
 
+p_delay_store_ble_info:
+	jam 2,mem_mouse_delay_store_timer
+	fetch 1,mem_mouse_store_flag
+	set1 MOUSE_STORE_BLE,pdata
+	store 1,mem_mouse_store_flag
+	rtn
+
+p_delay_store_bt_info:
+	jam 2,mem_mouse_delay_store_timer
+	fetch 1,mem_mouse_store_flag
+	set1 MOUSE_STORE_BT,pdata
+	store 1,mem_mouse_store_flag
+	rtn
+	
+
 ifdef CLASSIC_BT
 p_page_wait_fhs_reply_ok:
  	fetch 1, mem_page_rcv_fhs
