To handle data transmissions over the xBee and make sure that data is correct.
- Serial handle
- xBee command handle (execution not implemented)
- Data checking
- Data reception acknowledge
To transfer to the Beaglebone use following command and compile on the beaglebone
scp -r bb_code root@192.168.7.2:/root
Notes:
- transfers entire directory!
- reconfigure target tty device before compile!
To run on remote system (i.e. as the Beaglebone) use following command:
mkfifo /tmp/f ; cat /tmp/f | ./a.out -q | /bin/sh -i > /tmp/f 2>&1
Note: ./a.out is the compiled program. If you compiled the program under a different name, change ./a.out accordingly!
To compile the program, use the command:
g++ -lpthread *.cpp
- Issue xBee commands during runtime
- Proper handshaking
- Packet priorities
- Packet addresses
- stream opperators
- Data validation (see "Proper handshaking")
- Add more xBee commands
- Some functions missing proper return values
- Command line arguments
- quiet mode
- input handle (backspace)
To relay and log data comming from signals or programs to other programs.
Cem Eden