Commit Graph

170 Commits

Author SHA1 Message Date
andreas 4557e6c0bb optimize memory usage for config data, allow 4s timeout for setConfig 2022-03-11 14:50:48 +01:00
andreas 52c598f6a7 #34: do not show apPassword in the config UI if the change is not allowed. Also do not print this on startup. Introduce FORCE_AP_PWCHANGE to allow extensions to force pw change ability 2022-03-10 19:26:19 +01:00
wellenvogel 9f6e41a598 allow to globally switch of the sending of NMEA2000 data 2022-01-14 23:38:51 +01:00
wellenvogel 966ef0c4fb allow to hide config items from the ui and allow to change config values in the init function 2022-01-14 23:16:43 +01:00
wellenvogel 74064fb664 correctly send out seasmart only if NMEA out is not enabled on channel 2022-01-12 18:55:08 +01:00
wellenvogel 7d93ecb063 allow to set the log level 2022-01-09 18:09:34 +01:00
wellenvogel 368f8e50ed move message buffers to heap to avoid stack overflows 2022-01-04 22:58:13 +01:00
wellenvogel 2a56adf3c5 add status to Api 2022-01-03 18:59:17 +01:00
wellenvogel 73eee8461e allow receiving seasmart messages, correctly handle source for actisense and seasmart in converter 2022-01-03 18:05:14 +01:00
wellenvogel 5b843a23be tcp client 1st working 2022-01-02 17:26:46 +01:00
wellenvogel d21e497864 intermediate, untested: move channel handling out of main 2022-01-02 14:43:37 +01:00
wellenvogel 47fb805ee6 intermediate: introduce an abstract channel 2021-12-31 18:38:11 +01:00
wellenvogel 298b6c1640 intermediate: channel config 1st tests 2021-12-29 20:19:07 +01:00
wellenvogel 01dae66459 introduce channel config abstraction 2021-12-29 19:52:36 +01:00
wellenvogel 34540405d0 replace logString with logDebug 2021-12-18 18:47:57 +01:00
wellenvogel 031e4fa0e0 move version and firmwaretype to appinfo 2021-12-17 13:01:03 +01:00
wellenvogel de5bc17c77 generate versioned output files for initial and update 2021-12-16 12:52:47 +01:00
wellenvogel 20187fcb1d add changed flag to BoatDataValue in API 2021-12-16 11:45:35 +01:00
wellenvogel 32ee425a5a add some size checks for fw name and version 2021-12-15 17:40:38 +01:00
wellenvogel 3475b769ff add custom app description to image 2021-12-15 17:11:25 +01:00
wellenvogel 01662d43fa add a firmware type to display 2021-12-14 19:09:43 +01:00
wellenvogel 428f55e87c intermediate: OTA update 2021-12-14 18:01:38 +01:00
wellenvogel 8b9fabe9e4 intermediate: prepare ota upload 2021-12-14 13:14:36 +01:00
wellenvogel b591c7ff12 remove GwConfigItem and write operations, log passwords on USB 2021-12-13 22:10:28 +01:00
wellenvogel 30b23a72ce add an admin password to protect the changing api functions 2021-12-13 21:13:42 +01:00
wellenvogel c38964e8b0 intermediate: check admin password 2021-12-13 15:24:30 +01:00
wellenvogel 2f1ea8e726 limit tcp clients to 6 2021-12-12 12:46:17 +01:00
wellenvogel 96036791b5 intermediate: change statistics 2021-12-11 20:31:36 +01:00
wellenvogel 575d08e73f remove not workingb websocket stuff 2021-12-09 12:02:56 +01:00
wellenvogel 7b4ab178c2 change api for getBoatDataValues 2021-12-05 21:25:12 +01:00
wellenvogel 2e5b3b37d7 improve statistics 2021-12-05 20:45:49 +01:00
wellenvogel b089ae2a39 add some loop statistics 2021-12-05 17:10:23 +01:00
wellenvogel c5b6de32a9 add some time measurements 2021-12-05 12:38:24 +01:00
wellenvogel 236c417fb5 intermediate: fix some n2k->xdr mappings, add backwards conversions 2021-12-03 22:07:21 +01:00
wellenvogel 04d90447e8 add new function getBoatDataValues to api for easier access 2021-12-03 17:00:51 +01:00
wellenvogel 3e73f6b80c add XDR min interval, N2K min interval, add N2K_LOAD_LEVEL and N2K_CERTIFICATION_LEVEL 2021-12-03 11:47:05 +01:00
wellenvogel cd1fefad52 restructure buffer handling, better buffer logging 2021-12-02 17:10:50 +01:00
wellenvogel 9dcb98bb51 intermediate: restructure buffer handling 2021-12-01 22:55:37 +01:00
wellenvogel 15c572ed9a remove sourceId from api in sendNMEA0183 2021-12-01 20:57:06 +01:00
wellenvogel c105eef969 #12: multiple capabilities in user task, user init function, cleanup message handling in main, clearer api 2021-12-01 20:03:33 +01:00
wellenvogel 5195c3be88 free GwApi from ArduinoJson 2021-11-28 12:11:47 +01:00
wellenvogel e3d4ac5eba allow usercode to define config and set capabilities 2021-11-27 20:56:36 +01:00
wellenvogel 39bc516def move user task handling into separate lib 2021-11-27 15:45:21 +01:00
wellenvogel 1e4285fe5d intermediate: generic handling of user tasks 2021-11-27 14:57:16 +01:00
wellenvogel 5bf2aeaffe intermediate: debug via websocket 2021-11-27 10:25:18 +01:00
wellenvogel 3a12fe16cd correctly handle receiveTCP, receiveUSB, switch USB actisense out on/off, actisense counter 2021-11-26 18:06:51 +01:00
wellenvogel 284be741f5 intermediate: actisense format on USB 2021-11-26 00:09:34 +01:00
wellenvogel 99ba4b3d8e add exampleTask 2021-11-25 19:55:13 +01:00
wellenvogel aae16531ff use new api boatDataString for the UI 2021-11-25 16:43:13 +01:00
wellenvogel 8610d94382 xdrExample and xdrUnmapped requests 2021-11-22 12:16:19 +01:00
free-x 75b7aab909 Avoid deprecated function 2021-11-21 12:38:08 +01:00
wellenvogel 724e661396 avoid duplicate message conversion 2021-11-20 23:25:00 +01:00
wellenvogel 15ca1b9e17 xdrmappings: map 130314 2021-11-20 17:53:02 +01:00
wellenvogel fbc955cd53 intermediate: xdr type mapping 2021-11-19 21:16:04 +01:00
andreas b3f4a11a8e improve logging MT robustness 2021-11-13 18:15:50 +01:00
andreas 48c57a1610 remove delay when setting config 2021-11-10 16:19:00 +01:00
andreas 4c8d17ef40 limit config keys to 15 characters, show sources and units 2021-11-10 16:13:49 +01:00
andreas 7e348431b0 better handling for ifdefs 2021-11-08 20:40:37 +01:00
andreas ab44959775 correctly handle the version string 2021-11-07 21:42:24 +01:00
andreas 712829c7e4 prepare github release flow and version handling 2021-11-07 20:48:28 +01:00
andreas f3873cf6b3 version update 2021-11-07 17:01:06 +01:00
andreas 9147359b90 improved counter display on status page 2021-11-07 17:00:40 +01:00
andreas 3c4920d104 add NMEA and NSk counter 2021-11-07 13:12:38 +01:00
andreas 19ff2687b5 version update 2021-11-06 20:57:50 +01:00
andreas 3100582581 version update 2021-11-06 19:32:49 +01:00
andreas 436dd3632b allow to set the AP password if we can do hardware reset 2021-11-06 18:55:05 +01:00
andreas 62151f9c3c add led handling for m5atom 2021-11-06 16:02:30 +01:00
andreas 2526c82562 add api for supplementary tasks, add button task 2021-11-06 14:32:57 +01:00
andreas b0684fc65a allow to set the nmea0183 talker id 2021-11-05 21:14:39 +01:00
andreas fc57d73054 add info about conversions to UI, tweak layout 2021-11-05 19:19:43 +01:00
andreas 4572cafa23 MWD,VWR to n2k 2021-11-05 18:12:31 +01:00
andreas 7aaccac54b remove compiler warnings 2021-11-05 17:11:58 +01:00
andreas 647623d7ae update version 2021-11-03 21:25:00 +01:00
andreas 93180be220 use a more semantic input for the NMEA filters 2021-11-03 21:24:27 +01:00
andreas 3cf67d387e introduce NMEA filter 2021-11-03 19:36:28 +01:00
andreas 2028525cc9 control directions for serial port correctly 2021-11-03 17:37:35 +01:00
andreas bec155fb4d intermediate: use the arduino hwserial as idf does not receive data 2021-11-03 17:11:40 +01:00
andreas 9174f7d086 confirm before a factory reset 2021-11-02 21:32:48 +01:00
andreas 301783ae40 handle and configure a serial device 2021-11-02 21:18:11 +01:00
andreas b84e47d16a NMEA0183 AIS to N2K, corrected some encodings 2021-11-02 19:29:40 +01:00
andreas 0bdcc8fff2 handle priorities in boat data 2021-11-01 11:41:41 +01:00
andreas 14b04fb4a0 log registered pgns for transmit 2021-11-01 11:20:31 +01:00
andreas 470dec92ad convert RMC from 0183 to 2k, avoid cores 2021-10-31 21:20:27 +01:00
andreas c8778e4ceb intermediate: add nmea0183 to n2k 2021-10-30 21:37:44 +02:00
andreas 483e79f99e cleanup of unused code, streamline main 2021-10-30 19:43:14 +02:00
andreas bb7f2085a4 refactor message queue 2021-10-30 19:11:21 +02:00
andreas bb80c5f44f refactoring: move webserver stuff to own lib 2021-10-30 14:49:53 +02:00
andreas 11c6c78ad6 fix memory leak in main messages 2021-10-30 13:49:20 +02:00
andreas e7b2c6e756 add some memory diagnostics 2021-10-30 12:01:50 +02:00
andreas b4fe48744b intermediate: externalize config definitions 2021-10-28 20:43:05 +02:00
andreas b5aa62ff49 moved generated into extra dir, prepare for more embedded files 2021-10-28 13:09:54 +02:00
andreas b1f3af3797 use delayed restart for proper GUI responses 2021-10-28 10:33:56 +02:00
andreas 1be2b1a667 handle receiving and distributing on NMEA messages 2021-10-28 10:25:12 +02:00
andreas b007586076 streamline buffer handling 2021-10-27 10:43:53 +02:00
andreas e378f6e56b intermediate: tcp read 2021-10-26 21:54:28 +02:00
andreas 933ea0d0aa intermediate: reading on tcp 2021-10-26 20:28:21 +02:00
andreas 60eabb05ab use nonblocking write for serial 2021-10-25 21:20:41 +02:00
andreas c893025cd3 use async web server 2021-10-25 18:31:34 +02:00
andreas 2057b70cb7 introduce debug log 2021-10-24 16:51:47 +02:00
andreas 149ffb7a5f add mdns 2021-10-22 16:15:49 +02:00