大家好!
我们将在 Sub1GHz 15.4 Stack 中实现100个节点和收集器项目。 这种实现离我们的办公室很远,问题是, 我们如何 在没有按钮和 UART 的同一网络中添加一个或多个传感器? (由于我们的外壳防水、因此无法使用按钮和 UART 连接器)
Node-CC1352P7 (BDE 模块)
集电极-CC1352P7 LP
TI SDK-15.4 (低于1Ghz)
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好!
我们将在 Sub1GHz 15.4 Stack 中实现100个节点和收集器项目。 这种实现离我们的办公室很远,问题是, 我们如何 在没有按钮和 UART 的同一网络中添加一个或多个传感器? (由于我们的外壳防水、因此无法使用按钮和 UART 连接器)
Node-CC1352P7 (BDE 模块)
集电极-CC1352P7 LP
TI SDK-15.4 (低于1Ghz)
您好!
hmm、尝试转到 sensor.c 文件中的该部分、
#if !defined(CONFIG_AUTO_START)
#if defined(AUTO_START)
#define CONFIG_AUTO_START 1
#else
#define CONFIG_AUTO_START 0
#endif
#endif
只需删除所有内容、但以下各项除外:
#define CONFIG_AUTO_START 1
它现在应该可以工作了。
此致、
马尔文
尊敬的 Manu:
如果您转至 main.c 并打印这段代码:
#if !defined(POWER_MEAS) && !defined(CUI_DISABLE)
/* Initialize CUI UART */
CUI_params_t cuiParams;
CUI_paramsInit(&cuiParams);
// One-time initialization of the CUI
// All later CUI_* functions will be ignored if this isn't called
CUI_init(&cuiParams);
#endif
这将禁用打印。 但是、很奇怪、在修改.opts 文件时它不起作用。
此致、
马尔文