summaryrefslogtreecommitdiff
path: root/src/ao_btm.c
Commit message (Collapse)AuthorAge
* Revert "altos: Debugging TBT issues -- check pin configuration after boot"Keith Packard2011-05-06
| | | | | | This reverts commit 514348055630edec12224c4b0964240b929759a3. Looks like this was never a problem.
* altos: clear CPU port 1 interrupt flag when handledKeith Packard2011-05-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Hook up the P1 ISR for TeleBT v0.1 bt_link lineKeith Packard2011-05-06
| | | | | | Otherwise, we're heading off into the weeds... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Debugging TBT issues -- check pin configuration after bootKeith Packard2011-05-06
| | | | | | | Make sure the serial pins are configured as peripherals Make sure the ser_reset and bt_link pins are going the right direction. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add beeper to TBT v0.1Keith Packard2011-05-06
| | | | | | It's available, let's use it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: pull TBT v0.1 ser_reset line lowKeith Packard2011-05-06
| | | | | | This line resets the BT module if held low for three seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix BT link status pin for real TBT hardwareKeith Packard2011-05-06
| | | | | | | The prototype used P2_1, while the real hardware uses P1_7. Lots of defines to make this work... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Eliminate ao_cmd_filter hookKeith Packard2011-04-19
| | | | | | | Disabling status messages means we don't need to filter them out of the input stream. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: remove BT logging codeKeith Packard2011-04-19
| | | | | | This was used to debug the serial line startup. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove bt debug commandKeith Packard2011-04-19
| | | | | | This will permit some additional cleanups. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Simplify BT communicationsKeith Packard2011-04-19
| | | | | | Eliminate stdio I/O wrappers Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Solidify BT connectionsKeith Packard2011-04-19
| | | | | | | | | Use delays while sending commands to BT module. Don't use BT for stdio until the module is initialized. Add \r to name setting command Don't require 'connected' signal for command input. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add delays to bt startup sequenceKeith Packard2011-04-19
| | | | | | | The BT device takes a few seconds after power-up before it is ready to receive commands. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use PIO(6) on BTM to monitor BT connection. Fix BTM init.Keith Packard2011-04-07
| | | | | | | | PIo(6) appears to be an active-low indication of the Bluetooth connection status. Hook this up using an interrupt to track the link state instead of using in-band status messages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up BT serial communcationsKeith Packard2011-04-01
| | | | | | | | | Disable echo on both ends in command mode to eliminate looping error values. Switch to 57600 baud to improve performance. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add initial TeleBT codeKeith Packard2011-03-31
Prototyping with a TeleMetrum v0.1 board and a serial link to a bluetooth module. Signed-off-by: Keith Packard <keithp@keithp.com>