Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
67:5650f461722a
Child:
69:a3295b74209e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Radio.hh	Thu Feb 11 17:47:28 2016 +0000
@@ -0,0 +1,36 @@
+#ifndef RADIO_HH
+#define RADIO_HH
+
+#include "types.h"
+
+#define ACK_TIME       20                  // max msec for ACK wait - Was 50
+
+void radio_send( Message *m, bool requestACK=true );  ////
+/// bool radio_send(Message *m);
+
+bool radio_receive_complete();
+
+bool radio_receive(Message *m);
+
+void radio_send_ack();  ////
+
+bool radio_ack_received(int cone);
+
+void radio_loop(int mac);
+
+void radio_init();
+
+//void radio_check_recv();
+
+
+//// ...
+int16_t get_rssi();
+
+bool    get_crc_ok();
+
+bool    get_fifo_ov();
+
+void    read_all_regs();
+
+
+#endif