Command line tools for the robot protocol: * configure, configure.in: Add the robots GNUmakefiles. * robots/mtp/GNUmakefile.in: Add command line tools: mtp_send and mtp_recv. * robots/mtp/mtp.c: Make readall return an error if all of the data wasn't read instead of making the caller check. Free the buffer allocated in mtp_send_packet. Add an mtp_free_packet. * robots/mtp/mtp_recv.c: Faux receiver of mtp packets, it doesn't actually follow the protocol, it just prints out whatever it receives. * robots/mtp/mtp_send.c: Command line tool for sending mtp packets.
Showing with 796 additions and 4 deletions