Wykres commitów

62 Commity (d82e198d59ecb967cc8a93f8f29b69c20888149b)

Autor SHA1 Wiadomość Data
Rob Riggs d82e198d59 Previous changes to USB connection state management to fix behavior on Windows was broken. This appears to work on Windows, Linux and MacOS. 2019-06-08 23:05:03 -05:00
Rob Riggs b7791ab536 Update AFSK demodulation code to use Q15 FIR filter and new HDLC code. Tune the PLL for improved performance. Clean up IIR filter code. 2019-06-08 22:59:58 -05:00
Rob Riggs 56865be23c Reduce default log level to avoid interfering with demodulation. 2019-06-08 22:49:55 -05:00
Rob Riggs 4e218d36e9 Add new HDLC decoder. 2019-06-08 22:49:16 -05:00
Rob Riggs 2d5b5ecfc2 Update copyright statement. 2019-06-08 22:46:24 -05:00
Rob Riggs 9df3e5a783 Make frame type numbers explicit. 2019-06-08 22:44:03 -05:00
Rob Riggs 83fa4e6d10 Add feed-forward AGC code. 2019-06-08 22:42:58 -05:00
Rob Riggs 109850607d Remove unnecessary filter code. 2019-06-08 22:39:39 -05:00
Rob Riggs ec2f2af4b4 Remove unnecessary filter code. 2019-06-08 22:39:03 -05:00
Rob Riggs 4ce17e7d53 Add Q15 FIR filter code. 2019-06-08 22:34:53 -05:00
Rob Riggs 741bd802dd Update USB to try to address issue on Windows, and especially Winlink. Address back-to-back packets. Update version to 1.1.3rc1. 2019-03-31 21:40:04 -05:00
Rob Riggs 8676aee482 Update version to 1.1.2. 2019-02-03 12:26:35 -06:00
Rob Riggs 855407f33a Fix SLIP encoding defect in frame encoder. Fix CSMA behavior. 2019-02-02 12:51:04 -06:00
Rob Riggs 0eb70c4746 Fix timing behavior and a potential null pointer derefernce in the serial port driver. Fix an off-by-one error that caused short packets to be discarded. Update version to 1.1.1. 2019-01-31 18:01:27 -06:00
Rob Riggs 15e86e72ad Update BLE settings to improve responsiveness (at the expense of power consumption). Change BT class of service to make device icon more distinct. Update version to 1.1.0. 2019-01-21 14:35:41 -06:00
Rob Riggs 9e699d07e4 Set the MAC address on startup. Support 'reset to defaults' by holding down power button while pressing reset. 2019-01-19 17:41:56 -06:00
Rob Riggs f87873d26a Fix USB connection/battery charging issue. 2019-01-13 13:17:54 -06:00
Rob Riggs e00cb3d8ba Use same serial number encoding algo that is used in DFU. We now show same serial number in USB, BLE and device info data. Update firmware revision to 1.0.0. 2019-01-12 14:25:22 -06:00
Rob Riggs 5ba4233871 Negotiate battery charging when turned off and plugged in. Fixed #7. 2019-01-10 21:21:11 -06:00
Rob Riggs de457d00fc Hack to fix #6. Compile set_rtc_datetime() at -O0. 2019-01-06 23:05:35 -06:00
Rob Riggs 533b5d0ce0 Fix #3. Store error message in SRAM and reset. Return error message in GET_ALL_VALUES. 2019-01-06 16:39:34 -06:00
Rob Riggs 229993b221 Fix compilation warnings. Disable unsafe (and currently unused) functions. 2019-01-06 12:06:56 -06:00
Rob Riggs 348a07426a Fix #1 -- stop transmitting test tones when disconnected. Fix a couple compilation warnings. 2019-01-06 12:06:01 -06:00
Rob Riggs 084566f115 Read MAC address from BT module and send it as part of GET_ALL_VALUES. Fixes #2. 2019-01-05 22:50:08 -06:00
Rob Riggs dc11a1ff29 Increase frame pool count to match segment pool count. Fixes #4. 2019-01-05 21:29:02 -06:00
Rob Riggs 068d350804 Update eclipse settings. Update firmware version to 0.8.14. 2019-01-05 21:00:24 -06:00
Rob Riggs 52bc72ca6c Merge branch 'master' of github.com:mobilinkd/tnc3b-firmware 2019-01-05 20:49:00 -06:00
Rob Riggs a0aba01af3 Make AFSKTestTone object globally accessible. Stop sending test tones if a real packet arrives. Fix broken header guard. 2019-01-05 20:48:57 -06:00
Rob Riggs 79321b331e Avoid dynamic allocation in hardware reply code. Add DFU capabilities flag. Update firmware version to 0.8.13. 2019-01-05 20:43:18 -06:00
Rob Riggs 5c5ca44c85 Increase delay in serial port to avoid receiving too many small packets, leading to resource starvation. Disable VERBOSITY support. Increase firmware rev to 0.8.12. 2018-11-17 13:57:10 -06:00
Rob Riggs 3a876d9457 Clean up stop mode handling since we do a reset on wake now. Work around BCD issues in HAL. 2018-11-17 13:44:33 -06:00
Rob Riggs bbf3001853 Only delay when setting input gain when doing auto-adjust. 2018-11-14 17:10:36 -06:00
Rob Riggs aded258db4 Allow waiting for a frame if one is not immediately available. Wait for frame in SerialPort handler. 2018-11-11 21:33:04 -06:00
Rob Riggs b5dccefb7e Support power on/off via USB. Initialize PTT on power-on. Reset on resume from stop2. 2018-11-04 10:03:25 -06:00
Rob Riggs c33c97a1ef Support adjusting input levels (twist, gain). Support auto-adjust input levels. Support getting & setting RTC. Send API version. Update to 0.8.9. 2018-11-02 20:06:27 -05:00
Rob Riggs 1373e62ba0 Set serial number in BM78 DIS and USB descriptor, and return it via KISS HW commands. 2018-10-29 14:06:52 -05:00
Rob Riggs d2ad6698be Boot directly into bootloader when USB is connected and BOOT button is pressed. 2018-10-29 13:37:30 -05:00
Rob Riggs ca6fb5aa5f Minor logging improvements. 2018-10-28 21:27:27 -05:00
Rob Riggs a9ef136d41 Add digi implementation notes. 2018-10-28 21:26:04 -05:00
Rob Riggs 383a751a9f Fix CAPABILITIES endian mismatch. 2018-10-28 21:25:12 -05:00
Rob Riggs e9e4bc1990 Mock up support for USB suspend. Re-enable all interrupts on wake from stop. Stop/wake now seems to work reliably. 2018-10-28 21:15:19 -05:00
Rob Riggs a3145d2a95 Update battery level polling. 2018-10-28 21:12:10 -05:00
Rob Riggs de79227cc7 Update firmware version to 0.8.7. Support EEPROM save capability. Add new input gain limits and API version codes. 2018-10-28 21:07:44 -05:00
Rob Riggs 51d6b93415 Reduce buffer size to max allowed for USB. 2018-10-28 21:02:14 -05:00
Rob Riggs b19e1a5a5d Handle single-byte transfers over USB more efficiently. Linux seems to do only single byte transfers for ACM ports. 2018-10-28 21:01:24 -05:00
Rob Riggs 05bbab157b Do not enable/disable UART when opening/closing port as it causes corruption and missed data. Handle Tx timeouts better, including aborting DMA transfers when necessary. Remove egregious debug logging which was causing hangs due to resource starvation. 2018-10-28 20:59:01 -05:00
Rob Riggs ffd55e750d Update BM78 EEPROM loading/configuration process. BT security is disabled because that was the only way to get both EDR and LE to work on both Linux and Android at the same time. 2018-10-28 20:18:21 -05:00
Rob Riggs e2bc1bc488 Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
Rob Riggs e76631179d Trivial change to DCD. 2018-09-19 22:43:03 -05:00
Rob Riggs 2311503adb Update UART handle lpuart1->huart3. 2018-09-19 22:39:49 -05:00