We're trying to set up a SimpliciTI network in a star topology, so that the Access Point (AP) have properties of an End Device (ED). Shortly, it means that the AP will have some buttons and LEDs just like the other peripheral End Devices. Therefore, the communication between AP and EDs have to be bidirectional. This network have just one AP and up to six EDs. Meanwhile, for this issue, consider only one ED and one AP.
From SimpliciTI sample application "AP as Data Hub”, with some changes for our specific device containing CC2511F32, we verified that is possible to establish a communication between two devices, where ED is transmitter and AP receiver. We need to make it in the other way. It means, we need to set up the devices so the ED could receive a packet transmitted from AP. The problem is presented below.
In both devices (AP and ED) the callback was used, declared by the funcion SMPL_Init(). During the initialization the JOIN procedure takes place and after that there is a LINK procedure, what is made using the functions SMPL_LinkListen() (on AP) and SMPL_Link() (on ED).
In the AP side, the transfer of the packet is made with success using the function SMPL_Send() from SimpliciTI API. Although, no ACKNOWLEDGE is returned for the AP, what is verified when the function SMPL_Send() is replaced by SMPL_SendOpt(), that requires the ACKNOWLEDGE token to return SUCCESS.
In the ED side, the packet transfered from AP is not recognized, because the ED's callback function never executes. We expect that the callback function would be executed always a packet is received, but it never happens.
Please, can you give us some tips to send packets from AP to ED, based on sample application "AP as Data Hub"?
Thanks in advance.
Rômulo Mendes