Unfinished v0.7, added bearing detection
Fork of Pi_Swarm_Library_v06_alpha by
Diff: alpha433.h
- Revision:
- 9:7a4fc1d7e484
- Parent:
- 8:08dec9c7d3f6
- Child:
- 11:5ebcb52726cf
diff -r 08dec9c7d3f6 -r 7a4fc1d7e484 alpha433.h --- a/alpha433.h Mon Feb 03 12:59:51 2014 +0000 +++ b/alpha433.h Tue Feb 18 17:14:03 2014 +0000 @@ -4,7 +4,7 @@ * * (C) Dr James Hilder, Dept. Electronics & Computer Science, University of York * - * Version 0.5 February 2014 + * Version 0.6 February 2014 * * Designed for use with the Pi Swarm Board (enhanced MBED sensor board) v1.2 * @@ -285,4 +285,28 @@ }; + +// These counters are used to monitor the RF transceiver operations +extern volatile int gi_RF_messages_sent; +extern volatile int gi_RF_messages_received; +extern volatile int gi_RF_bytes_sent; +extern volatile int gi_RF_bytes_received; +extern volatile int gi_RF_reset_cycles; +extern volatile int gi_RF_received_length_error; +extern volatile int gi_RF_received_checksum_failure; +extern volatile int gi_RF_received_invalid_sender; +extern volatile int gi_RF_received_invalid_target; +extern volatile int gi_RF_received_invalid_format; +extern volatile int gi_RF_received_not_for_me; +extern volatile int gi_RF_received_broadcast; +extern volatile int gi_RF_received_targeted_to_me; +extern volatile int gi_RF_received_unexpected_response; +extern volatile int gi_RF_received_invalid_response; +extern volatile int gi_RF_commands_actioned; +extern volatile int gi_RF_commands_invalid; +extern volatile int gi_RF_commands_blocked; +extern volatile int gi_RF_requests_actioned; +extern volatile int gi_RF_commands_sent; +extern volatile int gi_RF_responses_sent; + #endif // ALPHA433_H \ No newline at end of file