Wykres commitów

50 Commity (d00043d43df92563ab3932c3389e5ded11600ef7)

Autor SHA1 Wiadomość Data
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
Rob Riggs ea2d081a9f Fix syntax error. 2018-09-19 22:38:50 -05:00
Rob Riggs 7523bac4f4 Start work on power saving modes. 2018-09-19 22:38:18 -05:00
Rob Riggs 8778ad3f1e Use CxxErrorHandler. 2018-09-19 22:37:00 -05:00
Rob Riggs 878b2e4a38 Fix unused variable warnings. 2018-09-19 22:36:30 -05:00
Rob Riggs e363bdd5b7 Mostly formatting updates. Fix PWM configuration. 2018-09-19 22:35:59 -05:00
Rob Riggs ffba2193bc Update for new hardware. Fix double free of frame when serial times out. 2018-09-19 22:33:16 -05:00
Rob Riggs 2f7fff86f6 Optimize ADC sample time to improve oversampling. Use CxxErrorHandler. 2018-09-19 22:21:44 -05:00
Rob Riggs f197c612e1 Add BM78 support. Add a README file to start documenting build/debug stuff. Add ARM fir filter code. Add ST/LINK config files. 2018-09-19 22:17:37 -05:00
Rob Riggs da1df53acd Clean up audio level setting code. Limit gain levels to supported values. Use CxxErrorHandler to limit warnings. 2018-09-19 22:14:49 -05:00
Rob Riggs 90f899e214 Update I2C handling. Update hardware and firmare versions. Fix conversion specifiers. Add more logging. 2018-09-19 22:10:51 -05:00
Rob Riggs 0c02cb325c Fix resource leak when CSMA times out. 2018-09-19 21:56:07 -05:00
Rob Riggs b98e6c1c2c Commit bulk of code for new project. Still some cleanup to do to make it work with new PCB. 2018-08-26 22:28:24 -05:00