Commit graph

67 commits

Author SHA1 Message Date
Laura Klünder
03426c1989 model_dump() needs to use mode="json" 2024-03-29 15:01:39 +01:00
Jenny Danzmayr
4686bf21a7 websocket debugging stuff 2024-03-28 21:39:30 +01:00
Laura Klünder
0fd789173a change all of the MeshMessages c-models from dataclasses to pydantic 2024-03-09 17:19:08 +01:00
Laura Klünder
233d09fd04 send ota chunks more slowly 2024-02-01 16:39:17 +01:00
Laura Klünder
a8fda62d24 read x-mesh-secret header correctly 2023-12-09 20:24:48 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
68d9d535c7 mesh websocket auth: use X-Mesh-Secret 2023-12-04 23:09:27 +01:00
Gwendolyn
ac6f154f06 various ota fixes 2023-12-02 02:25:43 +01:00
Gwendolyn
013a480f6d switch ota status highest_chunk to next_expected_chunk 2023-12-02 02:21:42 +01:00
Laura Klünder
d789bb2382 don't fail with unhandled message type bluh bluh 2023-12-02 02:02:54 +01:00
Jenny Danzmayr
78ff88a390 prevent side channel attacks in the mesh authorization code 2023-12-01 17:11:06 +01:00
Laura Klünder
a3bac07a23 mesh websocket authorization 2023-12-01 17:04:39 +01:00
Laura Klünder
0256c061ea starting OTA without reconnecting the node, canceling OTA too… wow 2023-12-01 16:39:27 +01:00
Laura Klünder
a3f763ad35 ota controls… hopefully nearly complete 2023-12-01 16:23:17 +01:00
Laura Klünder
bef3db6841 blubb bloobb 2023-12-01 15:19:51 +01:00
Laura Klünder
e295c62757 linter deserves happiness 2023-12-01 15:00:40 +01:00
Laura Klünder
434e1edcc0 more ota status stuff in python and more way to communicate status in c 2023-12-01 14:58:47 +01:00
Laura Klünder
faad19f5a5 board boots with target firmware? OTA success! 2023-11-30 22:45:53 +01:00
Laura Klünder
62e97b0b2f show ota update progress in bytes 2023-11-30 22:31:42 +01:00
Laura Klünder
e579cb53b6 send all the data for the OTA 2023-11-30 22:03:22 +01:00
Laura Klünder
ad98eecf41 more rangelocator experimenting 2023-11-27 22:09:31 +01:00
Laura Klünder
d3c4d71331 ignore unexpected messages 2023-11-27 22:08:35 +01:00
Laura Klünder
9ea368f576 refuse to add nodes with invalid addresses 2023-11-27 17:10:38 +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
efd4f32377 most of the mesh websocket OTA mechanism stuff 2023-11-26 02:41:48 +01:00
Laura Klünder
79dff87ce1 node ranging → show calculated position and diffs 2023-11-25 21:53:28 +01:00
Laura Klünder
a125cc9110 fix send mesh messages form 2023-11-25 19:09:32 +01:00
Laura Klünder
5cf839577a add ranging feature in mesh control 2023-11-25 14:42:29 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Laura Klünder
0cd17ea237 fix the new mesh/uplink data stuff 2023-11-11 12:20:10 +01:00
Laura Klünder
394450f4a3 implement some auth for MeshUIConsumer 2023-11-09 17:04:55 +01:00
Laura Klünder
66810b20b0 mesh routing now fully database-bound 2023-11-07 16:35:46 +01:00
Laura Klünder
ee539f678a use database transactions when adding/removing uplink destinations 2023-11-07 15:37:45 +01:00
Laura Klünder
18144dde30 our consumers are async now, hurray 2023-11-07 14:25:54 +01:00
Laura Klünder
61673603ea add MeshUplink model to keep better track of uplinks 2023-11-06 14:22:35 +01:00
Laura Klünder
f2f0186e33 full support for the raw ftm stuff 2023-10-28 19:56:03 +02:00
Laura Klünder
bf1834cd63 msg_id → msg_type 2023-10-20 15:41:46 +02:00
Laura Klünder
f049499637 trying some kind of "no route" message… maybe 2023-10-06 02:58:43 +02:00
Laura Klünder
b732d52f65 make linter happy 2023-10-06 02:46:43 +02:00
Laura Klünder
79cde0f78c response for no route 2023-10-06 02:40:00 +02:00
Laura Klünder
59ebdd74bb some more message parsing fixes and routing implementation 2023-10-06 02:15:51 +02:00
Laura Klünder
da5ff59c96 new parsing works 2023-10-06 01:06:30 +02:00
Laura Klünder
1b8d409839 more information while sending the node 2023-10-05 13:52:52 +02:00
Laura Klünder
0343030980 mesh route results 2023-10-05 05:02:01 +02:00
Laura Klünder
c724833542 sending updates 2023-10-05 04:05:29 +02:00
Laura Klünder
40c4e98816 new mesh messages for routing debug 2023-10-05 02:34:42 +02:00