Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/format/app_mouse.format	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/format/app_mouse.format	(working copy)
@@ -323,6 +323,9 @@
 
 1 mem_sensor_shutdown_flag
 
+//patch area
+1 mem_power_on_flag
+
 38 mem_sensor_8650_init_new
 )
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/eeprom.dat	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-52
-03
+d2
+01
 c2
 84
 00
@@ -11,27 +11,27 @@
 c0
 00
 00
-35
+0a
 c0
 45
 80
-96
+0e
 c0
 57
 00
-0a
+19
 c0
 64
 80
-a4
+53
 c0
 65
 00
-ac
+5b
 c0
 69
 80
-c0
+60
 20
 20
 13
@@ -39,12 +39,72 @@
 c0
 75
 00
-b1
+44
 20
 20
 13
 7c
 20
+80
+00
+00
+20
+40
+30
+f3
+20
+40
+3b
+fd
+20
+20
+08
+04
+70
+8a
+8b
+e6
+20
+40
+12
+6a
+20
+40
+12
+71
+20
+40
+12
+77
+70
+8a
+6d
+09
+70
+8a
+03
+05
+70
+8a
+7a
+94
+70
+8a
+0e
+0b
+70
+8a
+0f
+05
+70
+8a
+83
+90
+20
+20
+12
+5d
+20
 40
 6d
 f3
@@ -74,8 +134,8 @@
 28
 20
 40
-3b
-cf
+00
+25
 20
 40
 42
@@ -95,7 +155,7 @@
 58
 00
 00
-19
+28
 67
 e1
 48
@@ -123,7 +183,7 @@
 c3
 0a
 80
-20
+2f
 6f
 e0
 cb
@@ -143,7 +203,7 @@
 c2
 80
 80
-2f
+3e
 68
 48
 c7
@@ -217,720 +277,642 @@
 26
 e1
 20
-80
-00
+40
+26
+31
+24
+34
+26
+a1
+20
+40
+26
+46
+20
+40
+26
+ee
+6f
+e0
+cb
+e1
+24
+3a
 00
+4e
+6f
+e4
+48
+b0
+67
+e4
+48
+5c
+6f
+e1
+48
+c2
+67
+e1
+48
+c4
 20
 40
+26
+bb
+24
+74
+00
 00
-38
 20
+40
+7f
+dc
+6f
+e1
+c8
+ad
 20
-08
-04
 20
-75
-80
-00
+26
+b8
 20
 40
-5c
-15
+42
+e9
 20
 40
-5c
-1e
+7f
+dc
 20
 40
-5c
-24
-20
+3e
 40
-5c
-29
+d8
+40
+00
+13
 20
 40
-5c
-2f
+3f
+56
+6f
+e0
+c9
 20
+d8
 40
-5c
-33
+00
+3f
 20
 20
-00
+60
+93
+20
+40
+3f
+88
+6f
+e0
+c9
+1f
+d8
 40
-70
-0b
-58
-ff
-70
-47
-90
-ff
-70
-47
-8f
-1e
-58
 00
-49
-2d
-67
-e1
-44
-8d
-70
+3f
+20
+40
+60
+93
+20
+20
+3e
 44
-8c
-01
-58
+20
+40
+3f
+65
+20
+75
+80
 00
-4a
-b5
-67
-e1
-48
-99
-70
-48
+20
+40
+42
 36
-01
-6f
-e1
-48
-fe
-67
-e1
-47
-91
-6f
-e1
-49
+20
+40
+41
+b5
+c0
+18
 00
-67
-e1
-48
-81
-6f
-e0
-c9
-03
-67
-e1
-48
-85
-6f
-e2
-c9
-05
-67
-e2
-c8
-cb
-6f
-e0
-c9
-04
-67
-e0
-c8
-7c
-6f
-e4
-4b
-ab
-24
-7a
-00
-00
-58
-4a
-08
-04
-67
-e1
-cb
-ab
-58
-80
-00
-00
-e7
-e1
-80
-05
-58
+6a
+c0
+18
+c2
+17
+c0
+2c
+42
+20
+20
+40
+41
+b2
+20
 00
-03
-03
-e7
-e1
+1a
+f4
+20
+20
 00
-05
-70
-40
-99
-01
+63
 6f
 e0
 c9
-0a
-2f
-ef
-fe
+c2
+c0
+2d
 00
+6d
 20
-40
-c6
-e6
-6f
-e0
-c9
-0a
-2f
-ef
-fe
-02
 20
-40
-c6
-e8
-6f
-e0
-c9
-0a
-2f
-ef
-fe
-01
+41
+be
+70
+49
+27
+05
+58
+00
+80
+06
 20
 40
-c6
-ea
-6f
-e0
-c9
-0a
-2f
-ef
-fe
-03
+5b
+0c
 20
 40
-c6
-ec
-6f
-e0
-c9
-0a
-2f
-ef
-fe
-04
+7d
+12
+da
+60
+4b
+e3
 20
 40
-c6
-ee
-6f
-e0
-c9
-0a
-2f
-ef
-fe
-05
+42
+2b
 20
-40
-c6
-f8
-6f
-e0
-c8
-66
-24
-5a
-23
-0e
 20
 40
-3b
-fd
-6f
-e0
-c9
-0b
-1f
-e1
-04
-07
-60
-48
-c4
-a1
-1f
-e9
-7e
+8e
+ba
+b9
+aa
+55
+40
 00
-1f
-e1
-04
+00
+40
 01
-60
-48
-c8
-66
-1f
-e3
-7e
 00
-1f
-e1
-04
-03
-60
-48
-c8
-fd
-1f
-eb
-7e
 00
-1f
-e1
-7e
-03
-20
-40
-47
-d4
-6f
-e0
-c9
-0c
-1f
-e1
-04
-03
-60
-48
-c9
-24
-1f
-eb
-7e
 00
-1f
-e1
-04
-03
-60
-48
-c9
-25
-1f
-eb
-7e
 00
-1f
-e1
-7e
-03
-67
-e0
-c9
-26
-67
-e0
-c9
-92
-1f
-eb
-7e
 00
-1f
-e1
-7e
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+08
+00
+00
+00
+40
+00
+00
+00
+06
+08
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+04
+00
+00
+aa
+55
+01
+00
+9a
+40
+08
+aa
+55
 03
-67
-e0
-cb
-b4
-58
+00
+7a
+41
+88
+12
+ca
+aa
+55
+01
+00
+c5
+40
+18
+aa
+55
+01
+00
+ef
+41
+ff
+aa
+55
+02
+00
+ca
+40
+ef
+41
+aa
+55
+01
+00
+7d
+41
+70
+aa
+55
+01
+00
+d0
+44
+00
+aa
+55
+01
+00
+ea
+41
+ff
+aa
+55
+01
+00
+ee
+41
+00
+aa
+55
+08
+00
+ab
+4b
+04
+18
+4a
+00
+00
+80
+03
+03
+aa
+55
 0c
+00
+fe
+48
+b0
+04
+58
+02
+32
+05
+94
+85
+90
+63
+75
+80
+aa
+55
+1a
+00
 0d
+49
 0b
-67
-e1
-c9
-18
-58
+0c
+0d
 ff
 ff
 ff
-e7
-e1
-80
 05
-58
-06
+04
+ff
+ff
+0a
+0b
+0d
+0c
+ff
+ff
+ff
+ff
 07
+06
 ff
-e7
-e1
-80
-05
-58
 ff
 ff
+00
+03
+00
+aa
+55
+01
+00
+58
+0b
 ff
-e7
-e1
-80
+aa
+55
+12
+00
+cc
+4b
+00
 05
-58
 00
-1f
-80
-67
-e1
-44
-79
-70
-44
-83
-80
-20
-20
-3c
-54
-70
-8a
-8b
-e6
-20
-40
-12
-6a
-20
+04
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+01
+00
+99
 40
