Index: Librarier/bt_rom/format/ui.format
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/Librarier/bt_rom/format/ui.format	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/Librarier/bt_rom/format/ui.format	(working copy)
@@ -409,6 +409,7 @@
 0x68 BT_EVT_ENTER_DISCOVERABLE
 0x69 BT_EVT_EXIT_DISCOVERABLE
 0x6a BT_EVT_RESTART
+0x6b BT_EVT_WAKE_BY_INTERRUPT
 
 0x70 BT_EVT_DEV_UPDATE_INFO
 0x71 BT_EVT_PROFILE_DISCONNECT
Index: ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/patch/z.prog	(working copy)
@@ -2208,9 +2208,15 @@
 wake_for_lpm:
 	call ipc_lock_m0_lmp_wait_work_flag
 	call enable_xip
+	deposit auxcnt
+	nbranch wake_for_lpm_by_interrupt,blank
 	jam BT_EVT_WAKEUP,mem_fifo_temp
 	branch ipc_tx_bt_event
 
+wake_for_lpm_by_interrupt:
+	jam BT_EVT_WAKE_BY_INTERRUPT,mem_fifo_temp
+	branch ipc_tx_bt_event	
+
 ifdef MINZHAN_SDK
 z_read_efuse_64_bytes:
 	setarg 0
Index: ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/BT/sched/user.dat	(working copy)
@@ -226,7 +226,7 @@
 #mem_param_tws_send_channel_array:20 20 20 20
 #mem_param_tws_send_channel_array:08 09 10 11
 
-mem_tx_power:02
+mem_tx_power:00
 
 mem_sfreq_enable:01
 #mem_param_rf_setup must big then mem_param_pll_setup, be-careful, mem_param_rf_setup real value = 0xEA6 - value
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(revision 5191)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvprojx	(working copy)
@@ -372,7 +372,7 @@
             <ScatterFile>.\Objects\yc11xx.sct</ScatterFile>
             <IncludeLibs></IncludeLibs>
             <IncludeLibsPath></IncludeLibsPath>
-            <Misc>--diag_suppress=L6314</Misc>
+            <Misc></Misc>
             <LinkerInputFile></LinkerInputFile>
             <DisabledWarnings></DisabledWarnings>
           </LDads>
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c	(revision 5191)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/Drv_bt.c	(working copy)
@@ -17,6 +17,7 @@
 
     switch(*dataPtr)
     {
+		case BT_EVT_WAKE_BY_INTERRUPT:
         case BT_EVT_WAKEUP:
             SYS_TimerStartTickTimer(CLOCK_48M_multiple);
             break;
@@ -28,7 +29,8 @@
             break;
         case BT_EVT_RESTART:
             Bt_PowerResetWork();
-            break; 
+            break;
+			
 
         default:
             break;
@@ -232,7 +234,7 @@
 	//Read_Ledgpionum();
 	//VP_Init();
 	//Led_Init();
-	Bat_InitDev();
+//	Bat_InitDev();
 }
 
 void Bt_PowerOn(bool isPowerOnFromKeyPress)
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/btreg.h	(working copy)
@@ -2026,6 +2026,7 @@
 #define	BT_EVT_ENTER_DISCOVERABLE               	0x68
 #define	BT_EVT_EXIT_DISCOVERABLE                	0x69
 #define	BT_EVT_RESTART                          	0x6a
+#define	BT_EVT_WAKE_BY_INTERRUPT                	0x6b
 #define	BT_EVT_DEV_UPDATE_INFO                  	0x70
 #define	BT_EVT_PROFILE_DISCONNECT               	0x71
 #define	BT_EVT_ABNORMAL_DISCONNECT              	0x72
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/main.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(revision 5168)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(working copy)
@@ -65,7 +65,7 @@
 
 	sleep_500ms;
 	LPM_ENABLE;
-	POWER_OFF;
+//	POWER_OFF;
 	while (1)
 	{
 #ifdef FUNCTION_WATCH_DOG
@@ -86,7 +86,7 @@
 					DEBUG_POLLING_PRINT();
 					SYS_timerPolling();
 					
-					Bat_StateSwitchPooling();
+	//				Bat_StateSwitchPooling();
 
 					h4_polling_rx();
 				}
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(working copy)
@@ -293,7 +293,7 @@
 #mem_param_tws_send_channel_array:20 20 20 20
 #mem_param_tws_send_channel_array:08 09 10 11
 
-mem_tx_power:02
+mem_tx_power:00
 
 mem_sfreq_enable:01
 #mem_param_rf_setup must big then mem_param_pll_setup, be-careful, mem_param_rf_setup real value = 0xEA6 - value
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom	(revision 5160)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle/ModuleDemo/25_OTA/bt_demo/CM0/respin/zcode.rom	(working copy)
@@ -1154,14 +1154,14 @@
 700fd600
 71f0001c
 70804205
-20400031
+20400035
 6fe28341
 67e24bce
 6fe24bef
 67e206ab
 2455816b
 20407988
-2040001b
+2040001f
 58000619
 67e4431d
 58000192
@@ -1172,11 +1172,15 @@
 67e44315
 58000723
 67e44313
-2435801f
+24358023
 20403e79
 204057bf
+1ce27e00
+243a001d
 700f0d66
 20203f28
+700f0d6b
+20203f28
 58000000
 da204f65
 d8400040
@@ -1210,10 +1214,6 @@
 00000000
 00000000
 00000000
-00000000
-00000000
-00000000
-00000000
 20200040
 793f801c
 704c8801
