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.
Dependencies: ros_lib_kinetic
Diff: HLComms.h
- Revision:
- 9:cd3607ba5643
- Parent:
- 7:5b6a2cefbf3b
- Child:
- 11:7029367a1840
--- a/HLComms.h Tue Aug 07 09:18:15 2018 +0000
+++ b/HLComms.h Tue Aug 07 14:15:37 2018 +0000
@@ -33,14 +33,18 @@
int setup_server(void);
int accept_connection(void);
void close_server(void);
- msg_format consume_message( unsigned char * msg ); //msg_format receive_msg(void);
+ int receive_message(void);
+ msg_format process_message(void);
+ void make_message(double *dblTime);
+ int send_message(void);
private:
const bool IS_DHCP = false;
short int _port;
- //msg_format process_msg( unsigned char * msg );
+ unsigned char recv_buffer[1024];
+ char send_buffer[1024]; //65
};