I use the CC1110.Do you know how can I get the Destination address/Source address of a node(maybe AP ,ED or RE) in the network?
Another question,sometimes the network will lose the message(only sender works but receiver can't receive or the two device can't link) after it communicates for a while successfully.Do you know what cause the problem?
Thank you very much!
There is no mechanism to pull the dest/source address out of the SimpliciTI frame, so this have to be incorporated at the application layer. Use the appripriate SMPL_Ioctl to get the address of each node.
--PS. Thank you for clicking Verify Answer if this answered your question!
The LinkID will have the value 0x00 by the codes as memset(addr.addr, 0x0, NET_ADDR_SIZE);
and the address will be relayed to ioctl by the codes as ioctl_info.send.addr = &addr;
in the fuction it will be used as a destnation address by the codes as smplStatus_t nwk_rawSend codes as memcpy(MRFI_P_DST_ADDR(&pOutFrame->mrfiPkt), info->addr, NET_ADDR_SIZE);
So what I don't understand is why the value 0x00 is used as the DST_Addr finally.
I did not know how the protocol tells the ED its destination device because there seems like no explicit codes the explicit address of destinaton device is not shown .
Can you tell me why the protocol build the link just use the LinkID with value of 0x00?
Thank you very much!
First of all, seems you are running a older version of SimpliciTI. You should consider upgrading.
In the link process, a end device that does a SMPL_Link() do not know at this time who is going to respond and eventually link. So the link request is something that needs to be broadcast to every device in range. The broadcast address used in SimpliciTI in earlier versions where 0x00 (the latest version this is set by the mrfiBroadcastAddr ). Once a device responds to this link request, the connection table is populated with the destination address for this given link.
Have attached a packet sniffer picture that shows this process. Would recommend getting access to a sniffer as this simplifies the development.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.