No description
Find a file
2025-02-20 18:05:17 +01:00
server basic upload server written in flask 2025-02-20 18:05:17 +01:00
cmd_reset.sh test cases for rtc and reset command 2025-02-20 18:04:58 +01:00
cmd_rtc.sh test cases for rtc and reset command 2025-02-20 18:04:58 +01:00
README.md sdlogger working upload and logging 2025-02-20 18:04:19 +01:00
sdlogger.py sdlogger working upload and logging 2025-02-20 18:04:19 +01:00

SDLOGGER

sdlogger takes all data from uart0 rx and writes it onto a sdcard.

available commands

  • RTC
    • "epoch" : unix timestamp in seconds
  • upload
    • wlan_ssid
    • wlan_password: optional, do not provide if open wlan is to be used
    • upload_server: server URL, e.g.: "http://localhost" port 80/443 will get autoassigned based on http or https
    • router_mac: mac address of the router, will be used in filename
  • UOTA
    • wlan_ssid
    • wlan_password: optional, do not provide if open wlan is to be used
  • reset
    • no options

creating JSON for commands

#! /usr/bin/env python
import json

json.dumps({'cmd': 'RTC','epoch':123456778890})