Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
design.h
- Committer:
- inky
- Date:
- 2012-01-13
- Revision:
- 0:4a75d653c18c
File content as of revision 0:4a75d653c18c:
/****************************************************************
Design file for the communication aspects of the ROV
Format of the command :
cmd, data_byte1, data_byte2, ...... , data_byteN
There is a maximum length for each data packet and I will assume,
initially, that each data packet is the same length, makes things
easier :)
Each end will need a TCP socket server, so the data can be sent
randomly, as and when needed
class RovComms :
void Transmit(char *buf);
int Rx(char *buf);
int Init(int speed);
void SetCallback( void *fn);
*****************************************************************/