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

Compare commits

..
Author SHA1 Message Date
Jannik Beyerstedt
6eff349894 BLE: Use unique name 2026-08-19 14:37:49 +02:00
Jannik Beyerstedt
729f18ee40 BLE: Add "service change attribute", advertise service 2026-08-19 14:37:16 +02:00
Jannik Beyerstedt
62997dbfcb 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)
2026-08-18 15:26:07 +02:00
Jannik Beyerstedt
51ebd75cd0 BLE: Fix UUIDs 2026-08-17 15:24:03 +02:00
3 changed files with 2 additions and 4 deletions

View file

@ -15,7 +15,7 @@ path = "./src/test.rs"
required-features = ["std", "cam"]
[features]
default = ["esp", "spat", "gnss_ubx", "screen"]
default = ["esp", "spat", "gnss_ubx", "screen", "ble"]
# build for ESP (needed to build test for `host-tuple`)
esp = [

View file

@ -15,8 +15,6 @@ features_base=(
spat,gnss_ubx,screen,cam_tx
)
features_more=(
spat,gnss_ubx,screen,ble
spat,gnss_ubx,screen,ble,cam_tx
spat,gnss_ubx,screen,cam,denm
spat,gnss_ubx,screen,cam_tx,cam,denm
)

View file

@ -687,7 +687,7 @@ impl TryFrom<&c_its_parser::ItsMessage<'_>> for msg::RawMsgRx {
transport: _,
etsi,
} => etsi.encode_to_uper(),
#[cfg(any(feature = "cam", feature = "cam_tx"))]
#[cfg(feature = "cam")]
c_its_parser::ItsMessage::Cam {
geonetworking: _,
transport: _,