summaryrefslogtreecommitdiff
path: root/fw/app/src/settings.h
AgeCommit message (Collapse)Author
7 hoursfw: app: http: Refactor settings handlersettingsxengineering
9 hoursfw: app: settings: Avoid external arrayxengineering
3 daysWIP: fw: app: settings: Temporary fix for SEGFAULTxengineering
3 daysfw: app: settings: Minimize changes for SEGFAULT fixxengineering
The core issue is that JSON_TOK_STRING as last argument to JSON_OBJ_DESCR_PRIM issues the SEGFAULT. Using JSON_TOK_NUMBER instead is the minimal change to avoid the SEGFAULT temporarily. Obviously this leads to nonsense output since the string is printed out as number.
4 daysWIP: fw: app: Fix SEGFAULTxengineering
TODO: Only JSON numbers seem to be encodable. Strings lead to SEGFAULT TODO: For some reason the encoded string is not part of the HTTP response.
4 daysWIP: fw: app: Encode settings with JSON libxengineering
TODO: SEGFAULT in json_escape_internal (grrrrr)
4 daysfw: app: http: Add working GET /settings.jsonxengineering