Index: format/app_module.format
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/format/app_module.format	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/format/app_module.format	(working copy)
@@ -106,3 +106,8 @@
 0x29 HCI_EVENT_UUID_HANDLE
 
 )
+(
+
+44 mark_buf_full
+)
+
Index: output/bt_code.c
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/bt_code.c	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/bt_code.c	(working copy)
@@ -58,7 +58,7 @@
 0x4d,0xaf,0x20,0x40,0x4d,0xbc,0x20,0x40,0x4c,0x2a,0x20,0x20,0x50,0x4d,0x1a,0x62,
 0x7e,0x00,0xc0,0x04,0x80,0xe9,0xc0,0x01,0x00,0xe7,0xc0,0x0a,0x00,0xef,0x20,0x20,
 0x4d,0xdf,0x70,0x4a,0xd0,0x00,0x20,0x20,0x4d,0xfb,0x6f,0xe2,0x4a,0xcf,0x24,0x5a,
-0x00,0xed,0x70,0x4a,0xd0,0x06,0x20,0x20,0x4e,0x08,0x70,0x4a,0xd0,0x06,0x20,0x60,
+0x00,0xed,0x70,0x4a,0xd0,0x00,0x20,0x20,0x4e,0x08,0x70,0x4a,0xd0,0x00,0x20,0x60,
 0x00,0x00,0x20,0x40,0x03,0x7d,0x20,0x20,0x4e,0x28,0x20,0x40,0x00,0xf3,0x20,0x20,
 0x50,0xc3,0x6f,0xe2,0x4a,0xd0,0x20,0x7a,0x00,0x00,0x1f,0xe0,0xff,0xff,0x67,0xe2,
 0x4a,0xd0,0x24,0x7a,0x00,0x00,0x6f,0xe4,0x46,0x52,0xc2,0x80,0x4d,0x64,0x20,0x60,
@@ -249,7 +249,7 @@
 0x69,0x6e,0xc0,0x38,0xe9,0xa7,0xc0,0x38,0x03,0xdf,0xc0,0x24,0xe9,0xbe,0x20,0x20,
 0x6a,0x58,0x70,0x0a,0x95,0x08,0x20,0x40,0x7b,0xab,0x20,0x40,0x69,0x72,0x20,0x20,
 0x69,0xba,0x6f,0xe2,0x44,0x90,0x20,0x3a,0x5e,0xd0,0x20,0x40,0x74,0x38,0x20,0x20,
-0x79,0x32,0xde,0xd8,0xaa,0x55,0x40,0x00,0x00,0x40,0x02,0x00,0x00,0x00,0x00,0x00,
+0x79,0x32,0x49,0xa1,0xaa,0x55,0x40,0x00,0x00,0x40,0x02,0x00,0x00,0x00,0x00,0x00,
 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x02,0x10,0x00,0x0c,0x12,
 0x00,0x19,0x00,0x00,0x00,0x00,0x00,0x08,0x22,0x00,0xe8,0x09,0x18,0xd0,0x04,0x00,
 0x04,0x44,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x02,0x00,0x00,
@@ -257,7 +257,7 @@
 0x0a,0xaa,0x55,0x01,0x00,0x54,0x46,0x40,0xaa,0x55,0x01,0x00,0x06,0x42,0x13,0xaa,
 0x55,0x01,0x00,0x5b,0x41,0x01,0xaa,0x55,0x08,0x00,0x98,0x40,0xff,0xfb,0x8f,0xfa,
 0x8b,0x85,0x59,0x83,0xaa,0x55,0x03,0x00,0x14,0x42,0x25,0x4a,0x05,0xaa,0x55,0x04,
