Hi,
is there any way to know how many commands can the dongle process at the same time?
If I for example send 100 setpoint commands to my coordinator, will it block? will it process all of them?
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.
Hi,
is there any way to know how many commands can the dongle process at the same time?
If I for example send 100 setpoint commands to my coordinator, will it block? will it process all of them?
Even if i send 100 command in sequence? will the dongle process them all or will fail?
Like some sort of internal Queue
Hi Luca,
Are you referring to the AF_REGISTER command to set endpoints on the ZNP, a different MT API, or some other functionality? You should at least be waiting for the SRSP before sending the next command (MT_UART_TX/RX_BUFF_MAX defined inn OnBoard.h), and even more time if the message needs to be transmitted over-the-air (the transmit buffers of which are defined in mac_cfg.c and limited). Buffers are emptied after bein processed and completed. There are also CC2531 Flash and RAM limitations to consider.
Regards,
Ryan
How big is the trasmit buffer?
When does it empty himself?
I was refering to the setpoint command of a thermostat.
Since this is over-the-air communication, you cannot sequence commands simultaneously and will need to pause in between commands as to not overload the ZNP. Please wait for SRSP from the ZNP and, even more preferably, ACKs from the thermostat. You should also consider ways to accomplish similar functionality with less commands.
Regards,
Ryan