This is a TRMNL BYOS server implementation written in rust. This is currently in active development.
Currently the following features are missing:
- No way to change the refresh rate
- No way to update the firmware OTA
- No support for user authentication and device management permissions
Called by device to setup and exchange API key
Called by device to request a new image for display
TODO these should be persisted Called by device to share logs
Management endpoint to retrieve a list of devices and their information
[
{
"id": "57D415",
"mac": "28:37:2F:AA:15:88",
"rssi": -69,
"battery_voltage": 3.88,
"fw_version": "1.6.5",
"refresh_rate": 900
}
]Management endpoint to retrieve device information
{
"id": "57D415",
"mac": "28:37:2F:AA:15:88",
"rssi": -69,
"battery_voltage": 3.88,
"fw_version": "1.6.5",
"refresh_rate": 900
}Management endpoint to get the current images on rotation for a device
["https://url_to_image_1.png", "https://url_to_image_2.png"]Management endpoint to update the current images on rotation for a device
["https://url_to_image_1.png", "https://url_to_image_2.png"]["https://url_to_image_1.png", "https://url_to_image_2.png"]sqlx migrate add NAME_OF_MIGRATIONsqlx migrate runcargo sqlx prepare