-0x00,0x3d,0x45,0x01,0xff,0x00,0x03,0xaa,0x55,0x03,0x00,0x2d,0x46,0x03,0x00,0x04,
+0x00,0x3d,0x45,0x01,0x7e,0x00,0x03,0xaa,0x55,0x03,0x00,0x2d,0x46,0x03,0x00,0x04,
 0xaa,0x55,0x01,0x00,0x2c,0x46,0x01,0xaa,0x55,0x06,0x00,0x57,0x46,0x04,0x30,0x30,
 0x30,0x30,0x30,0xaa,0x55,0x10,0x00,0xf0,0x4f,0x00,0x1c,0xff,0x1f,0x00,0x1c,0x00,
 0x1c,0x00,0x4c,0xe0,0x4f,0x00,0x4c,0x00,0x4c,0xaa,0x55,0x03,0x00,0xef,0x4b,0x00,
@@ -326,5 +326,5 @@
 0x55,0x02,0x00,0x02,0x42,0x30,0x1f,0xaa,0x55,0x01,0x00,0x10,0x42,0x20,0xaa,0x55,
 0x01,0x00,0xe0,0x41,0x01,0xaa,0x55,0x0f,0x00,0xde,0x4b,0x4b,0xba,0x55,0xd0,0x56,
 0xe0,0x57,0x88,0x58,0x6c,0x59,0x10,0x07,0xff,0xff,0xaa,0x55,0x02,0x00,0xc3,0x40,
-0xde,0x4b,0x2e,0x40
+0xde,0x4b,0x18,0x13
 };
Index: output/eeprom.dat
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/eeprom.dat	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/eeprom.dat	(working copy)
@@ -947,7 +947,7 @@
 70
 4a
 d0
-06
+00
 20
 20
 4e
@@ -955,7 +955,7 @@
 70
 4a
 d0
-06
+00
 20
 60
 00
@@ -4000,8 +4000,8 @@
 20
 79
 32
-de
-d8
+49
+a1
 aa
 55
 40
@@ -4130,7 +4130,7 @@
 3d
 45
 01
-ff
+7e
 00
 03
 aa
@@ -5232,5 +5232,5 @@
 40
 de
 4b
-2e
-40
+18
+13
Index: output/program.lis
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/program.lis	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/output/program.lis	(working copy)
@@ -307,11 +307,11 @@
 p_module_process_spp_disconnected:
 00e9 6fe24acf fetch 1 ,mem_rfcomm_lmp_dis_flag 
 00ea 245a00ed ncall p_set_rfcomm_disconnect_count ,blank 
-00eb 704ad006 jam 6 ,mem_module_rfcomm_disconnect_count 
+00eb 704ad000 jam 0 ,mem_module_rfcomm_disconnect_count 
 00ec 20204e08 branch module_process_spp_disconnected 
 
 p_set_rfcomm_disconnect_count:
-00ed 704ad006 jam 6 ,mem_module_rfcomm_disconnect_count 
+00ed 704ad000 jam 0 ,mem_module_rfcomm_disconnect_count 
 00ee 20600000 rtn 
 
 p_module_process_le_conn:
Index: patch/patch.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/patch/patch.prog	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/patch/patch.prog	(working copy)
@@ -315,10 +315,10 @@
 p_module_process_spp_disconnected:
 	fetch 1,mem_rfcomm_lmp_dis_flag
 	ncall p_set_rfcomm_disconnect_count,blank
-	jam 6,mem_module_rfcomm_disconnect_count
+	jam 0,mem_module_rfcomm_disconnect_count
 	branch module_process_spp_disconnected
 p_set_rfcomm_disconnect_count:
-	jam 6,mem_module_rfcomm_disconnect_count
+	jam 0,mem_module_rfcomm_disconnect_count
 	rtn
 p_module_process_le_conn:
 	call module_clear_recv_confirm_flag
Index: sched/DM_module.dat
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/sched/DM_module.dat	(revision 868)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/print/branches/kaicong/sched/DM_module.dat	(working copy)
@@ -21,7 +21,7 @@
 
 ##############SPP CONFIG##############
 mem_credit_flag:01
-mem_rfcomm_max_frame_size:ff 00 
+mem_rfcomm_max_frame_size:7e 00 
 mem_rfcomm_credit_init_data:03
 #####################################
 