-12
-71
-20
-40
-12
-77
-70
-8a
-6d
-09
-70
-8a
+01
+aa
+55
+02
+00
+b3
+4b
 03
-05
-70
-8a
-7a
-94
-70
-8a
-0e
-0b
-70
-8a
-0f
-05
-70
-8a
-83
-90
-6f
-e0
-c0
-c5
-c0
-84
-12
-60
-70
-8a
+01
+aa
+55
 08
+00
+38
+49
+00
 34
-20
-20
-12
-60
-20
-40
-42
-e9
-20
-40
-7f
-dc
-20
-40
-3e
-40
-d8
-40
+ff
+ff
+ff
+ff
+ff
+ff
+aa
+55
+07
 00
-13
-20
-40
-3f
 56
-6f
-e0
-c9
-20
-d8
-40
+49
+34
+ff
+ff
+ff
+ff
+ff
+ff
+aa
+55
+17
 00
-3f
-20
-20
-60
-93
-20
-40
-3f
-88
-6f
-e0
-c9
-1f
-d8
-40
+73
+49
+33
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+aa
+55
+13
+00
+b5
+4b
 00
-3f
-20
 40
+0a
 60
-93
-20
-20
-3e
-44
-20
-40
-26
-31
-24
-34
-26
-a1
-20
-40
-26
-46
-20
-40
-26
-ee
-6f
-e0
-cb
-e1
-24
-3a
+06
+05
 00
-bb
-6f
-e4
-48
-b0
-67
-e4
+08
+07
+70
+17
+14
+0a
+90
+01
+e8
+03
+90
+01
+aa
+55
+02
+00
+ca
+4b
+07
+03
+aa
+55
+01
+00
+c0
+49
+05
+aa
+55
+01
+00
+fd
 48
-5c
-6f
-e1
+02
+aa
+55
+01
+00
+a1
+44
+05
+aa
+55
+06
+00
+e3
 48
-c2
-67
-e1
+05
+01
+9f
+00
+b1
+00
+aa
+55
+0a
+00
+eb
 48
-c4
-20
-40
-26
-bb
-24
-74
+10
 00
+52
 00
-20
-40
-7f
-dc
-6f
-e1
-c8
-ad
-20
-20
-26
-b8
-20
-40
-3f
-65
-20
-75
-80
-00
-20
-40
-42
-36
-20
-40
-41
-b5
-c0
-18
-00
-ca
-c0
-18
-c2
-17
-c0
-2c
-42
-20
-20
-40
-41
-b2
-20
-00
-1a
-f4
-20
-20
+35
 00
-c3
-6f
-e0
-c9
-c2
-c0
-2d
+21
 00
-cd
-20
-20
-41
-be
-70
-49
-27
-05
-58
+25
 00
-80
-06
-20
-40
-5b
-0c
-20
-40
-7d
-12
-da
-60
-4b
-e2
-20
-40
-42
-2b
-20
-20
-40
-8e
-9c
-b6
 aa
 55
-40
-00
-00
-40
 01
 00
+f7
+48
+0a
+aa
+55
+02
 00
+c8
+4b
+64
 00
+aa
+55
+03
 00
+de
+4b
 00
 00
 00
+aa
+55
+01
 00
+ab
+4a
+ff
+aa
+55
+01
 00
+e2
+4b
+01
+aa
+55
+01
 00
+77
+41
+20
+aa
+55
+01
 00
-00
-00
-00
-00
-00
-08
-00
-00
-00
-40
-00
-00
-00
-06
-08
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-04
-00
-00
+8a
+4b
+20
 aa
 55
 01
 00
-9a
-40
-08
+7d
+44
+06
 aa
 55
 06
@@ -945,731 +927,749 @@
 22
 aa
 55
-1a
+14
 00
-fe
-48
-b0
-04
-58
-02
-32
-05
-94
-85
-90
-63
+fc
+45
+13
+42
+6c
 75
-80
-0a
-83
-4c
-0b
-0c
-0d
-ff
-ff
-ff
-05
-04
-ff
-ff
-0a
+65
+74
+6f
+6f
+74
+68
+20
+4d
+6f
+75
+73
+65
+20
+33
+2e
+30
 aa
 55
+05
+00
+55
+44
+0e
+00
 01
 00
-9a
-40
-08
+02
 aa
 55
 01
 00
-7b
 41
-12
+46
+0a
 aa
 55
 01
 00
-7d
-41
-70
+64
+47
+01
 aa
 55
 01
 00
-d0
-44
+78
+46
 00
 aa
 55
 01
 00
-ea
+5f
 41
-ff
+00
 aa
 55
-01
+03
 00
-ee
-41
+65
+47
+03
 00
+04
 aa
 55
 01
 00
-c0
-49
-05
+8e
+47
+01
 aa
 55
-26
+01
 00
-e2
-4b
-09
-5a
-ff
-27
-ab
+d8
 40
-b3
-56
-9b
-e6
-a8
-12
-a9
-c0
-be
-e6
-a5
-af
-a0
-21
-a1
-02
-b8
-10
-b9
-0b
-a7
-ff
-b5
-d0
-b6
-00
-ff
-00
-09
+01
+aa
+55
+0c
 00
-ff
-ff
+e7
+43
+1f
+02
+01
+05
+03
+03
+12
+18
+03
+19
+c2
+03
 aa
 55
-10
+14
 00
-71
+d2
 4a
-09
-5a
 06
-02
+ff
+06
+00
+03
+00
+80
+0c
 09
-69
-0d
-48
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
 0e
-9f
-0f
-ba
-09
 00
-ff
-ff
-55
+07
+44
+1f
+0c
+09
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
 aa
+55
+0c
+00
+f7
+42
+0b
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
 aa
 55
-fd
-3e
-a8
-bd
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+08
+00
+72
+43
+07
+00
+07
+00
+20
+00
+2c
+01
+aa
+55
+06
+00
+cc
+4a
+03
+12
+18
 ff
+00
+00
+aa
+55
+04
+00
+28
+44
+00
+00
+00
+00
+aa
+55
+01
+00
+32
+44
+07
+aa
+55
+08
+00
+4c
+44
+fb
+00
+48
+08
+fb
+00
+48
+08
+aa
+55
+06
+00
+7a
+43
+8e
+b1
+3a
+0e
+8e
+ed
+aa
+55
+02
+00
+e7
+4a
+15
+00
+aa
+55
+02
+00
+57
+43
+19
+00
+aa
+55
+06
+00
+e9
+4a
+1d
+00
+21
+00
+30
+00
+aa
+55
+02
+00
+d1
+43
+2d
+00
+aa
+55
+01
+00
+f0
+4a
+96
+aa
+55
+01
+00
+86
+44
 ff
+aa
+55
+01
+00
+90
+47
 ff
+aa
+55
+01
+00
+8f
+47
+1e
+aa
+55
+0c
+00
+d0
+49
+03
+04
+01
+02
+35
+3f
+1b
+2b
+06
+0c
+10
+04
+aa
+55
+5a
+00
+df
+49
+09
+5a
+26
+34
+19
+04
+09
+00
 ff
 ff
+09
+5a
+0d
+f0
+1d
+e3
+7d
+d2
 ff
 ff
+09
+5a
+0d
+10
+1d
+ed
+7d
+80
 ff
 ff
+1b
+35
+28
+b4
+29
+46
+2a
+96
+2b
+8c
+2c
+6e
+2d
+64
+38
+5f
+39
+0f
+3a
+32
+3b
+47
+42
+10
 ff
 ff
