SMPL_Link(linkID_t *lid) dose not specify the address it wants to link to.I wonder how the client link to the sever it wants to link.
Hi,
SMPL_Link is called after the client has successfully joined a network by calling SMPL_Init. The client specifies which AP it wants to join to by setting the joinToken to the appropriate value before the SMPL_Init function is called. When the SMPL_Init function call is successful the client can then call SMPL_Link and it will link to the desired AP.
HTH,
Barry
Hi
dong chen SMPL_Link(linkID_t *lid) dose not specify the address it wants to link to.I wonder how the client link to the sever it wants to link.
you can use the token to determine with which device the connection shall be linked.
See here:
http://processors.wiki.ti.com/index.php/SimpliciTI_FAQ#What_is_the_Token_used_for.3F
Regards,
Leo Hendrawan
Thank you for your answer.
You mean different device can have different link tokens. If one device wants to link to a specific device,it must get the link token of the destination first.
But how to set the link token before link.