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.

Save power for Range Extender

Other Parts Discussed in Thread: SIMPLICITI

Dear all,

I am working in a project where SimpliciTI (v1.1.1) is used to make a star network where AP communicates with many End Devices. I also use a Range Extender to extend my network (1AP, 20ED and 1 RE). However, I recognized that the power for RE is lost very fast. How can I combine the RE and ED together in one device so that RE will not be always on to save power? Or are there any way to save power for RE? Thank you very much for your help.

Susan

  • By definition, Range Extenders are always powered on in SimpliciTI.

    Jim Noxon

     

  •  

     

    Hi Jim Noxon, 

    Thank you for your reply. My solution now is to control the radio action with the sleeping mode and then working mode. I think it is not a good solution but I can save the power now.

    I have one more question about End Device:

    My project is working with Access Point (receive data) and End Device (send data). I also want to add more functions into these devices as:

    + Access Point (receive data from an ED and then send data back to the ED)

    + End Devices  (send data to AP and then receive data from AP)

    I have known that by default every link in SimpliciTI is bi-directional. This means that I can use the same linkID that the AP receive data on can be used to send the data back to the ED. Based on what I understand about SimpliciTI, I have added to the code:

    + With AP:

                SMPL_Init(sCB)

                SMPL_LinkListen(&sLID[sNumCurrentPeers])

                SMPL_Receive(sLID[i], msg1, &len)

                SMPL_Send(sLID[i], msg2, sizeof(mgs2)) // this code is working, I have debugged and the msg2 can be sent successful.

    + With ED:

                SMPL_Init(unit8_t (*) (linkID_t)) 0))

                SMPL_Link(&linkID1) // this code is working to send the data to AP

     

                SMPL_Send(linkID1, msg, sizeof(msg))

                SMPL_Receive(linkID1, msg2, &len) // this code is not working, I can't receive the msg2

    Or I use this SMPL_LinkListen(&linkID1) before calling SMPL_Receive but still can't work. 

    Why I can't use the same link that the ED send data to receive the data back from the AP? How can I receive the msg2 from Access Point? Could you please give me some advice on this issue? Once again, thank you very much for your help.

     

    Best regards,

    Susan

  • Susan,

    I can't be sure but if you are going into low power mode in the ED, you may not be awak to hear the message from the AP.  If this is the case, you will want to use the RX_POLLS macro when you build your end devices.  Using this macro, the end device tells the AP during the link process that it needs the AP to store all of its messages until the ED wakes up and polls to see if any messages are waiting for it.  I'm not sure if the AP will automatically store any messages for the ED that it actually generates though.

    If this doesn't work, you may need to manage waiting for the ED to contact your application on the AP before the AP responds with any messages.

    Jim Noxon

     

  • Hi Jim Noxon,

    Based on your advice, my EDs can send and receive the message from AP now. Thank you very much for your help.

    Best regards,

    Susan