+54
+2e
+55
+f2
+61
+f4
+63
+70
+75
+52
+76
+41
+77
+ed
+78
+23
+79
+46
+7a
+e5
+7c
+48
+7e
+77
+7f
+01
+0b
+00
+7f
+00
+09
+00
 ff
 ff
+aa
+55
+26
+00
+e3
+4b
+09
+5a
 ff
+27
+ab
+40
+b3
+56
+9b
+e6
+a8
+12
+a9
+c0
+be
+e6
+a5
+af
+a0
+21
+a1
+02
+b8
+10
+b9
+0b
+a7
 ff
+b5
+d0
+b6
+00
 ff
+00
+09
+00
 ff
 ff
+aa
+55
+2e
+00
+53
+4a
+09
+5a
+0d
+10
+0e
+c5
+5b
+9a
+10
+38
+11
+42
+28
+28
+41
+23
+49
+39
+4a
+b0
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+80
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+00
+55
+aa
+aa
+55
+fb
+64
+9d
+a5
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-05
-5f
+02
+b6
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/memmap.format	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/memmap.format	(working copy)
@@ -2203,7 +2203,8 @@
 0x4bd5 mem_customer_key_release
 0x4bde mem_mouse_set_high_impedance_bit_set
 0x4be1 mem_sensor_shutdown_flag
-0x4be2 mem_sensor_8650_init_new
+0x4be2 mem_power_on_flag
+0x4be3 mem_sensor_8650_init_new
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/program.lis	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/output/program.lis	(working copy)
@@ -1,263 +1,163 @@
               include "bt_format "
               org 0x0000
 0000 c2840008 bbit1 8 ,pf_patch_ext 
-0001 c0000035 beq patch00_0 ,p_soft_reset 
-0002 c0458096 beq patch11_3 ,p_initialize_radio_cont 
-0003 c057000a beq patch15_6 ,p_app_init 
-0004 c06480a4 beq patch19_1 ,p_mouse_setgpio_hibernate 
-0005 c06500ac beq patch19_2 ,p_mouse_lpm_before_common 
-0006 c06980c0 beq patch1a_3 ,p_mouse_init_sunt 
+0001 c000000a beq patch00_0 ,p_soft_reset 
+0002 c045800e beq patch11_3 ,p_initialize_radio_cont 
+0003 c0570019 beq patch15_6 ,p_app_init 
+0004 c0648053 beq patch19_1 ,p_mouse_setgpio_hibernate 
+0005 c065005b beq patch19_2 ,p_mouse_lpm_before_common 
+0006 c0698060 beq patch1a_3 ,p_mouse_init_sunt 
 0007 2020137c branch loop 
 
 pf_patch_ext:
-0008 c07500b1 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0008 c0750044 beq patch3d_2 ,p_g24_transmit_no_interrupt 
 0009 2020137c branch loop 
 
+p_soft_reset:
+000a 20800000 clear_stack 
+000b 204030f3 call app_param_init 
+000c 20403bfd call mouse_xtal_init 
+000d 20200804 branch soft_reset + 3 
+
+p_initialize_radio_cont:
+000e 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+000f 2040126a call initialize_syn_afc_cfg1 
+0010 20401271 call initialize_rf_ldo_cfg1 
+0011 20401277 call initialize_rc_cal 
+0012 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0013 708a0305 jam 5 ,core_clkpll_cfg0 
+0014 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0015 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0016 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0017 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0018 2020125d branch initialize_radio_cont + 8 
+
 p_app_init:
 
 p_mouse_init:
-000a 20406df3 call enable_authrom 
-000b 20403bf0 call mouse_setting_config 
-000c 204041a7 call mouse_init_sunt 
-000d 2040408e call mouse_dpi_config 
-000e 20758000 rtn wake 
-000f 20403d8a call mouse_usb_check_enable 
-0010 20404728 call mouse_drawing_optima_init 
-0011 20403bcf call mouse_cb_fuction 
-0012 2040423c call mouse_sensor_powerdown 
-0013 6fe0c92a fetch 1 ,mem_usb_addr 
-0014 c3838000 rtnbit1 7 
+0019 20406df3 call enable_authrom 
+001a 20403bf0 call mouse_setting_config 
+001b 204041a7 call mouse_init_sunt 
+001c 2040408e call mouse_dpi_config 
+001d 20758000 rtn wake 
+001e 20403d8a call mouse_usb_check_enable 
+001f 20404728 call mouse_drawing_optima_init 
+0020 20400025 call p_mouse_cb_fuction 
+0021 2040423c call mouse_sensor_powerdown 
+0022 6fe0c92a fetch 1 ,mem_usb_addr 
+0023 c3838000 rtnbit1 7 
 
 p_mouse_init_wireless:
-0015 20203d52 branch mouse_start_work 
+0024 20203d52 branch mouse_start_work 
 
 p_mouse_cb_fuction:
