Commit graph

51 commits

Author SHA1 Message Date
Vinzenz Schroeter
0968605d0b cleanups, add semicolon everywhere 2025-06-26 17:29:03 +02:00
Vinzenz Schroeter
5a849a87c7 fix missing renames 2025-06-23 21:16:22 +02:00
Vinzenz Schroeter
323ba6128e add move fn to dsl, rename SPCommand to GenericCommand, remove DisplayBitVec command 2025-06-23 20:26:22 +02:00
Vinzenz Schroeter
7a836783e1 rename function to ...try to indicate possible null return 2025-06-22 13:00:32 +02:00
Vinzenz Schroeter
b4730ffdf3 container macro code dedup 2025-06-22 12:52:53 +02:00
Vinzenz Schroeter
5ecb84ed16 derive try_into_packet automatically 2025-06-22 12:28:37 +02:00
Vinzenz Schroeter
8116375fd0 more type name based naming 2025-06-22 12:28:37 +02:00
Vinzenz Schroeter
8f13ba61f0 remove _ from type names in function names 2025-06-22 00:14:06 +02:00
Vinzenz Schroeter
500cbbc872 add prefix centrally 2025-06-21 23:51:10 +02:00
Vinzenz Schroeter
1eb59d986a wrap_command macro 2025-06-21 23:47:42 +02:00
Vinzenz Schroeter
18f0be072a fix docs, misc tweaks 2025-06-19 18:32:07 +02:00
Vinzenz Schroeter
b79a2534fc the rest of the functions wrapped with macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m6s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m49s
2025-06-18 23:14:51 +02:00
Vinzenz Schroeter
c492cfab6b even more functions wrapped with macro 2025-06-18 22:40:04 +02:00
Vinzenz Schroeter
21987d05f3 use macros in macros
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 2m0s
Rust / build-size-gnu-unstable (pull_request) Failing after 2m48s
2025-06-18 20:42:33 +02:00
Vinzenz Schroeter
27f231eba0 wrap_function without defined signature 2025-06-18 20:42:33 +02:00
Vinzenz Schroeter
75e2df41fe export value fields via macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m31s
Rust / build-size-gnu-unstable (pull_request) Failing after 42s
2025-06-17 23:56:11 +02:00
Vinzenz Schroeter
8296773779 fix cp437 prefix, fix example 2025-06-17 22:21:11 +02:00
Vinzenz Schroeter
9756ef39b7 wrap normal methods with macro
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m31s
Rust / build-size-gnu-unstable (pull_request) Failing after 43s
2025-06-17 22:02:31 +02:00
Vinzenz Schroeter
02f629c68b generate some functions with macros, cbindgen 0.29 2025-06-16 21:45:27 +02:00
Vinzenz Schroeter
e5825819e6 update to servicepoint v0.15.0 2025-05-24 13:50:21 +02:00
Vinzenz Schroeter
01b3169020 sp_cmd_brightness_global_get returns value 2025-05-24 13:50:01 +02:00
Vinzenz Schroeter
c9d2479f5e sp_cmd_generic_try_from_packet return struct directly 2025-05-18 11:20:57 +02:00
Vinzenz Schroeter
389ced492c change typedef style, add optional logging
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m24s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m28s
2025-05-16 00:33:27 +02:00
Vinzenz Schroeter
4ab5305377 add example helper, translate more examples
update to wip servicepoint lib
2025-05-10 15:01:49 +02:00
Vinzenz Schroeter
b8a55d0433 even more docs
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 4m16s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m18s
2025-05-07 22:52:19 +02:00
Vinzenz Schroeter
36f3d84dc8 a bunch of docs 2025-05-07 22:31:26 +02:00
Vinzenz Schroeter
e7cad5b5a3 doc changes 2025-05-07 08:29:43 +02:00
Vinzenz Schroeter
a4bacd53a2 remove SPBitVec wrapper type
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m19s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m9s
2025-05-06 23:05:06 +02:00
Vinzenz Schroeter
85ccf4123c expose tagged union instead of TypedCommand to C
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m18s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m11s
2025-05-06 22:58:38 +02:00
Vinzenz Schroeter
32d39f8006 misc mod and doc changes 2025-05-06 21:27:01 +02:00
Vinzenz Schroeter
4f0eca3ea0 more commands 2025-05-06 21:27:01 +02:00
Vinzenz Schroeter
373725c648 add first specific commands 2025-05-05 22:59:14 +02:00
Vinzenz Schroeter
406ec84577 a bunch of options for the Makefile 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
baa450b2f7 add functions to convert containers directly into packet 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
1e442012be heap_remove, sp_brightness_grid_into_packet 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
ce70ecd9e2 add command code constants, send header 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
f193c659b9 translate announce and brightness tester examples 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
0af8ea98dd add sp_bitmap_into_bitvec, sp_bitmap_from_bitvec 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
fd6f9198f3 unify heap allocation handling 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
63dfecdbf5 rename/merge functions to match rust side more 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
bbe4000468 add fn to pass ip:port as values 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
fc80e1b83f move generic safety information into README 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
e0d82b2b87 wip fix documentation 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
597614bc95 use brightness type from base crate 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
40fed5ba04 add /*notnull*/ comments in header, use NotNull for parameters 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
bb90af3a57 wip remove newtypes, re-export constants from base lib 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
d215f7199e functions for manipulating packets 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
1a58294f88 wip remove newtypes 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
0d4bf5ac10 wip 80k example 2025-05-04 13:17:06 +02:00
Vinzenz Schroeter
57d9e90b0f wip update to next servicepoint version 2025-04-12 16:25:20 +02:00