Index: output/bt_code.c
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/output/bt_code.c	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/output/bt_code.c	(working copy)
@@ -1,5 +1,5 @@
 const unsigned char bt_code[] = {
-0x00,0x02,0xaa,0x55,0x4a,0x14,0xc2,0x84,0x00,0x19,0xc0,0x00,0x83,0xba,0xc0,0x02,
+0x00,0x02,0xaa,0x55,0x46,0x14,0xc2,0x84,0x00,0x19,0xc0,0x00,0x83,0xba,0xc0,0x02,
 0x80,0x31,0xc0,0x17,0x00,0x2e,0xc0,0x1a,0x00,0x2a,0xc0,0x2f,0x80,0x76,0xc0,0x30,
 0x00,0x7b,0xc0,0x2e,0x80,0x5c,0xc0,0x2f,0x00,0x6b,0xc0,0x38,0x00,0x4b,0xc0,0x1e,
 0x83,0x91,0xc0,0x42,0x83,0xc1,0xc0,0x44,0x83,0xe7,0xc0,0x4a,0x03,0xa0,0xc0,0x51,
@@ -315,112 +315,112 @@
 0x41,0xbf,0xdf,0x20,0x00,0x10,0x20,0x40,0x67,0xed,0x20,0x40,0x68,0xbe,0x20,0x40,
 0x4d,0x6b,0x20,0x40,0x4d,0x5c,0x20,0x20,0x50,0x1f,0x6f,0xe4,0x02,0x60,0x1f,0xe2,
 0x0c,0x00,0xef,0xe2,0x00,0x06,0x1f,0xe1,0x04,0x0f,0x1f,0xf1,0xfe,0x00,0xc0,0x04,
-0xd1,0x2d,0xc0,0x03,0xd1,0x2d,0xc0,0x05,0x04,0xf5,0xc0,0x02,0x85,0x09,0xc0,0x00,
-0x85,0x0b,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x20,0x20,0x04,0xfa,0xef,0xe4,
-0x00,0x06,0x67,0xe4,0x0a,0x96,0xc0,0x00,0x85,0x03,0x20,0x60,0x00,0x00,0x70,0x0a,
-0xff,0xb2,0x6f,0xe4,0x02,0x62,0x1f,0xe0,0xff,0xff,0x1f,0xe2,0x72,0x00,0x20,0x40,
-0x50,0xa5,0x6f,0xe4,0x02,0x60,0x1f,0xe2,0x0c,0x00,0x20,0x40,0x67,0xc1,0x20,0x20,
-0x67,0xb9,0x70,0x0a,0xff,0xb2,0x58,0x00,0x00,0x02,0x20,0x40,0x50,0xa5,0x6f,0xe4,
-0x0a,0x96,0xe7,0xe4,0x00,0x0a,0x20,0x20,0x67,0xb9,0x20,0x40,0x04,0xf5,0x20,0x20,
-0x51,0x26,0x18,0x42,0x7e,0x00,0xc0,0x02,0xd1,0x1e,0x70,0x4b,0x80,0x01,0xc0,0x01,
-0xd1,0x2d,0x70,0x4b,0x80,0x00,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x45,0xe7,
-0xaa,0x55,0x40,0x00,0x00,0x40,0x22,0x00,0x00,0x00,0x00,0x40,0x10,0x20,0x00,0x00,
-0x00,0xe0,0x01,0x00,0x01,0x00,0x20,0x02,0x10,0x00,0x0c,0x12,0x00,0x59,0x00,0x01,
-0x00,0x08,0x00,0x00,0x00,0x00,0x68,0x00,0x08,0x80,0x22,0x00,0x01,0xf4,0x02,0x00,
-0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x08,0x00,0x00,0x00,0x00,0x00,
-0x00,0x00,0x00,0x00,0x00,0x00,0xaa,0x55,0x01,0x00,0x6e,0x46,0x05,0xaa,0x55,0x07,
-0x00,0x25,0x44,0x02,0x03,0x00,0x05,0x10,0x02,0x03,0xaa,0x55,0x08,0x00,0x68,0x44,
-0x08,0x00,0x10,0x00,0x00,0x00,0x2c,0x01,0xaa,0x55,0x02,0x00,0xcc,0x44,0x31,0x00,
-0xaa,0x55,0x01,0x00,0x78,0x44,0x17,0xaa,0x55,0x01,0x00,0x7a,0x44,0x17,0xaa,0x55,
-0x01,0x00,0x90,0x44,0x00,0xaa,0x55,0x01,0x00,0x5f,0x44,0x07,0xaa,0x55,0x01,0x00,
-0x98,0x44,0x00,0xaa,0x55,0x01,0x00,0x40,0x43,0x00,0xaa,0x55,0x02,0x00,0x54,0x44,
-0x40,0x00,0xaa,0x55,0x06,0x00,0x72,0x44,0x21,0x2a,0x01,0x33,0x02,0x3a,0xaa,0x55,
-0x0f,0x00,0x81,0x43,0x0e,0x42,0x54,0x34,0x2e,0x32,0x20,0x4b,0x65,0x79,0x62,0x6f,
-0x61,0x72,0x64,0xaa,0x55,0x1c,0x00,0x41,0x43,0x03,0x02,0x01,0x05,0x03,0x19,0xc1,
-0x03,0x03,0x03,0x12,0x18,0x0f,0x09,0x42,0x54,0x34,0x2e,0x32,0x20,0x4b,0x65,0x79,
-0x62,0x6f,0x61,0x72,0x64,0xaa,0x55,0x11,0x00,0x61,0x43,0x1f,0x0f,0x09,0x42,0x54,
-0x34,0x2e,0x32,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0xaa,0x55,0x02,0x00,
-0x8e,0x44,0x75,0x49,0xaa,0x55,0xca,0x00,0x75,0x49,0x01,0x00,0x02,0x00,0x28,0x02,
-0x01,0x18,0x02,0x00,0x02,0x03,0x28,0x01,0x20,0x03,0x00,0x02,0x05,0x2a,0x01,0x00,
-0x04,0x00,0x02,0x02,0x29,0x02,0x00,0x00,0x05,0x00,0x02,0x00,0x28,0x02,0x00,0x18,
-0x06,0x00,0x02,0x03,0x28,0x01,0x02,0x07,0x00,0x02,0x00,0x2a,0x1d,0x42,0x54,0x34,
-0x2e,0x32,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x20,0x20,0x20,0x20,0x20,
-0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x08,0x00,0x02,0x03,0x28,0x01,
-0x02,0x09,0x00,0x02,0x01,0x2a,0x02,0xc1,0x03,0x0a,0x00,0x02,0x03,0x28,0x01,0x02,
-0x0b,0x00,0x02,0x04,0x2a,0x08,0x06,0x00,0x06,0x00,0x64,0x00,0x2c,0x01,0x0c,0x00,
-0x02,0x00,0x28,0x02,0x0a,0x18,0x0d,0x00,0x02,0x03,0x28,0x01,0x02,0x0e,0x00,0x02,
-0x29,0x2a,0x06,0x59,0x69,0x43,0x68,0x69,0x70,0x0f,0x00,0x02,0x00,0x28,0x10,0x02,
-0xfb,0x34,0x9b,0x5f,0x80,0x00,0x00,0x80,0x00,0x10,0x00,0x00,0x10,0xff,0x00,0x10,
-0x00,0x02,0x03,0x28,0x01,0x14,0x11,0x00,0x10,0xfb,0x34,0x9b,0x5f,0x80,0x00,0x00,
-0x80,0x00,0x10,0x00,0x00,0x13,0xff,0x00,0x01,0x00,0x12,0x00,0x02,0x02,0x29,0x02,
-0x00,0x00,0x00,0x00,0xaa,0x55,0x01,0x00,0x06,0x42,0x17,0xaa,0x55,0x01,0x00,0x93,
-0x40,0x00,0xaa,0x55,0x01,0x00,0x6d,0x46,0x28,0xaa,0x55,0x03,0x00,0x2d,0x46,0x02,
-0x00,0x04,0xaa,0x55,0x01,0x00,0x2c,0x46,0x01,0xaa,0x55,0x01,0x00,0x34,0x46,0x02,
-0xaa,0x55,0x01,0x00,0x54,0x46,0x01,0xaa,0x55,0x06,0x00,0xa0,0x40,0x1c,0x6a,0xa4,
-0xd8,0x17,0xe4,0xaa,0x55,0x0f,0x00,0xe7,0x44,0x0e,0x42,0x54,0x33,0x2e,0x30,0x20,
-0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0xaa,0x55,0x03,0x00,0xe4,0x41,0x0e,0x00,
-0x01,0xaa,0x55,0x01,0x00,0xe8,0x41,0x01,0xaa,0x55,0x01,0x00,0x2c,0x45,0x0a,0xaa,
-0x55,0x03,0x00,0xaa,0x40,0x40,0x25,0x00,0xaa,0x55,0x01,0x00,0x92,0x40,0x43,0xaa,
-0x55,0x01,0x00,0x5b,0x41,0x00,0xaa,0x55,0x08,0x00,0x98,0x40,0xff,0xff,0x8f,0xf8,
-0x83,0x9d,0x59,0x82,0xaa,0x55,0x01,0x00,0xd1,0x40,0x01,0xaa,0x55,0x0e,0x00,0x49,
-0x45,0x06,0x03,0x11,0x00,0x00,0x01,0x02,0x10,0x24,0x11,0x00,0x12,0x01,0x00,0xaa,
-0x55,0x01,0x00,0x5f,0x45,0x00,0xaa,0x55,0x02,0x00,0x47,0x45,0x83,0x46,0xaa,0x55,
-0x5a,0x02,0x83,0x46,0x04,0x00,0x11,0x01,0x00,0x10,0x02,0x11,0x24,0x00,0x01,0x00,
-0x00,0x36,0x01,0x9a,0x09,0x00,0x00,0x0a,0x00,0x01,0x00,0x00,0x09,0x00,0x01,0x35,
-0x03,0x19,0x11,0x24,0x09,0x00,0x04,0x35,0x0d,0x35,0x06,0x19,0x01,0x00,0x09,0x00,
-0x11,0x35,0x03,0x19,0x00,0x11,0x09,0x00,0x05,0x35,0x03,0x19,0x10,0x02,0x09,0x00,
-0x06,0x35,0x09,0x09,0x65,0x6e,0x09,0x00,0x6a,0x09,0x01,0x00,0x09,0x00,0x09,0x35,
-0x08,0x35,0x06,0x19,0x11,0x24,0x09,0x01,0x00,0x09,0x00,0x0d,0x35,0x0f,0x35,0x0d,
-0x35,0x06,0x19,0x01,0x00,0x09,0x00,0x13,0x35,0x03,0x19,0x00,0x11,0x09,0x01,0x00,
-0x25,0x3d,0x42,0x72,0x6f,0x61,0x64,0x63,0x6f,0x6d,0x20,0x42,0x6c,0x75,0x65,0x74,
-0x6f,0x6f,0x74,0x68,0x20,0x57,0x69,0x72,0x65,0x6c,0x65,0x73,0x73,0x20,0x20,0x4b,
+0xd1,0x2d,0xc0,0x03,0xd1,0x2d,0xc0,0x05,0x04,0xf5,0xc0,0x02,0x85,0x08,0xc0,0x00,
+0x85,0x0a,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x20,0x20,0x04,0xfa,0xef,0xe4,
+0x00,0x06,0x67,0xe4,0x0a,0x96,0xc0,0x00,0x85,0x02,0x20,0x60,0x00,0x00,0x70,0x0a,
+0xff,0xb2,0x6f,0xe4,0x02,0x62,0x1f,0xe2,0x72,0x00,0x20,0x40,0x50,0xa5,0x6f,0xe4,
+0x02,0x60,0x1f,0xe2,0x0c,0x00,0x20,0x40,0x67,0xc1,0x20,0x20,0x67,0xb9,0x70,0x0a,
+0xff,0xb2,0x58,0x00,0x00,0x02,0x20,0x40,0x50,0xa5,0x6f,0xe4,0x0a,0x96,0xe7,0xe4,
+0x00,0x0a,0x20,0x20,0x67,0xb9,0x20,0x40,0x04,0xf5,0x20,0x20,0x51,0x26,0x18,0x42,
+0x7e,0x00,0xc0,0x02,0xd1,0x1e,0x70,0x4b,0x80,0x01,0xc0,0x01,0xd1,0x2d,0x70,0x4b,
+0x80,0x00,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x0c,0xc6,0xaa,0x55,0x40,0x00,
+0x00,0x40,0x22,0x00,0x00,0x00,0x00,0x40,0x10,0x20,0x00,0x00,0x00,0xe0,0x01,0x00,
+0x01,0x00,0x20,0x02,0x10,0x00,0x0c,0x12,0x00,0x59,0x00,0x01,0x00,0x08,0x00,0x00,
+0x00,0x00,0x68,0x00,0x08,0x80,0x22,0x00,0x01,0xf4,0x02,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0x00,0x00,0x00,0x02,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+0x00,0x00,0xaa,0x55,0x01,0x00,0x6e,0x46,0x05,0xaa,0x55,0x07,0x00,0x25,0x44,0x02,
+0x03,0x00,0x05,0x10,0x02,0x03,0xaa,0x55,0x08,0x00,0x68,0x44,0x08,0x00,0x10,0x00,
+0x00,0x00,0x2c,0x01,0xaa,0x55,0x02,0x00,0xcc,0x44,0x31,0x00,0xaa,0x55,0x01,0x00,
+0x78,0x44,0x17,0xaa,0x55,0x01,0x00,0x7a,0x44,0x17,0xaa,0x55,0x01,0x00,0x90,0x44,
+0x00,0xaa,0x55,0x01,0x00,0x5f,0x44,0x07,0xaa,0x55,0x01,0x00,0x98,0x44,0x00,0xaa,
+0x55,0x01,0x00,0x40,0x43,0x00,0xaa,0x55,0x02,0x00,0x54,0x44,0x40,0x00,0xaa,0x55,
+0x06,0x00,0x72,0x44,0x21,0x2a,0x01,0x33,0x02,0x3a,0xaa,0x55,0x0f,0x00,0x81,0x43,
+0x0e,0x42,0x54,0x34,0x2e,0x32,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0xaa,
+0x55,0x1c,0x00,0x41,0x43,0x03,0x02,0x01,0x05,0x03,0x19,0xc1,0x03,0x03,0x03,0x12,
+0x18,0x0f,0x09,0x42,0x54,0x34,0x2e,0x32,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,
+0x64,0xaa,0x55,0x11,0x00,0x61,0x43,0x1f,0x0f,0x09,0x42,0x54,0x34,0x2e,0x32,0x20,
+0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0xaa,0x55,0x02,0x00,0x8e,0x44,0x75,0x49,
+0xaa,0x55,0xca,0x00,0x75,0x49,0x01,0x00,0x02,0x00,0x28,0x02,0x01,0x18,0x02,0x00,
+0x02,0x03,0x28,0x01,0x20,0x03,0x00,0x02,0x05,0x2a,0x01,0x00,0x04,0x00,0x02,0x02,
+0x29,0x02,0x00,0x00,0x05,0x00,0x02,0x00,0x28,0x02,0x00,0x18,0x06,0x00,0x02,0x03,
+0x28,0x01,0x02,0x07,0x00,0x02,0x00,0x2a,0x1d,0x42,0x54,0x34,0x2e,0x32,0x20,0x4b,
 0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
-0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x09,
-0x01,0x01,0x25,0x08,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x09,0x01,0x02,0x25,
-0x10,0x42,0x72,0x6f,0x61,0x64,0x63,0x6f,0x6d,0x20,0x43,0x6f,0x72,0x70,0x2e,0x20,
-0x20,0x09,0x02,0x00,0x09,0x01,0x00,0x09,0x02,0x01,0x09,0x01,0x11,0x09,0x02,0x02,
-0x08,0x40,0x09,0x02,0x03,0x08,0x21,0x09,0x02,0x04,0x28,0x01,0x09,0x02,0x05,0x28,
-0x01,0x09,0x02,0x06,0x35,0x89,0x35,0x87,0x08,0x22,0x25,0x83,0x05,0x01,0x09,0x06,
-0xa1,0x01,0x85,0x01,0x75,0x01,0x95,0x08,0x05,0x07,0x19,0xe0,0x29,0xe7,0x15,0x00,
-0x25,0x01,0x81,0x02,0x95,0x01,0x75,0x08,0x81,0x03,0x95,0x05,0x75,0x01,0x05,0x08,
-0x19,0x01,0x29,0x05,0x91,0x02,0x95,0x01,0x75,0x03,0x91,0x03,0x95,0x06,0x75,0x08,
-0x15,0x00,0x25,0xff,0x05,0x07,0x19,0x00,0x29,0xff,0x81,0x00,0xc0,0x05,0x0c,0x09,
-0x01,0xa1,0x01,0x85,0x02,0x19,0x00,0x2a,0xff,0x03,0x15,0x00,0x26,0xff,0x03,0x95,
-0x01,0x75,0x10,0x81,0x00,0xc0,0x05,0x01,0x09,0x06,0xa1,0x01,0x85,0x07,0x05,0x07,
-0x19,0xe0,0x29,0xe7,0x15,0x00,0x25,0x01,0x75,0x01,0x95,0x08,0x81,0x00,0x95,0xa8,
-0x75,0x01,0x15,0x00,0x25,0x01,0x05,0x07,0x19,0x00,0x29,0xa8,0x81,0x02,0xc0,0x09,
-0x02,0x07,0x35,0x08,0x35,0x06,0x09,0x04,0x09,0x09,0x01,0x00,0x09,0x02,0x0b,0x09,
-0x01,0x00,0x09,0x02,0x0c,0x09,0x0c,0x80,0x09,0x02,0x0d,0x28,0x00,0x09,0x02,0x0e,
-0x28,0x01,0x09,0x02,0x0f,0x09,0x03,0x18,0x09,0x02,0x10,0x09,0x00,0x00,0x03,0x10,
-0x02,0x12,0x00,0x00,0x01,0x00,0x01,0x00,0x01,0x36,0x00,0xa1,0x09,0x00,0x00,0x0a,
-0x00,0x01,0x00,0x01,0x09,0x00,0x01,0x35,0x03,0x19,0x12,0x00,0x09,0x00,0x04,0x35,
-0x0d,0x35,0x06,0x19,0x01,0x00,0x09,0x00,0x01,0x35,0x03,0x19,0x00,0x01,0x09,0x00,
-0x06,0x35,0x09,0x09,0x65,0x6e,0x09,0x00,0x6a,0x09,0x01,0x00,0x09,0x00,0x09,0x35,
-0x08,0x35,0x06,0x19,0x12,0x00,0x09,0x01,0x00,0x09,0x01,0x00,0x25,0x2f,0x42,0x72,
+0x20,0x20,0x20,0x20,0x20,0x20,0x08,0x00,0x02,0x03,0x28,0x01,0x02,0x09,0x00,0x02,
+0x01,0x2a,0x02,0xc1,0x03,0x0a,0x00,0x02,0x03,0x28,0x01,0x02,0x0b,0x00,0x02,0x04,
+0x2a,0x08,0x06,0x00,0x06,0x00,0x64,0x00,0x2c,0x01,0x0c,0x00,0x02,0x00,0x28,0x02,
+0x0a,0x18,0x0d,0x00,0x02,0x03,0x28,0x01,0x02,0x0e,0x00,0x02,0x29,0x2a,0x06,0x59,
+0x69,0x43,0x68,0x69,0x70,0x0f,0x00,0x02,0x00,0x28,0x10,0x02,0xfb,0x34,0x9b,0x5f,
+0x80,0x00,0x00,0x80,0x00,0x10,0x00,0x00,0x10,0xff,0x00,0x10,0x00,0x02,0x03,0x28,
+0x01,0x14,0x11,0x00,0x10,0xfb,0x34,0x9b,0x5f,0x80,0x00,0x00,0x80,0x00,0x10,0x00,
+0x00,0x13,0xff,0x00,0x01,0x00,0x12,0x00,0x02,0x02,0x29,0x02,0x00,0x00,0x00,0x00,
+0xaa,0x55,0x01,0x00,0x06,0x42,0x17,0xaa,0x55,0x01,0x00,0x93,0x40,0x00,0xaa,0x55,
+0x01,0x00,0x6d,0x46,0x28,0xaa,0x55,0x03,0x00,0x2d,0x46,0x02,0x00,0x04,0xaa,0x55,
+0x01,0x00,0x2c,0x46,0x01,0xaa,0x55,0x01,0x00,0x34,0x46,0x02,0xaa,0x55,0x01,0x00,
+0x54,0x46,0x01,0xaa,0x55,0x06,0x00,0xa0,0x40,0x1c,0x6a,0xa4,0xd8,0x17,0xe4,0xaa,
+0x55,0x0f,0x00,0xe7,0x44,0x0e,0x42,0x54,0x33,0x2e,0x30,0x20,0x4b,0x65,0x79,0x62,
+0x6f,0x61,0x72,0x64,0xaa,0x55,0x03,0x00,0xe4,0x41,0x0e,0x00,0x01,0xaa,0x55,0x01,
+0x00,0xe8,0x41,0x01,0xaa,0x55,0x01,0x00,0x2c,0x45,0x0a,0xaa,0x55,0x03,0x00,0xaa,
+0x40,0x40,0x25,0x00,0xaa,0x55,0x01,0x00,0x92,0x40,0x43,0xaa,0x55,0x01,0x00,0x5b,
+0x41,0x00,0xaa,0x55,0x08,0x00,0x98,0x40,0xff,0xff,0x8f,0xf8,0x83,0x9d,0x59,0x82,
+0xaa,0x55,0x01,0x00,0xd1,0x40,0x01,0xaa,0x55,0x0e,0x00,0x49,0x45,0x06,0x03,0x11,
+0x00,0x00,0x01,0x02,0x10,0x24,0x11,0x00,0x12,0x01,0x00,0xaa,0x55,0x01,0x00,0x5f,
+0x45,0x00,0xaa,0x55,0x02,0x00,0x47,0x45,0x83,0x46,0xaa,0x55,0x5a,0x02,0x83,0x46,
+0x04,0x00,0x11,0x01,0x00,0x10,0x02,0x11,0x24,0x00,0x01,0x00,0x00,0x36,0x01,0x9a,
+0x09,0x00,0x00,0x0a,0x00,0x01,0x00,0x00,0x09,0x00,0x01,0x35,0x03,0x19,0x11,0x24,
+0x09,0x00,0x04,0x35,0x0d,0x35,0x06,0x19,0x01,0x00,0x09,0x00,0x11,0x35,0x03,0x19,
+0x00,0x11,0x09,0x00,0x05,0x35,0x03,0x19,0x10,0x02,0x09,0x00,0x06,0x35,0x09,0x09,
+0x65,0x6e,0x09,0x00,0x6a,0x09,0x01,0x00,0x09,0x00,0x09,0x35,0x08,0x35,0x06,0x19,
+0x11,0x24,0x09,0x01,0x00,0x09,0x00,0x0d,0x35,0x0f,0x35,0x0d,0x35,0x06,0x19,0x01,
+0x00,0x09,0x00,0x13,0x35,0x03,0x19,0x00,0x11,0x09,0x01,0x00,0x25,0x3d,0x42,0x72,
 0x6f,0x61,0x64,0x63,0x6f,0x6d,0x20,0x42,0x6c,0x75,0x65,0x74,0x6f,0x6f,0x74,0x68,
-0x20,0x57,0x69,0x72,0x65,0x6c,0x65,0x73,0x73,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,
-0x72,0x64,0x20,0x50,0x6e,0x50,0x20,0x53,0x65,0x72,0x76,0x65,0x72,0x09,0x01,0x01,
-0x25,0x08,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x09,0x02,0x00,0x09,0x01,0x03,
-0x09,0x02,0x01,0x09,0x04,0xe8,0x09,0x02,0x02,0x09,0x70,0x21,0x09,0x02,0x03,0x09,
-0x00,0x01,0x09,0x02,0x04,0x28,0x01,0x09,0x02,0x05,0x09,0x00,0x02,0x00,0xaa,0x55,
-0x01,0x00,0x92,0x40,0x0a,0xaa,0x55,0x03,0x00,0x14,0x42,0xc5,0x4a,0x05,0xaa,0x55,
-0x10,0x00,0xf0,0x4f,0x00,0x1c,0xff,0x1f,0x00,0x1c,0x00,0x1c,0x80,0x4c,0xe0,0x4f,
-0x80,0x4c,0x80,0x4c,0xaa,0x55,0x02,0x00,0x68,0x46,0x20,0x0b,0xaa,0x55,0x01,0x00,
-0x6c,0x46,0x03,0xaa,0x55,0x01,0x00,0x6f,0x46,0x07,0xaa,0x55,0x01,0x00,0x79,0x46,
-0x00,0xaa,0x55,0x01,0x00,0x91,0x40,0x00,0xaa,0x55,0x03,0x00,0x54,0x41,0x00,0x01,
-0x08,0xaa,0x55,0x01,0x00,0x74,0x41,0x02,0xaa,0x55,0x02,0x00,0xe4,0x41,0x0e,0x00,
-0xaa,0x55,0x10,0x00,0xb9,0x4b,0xfc,0x54,0xcc,0xbb,0x96,0x8d,0x84,0x83,0x70,0x39,
-0xeb,0x2e,0x66,0xe9,0x60,0x4e,0xaa,0x55,0x06,0x00,0xd1,0x41,0x59,0x3a,0x98,0xe9,
-0xb6,0x98,0xaa,0x55,0x04,0x00,0xca,0x4b,0x05,0x2e,0x67,0xdd,0xaa,0x55,0x10,0x00,
-0xbf,0x41,0xf0,0xc0,0x93,0xe2,0x91,0xfa,0x78,0x23,0xd0,0x48,0x17,0x4c,0x5d,0x13,
-0xeb,0x23,0xaa,0x55,0x01,0x00,0xdf,0x41,0x02,0xaa,0x55,0x07,0x00,0x76,0x41,0x0f,
-0x84,0xf0,0x0a,0x0b,0xb2,0x32,0xaa,0x55,0x02,0x00,0x57,0x41,0x8b,0x0b,0xaa,0x55,
-0x08,0x00,0xa1,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xaa,0x55,0x02,0x00,
-0xbd,0x40,0x02,0x24,0xaa,0x55,0x08,0x00,0xad,0x40,0x03,0x00,0x10,0x00,0x03,0x00,
-0x30,0x00,0xaa,0x55,0x02,0x00,0xbb,0x40,0x20,0x00,0xaa,0x55,0x04,0x00,0xb7,0x40,
-0x20,0x00,0x00,0x20,0xaa,0x55,0x04,0x00,0xbf,0x40,0x80,0x04,0x00,0x10,0xaa,0x55,
-0x05,0x00,0xe2,0x44,0x08,0x0e,0x05,0x04,0x00,0xaa,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,0x6f,0x4b,0x4b,0xba,0x55,0xd0,0x56,0xe0,0x57,0x88,0x58,0x6c,0x59,
-0x10,0x07,0xff,0xff,0xaa,0x55,0x02,0x00,0xc3,0x40,0x6f,0x4b,0x1f,0x74
+0x20,0x57,0x69,0x72,0x65,0x6c,0x65,0x73,0x73,0x20,0x20,0x4b,0x65,0x79,0x62,0x6f,
+0x61,0x72,0x64,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
+0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x09,0x01,0x01,0x25,0x08,
+0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x09,0x01,0x02,0x25,0x10,0x42,0x72,0x6f,
+0x61,0x64,0x63,0x6f,0x6d,0x20,0x43,0x6f,0x72,0x70,0x2e,0x20,0x20,0x09,0x02,0x00,
+0x09,0x01,0x00,0x09,0x02,0x01,0x09,0x01,0x11,0x09,0x02,0x02,0x08,0x40,0x09,0x02,
+0x03,0x08,0x21,0x09,0x02,0x04,0x28,0x01,0x09,0x02,0x05,0x28,0x01,0x09,0x02,0x06,
+0x35,0x89,0x35,0x87,0x08,0x22,0x25,0x83,0x05,0x01,0x09,0x06,0xa1,0x01,0x85,0x01,
+0x75,0x01,0x95,0x08,0x05,0x07,0x19,0xe0,0x29,0xe7,0x15,0x00,0x25,0x01,0x81,0x02,
+0x95,0x01,0x75,0x08,0x81,0x03,0x95,0x05,0x75,0x01,0x05,0x08,0x19,0x01,0x29,0x05,
+0x91,0x02,0x95,0x01,0x75,0x03,0x91,0x03,0x95,0x06,0x75,0x08,0x15,0x00,0x25,0xff,
+0x05,0x07,0x19,0x00,0x29,0xff,0x81,0x00,0xc0,0x05,0x0c,0x09,0x01,0xa1,0x01,0x85,
+0x02,0x19,0x00,0x2a,0xff,0x03,0x15,0x00,0x26,0xff,0x03,0x95,0x01,0x75,0x10,0x81,
+0x00,0xc0,0x05,0x01,0x09,0x06,0xa1,0x01,0x85,0x07,0x05,0x07,0x19,0xe0,0x29,0xe7,
+0x15,0x00,0x25,0x01,0x75,0x01,0x95,0x08,0x81,0x00,0x95,0xa8,0x75,0x01,0x15,0x00,
+0x25,0x01,0x05,0x07,0x19,0x00,0x29,0xa8,0x81,0x02,0xc0,0x09,0x02,0x07,0x35,0x08,
+0x35,0x06,0x09,0x04,0x09,0x09,0x01,0x00,0x09,0x02,0x0b,0x09,0x01,0x00,0x09,0x02,
+0x0c,0x09,0x0c,0x80,0x09,0x02,0x0d,0x28,0x00,0x09,0x02,0x0e,0x28,0x01,0x09,0x02,
+0x0f,0x09,0x03,0x18,0x09,0x02,0x10,0x09,0x00,0x00,0x03,0x10,0x02,0x12,0x00,0x00,
+0x01,0x00,0x01,0x00,0x01,0x36,0x00,0xa1,0x09,0x00,0x00,0x0a,0x00,0x01,0x00,0x01,
+0x09,0x00,0x01,0x35,0x03,0x19,0x12,0x00,0x09,0x00,0x04,0x35,0x0d,0x35,0x06,0x19,
+0x01,0x00,0x09,0x00,0x01,0x35,0x03,0x19,0x00,0x01,0x09,0x00,0x06,0x35,0x09,0x09,
+0x65,0x6e,0x09,0x00,0x6a,0x09,0x01,0x00,0x09,0x00,0x09,0x35,0x08,0x35,0x06,0x19,
+0x12,0x00,0x09,0x01,0x00,0x09,0x01,0x00,0x25,0x2f,0x42,0x72,0x6f,0x61,0x64,0x63,
+0x6f,0x6d,0x20,0x42,0x6c,0x75,0x65,0x74,0x6f,0x6f,0x74,0x68,0x20,0x57,0x69,0x72,
+0x65,0x6c,0x65,0x73,0x73,0x20,0x4b,0x65,0x79,0x62,0x6f,0x61,0x72,0x64,0x20,0x50,
+0x6e,0x50,0x20,0x53,0x65,0x72,0x76,0x65,0x72,0x09,0x01,0x01,0x25,0x08,0x4b,0x65,
+0x79,0x62,0x6f,0x61,0x72,0x64,0x09,0x02,0x00,0x09,0x01,0x03,0x09,0x02,0x01,0x09,
+0x04,0xe8,0x09,0x02,0x02,0x09,0x70,0x21,0x09,0x02,0x03,0x09,0x00,0x01,0x09,0x02,
+0x04,0x28,0x01,0x09,0x02,0x05,0x09,0x00,0x02,0x00,0xaa,0x55,0x01,0x00,0x92,0x40,
+0x0a,0xaa,0x55,0x03,0x00,0x14,0x42,0xc5,0x4a,0x05,0xaa,0x55,0x10,0x00,0xf0,0x4f,
+0x00,0x1c,0xff,0x1f,0x00,0x1c,0x00,0x1c,0x80,0x4c,0xe0,0x4f,0x80,0x4c,0x80,0x4c,
+0xaa,0x55,0x02,0x00,0x68,0x46,0x20,0x0b,0xaa,0x55,0x01,0x00,0x6c,0x46,0x03,0xaa,
+0x55,0x01,0x00,0x6f,0x46,0x07,0xaa,0x55,0x01,0x00,0x79,0x46,0x00,0xaa,0x55,0x01,
+0x00,0x91,0x40,0x00,0xaa,0x55,0x03,0x00,0x54,0x41,0x00,0x01,0x08,0xaa,0x55,0x01,
+0x00,0x74,0x41,0x02,0xaa,0x55,0x02,0x00,0xe4,0x41,0x0e,0x00,0xaa,0x55,0x10,0x00,
+0xb9,0x4b,0xfc,0x54,0xcc,0xbb,0x96,0x8d,0x84,0x83,0x70,0x39,0xeb,0x2e,0x66,0xe9,
+0x60,0x4e,0xaa,0x55,0x06,0x00,0xd1,0x41,0x59,0x3a,0x98,0xe9,0xb6,0x98,0xaa,0x55,
+0x04,0x00,0xca,0x4b,0x05,0x2e,0x67,0xdd,0xaa,0x55,0x10,0x00,0xbf,0x41,0xf0,0xc0,
+0x93,0xe2,0x91,0xfa,0x78,0x23,0xd0,0x48,0x17,0x4c,0x5d,0x13,0xeb,0x23,0xaa,0x55,
+0x01,0x00,0xdf,0x41,0x02,0xaa,0x55,0x07,0x00,0x76,0x41,0x0f,0x84,0xf0,0x0a,0x0b,
+0xb2,0x32,0xaa,0x55,0x02,0x00,0x57,0x41,0x8b,0x0b,0xaa,0x55,0x08,0x00,0xa1,0x00,
+0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xaa,0x55,0x02,0x00,0xbd,0x40,0x02,0x24,
+0xaa,0x55,0x08,0x00,0xad,0x40,0x03,0x00,0x10,0x00,0x03,0x00,0x30,0x00,0xaa,0x55,
+0x02,0x00,0xbb,0x40,0x20,0x00,0xaa,0x55,0x04,0x00,0xb7,0x40,0x20,0x00,0x00,0x20,
+0xaa,0x55,0x04,0x00,0xbf,0x40,0x80,0x04,0x00,0x10,0xaa,0x55,0x05,0x00,0xe2,0x44,
+0x08,0x0e,0x05,0x04,0x00,0xaa,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,0x6f,
+0x4b,0x4b,0xba,0x55,0xd0,0x56,0xe0,0x57,0x88,0x58,0x6c,0x59,0x10,0x07,0xff,0xff,
+0xaa,0x55,0x02,0x00,0xc3,0x40,0x6f,0x4b,0x6a,0x86
 };