-0016 58000019 setarg p_mouse_24g_package_data 
-0017 67e1489b store 2 ,mem_cb_24g_transmit_data 
-0018 20203bd1 branch mouse_cb_fuction + 2 
+0025 58000028 setarg p_mouse_24g_package_data 
+0026 67e1489b store 2 ,mem_cb_24g_transmit_data 
+0027 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_24g_package_data:
-0019 c6930000 rtnmark0 mark_24g 
-001a 20403f70 call mouse_motion 
-001b 24740000 nrtn user 
-001c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-001d c30a8020 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-001e 6fe0cb8b fetch 1 ,mem_customer_key 
-001f 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+0028 c6930000 rtnmark0 mark_24g 
+0029 20403f70 call mouse_motion 
+002a 24740000 nrtn user 
+002b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+002c c30a802f bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+002d 6fe0cb8b fetch 1 ,mem_customer_key 
+002e 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0020 204042cb call mouse_data_xy_release 
-0021 6fe0c836 fetch 1 ,mem_24g_data_type 
-0022 c280802f bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-0023 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-0024 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0025 9841fe00 ior temp ,pdata 
-0026 67e0c8d0 store 1 ,mem_mouse_key 
-0027 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-0028 6fe0c8d5 fetch 1 ,mem_mouse_z 
-0029 9840fe00 iadd temp ,pdata 
-002a 67e0c8d5 store 1 ,mem_mouse_z 
-002b 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-002c 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-002d 9840fe00 iadd temp ,pdata 
-002e 67e0c8d6 store 1 ,mem_mouse_tz 
+002f 204042cb call mouse_data_xy_release 
+0030 6fe0c836 fetch 1 ,mem_24g_data_type 
+0031 c280803e bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+0032 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+0033 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0034 9841fe00 ior temp ,pdata 
+0035 67e0c8d0 store 1 ,mem_mouse_key 
+0036 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+0037 6fe0c8d5 fetch 1 ,mem_mouse_z 
+0038 9840fe00 iadd temp ,pdata 
+0039 67e0c8d5 store 1 ,mem_mouse_z 
+003a 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+003b 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+003c 9840fe00 iadd temp ,pdata 
+003d 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-002f 70483601 jam type_ms ,mem_24g_data_type 
-0030 da200007 arg 7 ,rega 
-0031 da4048d0 arg mem_mouse_key ,regb 
-0032 6fe148d5 fetch 2 ,mem_mouse_z 
-0033 207a0000 rtn blank 
-0034 202026e1 branch g24_transmit_by_interrupt_enable 
-
-p_soft_reset:
-0035 20800000 clear_stack 
-0036 20400038 call p_app_param_init 
-0037 20200804 branch soft_reset + 3 
-
-p_app_param_init:
-0038 20758000 rtn wake 
-0039 20405c15 call app_read_efuse_sys_config 
-003a 20405c1e call app_read_efuse_dig_aon_vsel 
-003b 20405c24 call app_read_efuse_syn_afc_cfg1 
-003c 20405c29 call app_read_efuse_rf_ldo_cfg1 
-003d 20405c2f call app_read_efuse_rc_cal 
-003e 20405c33 call app_read_efuse_agc 
-003f 20200040 branch p_mouse_default_init 
-
-p_mouse_default_init:
-0040 700b58ff jam 0xff ,mem_usb_offline_check_gpio 
-0041 704790ff jam 0xff ,mem_ui_button_gpio 
-0042 70478f1e jam 0x1e ,mem_ui_button_timeout 
-0043 5800492d setarg mem_mouse_led_type 
-0044 67e1448d store 2 ,mem_ui_led_struct_ptr 
-0045 70448c01 jam 1 ,mem_ui_led_struct_num 
-0046 58004ab5 setarg mem_mouse_rssi_signal_buf 
-0047 67e14899 store 2 ,mem_rssi_signal_buf_ptr 
-0048 70483601 jam 1 ,mem_24g_data_type 
-0049 6fe148fe fetch 2 ,mem_mouse_discovery_timeout 
-004a 67e14791 store 2 ,mem_discovery_timeout 
-004b 6fe14900 fetch 2 ,mem_mouse_24g_pair_timeout_init 
-004c 67e14881 store 2 ,mem_24g_pair_timeout_init 
-004d 6fe0c903 fetch 1 ,mem_mouse_24g_reconn_timeout_init 
-004e 67e14885 store 2 ,mem_24g_reconn_timeout_init 
-004f 6fe2c905 fetch 5 ,mem_rssi_dis_min_24g_init 
-0050 67e2c8cb store 5 ,mem_rssi_dis_min_24g 
-0051 6fe0c904 fetch 1 ,mem_mouse_24g_pair_tx_power 
-0052 67e0c87c store 1 ,mem_24g_pair_tx_power 
-0053 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0054 247a0000 nrtn blank 
-0055 584a0804 setarg 0x4a0804 
-0056 67e1cbab store 3 ,mem_mouse_flag 
-0057 58800000 setarg 0x800000 
-0058 e7e18005 istore 3 ,contw 
-0059 58000303 setarg 0x0303 
-005a e7e10005 istore 2 ,contw 
-005b 70409901 jam 1 ,mem_lpm_mode 
-005c 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-005d 2feffe00 isolate1 mouse_adc_enable ,pdata 
-005e 2040c6e6 call mouse_adc_read_enable ,true 
-005f 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-0060 2feffe02 isolate1 mouse_24g_250hz_enable ,pdata 
-0061 2040c6e8 call mouse_24g_set_250hz ,true 
-0062 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-0063 2feffe01 isolate1 mouse_search_dongle_enable ,pdata 
-0064 2040c6ea call mouse_24g_search_dongle_enable ,true 
-0065 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-0066 2feffe03 isolate1 mouse_clk_16m_enable ,pdata 
-0067 2040c6ec call mouse_16m_enable ,true 
-0068 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-0069 2feffe04 isolate1 mouse_dpi_4_level_enable ,pdata 
-006a 2040c6ee call mouse_dpi_4level_enable ,true 
-006b 6fe0c90a fetch 1 ,mem_mouse_enable_flag 
-006c 2feffe05 isolate1 mouse_keyboard_enable ,pdata 
-006d 2040c6f8 call mouse_customer_key_enable ,true 
-006e 6fe0c866 fetch 1 ,mem_24g_ch_map_update 
-006f 245a230e ncall g24_chamap_param_update ,blank 
-0070 20403bfd call mouse_xtal_init 
-0071 6fe0c90b fetch 1 ,mem_mouse_global_setup 
-0072 1fe10407 and pdata ,0x07 ,temp 
-0073 6048c4a1 storet 1 ,mem_adc_channel 
-0074 1fe97e00 rshift3 pdata ,pdata 
-0075 1fe10401 and pdata ,0x01 ,temp 
-0076 6048c866 storet 1 ,mem_24g_ch_map_update 
-0077 1fe37e00 rshift pdata ,pdata 
-0078 1fe10403 and pdata ,0x03 ,temp 
-0079 6048c8fd storet 1 ,mem_adc_config_flag_init 
-007a 1feb7e00 rshift2 pdata ,pdata 
-007b 1fe17e03 and pdata ,0x03 ,pdata 
-007c 204047d4 call mouse_24g_long_sleep_set 
-007d 6fe0c90c fetch 1 ,mem_mouse_global_setup1 
-007e 1fe10403 and pdata ,0x03 ,temp 
-007f 6048c924 storet 1 ,mem_sensor_angle_default 
-0080 1feb7e00 rshift2 pdata ,pdata 
-0081 1fe10403 and pdata ,0x03 ,temp 
-0082 6048c925 storet 1 ,mem_sensor_angle_switch 
-0083 1feb7e00 rshift2 pdata ,pdata 
-0084 1fe17e03 and pdata ,0x03 ,pdata 
-0085 67e0c926 store 1 ,mem_config_sensor_dpi 
-0086 67e0c992 store 1 ,mem_mouse_dpi 
-0087 1feb7e00 rshift2 pdata ,pdata 
-0088 1fe17e03 and pdata ,0x03 ,pdata 
-0089 67e0cbb4 store 1 ,mem_device_number 
-008a 580c0d0b setarg 0x0c0d0b 
-008b 67e1c918 store 3 ,mem_lbutton_gpio 
-008c 58ffffff setarg 0xffffff 
-008d e7e18005 istore 3 ,contw 
-008e 580607ff setarg 0x0607ff 
-008f e7e18005 istore 3 ,contw 
-0090 58ffffff setarg 0xffffff 
-0091 e7e18005 istore 3 ,contw 
-0092 58001f80 setarg 0x1f80 
-0093 67e14479 store 2 ,mem_eeprom_base 
-0094 70448380 jam 0x80 ,mem_eeprom_block_size 
-0095 20203c54 branch mouse_default_init_next 
-
-p_initialize_radio_cont:
-0096 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0097 2040126a call initialize_syn_afc_cfg1 
-0098 20401271 call initialize_rf_ldo_cfg1 
-0099 20401277 call initialize_rc_cal 
-009a 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-009b 708a0305 jam 5 ,core_clkpll_cfg0 
-009c 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-009d 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-009e 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-009f 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00a0 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-00a1 c0841260 bne xtal_16m ,initialize_radio_cont_next 
-00a2 708a0834 jam 0x34 ,core_clkpll_cfg5 
-00a3 20201260 branch initialize_radio_cont_next 
-
-p_mouse_setgpio_hibernate:
-00a4 204042e9 call mouse_set_sdio_high 
-00a5 20407fdc call clear_wake 
-00a6 20403e40 call mouse_lpm_before_common 
-00a7 d8400013 arg 19 ,temp 
-00a8 20403f56 call mouse_gpio_config_input_pu 
-00a9 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00aa d840003f arg gpcfg_output_high ,temp 
-00ab 20206093 branch gpio_config_function_int 
-
-p_mouse_lpm_before_common:
-00ac 20403f88 call mouse_wheel_check 
-00ad 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00ae d840003f arg gpcfg_output_high ,temp 
-00af 20406093 call gpio_config_function_int 
-00b0 20203e44 branch mouse_lpm_before_common_next 
+003e 70483601 jam type_ms ,mem_24g_data_type 
+003f da200007 arg 7 ,rega 
+0040 da4048d0 arg mem_mouse_key ,regb 
+0041 6fe148d5 fetch 2 ,mem_mouse_z 
+0042 207a0000 rtn blank 
+0043 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_g24_transmit_no_interrupt:
-00b1 20402631 call g24_txdata_prep 
-00b2 243426a1 nbranch g24_nodata_transmit ,user 
+0044 20402631 call g24_txdata_prep 
+0045 243426a1 nbranch g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-00b3 20402646 call g24_transmit_process 
-00b4 204026ee call power_ctrl_start 
-00b5 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00b6 243a00bb nbranch p_g24_short_sleep ,blank 
+0046 20402646 call g24_transmit_process 
+0047 204026ee call power_ctrl_start 
+0048 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0049 243a004e nbranch p_g24_short_sleep ,blank 
 
 p_g24_transmit_start_next:
