Index: Librarier/bt_rom/format/hci.format
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/Librarier/bt_rom/format/hci.format	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/Librarier/bt_rom/format/hci.format	(working copy)
@@ -491,6 +491,9 @@
 0x20 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_REPLY
 0x21 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_NEGATIVE_REPLY
 0x22 HCI_LE_SET_DATA_LENGTH
+
+0x3A HCI_LE_READ_MAX_ADV_DATA_LEN
+0x3B HCI_LE_READ_READ_NUM_ADV_SETS
 )
 // HCI event code
 (
Index: Librarier/bt_rom/format/headset.format
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/Librarier/bt_rom/format/headset.format	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/Librarier/bt_rom/format/headset.format	(working copy)
@@ -339,6 +339,15 @@
 	16	mem_le_encrypted_data
 //	8 mem_le_random_number
 //	2 mem_le_encrypted_diversifier
+
+	1 mem_fsc_rtk_host_20_seq
+	2 mem_fsc_rtk_host_94_seq
+	
+	10 mem_local_ext_features
+	10 mem_local_ext_features1
+	10 mem_local_ext_features2
+
+	8 mem_le_support_states
 0 mem_headset_end
 )
 (
Index: ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog	(working copy)
@@ -197,15 +197,37 @@
 	istore 6,contw
 	branch ipc_hci_tx_start
 z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features:
+	call p_ipc_rx_hci_data_one_byte
+	store 1,mem_temp
+	arg 11,loopcnt
+	call p_hci_prepare_send_event_command_complete_with_status_success
+	fetch 1,mem_temp
+	beq 1,z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features1
+	beq 2,z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features2
+	fetch 8,mem_local_ext_features
+z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features_cont:
+	istore 8,contw
+	ifetch 2,contr
+	istore 2,contw
+	branch ipc_hci_tx_start
+
+z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features1:
+	fetch 8,mem_local_ext_features1
+	branch z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features_cont
+z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features2:
+	fetch 8,mem_local_ext_features2
+	branch z_hci_parse_packet_cmd_ogf_infomational_parameters_read_local_ext_features_cont
+
 z_hci_parse_packet_cmd_ogf_infomational_parameters_read_buffer_size:
 	arg 8,loopcnt
 	call p_hci_prepare_send_event_command_complete_with_status_success
-	setarg 680
+	setarg 0x03fd
 	istore 2,contw
-	setarg 60
+	setarg 0xff
 	istore 1,contw
-	setarg 8
+	setarg 0x06
 	istore 2,contw
+	setarg 0x0c
 	istore 2,contw
 	branch ipc_hci_tx_start
 
@@ -448,7 +470,7 @@
 
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_inquiry_scan_type:	//43
 	call p_ipc_rx_hci_data_one_byte
-	branch p_hci_send_event_command_complete_error_command_nuknown
+	branch p_hci_send_event_command_complete_without_payload
 
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_read_inquiry_mode:	//44
 	arg 2,loopcnt
@@ -468,7 +490,7 @@
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_page_scan_type:	//47
 	//Standard Scan, normal reply
 	call p_ipc_rx_hci_data_one_byte
-	branch p_hci_send_event_command_complete_error_command_nuknown
+	branch p_hci_send_event_command_complete_without_payload
 
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_read_eir:    //51
 	arg 242,loopcnt
@@ -872,6 +894,8 @@
 	beq HCI_WRITE_SIMPLE_PAIRING_MODE,z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_simple_pairing_mode //56
 	beq HCI_READ_LE_HOST_SUPPORT,z_hci_parse_packet_cmd_ogf_controller_and_baseband_read_le_host_support	//6C
 	beq HCI_WRITE_LE_HOST_SUPPORT,z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_le_host_support	//6D
+	beq HCI_HOST_BUFFER_SIZE,p_hci_send_event_command_complete_without_payload	//0x33
+	
 	
 	branch z_hci_parse_packet_cmd_ogf_controller_and_baseband3
 
@@ -894,6 +918,12 @@
 	store 1,mem_le_adv_enable
 	store 1,mem_le_scan_enable
 	store 1,mem_scan_mode
+
+	setarg 0x1d7b
+	store 2,mem_mesh_read_local_version_info_hci_revision
+	setarg 0xec42
+	store 2,mem_mesh_read_local_version_info_lmp_subversion
+
 	branch p_hci_init_bd_address
 
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_link_supervision_timeout:  //37
@@ -950,6 +980,13 @@
 	beq HCI_WRITE_CURRENT_IAC_LAP,z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_current_IAC_LAP	//3a
 	beq HCI_READ_CONN_ACCEPT_TIMEOUT,z_hci_parse_packet_cmd_ogf_controller_and_baseband_read_conn_accept_timeout //15
 	beq HCI_WRITE_CONN_ACCEPT_TIMEOUT,z_hci_parse_packet_cmd_ogf_controller_and_baseband_write_conn_accept_timeout //16
+
+	beq HCI_WRITE_SECURE_CONNECTIONS_HOST_SUPPORT,p_hci_send_event_command_complete_without_payload	//6D
+	beq HCI_WRITE_VOICE_SETTING,p_hci_send_event_command_complete_without_payload	//6D
+
+	//beq HCI_WRITE_INQUIRY_SCAN_TYPE,p_hci_send_event_command_complete_without_payload	//43
+	//beq HCI_WRITE_PAGE_SCAN_TYPE,p_hci_send_event_command_complete_without_payload	//47
+	
 	branch p_hci_send_event_command_complete_error_command_nuknown
 
 z_hci_parse_packet_cmd_ogf_controller_and_baseband_read_current_IAC_LAP:
@@ -1332,12 +1369,10 @@
 	fetch 1,mem_mesh_hci_opcode_ocf
 	beq HCI_WRITE_BD_ADDR,z_hci_parse_packet_cmd_ogf_vendorspecific_write_bd_addr
 ifdef FSC_RTK_HOST
-	beq 0x17,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_17
-	beq 0x20,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_20
-	beq 0xa3,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_a3
-	beq 0x60,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_read_svn_version
-endif
+	branch z_hci_parse_vendor_rtk_cmd_cont
+else
 	branch p_hci_send_event_command_complete_error_command_nuknown
+endif
 
 z_hci_parse_packet_cmd_ogf_vendorspecific_write_bd_addr:
 	call p_ipc_rx_hci_data_six_byte
@@ -1346,9 +1381,25 @@
 	branch p_hci_send_event_command_complete_without_payload
 
 
+
 ifdef FSC_RTK_HOST
+org z
+z_hci_parse_vendor_rtk_cmd_cont:
+	fetch 1,mem_mesh_hci_opcode_ocf
+	beq 0x17,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_17
+	beq 0x20,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_20
+	beq 0xa3,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_a3
+	beq 0x60,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_read_svn_version
+	beq 0x6d,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_6d
+	beq 0x94,z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_94
+	branch p_hci_send_event_command_complete_error_command_nuknown
+
 z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_17:
 	jam 0x3f,mem_fsc_rtk_host
+	setarg 0
+	store 1,mem_fsc_rtk_host_20_seq
+	setarg 1
+	store 2,mem_fsc_rtk_host_94_seq
 	branch p_hci_send_event_command_complete_without_payload
 
 
@@ -1357,6 +1408,28 @@
 	arg 0x02,loopcnt
 	call p_hci_prepare_send_event_command_complete
 	setarg 0
+	istore 1,contw
+	fetch 1,mem_fsc_rtk_host_20_seq
+	istore 1,contw
+	increase 1,pdata
+	store 1,mem_fsc_rtk_host_20_seq
+	branch ipc_hci_tx_start
+
+z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_94:
+	arg 0x03,loopcnt
+	call p_hci_prepare_send_event_command_complete
+	setarg 0
+	istore 1,contw
+	fetch 2,mem_fsc_rtk_host_94_seq
+	istore 2,contw
+	increase 1,pdata
+	store 2,mem_fsc_rtk_host_94_seq
+	branch ipc_hci_tx_start
+
+z_hci_parse_packet_cmd_ogf_vendorspecific_rtk_6d:
+	arg 0x02,loopcnt
+	call p_hci_prepare_send_event_command_complete
+	setarg 0x0100
 	istore 2,contw
 	branch ipc_hci_tx_start
 
@@ -1387,7 +1460,6 @@
 	branch ipc_hci_tx_start
 endif	
 
-
 org z
 z_hci_send_connection_rtn_error:
 	jam 11,mem_mesh_event_para_total_length
@@ -1613,8 +1685,32 @@
 z_hci_parse_packet_cmd_ogf_le_controller5:
  	fetch 1,mem_mesh_hci_opcode_ocf
 	beq HCI_LE_START_ENCRYPTION,z_hci_parse_packet_cmd_ogf_le_controller_start_encryption	//0x19
-	
+	beq HCI_LE_READ_SUPPORTED_STATES,z_hci_parse_packet_cmd_ogf_le_controller_read_supported_states
+
+	beq HCI_LE_READ_MAX_ADV_DATA_LEN,z_hci_parse_packet_cmd_ogf_le_controller_read_max_adv_data_len
+	beq HCI_LE_READ_READ_NUM_ADV_SETS,z_hci_parse_packet_cmd_ogf_le_controller_read_num_adv_sets
 	branch p_hci_send_event_command_complete_error_command_nuknown
+
+z_hci_parse_packet_cmd_ogf_le_controller_read_max_adv_data_len:
+	arg 3,loopcnt
+	call p_hci_prepare_send_event_command_complete_with_status_success
+	setarg 0x400
+	istore 2,contw
+	branch ipc_hci_tx_start
+
+z_hci_parse_packet_cmd_ogf_le_controller_read_num_adv_sets:
+	arg 2,loopcnt
+	call p_hci_prepare_send_event_command_complete_with_status_success
+	setarg 4
+	istore 1,contw
+	branch ipc_hci_tx_start
+
+z_hci_parse_packet_cmd_ogf_le_controller_read_supported_states:
+	arg 9,loopcnt
+	call p_hci_prepare_send_event_command_complete_with_status_success
+	fetch 8,mem_le_support_states
+	istore 8,contw
+	branch ipc_hci_tx_start
 	
 	
 z_hci_parse_packet_cmd_ogf_le_controller_start_encryption:
Index: ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat	(working copy)
@@ -52,7 +52,7 @@
 mem_scan_mode:00
 mem_class: 04 04 24
 mem_local_name_length:
-'EVKOTA
+'RTK_BT_5.0
 
 #FF FF FF is Fixed for OTA.
 mem_lap:45 FF 31 FF FF FF
@@ -112,14 +112,7 @@
 83
 
 mem_le_features:
-21				//length extension
-00
-00
-00
-00
-00
-00
-00
+1D 5F 66 00 00 00 00 00
 
 
 mem_xip_option:5d 40 bb
@@ -311,13 +304,24 @@
 mem_mesh_command_complete_num_hci_command_packet:01
 
 mem_mesh_read_local_version_info:
-09		#hci_version BT_HCI_VERSION_5_0
-00 00	#hci_revsion
-09		#lmp_version RADIO_BLE_VERSION_NUMBER:BT_HCI_VERSION_5_0
-0e 05	#manufacture_name Yichip Microelectronics (Hangzhou) Co.,Ltd.
-FF FF	#LPM_subversion
+0A		#hci_version BT_HCI_VERSION_5_0
+0B 00	#hci_revsion
+0A		#lmp_version RADIO_BLE_VERSION_NUMBER:BT_HCI_VERSION_5_0
+5d 00	#manufacture_name Yichip Microelectronics (Hangzhou) Co.,Ltd.
+61 87	#LPM_subversion
+
+mem_mesh_read_local_support_command:ff 
+ff ff 03 CC FF FF FF 3F FF FC 9F 
+F3 0F E8 FE 3F F7 8F FF 1C 00 00 
+00 61 F7 FF FF 7F 00 E0 FF FF 00 
+00 F0 FF E3 80 07 00 00 00 00 00 
+00
+
+mem_local_ext_features:00 02 FF FF FF FE DB FD 7B 87
+mem_local_ext_features1:01 02 07 00 00 00 00 00 00 00
+mem_local_ext_features2:02 02 5F 03 00 00 00 00 00 00
 
-mem_mesh_read_local_support_command:02 05 ff
+mem_le_support_states:FF FF FF FF FF 03 00 00
 
 mem_device_public_address:11 22 33 44 55 66
 
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(working copy)
@@ -256,6 +256,7 @@
       <pMultCmdsp></pMultCmdsp>
       <DebugDescription>
         <Enable>1</Enable>
+        <EnableFlashSeq>0</EnableFlashSeq>
         <EnableLog>0</EnableLog>
         <Protocol>1</Protocol>
         <DbgClock>10000000</DbgClock>
@@ -285,7 +286,7 @@
       <GroupNumber>1</GroupNumber>
       <FileNumber>2</FileNumber>
       <FileType>1</FileType>
-      <tvExp>1</tvExp>
+      <tvExp>0</tvExp>
       <tvExpOptDlg>0</tvExpOptDlg>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\User\Drv_bt.c</PathWithFileName>
@@ -317,7 +318,7 @@
 
   <Group>
     <GroupName>driver</GroupName>
-    <tvExp>0</tvExp>
+    <tvExp>1</tvExp>
     <tvExpOptDlg>0</tvExpOptDlg>
     <cbSel>0</cbSel>
     <RteFlg>0</RteFlg>
@@ -325,7 +326,7 @@
       <GroupNumber>3</GroupNumber>
       <FileNumber>4</FileNumber>
       <FileType>1</FileType>
-      <tvExp>1</tvExp>
+      <tvExp>0</tvExp>
       <tvExpOptDlg>0</tvExpOptDlg>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\..\..\..\..\Librarier\device\yc11xx.c</PathWithFileName>
@@ -489,6 +490,18 @@
       <RteFlg>0</RteFlg>
       <bShared>0</bShared>
     </File>
+    <File>
+      <GroupNumber>3</GroupNumber>
+      <FileNumber>18</FileNumber>
+      <FileType>1</FileType>
+      <tvExp>0</tvExp>
+      <tvExpOptDlg>0</tvExpOptDlg>
+      <bDave2>0</bDave2>
+      <PathWithFileName>..\..\User\hci\yc11xx_h5.c</PathWithFileName>
+      <FilenameWithoutPath>yc11xx_h5.c</FilenameWithoutPath>
+      <RteFlg>0</RteFlg>
+      <bShared>0</bShared>
+    </File>
   </Group>
 
 </ProjectOpt>
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(working copy)
@@ -16,7 +16,7 @@
         <TargetCommonOption>
           <Device>ARMCM0</Device>
           <Vendor>ARM</Vendor>
-          <PackID>ARM.CMSIS.5.3.0</PackID>
+          <PackID>ARM.CMSIS.5.7.0</PackID>
           <PackURL>http://www.keil.com/pack/</PackURL>
           <Cpu>IROM(0x00000000,0x00040000) IRAM(0x20000000,0x00020000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
           <FlashUtilSpec></FlashUtilSpec>
@@ -184,6 +184,7 @@
             <hadXRAM>0</hadXRAM>
             <uocXRam>0</uocXRam>
             <RvdsVP>0</RvdsVP>
+            <RvdsMve>0</RvdsMve>
             <hadIRAM2>0</hadIRAM2>
             <hadIROM2>0</hadIROM2>
             <StupSel>8</StupSel>
@@ -527,6 +528,11 @@
                 </FileArmAds>
               </FileOption>
             </File>
+            <File>
+              <FileName>yc11xx_h5.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\..\User\hci\yc11xx_h5.c</FilePath>
+            </File>
           </Files>
         </Group>
       </Groups>
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c	(working copy)
@@ -161,7 +161,8 @@
     }
 
 
-    h4_send_data(dataPtr, totalLength);
+    //h4_send_data(dataPtr, totalLength);
+    h5_send_data(dataPtr, totalLength);
 }
 void Bt_DataBufferCallBack(uint8_t len,uint8_t *dataPtr)
 {
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/app_config.h
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/app_config.h	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/app_config.h	(working copy)
@@ -9,7 +9,7 @@
 /////////////////// Function Control///////////////////
 #define FUNCTION_CONTROL_DEBUG_ENABLE
 //#define FUNCTION_WATCH_DOG
-//#define FUNCTION_FSC_RTK_HOST
+#define FUNCTION_FSC_RTK_HOST
 #define FUNCTION_FSC_RTK_HOST_WHITE
 
 /////////////////// DEBUG Setting///////////////////
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h	(working copy)
@@ -1727,7 +1727,13 @@
 #define	mem_hci_read_remote_version_information_flag	0x4ef8
 #define	mem_mesh_classic_version                	0x4ef9
 #define	mem_le_encrypted_data                   	0x4efe
-#define	mem_headset_end                         	0x4f0e
+#define	mem_fsc_rtk_host_20_seq                 	0x4f0e
+#define	mem_fsc_rtk_host_94_seq                 	0x4f0f
+#define	mem_local_ext_features                  	0x4f11
+#define	mem_local_ext_features1                 	0x4f1b
+#define	mem_local_ext_features2                 	0x4f25
+#define	mem_le_support_states                   	0x4f2f
+#define	mem_headset_end                         	0x4f37
 #define	mem_usb_mouse_data                      	0x4ace
 #define	mem_usb_kb_data                         	0x4ade
 #define	mem_usb_kb_multikey                     	0x4aee
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/main.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(working copy)
@@ -63,7 +63,7 @@
 #ifdef FUNCTION_WATCH_DOG
 	WDT_Start(&gWdtInit);
 #endif
-	h4_init();
+	h5_init();
 
 //	sleep_500ms;
 //	LPM_ENABLE;
@@ -74,8 +74,6 @@
 		WDT_Kick();
 #endif
 		//For respin log print
-		
-
 		switch (HREAD(IPC_MCU_STATE))
 		{
 			case IPC_MCU_STATE_RUNNING:
@@ -90,7 +88,7 @@
 					
 			//		Bat_StateSwitchPooling();
 
-					h4_polling_rx();
+					h5_polling_work();
 				}
 				Lpm_unLockLpm(M0_LPM_FLAG);
 				break;
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/memmap.format
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/memmap.format	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/memmap.format	(working copy)
@@ -1725,7 +1725,13 @@
 0x4ef8 mem_hci_read_remote_version_information_flag
 0x4ef9 mem_mesh_classic_version
 0x4efe mem_le_encrypted_data
-0x4f0e mem_headset_end
+0x4f0e mem_fsc_rtk_host_20_seq
+0x4f0f mem_fsc_rtk_host_94_seq
+0x4f11 mem_local_ext_features
+0x4f1b mem_local_ext_features1
+0x4f25 mem_local_ext_features2
+0x4f2f mem_le_support_states
+0x4f37 mem_headset_end
 0x4ace mem_usb_mouse_data
 0x4ade mem_usb_kb_data
 0x4aee mem_usb_kb_multikey
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(working copy)
@@ -1861,73 +1861,73 @@
 7920fe00
 1fe17e01
 20202b12
-58000380
-2020068a
-58000340
+58000390
 2020068a
 58000350
 2020068a
-580002d0
-2020068a
-580002f0
+58000360
 2020068a
-58000110
+580002e0
 2020068a
-580003d0
+58000300
 2020068a
-58000390
+58000110
 2020068a
-58000250
+580003e0
 2020068a
-58000210
+580003a0
 2020068a
-58000400
+58000260
 2020068a
-580002c0
+58000220
 2020068a
-58000430
+58000410
 2020068a
-580003a0
+580002d0
 2020068a
-580001d0
+58000440
 2020068a
-58000330
+580003b0
 2020068a
 580001e0
 2020068a
-58000140
+58000340
 2020068a
-580001b0
+580001f0
 2020068a
-58000290
+58000150
 2020068a
-58000360
+580001c0
+2020068a
+580002a0
 2020068a
 58000370
 2020068a
-58000230
+58000380
 2020068a
-58000160
+58000240
 2020068a
-580003c0
+58000170
 2020068a
-580001f0
+580003d0
 2020068a
 58000200
 2020068a
-58000240
+58000210
 2020068a
-58000300
+58000250
 2020068a
 58000310
 2020068a
 58000320
 2020068a
-58000420
+58000330
 2020068a
-580002b0
+58000430
 2020068a
-58000410
+580002c0
+2020068a
+58000420
 2020068a
 58000080
 2020068a
@@ -1947,13 +1947,13 @@
 2020068a
 580000c0
 2020068a
-58000440
+58000450
 2020068a
 580000e0
 2020068a
 58000100
 2020068a
-58000180
+58000190
 2020068a
 58000120
 2020068a
@@ -1967,29 +1967,31 @@
 2020068a
 58000050
 2020068a
-58000190
+58000140
 2020068a
 580001a0
 2020068a
-58000130
-2020068a
-58000260
+580001b0
 2020068a
-580002a0
+58000130
 2020068a
 58000270
 2020068a
+580002b0
+2020068a
 58000280
 2020068a
-580002e0
+58000290
 2020068a
-58000170
+580002f0
 2020068a
-580001c0
+58000180
 2020068a
-580003b0
+580001d0
 2020068a
-580003e0
+580003c0
 2020068a
 580003f0
 2020068a
+58000400
+2020068a
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(working copy)
@@ -119,7 +119,7 @@
 mem_scan_mode:00
 mem_class: 04 04 24
 mem_local_name_length:
-'EVKOTA
+'RTK_BT_5.0
 
 #FF FF FF is Fixed for OTA.
 mem_lap:45 FF 31 FF FF FF
@@ -179,14 +179,7 @@
 83
 
 mem_le_features:
-21				//length extension
-00
-00
-00
-00
-00
-00
-00
+1D 5F 66 00 00 00 00 00
 
 
 mem_xip_option:5d 40 bb
@@ -378,13 +371,24 @@
 mem_mesh_command_complete_num_hci_command_packet:01
 
 mem_mesh_read_local_version_info:
-09		#hci_version BT_HCI_VERSION_5_0
-00 00	#hci_revsion
-09		#lmp_version RADIO_BLE_VERSION_NUMBER:BT_HCI_VERSION_5_0
-0e 05	#manufacture_name Yichip Microelectronics (Hangzhou) Co.,Ltd.
-FF FF	#LPM_subversion
+0A		#hci_version BT_HCI_VERSION_5_0
+0B 00	#hci_revsion
+0A		#lmp_version RADIO_BLE_VERSION_NUMBER:BT_HCI_VERSION_5_0
+5d 00	#manufacture_name Yichip Microelectronics (Hangzhou) Co.,Ltd.
+61 87	#LPM_subversion
+
+mem_mesh_read_local_support_command:ff 
+ff ff 03 CC FF FF FF 3F FF FC 9F 
+F3 0F E8 FE 3F F7 8F FF 1C 00 00 
+00 61 F7 FF FF 7F 00 E0 FF FF 00 
+00 F0 FF E3 80 07 00 00 00 00 00 
+00
+
+mem_local_ext_features:00 02 FF FF FF FE DB FD 7B 87
+mem_local_ext_features1:01 02 07 00 00 00 00 00 00 00
+mem_local_ext_features2:02 02 5F 03 00 00 00 00 00 00
 
-mem_mesh_read_local_support_command:02 05 ff
+mem_le_support_states:FF FF FF FF FF 03 00 00
 
 mem_device_public_address:11 22 33 44 55 66
 
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom	(revision 6166)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_JinJu_Rtk/ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom	(working copy)
@@ -388,7 +388,7 @@
 c00a8014
 c001000d
 c0090007
-202007c9
+202007cb
 da200001
 d8200003
 204049ab
@@ -453,7 +453,7 @@
 c006002b
 c0008008
 c0004880
-202007c7
+202007c9
 efea0006
 67ea4528
 efe40006
@@ -643,9 +643,9 @@
 68420048
 20407a08
 6fe20048
-c28387c3
+c28387c5
 c0188021
-c00607c5
+c00607c7
 c0038030
 c005800b
 20204f6c
@@ -967,7 +967,7 @@
 67e4003e
 7855fc00
 704c8a00
-202007c1
+202007c3
 00000000
 00000000
 00000000
@@ -1058,7 +1058,7 @@
 24348023
 18808fff
 704c8a02
-202007c1
+202007c3
 00000000
 00000000
 00000000
@@ -1512,7 +1512,7 @@
 204057bf
 6fe24bce
 c301002c
-c28287bf
+c28287c1
 204006ee
 204006ee
 700f0d9f
@@ -1858,7 +1858,7 @@
 6fe2007d
 c0018012
 c0088005
-202007bd
+202007bf
 20404e14
 6fe24ef1
 c0010009
@@ -1923,11 +1923,11 @@
 c006000a
 c00b8011
 c0058014
-c01987b9
+c01987bb
 c017001e
 c0208022
 c0098030
-202007bb
+202007bd
 da200040
 2040604d
 6fe80739
@@ -1992,7 +1992,7 @@
 c0140026
 c0038022
 c0130028
-202007b7
+202007b9
 6fe20739
 67e206a3
 c005800f
@@ -2127,7 +2127,7 @@
 67e24c1a
 2040025f
 67e24c1b
-202007b5
+202007b7
 20400250
 67e242a8
 20400034
@@ -2688,8 +2688,26 @@
 00000000
 20200040
 6fe24c18
-c00c8004
+c00c8016
+c00e0011
+c01d0007
+c01d800c
 2020029d
+df200003
+204002a5
+58000400
+e7e40005
+202002ec
+df200002
+204002a5
+58000004
+e7e20005
+202002ec
+df200009
+204002a5
+6ff04f2f
+e7f00005
+202002ec
 20400250
 67e242a8
 2040025c
@@ -2732,30 +2750,12 @@
 00000000
 00000000
 00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
 20200040
 6fe24c18
 c00b8006
 c00d8021
 c011002a
-202007b3
+202007b5
 18007210
 d8a00603
 2040024d
@@ -2819,7 +2819,7 @@
 c00c0006
 c009000b
 c00d0020
-202007b1
+202007b3
 df200009
 204002a5
 18007208
@@ -3135,45 +3135,47 @@
 00000000
 00000000
 20200040
-6fe24c1a
-c000800b
-c001000f
-c001800c
-c002000d
-c0028010
-c0030011
-c004000e
-c01f8012
-2020029d
-202007a7
-202007a9
-202007ab
-202007ad
-202007af
-2020029d
-2020029d
 6fe24c18
-c0008019
-c00b801d
-c010001f
-c0518024
-c0300034
+c00b8009
+c010000f
+c0518026
+c0300036
+c0368021
+c04a0018
 2020029d
-20400256
-67ec4c8d
-2040026d
-202002a1
 704e1a3f
+58000000
+67e24f0e
+58000001
+67e44f0f
 202002a1
 df200002
 204002aa
 58000000
+e7e20005
+6fe24f0e
+e7e20005
+1fe0fe01
+67e24f0e
+202002ec
+df200003
+204002aa
+58000000
+e7e20005
+6fe44f0f
+e7e40005
+1fe0fe01
+67e44f0f
+202002ec
+df200002
+204002aa
+58000100
 e7e40005
 202002ec
 20400250
 68420046
 98467c00
-2022802b
+2022802d
 68420639
 98467c00
 24628000
@@ -3196,6 +3198,68 @@
 00000000
 00000000
 00000000
+20200040
+6fe24c1a
+c000800b
+c001000f
+c001800c
+c002000d
+c0028010
+c0030011
+c004000e
+c01f8012
+2020029d
+202007a7
+202007a9
+202007ab
+202007ad
+202007af
+2020029d
+2020029d
+6fe24c18
+c0008015
+202007b1
+20400256
+67ec4c8d
+2040026d
+202002a1
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
 00000000
 00000000
 20200040
@@ -3456,10 +3520,12 @@
 00000000
 20200040
 6fe24c18
-c01c8007
-c01d000e
-c00a8012
-c00b0017
+c01c8009
+c01d0010
+c00a8014
+c00b0019
+c03d02a1
+c01302a1
 2020029d
 df200005
 204002a5
@@ -3516,17 +3582,16 @@
 00000000
 00000000
 00000000
-00000000
-00000000
 20200040
 6fe24c18
-c001800a
-c01b801a
-c0290024
-c02a802a
-c02b002f
-c0360033
-c0368038
+c001800b
+c01b801f
+c0290029
+c02a802f
+c02b0034
+c0360038
+c036803d
+c01982a1
 2020079f
 204002a1
 5800003f
@@ -3543,6 +3608,10 @@
 67e244de
 67e244d9
 67e24133
+58001d7b
+67e44c25
+5800ec42
+67e44c2a
 2020026d
 204001e1
 2422829f
@@ -3577,11 +3646,6 @@
 20400250
 67e44de8
 202002a1
-00000000
-00000000
-00000000
-00000000
-00000000
 20200040
 6fe24c18
 c00e8004
@@ -3944,7 +4008,7 @@
 202002a1
 2020029d
 2040025f
-2020029d
+202002a1
 df200002
 204002a5
 6fe24c9d
@@ -3955,7 +4019,7 @@
 202002a1
 2020029d
 2040025f
-2020029d
+202002a1
 df2000f2
 204002a5
 6fe24c98
@@ -4164,7 +4228,7 @@
 c001000e
 c0018014
 c002001e
-c002801e
+c002802e
 c0048019
 2020029d
 df200009
@@ -4188,14 +4252,31 @@
 6fec4140
 e7ec0005
 202002ec
+2040025f
+67e20f12
+df20000b
+204002a5
+6fe20f12
+c000802a
+c001002c
+6ff04f11
+e7f00005
+efe40006
+e7e40005
+202002ec
+6ff04f1b
+20200026
+6ff04f25
+20200026
 df200008
 204002a5
-580002a8
+580003fd
 e7e40005
-5800003c
+580000ff
 e7e20005
-58000008
+58000006
 e7e40005
+5800000c
 e7e40005
 202002ec
 00000000
@@ -4205,23 +4286,6 @@
 00000000
 00000000
 00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
-00000000
 20200040
 6fe24c18
 c000800b
