greenbreakfast 634b101c64 open sourcing oboo software packages repo | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
device | %!s(int64=4) %!d(string=hai) anos | |
duktape | %!s(int64=4) %!d(string=hai) anos | |
js | %!s(int64=4) %!d(string=hai) anos | |
lv_drivers | %!s(int64=4) %!d(string=hai) anos | |
lvgl | %!s(int64=4) %!d(string=hai) anos | |
oboo_gui | %!s(int64=4) %!d(string=hai) anos | |
test | %!s(int64=4) %!d(string=hai) anos | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
LICENSE | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
config.h | %!s(int64=4) %!d(string=hai) anos | |
img_tiger.bin | %!s(int64=4) %!d(string=hai) anos | |
img_tiger.c | %!s(int64=4) %!d(string=hai) anos | |
lv_conf.h | %!s(int64=4) %!d(string=hai) anos | |
lv_drv_conf.h | %!s(int64=4) %!d(string=hai) anos | |
main.c | %!s(int64=4) %!d(string=hai) anos | |
makefile | %!s(int64=4) %!d(string=hai) anos | |
messageQueue.c | %!s(int64=4) %!d(string=hai) anos | |
messageQueue.h | %!s(int64=4) %!d(string=hai) anos | |
runtime.c | %!s(int64=4) %!d(string=hai) anos | |
runtime.h | %!s(int64=4) %!d(string=hai) anos |
Display and Card manager for the Oboo Clock running on the Omega2
Display Manager listens to /notification
topic.
To set a notification, send a message to /notification
with the following syntax:
{
"cmd": "set",
"text": "<NOTIFICATION TEXT>",
"size": <FONT SIZE> // OPTIONAL: default is 20
}
To clear a notification, send a message to /notification
like the following:
{
"cmd": "clear"
}
Display manager listens to the /status
topic
To configure a status icon, publish a message to /status
like the following:
{
"cmd":"update",
"elements": [
{
"type": "<STATUS TYPE>", // string
"value": <STATUS VALUE> // integer representing the status
}
]
}
On and off icons, can be set to 0
for off, or 1
for on:
wifi
bluetooth
alarm
Range icons:
battery
0
(empty battery) to 4
(full battery)