Index: patch/patch.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/patch/patch.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/patch/patch.prog	(working copy)
@@ -1474,7 +1474,7 @@
 
 
 /*
-	芯片公共bugfix
+	chip public bugfix
 */
 
 /*
@@ -1516,8 +1516,8 @@
 	branch clk2rt+1
 
 /*
-	YC3121 没有exen GPIO
-	跳过disable exen
+	YC3121 have no exen GPIO
+	jump disable exen
 */
 p_soft_reset:
 	call rfcomm_init
@@ -1535,7 +1535,7 @@
 
 /*
 	YC3121 shutdown radio bugfix
-	rfen_adc bug 陶其文添加
+	rfen_adc bug from taoqiwen
 */
 p_shutdown_radio:
 	branch p_shutdown_radio0,is_rx
@@ -1603,6 +1603,8 @@
 
 
 p_init_param:
+	hjam 0x74,rfen_adc
+	nop 12000
 	hjam 0x7c,rfen_adc
 	rtn wake
 	setarg 0
@@ -1614,11 +1616,12 @@
 
 
 /*
-	YC3121 芯片功能bugfix
+	YC3121 chip function bugfix
 */
 
 /*
-	关闭广播不能休眠的问题
+	close the advertise chip won't enter sleep
+	
 */
 p_lpm_unconn_nossp:
 	branch lpm_unconn_cont				//BT/BLE discover don't infect lpm
