List of defines required for XBEE communication and telemetry.
More...
Go to the source code of this file.
List of defines required for XBEE communication and telemetry.
- Author
- Chris Hajduk
- Date
- Sep 2015
- Copyright
- Waterloo Aerial Robotics Group 2016
https://raw.githubusercontent.com/UWARG/PICpilot/master/LICENCE
Definition in file net.h.
#define API_HEADER_LENGTH 17 |
Definition at line 39 of file net.h.
#define API_HEADER_PREFIX 3 |
Definition at line 40 of file net.h.
Definition at line 29 of file net.h.
#define BROADCAST_RADIUS 1 |
Definition at line 49 of file net.h.
Definition at line 34 of file net.h.
#define EDIT_PITCH_GAIN 1 |
Definition at line 35 of file net.h.
Definition at line 36 of file net.h.
Definition at line 37 of file net.h.
#define GPS_TIMEOUT 30000 |
Definition at line 54 of file net.h.
#define HEARTBEAT_KILL_TIMEOUT 20000 |
Definition at line 56 of file net.h.
#define HEARTBEAT_TIMEOUT 10000 |
Definition at line 52 of file net.h.
#define INBOUND_QUEUE_SIZE 100 |
Definition at line 32 of file net.h.
#define INCREMENT_DATA_FRAME 0x00 |
Definition at line 44 of file net.h.
Definition at line 45 of file net.h.
#define OUTBOUND_QUEUE_SIZE 30 |
Definition at line 31 of file net.h.
#define P0_SEND_FREQUENCY 300 |
Time in miliseconds for how often a P0(high priority) packet gets sent down.
Default=300
Definition at line 18 of file net.h.
#define P1_SEND_FREQUENCY 1000 |
Time in miliseconds for how often a P1(medium priority) packet gets sent down.
Default=1000
Definition at line 21 of file net.h.
#define P2_SEND_FREQUENCY 20000 |
Time in miliseconds for how often a P2(low priority) packet gets sent down.
Default=20000
Definition at line 24 of file net.h.
#define RAW_PACKET_BUFFER_SIZE 16 |
Definition at line 50 of file net.h.
#define RECEIVER_ADDRESS 0x0013A20040B47E6B |
Definition at line 42 of file net.h.
Definition at line 48 of file net.h.
#define UHF_KILL_TIMEOUT 10000 |
Definition at line 58 of file net.h.
#define UPLINK_CHECK_FREQUENCY 100 |
Time in miliseconds for how often to check for new messages from the uplink.
Default=100
Definition at line 27 of file net.h.
Enumerator |
---|
PRIORITY0 |
|
PRIORITY1 |
|
PRIORITY2 |
|
Definition at line 60 of file net.h.
int checkDataLinkConnection |
( |
| ) |
|
int checkPacket |
( |
char * |
rawPacket | ) |
|
int clearOutboundTelemetryQueue |
( |
void |
| ) |
|
struct command* createCommand |
( |
char * |
rawPacket | ) |
|
void destroyCommand |
( |
struct command * |
cmd | ) |
|
void destroyTelemetryBlock |
( |
struct telem_block * |
data | ) |
|
unsigned int generateApiHeader |
( |
unsigned char * |
apiString, |
|
|
char |
dataFrame |
|
) |
| |
int getOutboundQueueLength |
( |
void |
| ) |
|
void inboundBufferMaintenance |
( |
void |
| ) |
|
int initDataLink |
( |
void |
| ) |
|
void outboundBufferMaintenance |
( |
void |
| ) |
|
int pushCommand |
( |
struct command * |
cmd | ) |
|
int pushOutboundTelemetryQueue |
( |
struct telem_block * |
data | ) |
|