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

Compare commits

..
Author SHA1 Message Date
Jannik Beyerstedt
296b1fd0ec BLE: Use unique name 2026-08-19 15:38:51 +02:00
Jannik Beyerstedt
e3434708cb BLE: Add "service change attribute", advertise service 2026-08-19 15:38:51 +02:00
Jannik Beyerstedt
265f2e4eea 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-19 15:38:51 +02:00
Jannik Beyerstedt
46b5f938bb BLE: Fix UUIDs 2026-08-19 15:38:51 +02:00
Jannik Beyerstedt
2dfcfef58d BLE: Remove denm dependency, align default features with readme 2026-08-19 15:38:10 +02:00
3 changed files with 4 additions and 2 deletions

View file

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

View file

@ -15,6 +15,8 @@ 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(feature = "cam")]
#[cfg(any(feature = "cam", feature = "cam_tx"))]
c_its_parser::ItsMessage::Cam {
geonetworking: _,
transport: _,