Open fengyc opened 4 years ago
I would appreciate this as well. I'm trying to set up my raspberry pi zero w as a bluetooth keyboard with:
let return_classes = client.set_device_class(
*controller,
DeviceClass::Peripheral {
keyboard: true,
pointer: false,
class: PeripheralDeviceClass::Unknown,
},
).await?;
and I keep running into:
Bluez { source: CommandError { opcode: SetDeviceClass, status: InvalidParams } }
I too would like to use this crate to implement a BLE peripheral. Is that possible?
I think it's possible but difficult without already knowing a good amount about bluetooth development.
Is there an example of peripheral mode, I am looking for a way to start a BLE server that offers data of CPU/memory usage, runs small shell scripts, etc.
Thanks!