※This article is based on EmberZnet SDK 6.7.5.0 and EFR32MG Series
Sends unicast.
emberAfSendMulticastToBindings是将消息多播到绑定表中与APS帧中的CLUSTER和源端点匹配的组.emberAfSendUnicast(EMBER_OUTGOING_VIA_BINDING 这个是通过绑定表单播给指定的节点地址和端点。
EmberStatus emberAfSendUnicast(EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame * apsFrame, uint16_t messageLength, uint8_t * message )
Sends unicast with attached message sent callback.
EmberStatus emberAfSendUnicastWithCallback(EmberOutgoingMessageType type, uint16_t indexOrDestination, EmberApsFrame * apsFrame, uint16_t messageLength, uint8_t * message, EmberAfMessageSentFunction callback )
Sends multicast.
EmberStatus emberAfSendMulticast(EmberMulticastId multicastId,
EmberApsFrame * apsFrame,
uint16_t messageLength,
uint8_t * message
)
Sends multicast with attached message sent callback.
#codeprettify{{
EmberStatus emberAfSendMulticastWithCallback(EmberMulticastId multicastId,
EmberApsFrame * apsFrame,
uint16_t messageLength,
uint8_t * message,
EmberAfMessageSentFunction callback
)
&ref(): File not found: "ZigBee.png" at page "++EmberZnet++消息";
Comment: