|
|
@@ -14,9 +14,10 @@
|
|
|
#include "Regist.h"
|
|
|
#include "PumpBusiness.h"
|
|
|
#include "AT.h"
|
|
|
-
|
|
|
+#include "bc260.h"
|
|
|
|
|
|
#include "sys.h"
|
|
|
+#include "CONFIG.h"
|
|
|
|
|
|
// 毫秒计时器
|
|
|
//extern uint32_t Timer_Ms;
|
|
|
@@ -41,11 +42,13 @@ int main(void)
|
|
|
regist_device();
|
|
|
Log_Printf_Debug("1234\r\n");
|
|
|
// Log_Printf_Debug("regist_device_flag%d\r\n",regist_device_flag);
|
|
|
+// GPIO_SetBits(WAKE_GPIO, WAKE_GPIO_Pin);
|
|
|
// bc260y.exit_sleep();
|
|
|
// delay_ms(100);
|
|
|
// bc260y.reset();
|
|
|
// Log_Printf_Debug("123456\r\n");
|
|
|
// bc260y.query_sleep_sync(&mode);
|
|
|
+// bc260y.query_sleep_sync(&mode);
|
|
|
// bc260y.set_cfun_sync(1);//设置全功能模式
|
|
|
// bc260y.set_cgreg_sync(2);//设置网络状态
|
|
|
// bc260y.enter_sleep();
|