summaryrefslogtreecommitdiff
path: root/src/drivers/ao_pad.c
Commit message (Collapse)AuthorAge
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow for pad boxes with different sensor configurationsKeith Packard2016-04-19
| | | | | | | | This allows for a pad box without a resistor from power to each FET. That resistor is needed to detect welded relays, but in a solid-state system, that's not a possibility. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add pad support for new telefire versionsKeith Packard2016-04-19
| | | | | | | | | | | | Makes the voltage divider values configurable, and allows for pyro channels that don't have the resistors necessary to check for a stuck relay. Also supports STM32L processors with wider GPIO registers, and uses the new ao_gpio_set/clr_bits functions to fire igniters rather than cc1111-specific code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: No reply for ARMED. Ignore time for FIRE.Keith Packard2015-08-29
| | | | | | | This will let us do drag races by letting the LCO arm multiple boxes and fire them all with a single command. Signed-off-by: Keith Packard <keithp@keithp.com>
* telefire: Report telefire battery voltage over telemetry linkKeith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telefire: Make 'good' RSSI value configurableKeith Packard2015-05-24
| | | | | | | | Different radios will have different 'good' RSSI values, so let each product configure it, leaving the default set to -90dBm, which is a solid signal value for the CC1111. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Add firing length to manual pad commandKeith Packard2014-09-03
| | | | | | | | This adds an optional length of time (in 1/10s of a second) to the ao_pad_manual function to enable testing of igniters without needing to use TeleLCO. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up trailing whitespace in ao_pad.cKeith Packard2014-05-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Radio status (no data, weak data, good data) on LEDsKeith Packard2013-06-19
| | | | | | | | Instead of blinking RX/TX, report the radio status on the telefire nodes, just like telelco does. This makes the LEDs on telefire *exactly the same* as the LEDs on telelco, which seems like a good idea. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Leave siren on all the time. Add siren/strobe debugging.Keith Packard2013-06-09
| | | | | | The 50% duty cycle wasn't actually loud enough outside. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telefire v0.2 supportKeith Packard2013-06-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Report valid channels instead of valid pinsKeith Packard2012-10-14
| | | | | | | Now that pins don't match channels 1:1, make sure that the report back to the LCO names the channels instead of the pin numbers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Add siren/strobe supportKeith Packard2012-10-10
| | | | | | | This also involved hacking up the code to allow for non-zero offsets for the pad firing and continuity pins. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Make sure armed alarm goes off on timeKeith Packard2012-10-06
| | | | | | | | | | Instead of turning the alarm off when a packet is received after the deadline, just do it in the thread which is awake all of the time. This prevents the alarm from sticking on when the LCO box is turned off while the arming key is on. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telefire: Add steady warble when the LCO arm switch is onKeith Packard2012-09-09
| | | | | | And make debugging a run-time option too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Disable debug printfs and fix pad ignite time for telefireKeith Packard2012-08-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: fix ao_pad debug output for query commandKeith Packard2012-08-29
| | | | | | Igniter status is an array these days. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Track protocol changes to ao_pad debug messagesKeith Packard2012-08-28
| | | | | | Make the debug output build again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up radio APIsKeith Packard2012-08-27
| | | | | | | Move api to ao_radio_cmac.h include file. Expose ao_radio_test as standard API. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make 'pad' driver useful with telefire v0.1Keith Packard2012-08-26
| | | | | | | | This reports correct status bits over the radio and to the LEDs for all four channels, and also makes the firing test command control all four relays. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Get ao_pad.c working on telefire v0.1Keith Packard2012-08-24
| | | | | | | Monitor all four channels, allow any channel to be fired. Turn on power LED at startup time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Disable telefire 'pad' listener when testing radioKeith Packard2012-08-24
| | | | | | | Ensures that the radio testing won't block waiting for a firing mode packet to arrive. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telefire-v0.1Keith Packard2012-07-29
Signed-off-by: Keith Packard <keithp@keithp.com>