This commit is contained in:
parent
a68520e7a7
commit
85b7fcf139
|
@ -29,9 +29,11 @@
|
||||||
#define SYS_RELAY_SWITCH (0X04U)
|
#define SYS_RELAY_SWITCH (0X04U)
|
||||||
#define SYS_ALARM_VALVE_MAX (0X30U)
|
#define SYS_ALARM_VALVE_MAX (0X30U)
|
||||||
|
|
||||||
#define SYS_IOT_URL ("8.130.127.158")
|
// #define SYS_IOT_URL ("8.130.127.158")
|
||||||
#define SYS_IOT_PORT ("7101")
|
// #define SYS_IOT_PORT ("7101")
|
||||||
|
|
||||||
|
#define SYS_IOT_URL ("8.130.117.149")
|
||||||
|
#define SYS_IOT_PORT ("7137")
|
||||||
// 定义宏来打印编译时间和日期
|
// 定义宏来打印编译时间和日期
|
||||||
#define COMPILE_TIME \
|
#define COMPILE_TIME \
|
||||||
do { \
|
do { \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: mbw
|
* @Author: mbw
|
||||||
* @Date: 2024-10-09 08:42:14
|
* @Date: 2024-10-09 08:42:14
|
||||||
* @LastEditors: mbw && 1600520629@qq.com
|
* @LastEditors: mbw && 1600520629@qq.com
|
||||||
* @LastEditTime: 2025-01-24 08:43:53
|
* @LastEditTime: 2025-01-24 09:59:17
|
||||||
* @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_nt26k.c
|
* @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_nt26k.c
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
|
@ -178,6 +178,10 @@ void Nt26k_Send_Event(Nt26kEvent event_type)
|
||||||
rt_event_send(&at_device_event, Nt26k_Get_Event_Flag(event_type));
|
rt_event_send(&at_device_event, Nt26k_Get_Event_Flag(event_type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rt_event_send(&at_device_event, Nt26k_Get_Event_Flag(event_type));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
/*使用动态日志及密码功能时,需开启宏 FINSH_USING_AUTH ULOG_USING_FILTER ENABLE_LOG_ALL ULOG_OUTPUT_LVL = 7 以及设置ulog.c 1522行 输出等级为0*/
|
/*使用动态日志及密码功能时,需开启宏 FINSH_USING_AUTH ULOG_USING_FILTER ENABLE_LOG_ALL ULOG_OUTPUT_LVL = 7 以及设置ulog.c 1522行 输出等级为0*/
|
||||||
/**/
|
/**/
|
||||||
#define FINSH_USING_AUTH //开启终端密码登录功能
|
// #define FINSH_USING_AUTH //开启终端密码登录功能
|
||||||
#define ULOG_USING_FILTER //开启动态修改日志等级 默认修改在ulog.c 1522行
|
// #define ULOG_USING_FILTER //开启动态修改日志等级 默认修改在ulog.c 1522行
|
||||||
|
|
||||||
#define ENABLE_LOG_ALL
|
#define ENABLE_LOG_ALL
|
||||||
#define TEST_ENABLE //打开所有的终端测试程序
|
#define TEST_ENABLE //打开所有的终端测试程序
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
#define IOT_MODULE_SWITCH 1 //开启物联网功能
|
#define IOT_MODULE_SWITCH 1 //开启物联网功能
|
||||||
|
|
||||||
// #ifdef FINSH_USING_AUTH
|
// #ifdef FINSH_USING_AUTH
|
||||||
// #define AT_USING_CLI
|
#define AT_USING_CLI
|
||||||
// #define AT_PRINT_RAW_CMD
|
#define AT_PRINT_RAW_CMD
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
/* RT-Thread Kernel */
|
/* RT-Thread Kernel */
|
||||||
|
|
Loading…
Reference in New Issue