Sarah sbaudlr
  • Joined on 2021-07-08
sbaudlr deleted branch feat/tally from Streams-R-Us/atem-connection-rs 2025-06-21 15:53:16 +01:00
sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

nitpick: I don't think r#type is super clear, could be raw_type or similar?

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

suggestion: File clarity could be improved by moving this trait definition up to before any of the implementations of this trait.

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

nitpick: I don't think TYPE is clear, as to me this suggests "integer" or "string" or similar, whereas it's more to do with the name/label of the field

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

nitpick: Super a personal preference thing but I prefer not to contract names and instead write e.g. mix_effect_index for clarity.

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

12 bytes is the minimum packet length, if a packet is more than 12 bytes then the field data will always be aligned to 8 bytes iirc

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

iirc, yes.... in normal operation. If we see something from the ATEM we don't like (e.g. it sending us a handshake acknowledgement out-of-sequence) or if our connection to the ATEM times out then we should destroy our held state about the connection and recreate it and gain a new session Id (which is what is implemented on the tally branch). So yeah, outside of the handshake we don't need to handle a new session (I believe)

sbaudlr commented on pull request Streams-R-Us/atem-connection-rs#1 2025-06-21 15:48:19 +01:00
WIP: towards no_std, zerocopy, field parsing

Just doing a high-level read of things and leaving thoughts

sbaudlr pushed to main at Streams-R-Us/atem-connection-rs 2025-06-10 12:01:42 +01:00
65ffc9e809 Merge branch `feat/tally` into main
sbaudlr pushed to feat/tally at Streams-R-Us/atem-connection-rs 2025-06-09 23:19:13 +01:00
3845d7de30 chore: Update flake.lock
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:30:38 +01:00
070fc9cb5e fix: Lets not jump about
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:23:53 +01:00
48eef54da3 test: 0?
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:12:52 +01:00
94d8fa5d57 Yes, it's debugging
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:10:06 +01:00
47f7efc4be Yes, more debugging
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:07:39 +01:00
7b964e9171 Maybe that just works?
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:06:08 +01:00
f2d86c9a6d Yet more debugging
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:04:07 +01:00
e406af4c49 Even more debugging
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 16:01:24 +01:00
2c1fc09576 More debugging
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 15:55:38 +01:00
7eb7f9fa31 Oh, right yeah
sbaudlr pushed to main at Streams-R-Us/hyperdeck-monitor 2024-06-01 15:51:41 +01:00
50fcbeb9f0 Maybe?