Commit graph

171 commits

Author SHA1 Message Date
Laura Klünder
fde4e76f68 change range to be signed 2023-11-27 16:28:33 +01:00
Laura Klünder
0af7c4801f make it possible to request OTA fragments 2023-11-26 18:47:56 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
42280d6c71 rename variable to make more sense 2023-11-26 17:47:09 +01:00
Laura Klünder
d6b86425ee lots of adjustments in consumer code, more state handling and stuff 2023-11-26 17:39:10 +01:00
Laura Klünder
868851461f no holding back, send all the chunks and send them quick 2023-11-26 16:23:15 +01:00
Laura Klünder
ade1807abb OTA status views etc 2023-11-26 16:22:55 +01:00
Laura Klünder
5953bc9acc some fixes for when there's a node with now FWs 2023-11-26 15:13:59 +01:00
Laura Klünder
efd4f32377 most of the mesh websocket OTA mechanism stuff 2023-11-26 02:41:48 +01:00
Laura Klünder
9cd8328130 some fixes in the mesh messages code… it'S 2:40am i don'T remember what… 2023-11-26 02:40:44 +01:00
Gwendolyn
bec24c3982 remove destinations message base class
because the size calculation for the c types can't deal with it
2023-11-26 00:58:53 +01:00
Gwendolyn
0ff2bdcd00 use 16 bit num field for variable length message types 2023-11-26 00:58:12 +01:00
Gwendolyn
8b779e257b remove echo message base class 2023-11-26 00:48:51 +01:00
Laura Klünder
85abb2bfe9 base formats änderungen commiten für the cute gwen 2023-11-26 00:48:34 +01:00
Laura Klünder
3c7bbaa599 fix firmware upload 2023-11-26 00:36:12 +01:00
Laura Klünder
bdccc189dd fix prefetch_ota 2023-11-26 00:35:39 +01:00
Laura Klünder
79dff87ce1 node ranging → show calculated position and diffs 2023-11-25 21:53:28 +01:00
Laura Klünder
35a8b17b48 show ranging beacons in some mesh node views 2023-11-25 20:14:07 +01:00
Laura Klünder
0564828d53 add form to send echo messages 2023-11-25 19:09:46 +01:00
Laura Klünder
a125cc9110 fix send mesh messages form 2023-11-25 19:09:32 +01:00
Laura Klünder
fabfe0c54f typo in JS mesh websocket data 2023-11-25 19:04:14 +01:00
Laura Klünder
3a45af8837 max message size fix by gwen 2023-11-25 18:56:36 +01:00
Laura Klünder
518219a7a4 add actual distance to mesh ranging view 2023-11-25 18:55:18 +01:00
Gwendolyn
d85d9845b2 fix mesh message send 2023-11-25 18:36:59 +01:00
Laura Klünder
5cf839577a add ranging feature in mesh control 2023-11-25 14:42:29 +01:00
Gwendolyn
a408fecbd8 fix externalDocs 2023-11-24 01:29:00 +01:00
Gwendolyn
a77d234f7b update ota messages 2023-11-24 01:29:00 +01:00
Laura Klünder
9c6d7989c0 _retrieve() → _by_id() 2023-11-23 23:24:15 +01:00
Laura Klünder
389e9ee52b rename _detail to _retrieve in API v2 2023-11-23 19:37:02 +01:00
Laura Klünder
a251179600 display 0xffff distance correctly 2023-11-23 19:32:52 +01:00
Laura Klünder
6caaf17205 show firmware details from image header 2023-11-23 19:16:57 +01:00
Laura Klünder
92e3c2a583 request fragment → request fragments 2023-11-23 19:03:20 +01:00
Laura Klünder
a68c5d7e44 update mesh messages 2023-11-23 18:56:33 +01:00
Laura Klünder
d84226dc5c fix get_locator_beacon 2023-11-23 15:02:21 +01:00
Laura Klünder
f43d458fc4 add tons of mapdata endpoints, enhance documentation and operation IDs 2023-11-19 15:34:08 +01:00
Laura Klünder
7447537c4a don't refer to old auth in mesh newapi 2023-11-19 14:56:00 +01:00
Laura Klünder
0f43274e33 some more documentation in the API and in the API code 2023-11-19 00:12:10 +01:00
Laura Klünder
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00
Laura Klünder
f89d069ab1 read and parse image binary header during firmware upload 2023-11-17 19:04:43 +01:00
Laura Klünder
14e39b2377 update firmware api with more endpoints and parse firmware image headers 2023-11-17 18:56:47 +01:00
Laura Klünder
2d97f9bb87 add firmware upload API 2023-11-17 16:42:27 +01:00
Laura Klünder
44b6cc61e6 add new firmware_upload api definition, not implemented yet 2023-11-15 14:54:21 +01:00
Laura Klünder
aa5df7de7f update api endpoints to use new auth 2023-11-14 18:29:21 +01:00
Laura Klünder
414f124322 it's cm_to_m not m_to_cm 2023-11-11 17:19:56 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Gwendolyn
565404598b fix import order 2023-11-11 13:30:12 +01:00
Laura Klünder
0cd17ea237 fix the new mesh/uplink data stuff 2023-11-11 12:20:10 +01:00
Laura Klünder
f5c33724dc start adding new ninja-based OpenAPI-compatible API v2, starting with mesh 2023-11-11 03:01:15 +01:00
Laura Klünder
0b6362c8ab start implementing RangeLocator 2023-11-10 20:11:50 +01:00
Laura Klünder
e3afa4b2ea validate mesh node address 2023-11-10 19:00:09 +01:00