-00b7 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-00b8 67e4485c store 8 ,mem_24g_enter_hibernate 
-00b9 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-00ba 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+004a 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+004b 67e4485c store 8 ,mem_24g_enter_hibernate 
+004c 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+004d 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-00bb 204026bb call g24_lpm_wait 
-00bc 24740000 nrtn user 
-00bd 20407fdc call clear_wake 
-00be 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-00bf 202026b8 branch g24_long_sleep2 
+004e 204026bb call g24_lpm_wait 
+004f 24740000 nrtn user 
+0050 20407fdc call clear_wake 
+0051 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0052 202026b8 branch g24_long_sleep2 
+
+p_mouse_setgpio_hibernate:
+0053 204042e9 call mouse_set_sdio_high 
+0054 20407fdc call clear_wake 
+0055 20403e40 call mouse_lpm_before_common 
+0056 d8400013 arg 19 ,temp 
+0057 20403f56 call mouse_gpio_config_input_pu 
+0058 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0059 d840003f arg gpcfg_output_high ,temp 
+005a 20206093 branch gpio_config_function_int 
+
+p_mouse_lpm_before_common:
+005b 20403f88 call mouse_wheel_check 
+005c 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+005d d840003f arg gpcfg_output_high ,temp 
+005e 20406093 call gpio_config_function_int 
+005f 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_init_sunt:
-00c0 20403f65 call mouse_sensor_spi_init 
-00c1 20758000 rtn wake 
+0060 20403f65 call mouse_sensor_spi_init 
+0061 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-00c2 20404236 call mouse_sensor_poweron 
+0062 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-00c3 204041b5 call mouse_read_sensor_id 
-00c4 c01800ca beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-00c5 c018c217 beq p3065_id1 ,mouse_init_p3065 
-00c6 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-00c7 204041b2 call mouse_twspi_reset 
-00c8 20001af4 nop 6900 
-00c9 202000c3 branch p_mouse_init_sensor 
+0063 204041b5 call mouse_read_sensor_id 
+0064 c018006a beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0065 c018c217 beq p3065_id1 ,mouse_init_p3065 
+0066 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+0067 204041b2 call mouse_twspi_reset 
+0068 20001af4 nop 6900 
+0069 20200063 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-00ca 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-00cb c02d00cd beq p_mx8650 ,p_mouse_mx8650_init_param 
-00cc 202041be branch mouse_init_p32xx_id2_judge + 2 
+006a 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+006b c02d006d beq p_mx8650 ,p_mouse_mx8650_init_param 
+006c 202041be branch mouse_init_p32xx_id2_judge + 2 
 
 p_mouse_mx8650_init_param:
-00cd 70492705 jam mx8650 ,mem_config_sensor_type 
-00ce 58008006 setarg 0x8006 
-00cf 20405b0c call twspi_write 
-00d0 20407d12 call delay_10ms 
-00d1 da604be2 arg mem_sensor_8650_init_new ,regc 
-00d2 2040422b call mouse_sensor_wr_seq 
-00d3 2020408e branch mouse_dpi_config 
+006d 70492705 jam mx8650 ,mem_config_sensor_type 
+006e 58008006 setarg 0x8006 
+006f 20405b0c call twspi_write 
+0070 20407d12 call delay_10ms 
+0071 da604be3 arg mem_sensor_8650_init_new ,regc 
+0072 2040422b call mouse_sensor_wr_seq 
+0073 2020408e branch mouse_dpi_config 
               org 0x800
 
 start:
@@ -4113,6 +4013,8 @@
 13b3 d8a00870 arg mem_sp_state_start ,contw 
 13b4 98a67200 isub contw ,loopcnt 
 13b5 20407d26 call clear_mem 
+
+init_param_next:
 13b6 44cfc013 bpatch patch13_7 ,mem_patch13 
 13b7 20758000 rtn wake 
 13b8 7045f709 jam bluetooth_core_specification_5_0 ,mem_lmp_version 
@@ -19378,6 +19280,8 @@
 4098 6fe0c927 fetch 1 ,mem_config_sensor_type 
 4099 c001c0bb beq p3212 ,mouse_seting_3212_dpi 
 409a c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
+
+mouse_seting_sensor_type_next:
 409b 6fe0c992 fetch 1 ,mem_mouse_dpi 
 409c c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
 409d c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
@@ -19998,6 +19902,8 @@
 4256 58000002 setarg pan_reg_motion_staus 
 4257 20405b0d call twspi_read 
 4258 c4038000 rtnbit0 7 
+
+mouse_p32xx_sensor_motion_3:
 4259 204042db call mouse_read_sensor_common 
 425a 6fe0c8d1 fetch 1 ,mem_mouse_x 
 425b 204042d3 call mouse_data_extsign 
Index: program/app_mouse.prog
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/app_mouse.prog	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/app_mouse.prog	(working copy)
@@ -1676,6 +1676,7 @@
 	fetch 1,mem_config_sensor_type
 	beq P3212,mouse_seting_3212_dpi
 	beq KA8G2,mouse_seting_ka8g2_dpi
+mouse_seting_sensor_type_next:
 	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
 	beq MOUSE_DPI_LEVEL2,mouse_set_cpi1		//1600
@@ -2288,6 +2289,7 @@
 	setarg PAN_REG_MOTION_STAUS
 	call twspi_read
 	rtnbit0 7
+mouse_p32xx_sensor_motion_3:
 	call mouse_read_sensor_common
 	fetch 1,mem_mouse_x
 	call mouse_data_extsign
Index: program/bt.prog
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/bt.prog	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/bt.prog	(working copy)
@@ -3903,6 +3903,7 @@
 	isub contw,loopcnt
 	call clear_mem
 
+init_param_next:
 	bpatch patch13_7,mem_patch13
 	rtn wake
 	jam BLUETOOTH_CORE_SPECIFICATION_5_0,mem_lmp_version
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/patch.prog	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/program/patch.prog	(working copy)
@@ -12,6 +12,31 @@
 	beq patch3d_2,p_g24_transmit_no_interrupt
 	branch loop
 
+p_soft_reset:
+	clear_stack
+	call app_param_init
+	call mouse_xtal_init		// 16M / 24M
+	branch soft_reset+3 
+
+
+p_initialize_radio_cont:
+	jam 0xe6,core_syn_aac_cfg1
+
+	call initialize_syn_afc_cfg1
+	call initialize_rf_ldo_cfg1
+	call initialize_rc_cal
+	
+	jam 0x09,core_rx_bq_cfg0
+
+	jam 5,core_clkpll_cfg0
+	jam 0x94,core_rx_iqadc_cfg
+
+	jam 0x0b,core_rf_ldo_cfg2
+	jam 0x05,core_rf_ldo_cfg3
+	jam 0x90,core_syn_pfd_lkd_cfg
+
+	branch initialize_radio_cont+8
+
 p_app_init:
 p_mouse_init:
 	call enable_authrom
@@ -21,7 +46,7 @@
 	rtn wake
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
-	call mouse_cb_fuction
+	call p_mouse_cb_fuction
 	call mouse_sensor_powerdown
 	fetch 1,mem_usb_addr
 	rtnbit1 7
@@ -68,170 +93,6 @@
 	rtn blank
 	branch g24_transmit_by_interrupt_enable
 
