Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/format/app_mouse.format	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/format/app_mouse.format	(working copy)
@@ -426,6 +426,8 @@
 
 //tx power
 1 mem_normal_tx_power
+
+18 mem_mouse_le_name_clear
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/eeprom.dat	(working copy)
@@ -6659,15 +6659,328 @@
 62
 4c
 10
+aa
+55
+0c
+00
+e7
+43
+1f
+02
+01
+05
+03
+03
+12
+18
+03
+19
+c2
+03
+aa
 55
+14
+00
+d2
+4a
+06
+ff
+06
+00
+03
+00
+80
+0c
+09
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
 aa
+55
+0e
+00
+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
-5c
-23
-fe
+0c
+00
 1e
+4c
+0b
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
+08
+00
+72
+43
+06
+00
+09
+00
+20
+00
+2c
+01
+aa
+55
+09
+00
+a7
+4c
+00
+00
+00
+00
+00
+00
+00
+00
+00
+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
+3b
+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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ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-24
-d7
+32
+85
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/flash.dat	(working copy)
@@ -6659,15 +6659,328 @@
 62
 4c
 10
+aa
+55
+0c
+00
+e7
+43
+1f
+02
+01
+05
+03
+03
+12
+18
+03
+19
+c2
+03
+aa
 55
+14
+00
+d2
+4a
+06
+ff
+06
+00
+03
+00
+80
+0c
+09
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
 aa
+55
+0e
+00
+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
-5c
-23
-fe
+0c
+00
 1e
+4c
+0b
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
+08
+00
+72
+43
+06
+00
+09
+00
+20
+00
+2c
+01
+aa
+55
+09
+00
+a7
+4c
+00
+00
+00
+00
+00
+00
+00
+00
+00
+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
+3b
+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
+7d
+44
+06
+aa
+55
+0c
+00
+fc
+45
+0b
+42
+54
+33
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+05
+00
+55
+44
+0e
+00
+01
+00
+02
+aa
+55
+01
+00
+41
+46
+0a
+aa
+55
+01
+00
+64
+47
+01
+aa
+55
+01
+00
+78
+46
+00
+aa
+55
+01
+00
+5f
+41
+00
+aa
+55
+03
+00
+65
+47
+03
+00
+04
+aa
+55
+01
+00
+8e
+47
+01
+aa
+55
+01
+00
+d8
+40
+01
+55
+aa
+aa
+55
+8c
+71
+a6
+0e
 ff
 ff
 ff
@@ -7875,318 +8188,5 @@
 ff
 ff
 ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff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
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-24
-d7
+32
+85
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/output/memmap.format	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/output/memmap.format	(working copy)
@@ -2304,6 +2304,7 @@
 0x4ca4 mem_mouse_le_send_conn_param_update
 0x4ca5 mem_mouse_le_send_conn_param_update_timer
 0x4ca6 mem_normal_tx_power
+0x4ca7 mem_mouse_le_name_clear
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program/patch.prog	(working copy)
@@ -2784,20 +2784,44 @@
 	copy pdata,rega
 	sub pdata,11,null
 	nbranch p_mouse_le_name_patch_len_overflow,positive
+
+	arg 11,regb
+	call p_mouse_le_name_clear
+	
 	arg mem_le_name_patch,contr	
 	arg mem_le_adv_swift_pair+9,contw
-	copy rega,loopcnt
-	call memcpy
+	call p_mouse_le_name_load_next
+	
 	arg mem_le_name_patch,contr
 	arg mem_le_scan_data+2,contw
-	copy rega,loopcnt
-	call memcpy
+	call p_mouse_le_name_load_next
+	
 	arg mem_le_name_patch,contr
 	arg mem_le_name,contw
+p_mouse_le_name_load_next:
 	copy rega,loopcnt
 	branch memcpy
 
+p_mouse_le_name_clear:
+	
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_adv_swift_pair+9,contw
+	call p_mouse_le_name_clear_next
+	
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_scan_data+2,contw
+	call p_mouse_le_name_clear_next
+
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_name,contw
+p_mouse_le_name_clear_next:
+	copy regb,loopcnt
+	branch memcpy
+
 p_mouse_le_name_patch_len_overflow:
+	arg 18,regb
+	call p_mouse_le_name_clear
+	
 	call p_mouse_le_swift_pair_disable
 	fetch 1,mem_le_name_patch_len
 	increase 1,pdata
Index: program_patch/ble_spec_code/patch_ble.prog
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/program_patch/ble_spec_code/patch_ble.prog	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/program_patch/ble_spec_code/patch_ble.prog	(working copy)
@@ -70,20 +70,44 @@
 	copy pdata,rega
 	sub pdata,11,null
 	nbranch p_mouse_le_name_patch_len_overflow,positive
+
+	arg 11,regb
+	call p_mouse_le_name_clear
+	
 	arg mem_le_name_patch,contr	
 	arg mem_le_adv_swift_pair+9,contw
-	copy rega,loopcnt
-	call memcpy
+	call p_mouse_le_name_load_next
+	
 	arg mem_le_name_patch,contr
 	arg mem_le_scan_data+2,contw
-	copy rega,loopcnt
-	call memcpy
+	call p_mouse_le_name_load_next
+	
 	arg mem_le_name_patch,contr
 	arg mem_le_name,contw
+p_mouse_le_name_load_next:
 	copy rega,loopcnt
 	branch memcpy
 
+p_mouse_le_name_clear:
+	
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_adv_swift_pair+9,contw
+	call p_mouse_le_name_clear_next
+	
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_scan_data+2,contw
+	call p_mouse_le_name_clear_next
+
+	arg mem_mouse_le_name_clear,contr
+	arg mem_le_name,contw
+p_mouse_le_name_clear_next:
+	copy regb,loopcnt
+	branch memcpy
+
 p_mouse_le_name_patch_len_overflow:
+	arg 18,regb
+	call p_mouse_le_name_clear
+	
 	call p_mouse_le_swift_pair_disable
 	fetch 1,mem_le_name_patch_len
 	increase 1,pdata
Index: sched/ble.dat
===================================================================
--- /YC1308AC/branch/mouse_project/mouse_pubulic/sched/ble.dat	(revision 1615)
+++ /YC1308AC/branch/mouse_project/mouse_pubulic/sched/ble.dat	(working copy)
@@ -33,6 +33,7 @@
 20 00 #latency
 2c 01 #timeout
 
+mem_mouse_le_name_clear:000000000000000000
 
 mem_le_adv_ind:03 12 18
 mem_le_adv_direct_ind:ff 00 00
