i want to use the command "groupswrite " in two different threads.
is it conflicting or not?
On one connection, only one function should be called at a time - so you need to use a mutex. Or you can create a seperate connection for each thread.
thanks for your reply!
how long is the "at a time"?
In my programm, i use the function "EIBSendGroup (eibcon, dest, len, buf);" in "groupsocketwrite"
does this method create a new thread to handle?
Because in my application, when i receive such as "0/2/0"=6(1 Byte), i should transimit multi groupaddress such as:
when the "0/2/0=6" is so quickly received, and the transmits misses some groupaddresses.
the logic above is in just one thread and one connection.
By the way, i just see the difference between "groupswrite " and "groupsocketwrite" from sdkdoc. That means the difference is just the ACKs. The groupswrite generates the ACKs by itself when man use TP-UART backend?But the ACKs should be generated by other devices, i think. So the method "groupsocketwrite" is true, is it?