-p_soft_reset:
-	clear_stack
-	call p_app_param_init
-	branch soft_reset+3
-
-p_app_param_init:
-	rtn wake
-	call app_read_efuse_sys_config
-	call app_read_efuse_dig_aon_vsel
-	call app_read_efuse_syn_afc_cfg1
-	call app_read_efuse_rf_ldo_cfg1
-	call app_read_efuse_rc_cal
-	call app_read_efuse_agc
-	branch p_mouse_default_init
-
-p_mouse_default_init:
-	jam 0xff,mem_usb_offline_check_gpio
-	jam 0xff,mem_ui_button_gpio
-	jam 0x1e,mem_ui_button_timeout
-
-	setarg mem_mouse_led_type
-	store 2,mem_ui_led_struct_ptr
-	jam 1,mem_ui_led_struct_num
-
-	setarg mem_mouse_rssi_signal_buf
-	store 2,mem_rssi_signal_buf_ptr
-
-	jam 1,mem_24g_data_type
-	
-	fetch 2,mem_mouse_discovery_timeout
-	store 2,mem_discovery_timeout
-
-	fetch 2,mem_mouse_24g_pair_timeout_init
-	store 2,mem_24g_pair_timeout_init
-
-	fetch 1,mem_mouse_24g_reconn_timeout_init
-	store 2,mem_24g_reconn_timeout_init
-
-	fetch 5,mem_rssi_dis_min_24g_init
-	store 5,mem_rssi_dis_min_24g
-
-	fetch 1,mem_mouse_24g_pair_tx_power
-	store 1,mem_24g_pair_tx_power
-
-
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	nrtn blank
-
-	
-// mouse.dat no configuration parameters
-	setarg 0x4a0804					//enable poweron direct  & 24g
-	store 3,mem_mouse_flag			
-	setarg 0x800000					// adc led use mode led
-	istore 3,contw
-	setarg 0x0303
-	istore 2,contw
-
-	jam 1,mem_lpm_mode
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_ADC_ENABLE,pdata
-	call mouse_adc_read_enable,true
-
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_24G_250HZ_ENABLE,pdata
-	call mouse_24g_set_250Hz,true
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_SEARCH_DONGLE_ENABLE,pdata
-	call mouse_24g_search_dongle_enable,true
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_CLK_16M_ENABLE,pdata
-	call mouse_16M_enable,true
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_DPI_4_LEVEL_ENABLE,pdata
-	call mouse_dpi_4level_enable,true
-	fetch 1,mem_mouse_enable_flag
-	isolate1 MOUSE_KEYBOARD_ENABLE,pdata
-	call mouse_customer_key_enable,true
-	
-	fetch 1,mem_24g_ch_map_update
-	ncall g24_chamap_param_update,blank
-
-	call mouse_xtal_init
-
-	fetch 1,mem_mouse_global_setup
-	and pdata,0x07,temp
-	storet 1,mem_adc_channel
-	rshift3 pdata,pdata
-	and pdata,0x01,temp
-	storet 1,mem_24g_ch_map_update
-	rshift pdata,pdata
-	and pdata,0x03,temp
-	storet 1,mem_adc_config_flag_init
-	rshift2 pdata,pdata
-	and pdata,0x03,pdata
-	call mouse_24g_long_sleep_set
-
-	fetch 1,mem_mouse_global_setup1
-	and pdata,0x03,temp
-	storet 1,mem_sensor_angle_default
-	rshift2 pdata,pdata
-	and pdata,0x03,temp
-	storet 1,mem_sensor_angle_switch
-	rshift2 pdata,pdata
-	and pdata,0x03,pdata
-	store 1,mem_config_sensor_dpi
-	store 1,mem_mouse_dpi
-	rshift2 pdata,pdata
-	and pdata,0x03,pdata
-	store 1,mem_device_number
-
-
-	setarg 0x0c0d0b
-	store 3,mem_lbutton_gpio
-	setarg 0xffffff
-	istore 3,contw
-	setarg 0x0607ff			// clk-07  sdio--06
-	istore 3,contw
-	setarg 0xffffff
-	istore 3,contw
-
-	setarg 0x1f80
-	store 2,mem_eeprom_base
-	jam 0x80,mem_eeprom_block_size
-
-	branch mouse_default_init_next
-
-p_initialize_radio_cont:
-	jam 0xe6,core_syn_aac_cfg1
-
-	call initialize_syn_afc_cfg1
-	call initialize_rf_ldo_cfg1
-	call initialize_rc_cal
-	
-	jam 0x09,core_rx_bq_cfg0
-
-	jam 5,core_clkpll_cfg0
-	jam 0x94,core_rx_iqadc_cfg
-
-	jam 0x0b,core_rf_ldo_cfg2
-	jam 0x05,core_rf_ldo_cfg3
-	jam 0x90,core_syn_pfd_lkd_cfg
-	
-	fetch 1,mem_fcomp_div
-	bne XTAL_16M,initialize_radio_cont_next
-	jam 0x34,core_clkpll_cfg5		//16M XTAL
-	branch initialize_radio_cont_next
-
-p_mouse_setgpio_hibernate:
-	call mouse_set_sdio_high
-	call clear_wake
-	call mouse_lpm_before_common
-	arg 19,temp
-	call mouse_gpio_config_input_pu
-	fetch 1,mem_mouse_sensor_sdio_gpio
-	arg gpcfg_output_high,temp
- 	branch gpio_config_function_int
-
-p_mouse_lpm_before_common:
-	call mouse_wheel_check
-	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
-	arg gpcfg_output_high,temp
- 	call gpio_config_function_int
-	branch mouse_lpm_before_common_next
-	
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch g24_nodata_transmit,user
@@ -252,6 +113,22 @@
 	fetch 3,mem_24g_short_sleep_set
 	branch g24_long_sleep2
 
+p_mouse_setgpio_hibernate:
+	call mouse_set_sdio_high
+	call clear_wake
+	call mouse_lpm_before_common
+	arg 19,temp
+	call mouse_gpio_config_input_pu
+	fetch 1,mem_mouse_sensor_sdio_gpio
+	arg gpcfg_output_high,temp
+ 	branch gpio_config_function_int
+
+p_mouse_lpm_before_common:
+	call mouse_wheel_check
+	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
+	arg gpcfg_output_high,temp
+ 	call gpio_config_function_int
+	branch mouse_lpm_before_common_next
 p_mouse_init_sunt:
 	call mouse_sensor_spi_init
 	rtn wake
Index: sched/1308.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/sched/1308.dat	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/sched/1308.dat	(working copy)
@@ -1,9 +1,2 @@
 
-mem_lpm_config:88 12 ca	#4khz
-mem_fcomp_div:18
-
-mem_rf_init_data:
-ff
-mem_rf_init_ptr:mem_rf_init_data
-
 
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/sched/mouse.dat	(revision 480)
+++ /YC1308AC/branch/mouse_project/XZR/1319AC_only24g/AutoPair_24G/sched/mouse.dat	(working copy)
@@ -1,8 +1,97 @@
 mem_device_option:08	#08 mouse
 