@@ -1638,12 +1641,13 @@
 
 
 /*
-	ble 层bugfix
+	ble bugfix
 */
 
 /*
-	广播层收发等待100us左右
+	advertising waiting 100us after transmit or receive
 */
+
 p_le_transmit_receive_sifs:
 	call le_transmit
 	call set_sync_on
@@ -1672,7 +1676,7 @@
 
 
 /*
-	l2cap 组包的问题
+	ble l2cap group package
 */
 p_le_parse:
 	rtnmark1 mark_old_packet
@@ -1719,7 +1723,7 @@
 	branch timer_init
 	
 /*
-	解密错误不解析的问题
+	parse encryption problem
 */
 p_le_acknowledge:
 	call le_supervision_flush
@@ -1834,9 +1838,9 @@
 
 
 /*
-	经典蓝牙事件处理函数
+	classic bluetooth event process
 */
-//清除timer
+//clear timer
 classic_shutter_process_baseband_connect:
 	jam 0,mem_classic_shutter_hid_disconn_count
 	jam 0,mem_classic_shutter_cable_unplug_conut	
@@ -2023,7 +2027,7 @@
 
 	jam HCI_EVENT_RECEIVE_BT_HID_DATA,mem_module_uart_opcode
 	fetch 2,mem_l2cap_rx_pkt_length
