altos: Handle internal and external telem monitoring requests
authorKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2011 02:44:36 +0000 (18:44 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 13 Nov 2011 02:44:36 +0000 (18:44 -0800)
commit5972c642f0de0789e90268bfa19ef8b51c06eebc
tree5a586d149629d5e07bd0f682e4ce0c001367a96d
parentef7f86453d686a49882e8c1b88a59228c4c631a9
altos: Handle internal and external telem monitoring requests

Record separate internal vs external monitoring state, allowing
both to happen at the same time, and when either is turned off, the
other keeps working.

This also adds disable/enable so that other radio users can
temporarily take over the radio; monitoring will resume when the other
radio user is finished.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 files changed:
src/ao_radio_cmac.c
src/cc1111/ao_packet_master.c
src/cc1111/ao_pins.h
src/cc1111/ao_radio.c
src/core/ao.h
src/core/ao_log_telem.c
src/core/ao_monitor.c
src/product/ao_telebt.c
src/product/ao_teledongle.c
src/product/ao_teleterra_0_2.c
src/product/ao_tidongle.c
src/teleterra-v0.2/ao_pins.h