altos: Configure packet size from send/recv parameters.
authorKeith Packard <keithp@keithp.com>
Sun, 20 Mar 2011 06:31:20 +0000 (23:31 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 20 Mar 2011 06:31:20 +0000 (23:31 -0700)
commit3f0bc801fd08a613c681504f0d1f9374486a2487
tree9d08e512ed9d4377bfaa906a2ada6ee8f2212e67
parent5c28b9312d90a3a66016abc641c20bcd852d69f8
altos: Configure packet size from send/recv parameters.

Instead of setting the packet size at configuration time, use the
provided packet size to the send/recv functions to configure the
radio. This eliminates many configuration calls, leaving us with 'RDF'
mode and 'packet' mode, the latter working for telemetry and the
bi-directional link.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h
src/ao_packet_master.c
src/ao_packet_slave.c
src/ao_radio.c