-mem_lap:08 09 2a 22 11 22
-#mem_lpm_ctrim:1f		#xtal offset
-#3+4=7Bytes
+mem_lpm_config:88 12 ca	#4khz
+mem_fcomp_div:18
+
+mem_rf_init_data:ff
+mem_rf_init_ptr:mem_rf_init_data
+mem_lpm_xtalcnt:70
+
+
+mem_dig_aon_vsel:00
+#hw agc
+mem_gain_fix:ff
+mem_gain_second_agc_en:00
+
+
+mem_mouse_flag:
+#mouse flag byte1
+#bit0 MOUSE_SELECT_DEVICE_FLAG
+#bit1 MOUSE_24G_PAIRING_FLAG
+#bit2 MOUSE_STORE_EEPROM_FLAG
+#bit3 MOUSE_BT_CANNEL_RECONN_FLAG
+#bit4 MOUSE_LOW_VOLTAGE_FLAG
+#bit5 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+#bit6 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+04
+
+#mouse flag byte2
+#bit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+#bit1 MOUSE_ENABLE_2K_EEPROM
+#bit2 MOUSE_ENABLE_INIT_DELAY
+#bit3 MOUSE_ENABLE_WAKEUP_FROM_POWER
+#bit4 MOUSE_ENABLE_16M
+#bit5 MOUSE_ENABLE_USB
+18
+
+#mouse flag byte3
+#bit0 MOUSE_ENABLE_SPI2
+#bit1 MOUSE_ENABLE_24G
+#bit2 MOUSE_ENABLE_FLASH
+#bit3 MOUSE_ENABLE_EEPROM
+#bit4 MOUSE_ENABLE_ADC
+#bit5 MOUSE_ENABLE_KEYBOARD
+#bit6 MOUSE_ENABLE_24G_SEARCH_DONGLE
+4a
+
+#mouse flag byte4
+#bit0 MOUSE_ENABLE_24G_250Hz
+#bit1 MOUSE_ENABLE_24G_500Hz
+#bit2 MOUSE_ENABLE_24G_1000
+#bit3 MOUSE_ENABLE_BT_125Hz
+#bit4 MOUSE_ENABLE_DPI_LEVEL_4
+#bit5 MOUSE_ENABLE_USB_250
+#bit6 MOUSE_ENABLE_USB_500
+#bit7 MOUSE_ENABLE_USB_1000
+00
+
+#mouse flag byte5
+#bit0 MOUSE_ENABLE_POWER_ON_LED
+#bit1 MOUSE_ENABLE_LOW_VOLTAGE_LED
+#bit2 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED
+#bit3 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND
+#bit4 MOUSE_ENABLE_4_LED
+#bit5 MOUSE_ENABLE_DPI_FOR_4_LED
+#bit6 MOUSE_ENABLE_BT2_FOR_4_LED
+#bit7 MOUSE_ENABLE_LOW_V_FOR_4_LED
+00
+
+#mouse flag byte6 
+#bit0 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
+#bit1 MOUSE_ENABLE_SELECT_DEVICE_BY_PB_BUTTON
+#bit2 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
+#bit3 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC
+#bit4 MOUSE_ENABLE_DPI_KEY_CONNECT_GND
+#bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
+#bit6 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+#bit7 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
+80
+
+#mouse flag byte7
+#bit0 MOUSE_ENABLE_AUTO_24G_PARING
+#bit1 MOUSE_ENABLE_24G_POWER_ON_PAIRING
+#bit2 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+#bit3 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY
+#bit4 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+#bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
+#bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
+#bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
+03
+
+#mouse flag byte8
+#bit0 MOUSE_ENABLE_SMOOTHER
+#bit1 MOUSE_ENABLE_XY_OFFSET
+03
 
 mem_mouse_discovery_timeout:b0 04	#2min
 mem_mouse_24g_pair_timeout_init:58 02  #1 min	24g reconn timer&pair timer
@@ -16,29 +105,6 @@
 mem_rssi_dis_min_ble_init:75
 mem_rssi_dis_max_ble_init:80
 
-
-#bit6-7:custom_key_set:00--win+d     01--ctrl+alt+a    02--ie home    03--play
-#bit5:MOUSE_ENABLE_KEYBOARD				1--enable  0--disable
-#bit4:MOUSE_ENABLE_DPI_LEVEL_4				1--4level   0--3level
-#bit3:MOUSE_ENABLE_16M						1--16M     0--24M
-#bit2:MOUSE_ENABLE_24G_250Hz   				1--250Hz   0--125Hz
-#bit1:MOUSE_ENABLE_24G_SEARCH_DONGLE    	1--enable  0--disable
-#bit0:MOUSE_ENABLE_ADC   					1--enable  0--disable
-mem_mouse_enable_flag:0a
-
-#bit6-7 :mem_24g_long_sleep_set_level    00--30ms   01--50ms  02--80ms  03--100ms
-#bit4-5 :mem_adc_config_flag_init   00-vinlpm   01-hvin   02-gpio
-#bit3 :mem_24g_ch_map_update   00--disable   01--enable
-#bit0-2 :mem_adc_channel   #00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
-mem_mouse_global_setup:83
-
-#bit6-7:mem_device_number  01--only 2.4g   10--2.4g+ble
-#bit4-5:mem_config_sensor_dpi  00--1200   01--1600
-#bit2-3:mem_sensor_angle_switch  00--6CLK   01--9CLK   02--12CLK   03--3CLK
-#bit0-1:mem_sensor_angle_default  00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_mouse_global_setup1:4c
-
-
 mem_bk_button_gpio:0b
 mem_fw_button_gpio:0c
 mem_dpi_button_gpio:0d
@@ -47,29 +113,261 @@
 mem_customer_key_gpio:ff
 mem_whee_a_data_gpio:05
 mem_whee_b_data_gpio:04
-mem_config_device_24g_led_gpio:ff
+mem_config_device_24g_led_gpio:ff#03
 mem_config_device_bt1_led_gpio:ff
 mem_select_sensor_angle_gpio:0a
 
+mem_lbutton_gpio:0b
+mem_rbutton_gpio:0d
+mem_mbutton_gpio:0c
+mem_config_select_device_button_gpio:ff
+mem_whee_ta_data_gpio:ff
+mem_whee_tb_data_gpio:ff
+mem_device_switch_gpio:ff
+mem_mouse_sensor_sclk_gpio:07
+mem_mouse_sensor_sdio_gpio:06
+mem_config_low_voltage_alarm_gpio:ff
+mem_config_device_bt2_led_gpio:ff
+mem_dpi_led_gpio:ff#03
+
+mem_sensor_angle_default:00	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_sensor_angle_switch:03	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_config_sensor_dpi:00		#00--1200   01--1600
+
+
+
+mem_usb_offline_check_gpio:ff
+
+
+mem_customer_key_press:
+#03 ea 00 00 00 00 00 00 00 #VOL DOWN
+#02 01 00 00 00 00 00 00 00 #POWERDOWN
+00 05 00 04 00 00 00 00 00#CTRL+ALT+A
+
+mem_customer_key_release:
+#03 00 00 00 00 00 00 00 00 #MEDIA RELEASE
+#02 00 00 00 00 00 00 00 00 #SYSTEM CRTL RELEASE
+00 00 00 00 00 00 00 00 00#STANDARD KEY RELEASE
+
+mem_lpm_mode:01
+
+mem_mouse_bluetooth_type:03	#03 bt3.0+ble   #02 ble   #01 bt3.0
+mem_device_number:01  #max device number   value:01,02,03
+
+mem_device_flag:
+00
+34
+ff ff ff ff ff ff
+mem_device2_type:
+34
+ff ff ff ff ff ff
+mem_device3_type:
+33
+ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff	# 3.0 fast  conn
+
+
+mem_mouse_page_to:00 40		# 16384*0.625ms=10s
+mem_mouse_fast_direct_timeout:0a #1s
+mem_mouse_fast_page_to:60 06	# 1600*0.625ms = 1s
+mem_mouse_24g_power_on_fast_conn_timer:05 00 #500ms
+mem_mouse_24g_search_dongle_time_init: 08 07
+mem_mouse_no_data_timeout:70 17 #10min
+
+mem_mouse_device_poweron_timer_count_init:14	#2s
+mem_mouse_dpi_led_delay_count_init:0a	#1s
+mem_mouse_dpi_led_blink_time: 90 01		#200ms on,200ms off
+mem_mouse_disconvey_led_blink_time: e8 03	#500ms on,500ms off
+mem_mouse_low_v_led_blink_time:90 01		#200ms on,200ms off
+
+
+#bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
+mem_mouse_commbination_key_bt:07
+mem_mouse_commbination_key_24g:03
 
