Uploads a program from the controller's program buffer.
g | Connection's handle. |
buffer | Buffer to receive the controller's program. The data will be null terminated unless function returns G_BAD_LOST_DATA due to the buffer being too small to hold the data. |
buffer_len | The length of the receive buffer. |
See x_programs.cpp for an example.