So far the serial output is a mix of \r\n for println() and \n for
sprintf() and such.
This commit consolidates this to a consistent \r\n.
There should be no noticeable difference for users of terminals that
auto-substitute a sole \n to \r\n.
This will however make the serial output friendly to default behavior of
various terminal emulators like 'screen' and 'minicom'.
This commit doesn't touch anything that is not serial output and also
leaves 'ets_printf' alone just in case.
Co-authored-by: Thomas B. Rücker <thomas.ruecker@relexsolutions.com>
- prevent using html file for tag firmware update
- removed excessive logging
- fallback to .bak on tagDB load error
- scheduled reboot once at night around 4:00
* Add formatString convenience function
* Use String& for wsLog, wsErr and wsSerial
* Add tag data parser and parse tag data
* Make logLine use String&
* Fix issue with formatString
* Reuse payloadLength in processTagReturnData
* Fix parsing of unsigned/signed inetegers and cleanup
* Use c++17 standard
* Cleanup logging
json template url + file implementation.
The file contains the json template, and can contain variables that will be extracted from the json in the url. The url is fetched at regular intervals.
- apconfig: configure night time, where the system is not updating tags, and the tags are sleeping
- fixed bug calculating expected checkin
- throttle down apinfo update to once per minute
- fixed too many concurrent requests getting tagtypes
- resend current image when a tag reboots and the content type is 'static image' (all other content types were already regenerating the content)
- fixed timing of main loop