-	pincrease -1
+//	pincrease -1
 	icopy loopcnt
 	
 	call module_hci_prepare_tx
Index: program_patch/keyboard_ble_spec_code/patch_ble.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_ble_spec_code/patch_ble.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_ble_spec_code/patch_ble.prog	(working copy)
@@ -11,12 +11,13 @@
 
 
 /*
-	ble 层bugfix
+	ble bugfix
 */
 
 /*
-	广播层收发等待100us左右
+	advertising waiting 100us after transmit or receive
 */
+
 p_le_transmit_receive_sifs:
 	call le_transmit
 	call set_sync_on
@@ -45,7 +46,7 @@
 
 
 /*
-	l2cap 组包的问题
+	ble l2cap group package
 */
 p_le_parse:
 	rtnmark1 mark_old_packet
@@ -92,7 +93,7 @@
 	branch timer_init
 	
 /*
-	解密错误不解析的问题
+	parse encryption problem
 */
 p_le_acknowledge:
 	call le_supervision_flush
Index: program_patch/keyboard_bt_spec_code/patch_bt_event_deal.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_bt_spec_code/patch_bt_event_deal.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_bt_spec_code/patch_bt_event_deal.prog	(working copy)
@@ -1,9 +1,9 @@
 
 
 /*
-	经典蓝牙事件处理函数
+	classic bluetooth event process
 */
