工具/软件:TI C/C++编译器
尊敬的 TI:
我引用了线程以下的内容
但我无法发送广播消息。
那么、我如何发送广播消息。
Thx。
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.
工具/软件:TI C/C++编译器
尊敬的 TI:
我引用了线程以下的内容
但我无法发送广播消息。
那么、我如何发送广播消息。
Thx。
你(们)好
早上好
感谢您的回复、
我在 collector.c 中将 generateBroadcastCmd 称为 generateBroadcastCmd
静态空 generateBroadcastCmd (void) { uint8_t buffer[SMSGS_broadcast_CMD_length]; uint8_t *pBuf =缓冲区; /*生成消息*/ *pBuf++=(uint8_t) SMGS_cmdIds_broadcastCtrlMsg; *pBuf++= Util_loUint16 (Collector_statistics.broadcastMsgSentCnt); *pBuf++= Util_hiUint16 (Collector_statistics.broadcastMsgSentCnt); sendBroadcastMsg (SMGS_cmdIds_broadastCtrlMsg、SMSGS_broadcast_CMD_length、 缓冲区); }