Watch
0
0
Fork
You've already forked esp32-c_its-companion
0

BLE: Add raw messages

BLE can only fit 251 bytes of payload in notifications which isn't nearly enough for a raw V2X message.
So only publish a notification which message was received and let the client
poll the content from the characteristic (since reads can get data in fragments)
This commit is contained in:
Jannik Beyerstedt 2026-08-17 14:53:48 +02:00
commit 265f2e4eea
5 changed files with 411 additions and 82 deletions

View file

@ -71,6 +71,10 @@ message RawMsgTx {
optional uint32 stationType = 6; // for source position vector
}
message RawNotify {
required uint32 message_type = 1; // ITS `MessageId` integer value
}
// ------------------------------
// Messages
// ------------------------------