summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Set version to 1.5.9.11.5.9.1Keith Packard2015-01-16
|
* altos/lpc: Switch LPC SPI driver to interrupt-drivenbdale-altosdroidKeith Packard2014-12-22
| | | | | | | This improves performance for SPI transfers, while allowing other tasks to get work done during longer SPI transfers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Adjust CC1200 RSSI reporting valueKeith Packard2014-12-22
| | | | | | | | | On the test setup, we were about 13dB off, so tweak the settings to suit. This result wasn't tested; it's just a rough offset until we get a production run of TeleDongle boards back to do more systematic measurements. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Document cc115l power measured at RF setting 0x03 as -31.75dBmKeith Packard2014-12-22
| | | | | | | | We built a custom TeleGPS load for radio sensitivity measurements with the lowest documented power level setting (0x03), and measured the power out at that value of -31.75dBm on the test board. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Clear pending output before setting frequency.Keith Packard2014-12-09
| | | | | | Maybe this will unwedge things Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Support µPUSB with our own USB idsKeith Packard2014-12-06
| | | | | | This matches the new µPUSB id as well as the FTDI USB id. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add usbtrng, usbrelay and mpusb USB idsKeith Packard2014-12-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2014-12-06
|\
| * altos/cc1200: With PQT wide open, we can't use PQT_REACHED for startKeith Packard2014-11-23
| | | | | | | | | | | | | | | | | | Because we're allowing even signals only weakly correlated with the preamble through to sync detection, we can't use the PQT_REACHED symbol to tell when a packet header has been seen. Instead, just look for SYNC_FOUND. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1200: Open up preamble detect to improve sensitivityKeith Packard2014-11-23
| | | | | | | | | | | | | | Increase soft decision PQT value to max (15) to ensure that we detect even weak packets. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1200: Wait for packet to be placed in FIFO during receiveKeith Packard2014-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | This changes the receive code to use MCU_STATUS, waiting for MARC_STATUS1 to indicate that the packet is in the fifo before reading it out. It also fixes the receive timeout code to keep receiving if the preamble or sync have been seen when the timeout fires. This makes TeleLCO able to use short timeouts during scanning while still successfully receiving packets. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/teledongle-v1.8: Make this the same as teledongle v1.9Keith Packard2014-11-16
| | | | | | | | | | | | Remove RSSI LED blinking, add CRC error LED Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Allow TeleMega to be built without MPU6000Keith Packard2014-11-16
| | | | | | | | | | | | | | Robert Braibish's board has a dead MPU6000; this fix lets the TeleMega firmware build without that driver so the rest of the board could be verified. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove duplicate AltosUIPreferencesBackend.javaKeith Packard2014-11-16
| | | | | | | | | | | | There's a copy in altosuilib Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/microsplash: fix .gitignore to ignore resulting binaryKeith Packard2014-11-16
| |
| * Add AltosDroid release note for version 1.5Keith Packard2014-11-16
| |
| * altosdroid: East and West were flipped in all GPS outputKeith Packard2014-11-16
| | | | | | | | | | | | East is positive, West is negative Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Save AltosState and restore at startupKeith Packard2014-11-15
| | | | | | | | | | | | | | | | | | Instead of re-parsing the old logfile, save the current state in the preferences database and restore at restart of the TelemetryService. This makes the state get restored even before the BT connection is recovered. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: add AltosPreferences state save/restore interfacesKeith Packard2014-11-15
| | | | | | | | | | | | | | | | This serializes an entire AltosState object and stores it in the preferences database for later retrieval. AltosDroid uses this to recover the old state data when restarting. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: TabMap needs to expose () constructorKeith Packard2014-11-15
| | | | | | | | | | | | Otherwise we get an exception at startup time for some reason. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Add getBytes/putBytes interface to AltosPreferencesBackendKeith Packard2014-11-15
| | | | | | | | | | | | This lets us store arbitrary binary data in the preferences database Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Don't display MISSING flight numberKeith Packard2014-11-15
| | | | | | | | | | | | Just check and clear the entry if we end up seeing that value Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Make AltosState serializableKeith Packard2014-11-15
| | | | | | | | | | | | This involved making every class it references serializable as well Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Missing headers for mag sensor in CSV outputKeith Packard2014-11-10
| | | | | | | | | | | | | | Kelsey Black <nmonic@gmail.com> reported that the TeleMega CSV output was missing the header labels for the mag sensor data. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Reset interrupt flags before TX in CC1200 driverKeith Packard2014-11-06
| | | | | | | | | | | | | | Failing to reset the flags set during interrupt leads to short-circuiting transmission and not a lot of packets going out. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/teledongle-v1.9: Switch to NXP processor as on prototype boardsKeith Packard2014-11-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lpc: Disable JTAG when using pins for GPIOKeith Packard2014-11-06
| | | | | | | | | | | | | | JTAG is enabled by default, making those pins not support GPIO unless specifically configured. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lpc: Declare SPI send parameters as constKeith Packard2014-11-06
| | | | | | | | | | | | This matches STM Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use other TeleDongle LED for CRC-invalid packet reportingKeith Packard2014-11-06
| | | | | | | | | | | | | | Instead of blinking out some fake-o RSSI indication, just blink the red LED when a packet with a bad CRC is received. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: GPS errors are recorded in floating point, not integersKeith Packard2014-11-06
| | | | | | | | | | | | Fix the format used to present them in the info table. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Use AO_SPO_SPEED_FAST for CC1200Keith Packard2014-11-06
| | | | | | | | | | | | | | This asks for the fastest available SPI speed, instead of fixing it to 8MHz, which may not be supported on every architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Stop attempting to ramp power on CC115LKeith Packard2014-11-06
| | | | | | | | | | | | | | | | The PA register on the 115L isn't in any way monotonic, making the old code broken. Just rempve it instead of fixing it; we don't ramp anywhere else... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Declare port register type only in arch headerKeith Packard2014-11-06
| | | | | | | | | | | | | | Instead of defaulting to 8 bits, explicitly require declaration of the type of the port register for each architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Move teledongle 1.9 to 1.8; there's a new 1.9Keith Packard2014-11-06
| | | | | | | | | | | | 1.9 is now the lpc11u14-based form-factor prototype board. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Rename microwater to microsplashKeith Packard2014-11-05
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Pop up 'Connecting' dialog during Monitor IdleKeith Packard2014-10-30
| | | | | | | | | | | | | | This was a bit harder than expected as I had to wire up a way to shut down the whole monitor idle window when you clicked on the cancel button. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Increase CC1200 SPI data rate to 8MHzKeith Packard2014-10-25
| | | | | | | | | | | | | | This got set to 125kHz to make debugging with a logic analyzer easier and never changed back to a reasonable speed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix up telemetry delay computationsKeith Packard2014-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With RDF, APRS and telemetry all being sent at varying rates, computing when to send the next radio data is not as simple as sending telemetry and then figuring out whether to send RDF and/or APRS. Fix this by computing times for the next telemetry/rdf/aprs packet, and only sending each when that time has passed. Compute the delay until the next radio activity as the minimum time to any transmission. This also adds code to the config bits to reset the radio times whenever something changes that might affect which radio data to send next. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Perform cc1200 calibration less often. Tweak radio paramsKeith Packard2014-10-25
| | | | | | | | | | | | | | | | | | | | | | This performs calibration after every 4 operations, or when the frequency changes. This reduces the time it takes to get to receive mode. This also makes the sync and preamble qualifiers more strict to reject bad packets. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Remove old AO_SEND_ALL_BARO bitsKeith Packard2014-10-25
| | | | | | | | | | | | | | This was used for testing the original TeleMini which couldn't log data at full speed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Build TeleDongle v1.9 by defaultKeith Packard2014-10-25
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Increase PQT value for cc1200 improving sensitivityKeith Packard2014-10-25
| | | | | | | | | | | | | | | | The PQT value indicates how 'good' the preamble is; higher values allow a lower quality of preamble to pass the test, permitting more packets to be decoded. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Sort out ao_gps_print altitude fetchingKeith Packard2014-10-25
| | | | | | | | | | | | | | | | | | | | ao_gps_print is used by both teledongle/telebt and the host-based GPS test code. The first instance uses the old internal GPS structure, containing just a 16-bit altitude while the second uses an ao_telemetry structure, which contains 32 bits split into two members. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/teledongle-v1.9: Add remaining code to complete the projectKeith Packard2014-10-24
| | | | | | | | | | | | This turns the prototype board into a full teledongle Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Complete cc1200 driverKeith Packard2014-10-24
| | | | | | | | | | | | | | | | | | | | Deal with differences between cc1120 and cc1200, including built-in packet support and various register changes. This now works to send and receive telemetry, as well as send APRS and RDF. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Expose telemetry altitude macros even without GPSKeith Packard2014-10-24
| | | | | | | | | | | | This allows for APRS testing in the new teledongle code Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Mark STM ao_spi_send as taking const pointerKeith Packard2014-10-24
| | | | | | | | | | | | We don't write to this, so let it be const for type checking Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools/ao-send-telem: Add verbose, fake and rate optionsKeith Packard2014-10-24
| | | | | | | | | | | | | | | | Verbose dumps some data while sending packets. Fake sends constructed packets, once every 500ms. Rate sets the transmit bit rate. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Try to detect the architecture when loading JNI libKeith Packard2014-10-24
| | | | | | | | | | | | | | Look at sun.arch.data.model and os.arch to try and load the right libaltos file the first time. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: synchronize access to serial debug output listKeith Packard2014-10-24
| | | | | | | | | | | | | | This list is access by both the receiver and the monitor task, so it needs to be locked to prevent collisions. Signed-off-by: Keith Packard <keithp@keithp.com>