-//清除timer
+//clear timer
 classic_shutter_process_baseband_connect:
 	jam 0,mem_classic_shutter_hid_disconn_count
 	jam 0,mem_classic_shutter_cable_unplug_conut	
Index: program_patch/keyboard_bt_spec_code/patch_bt_hid.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_bt_spec_code/patch_bt_hid.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/keyboard_bt_spec_code/patch_bt_hid.prog	(working copy)
@@ -27,7 +27,7 @@
 
 	jam HCI_EVENT_RECEIVE_BT_HID_DATA,mem_module_uart_opcode
 	fetch 2,mem_l2cap_rx_pkt_length
-	pincrease -1
+//	pincrease -1
 	icopy loopcnt
 	
 	call module_hci_prepare_tx
Index: program_patch/patch_chip_common_bugfix.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/patch_chip_common_bugfix.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/patch_chip_common_bugfix.prog	(working copy)
@@ -1,6 +1,6 @@
 
 /*
-	芯片公共bugfix
+	chip public bugfix
 */
 
 /*
@@ -42,8 +42,8 @@
 	branch clk2rt+1
 
 /*
-	YC3121 没有exen GPIO
-	跳过disable exen
+	YC3121 have no exen GPIO
+	jump disable exen
 */
 p_soft_reset:
 	call rfcomm_init
@@ -61,7 +61,7 @@
 
 /*
 	YC3121 shutdown radio bugfix
-	rfen_adc bug 陶其文添加
+	rfen_adc bug from taoqiwen
 */
 p_shutdown_radio:
 	branch p_shutdown_radio0,is_rx
Index: program_patch/patch_chip_function_bugfix.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/patch_chip_function_bugfix.prog	(revision 876)
+++ /YC3121_demo/ModuleDemo/BlueTooth/BT_code_patch/shoubing/program_patch/patch_chip_function_bugfix.prog	(working copy)
@@ -1,10 +1,11 @@
 
 /*
-	YC3121 芯片功能bugfix
+	YC3121 chip function bugfix
 */
 
 /*
-	关闭广播不能休眠的问题
+	close the advertise chip won't enter sleep
+	
 */
 p_lpm_unconn_nossp:
 	branch lpm_unconn_cont				//BT/BLE discover don't infect lpm

