The C code spawns several threads, each of which uses a socket connection to another machine generating data for Altia to display. When I attempt send data to Altia from the main thread (for debugging), it works fine. When I start one other thread and attempt to send data from that thread, the following appears on my console:
Client transaction failure, error 4006
Reached maximum retry count of 1. Exiting…
The program then exits.
The line of C code that generates the error is:
AtSendEvent(at_con_id, "myevent", speed);
This is the exact same line of code that works in the main thread.
Make sure you are using a multi-threaded version of the Altia API library -- like:
The standard libraries are not thread safe.