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.
radio.h
- Committer:
- Cheroukee
- Date:
- 2017-10-11
- Revision:
- 3:6ea97936f6fa
- Parent:
- 2:fdb34827d964
- Child:
- 10:c4629b6c42f8
File content as of revision 3:6ea97936f6fa:
#define HEADER_DELIMITER 0b01010101 #define HEADER_START 0b11111110 #define FOOTER_END 0b11111110 #define MAX_MESSAGE_LENGTH 80 typedef char byte; typedef struct { byte preambule; byte start; byte options; byte length; byte data[MAX_MESSAGE_LENGTH]; byte control; byte end; } radio_message_t; // Private void setup_radio_out(); void setup_radio_in(); void radio_out(void const *args); // API void init_radio_system(); void send_message(radio_message_t* message); bool send_message_complete();