Skip to content

Feature/transport interface#1

Merged
Reimanbow merged 3 commits intomainfrom
feature/transport_interface
Feb 12, 2026
Merged

Feature/transport interface#1
Reimanbow merged 3 commits intomainfrom
feature/transport_interface

Conversation

@Reimanbow
Copy link
Owner

Transportインタフェースの定義

  • 関数ポインタの集合として定義
  • Strategy Patternにより、ミドルウェアは下層の通信規格が何であるかを意識する必要がない

CASTパケットのヘッダ

  • データ以外のパケットが送られることも想定し、パケットタイプ列挙体の追加
  • JPEG、RGB565、GrayScaleなどの画像が送信できるように、ピクセルフォーマット列挙体の追加
  • トレーラにCRCをつける
  • 画像を1枚送る事にframe_idがインクリメントされる
  • ヘッダとトレーラを合わせると13バイト使う

@Reimanbow Reimanbow merged commit d61ffb8 into main Feb 12, 2026
2 checks passed
@Reimanbow Reimanbow deleted the feature/transport_interface branch February 12, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant