Post Go back to editing

my endpoint is not acting immediately on CP commands

In my basic ADRadioNet evaluation demo (with CP => R => EP), the commands I sent from the CenterPoint are not immediately reaching the endpoint. Is there something wrong with the way I am sending these commands?. I expect the EP to respond right away without any delay.

Parents
  • Q>> What is the maximum size of the queue in the Router for storing the downstream messages ?

    A>>Currently 3 downstream messages are buffered. The messages are never deleted, they will be over-written. Downstream messages are attached to acknowledgements where appropriate. Each message has an index which in addition to the orbit number and mac address is used to decide when and what message is attached to the acknowledgement.

    Q>> Does it work like a FIFO or a LIFO as the last command could be the most relevant one ?

    A>>In the current implementation, the FIFO model is used for the following reason. If two or three End Points are communicating via the same router with the CP, then FIFO model holds good for reliable delivery of messages.

     

    Q>> Since ADRadioNet uses stateless routing consecutive packets may not traverse through the same router in which case, does the CP re-transmit the packet to another Router if Message 2 was received at the CP via R2.

    A>> I think this question of packets traversing through different routers is asked mainly because you may be thinking of a case where several packets (corresponding to a single message) are sent from CP. This question does not arise, as each of the commands in ADRadioNet constitute of just a single packet. Simple commands like turn on/off lights is an example. The CP transmits this command to first router (say, R1) and clears the memory. As you can see from the flow diagram, for every command from CP, the EP reacts only after sending 2 messages upstream.

Reply
  • Q>> What is the maximum size of the queue in the Router for storing the downstream messages ?

    A>>Currently 3 downstream messages are buffered. The messages are never deleted, they will be over-written. Downstream messages are attached to acknowledgements where appropriate. Each message has an index which in addition to the orbit number and mac address is used to decide when and what message is attached to the acknowledgement.

    Q>> Does it work like a FIFO or a LIFO as the last command could be the most relevant one ?

    A>>In the current implementation, the FIFO model is used for the following reason. If two or three End Points are communicating via the same router with the CP, then FIFO model holds good for reliable delivery of messages.

     

    Q>> Since ADRadioNet uses stateless routing consecutive packets may not traverse through the same router in which case, does the CP re-transmit the packet to another Router if Message 2 was received at the CP via R2.

    A>> I think this question of packets traversing through different routers is asked mainly because you may be thinking of a case where several packets (corresponding to a single message) are sent from CP. This question does not arise, as each of the commands in ADRadioNet constitute of just a single packet. Simple commands like turn on/off lights is an example. The CP transmits this command to first router (say, R1) and clears the memory. As you can see from the flow diagram, for every command from CP, the EP reacts only after sending 2 messages upstream.

Children
No Data