-#3+27=30Bytes
-#7+30=37Bytes
+mem_store_information_delay_timer_init:05
 
+#adc start
+mem_adc_config_flag_init:02 		#00-vinlpm   01-hvin   02-gpio
+mem_adc_channel:05 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
+mem_mouse_vdd_full_vol:05 01		#1.5V
+9f 00#mem_mouse_vdd_empty_vol  :0.9V
+b1 00#mem_mouse_vdd_low_vol   :1.0V
+#mem_mouse_vdd_full_vol:3c 01		#3.3V
+#1e 01#mem_mouse_vdd_empty_vol  :3.0V
+#30 01#mem_mouse_vdd_low_vol   :3.2V
+mem_mouse_vdd_button_press_vol:10 00
+mem_mouse_vdd_switch_gnd_24g_vol:52 00
+mem_mouse_vdd_switch_gnd_full_vol:35 00
+mem_mouse_vdd_switch_gnd_shutdown_voltage:21 00
+mem_mouse_vdd_switch_gnd_low_voltage:25 00
+mem_adc_read_time_init:0a 	#1s
+mem_adc_low_volatage_led_blink_timer:64 00	#10s
+#adc end
+
+mem_mouse_set_high_impedance_bit_set:00 00  00
+mem_sensor_reset_gpio:ff
 
+mem_power_on_flag:01
 
+mem_lpm_mult:20
+mem_lpm_mult_init:20
 
-#with eeprom
-mem_device_option:08
-mem_lpm_ctrim:12		#xtal offset
-mem_lpm_xtalcnt:70
-mem_dig_aon_vsel:00
-#hw agc
-mem_gain_fix:ff
-mem_gain_second_agc_en:00
+mem_app_connection_options:06
+mem_lap:08 09 2a 22 11 22
+mem_local_name_length:
+'Bluetooth Mouse 3.0
+mem_sniff_param_interval:
+0e 00 
+01 00 ##mem_sniff_param_attempt:01 00
+02##mem_sniff_param_timeout:00 00
 
 
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:01
+##mem_all_uuid_16bits:
+##06
+##03#Type: Complete list of 16-bit UUIDs
+##0011 0100 1002 1124  1200  0001
+mem_all_uuid_128bits:00
+mem_ptt:00
 
-mem_store_information_delay_timer_init:05
+
+mem_lmp_io_cap_payload_iocap:03 00 04
+mem_ui_profile_supported:01
+mem_eir_enable:01
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#flag 
+02 01 05
+
+#uuid
+03 03 12 18
+
+#appearance
+03 19 c2 03
+
+mem_le_adv_swift_pair:
+#microsoft swift pair
+06 ff 06 00 03 00 80
+#name
+'\09BT5.2 Mouse
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+#name
+'\09BT5.2 Mouse
+
+
+mem_le_name_len:
+'BT5.2 Mouse
+
+
+mem_le_interval_min:
+07 00 #min interval
+07 00 #max interval
+20 00 #latency
+2c 01 #timeout
+
+
+mem_le_adv_ind:03 12 18
+mem_le_adv_direct_ind:ff 00 00
+
+mem_le_adv_interval:00 00
+mem_le_adv_type:00 
+mem_le_adv_own_addr_type:00
+mem_le_adv_channel_map:07 
+mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
+
+mem_le_lap:8e b1 3a 0e 8e ed
+
+
+mem_le_keyboard_handle:15 00
+mem_le_notify_handle:19 00
+mem_le_multimedia_handle:1d 00
+mem_le_systemctrl_handle:21 00
+mem_le_battery_level_handle:30 00
+mem_le_pairing_handle:2d 00
+
+mem_le_battery_level_updata_timer_init:96 #15s
+
+
+mem_spi_ncs_gpio:ff
+mem_ui_button_gpio:ff
+mem_ui_button_timeout:1e
+
+
+mem_mouse_dpi_seting:
+03##mem_320x_dpi_0  	1200/1300
+04##mem_320x_dpi_1  	1600
+01##mem_320x_dpi_2   	800
+02##mem_320x_dpi_3  	1000 
+
+35##mem_3212_dpi_0	2000
+3f##mem_3212_dpi_1	2400
+1b##mem_3212_dpi_2	1000
+2b##mem_3212_dpi_3   1600
+
+06##mem_ka8g2_dpi_0	1200
+0c##mem_ka8g2_dpi_1	2400
+10##mem_ka8g2_dpi_2	3000
+04##mem_ka8g2_dpi_3	800
+
+mem_sensor_3212_init:
+09 5a
+26 34
+19 04
+09 00
+ff ff
+
+mem_sensor_3204_init:
+09 5a
+0d f0
+1d e3
+7d d2
+ff ff
+
+mem_sensor_3205_init:
+09 5a
+0d 10
+1d ed
+7d 80
+ff ff
+
+mem_sensor_32xx_init:
+1b 35
+28 b4
+29 46
+2a 96
+2b 8c
+2c 6e
+2d 64
+38 5f
+39 0f
+3a 32
+3b 47
+42 10
+ff ff
+
+mem_sensor_32xx_init_1:
+54 2e
+55 f2
+61 f4
+63 70
+75 52 
+76 41
+77 ed
+78 23
+79 46
+7a e5
+7c 48
+7e 77
+7f 01
+0b 00
+7f 00
+09 00
+ff ff
 
 mem_sensor_8650_init_new:
 09 5a
@@ -92,6 +390,23 @@
 09 00
 ff ff
 
+mem_sensor_ka8ul_init:
+09 5a
+0d 10
+0e c5
+5b 9a
+10 38
+11 42
+28 28
+41 23
+49 39
+4a b0
+4b a0
+4c 90
+4d 70
+09 00
+ff ff
+
 mem_sensor_8009_init:
 09 5a
 06 02
@@ -102,5 +417,51 @@
 09 00
 ff ff
 
+mem_sensor_poweron_init:
+09 5a
+0b f3
+09 00
+ff ff
+
+
+mem_ui_led_struct_ptr:mem_mouse_led_type
+mem_ui_led_struct_num:01
+
+  
+#24g init
+mem_24g_tx_phy:01#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_rx_phy:01#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_data_type:01        #mouse 1,kb 2
+mem_24g_max_retry:06#max tx retry
+mem_24g_rx_window:c0 12     #400us  ## e0 2e#1ms #transmitter long range min:520us
+mem_24g_interval:19
+mem_24g_interval_min:19
+mem_24g_interval_max:1c
+mem_24g_ch_map1:00 13 2c 42
+mem_24g_ch_map2:06 15 36 48
+mem_24g_ch_map3:0f 1a 3a 4c
+mem_24g_ch_map4:11 23 31 4d
+mem_24g_pair_switch:00
+mem_24g_pair_addr:20 15 10 05
+mem_24g_pair_ch:4e
+mem_24g_fast_conn_enable:01
+mem_24g_fast_conn_addr:0f 0f 0f 0f
+mem_24g_short_sleep_set:0c f8 00
+mem_24g_long_sleep_set:00 77 01
+mem_24g_enter_hibernate:00 48 60
+mem_rssi_buff_index:07
+mem_rssi_signal_buf_ptr:mem_mouse_rssi_signal_buf
+mem_power_ctrl_pac_succ_cnt_init:80
+mem_24g_long_sleep_param_update_timer_init:14 00
+mem_24g_transmit_by_interrupt_exit_count_init:50 00
+
+mem_24g_long_sleep_set1:00 a6 0e
+
+mem_flash_base:00 50 00
+mem_eeprom_base:80 1f
+mem_eeprom_block_size:80
+
+mem_tx_power:00#3dbm
+
 
 
