Closed EthanYidong closed 3 years ago
Sorry for bothering again, but I'm a bit confused on how this crate sends HCI commands. The bytes generated here: https://github.com/laptou/bluez-rs/blob/01ee38b4c1b42359afedec1d6f8f1e3fa2e5ed02/src/interface/request.rs#L13-L24
don't seem to line up with the C library here. Would you mind explaining where I can find documentation about the type of data that can be sent to the HCI socket/stream?
This library doesn't send raw HCI commands, it only sends commands to the management API, whose format is specified here.
Sorry for bothering again, but I'm a bit confused on how this crate sends HCI commands. The bytes generated here: https://github.com/laptou/bluez-rs/blob/01ee38b4c1b42359afedec1d6f8f1e3fa2e5ed02/src/interface/request.rs#L13-L24
don't seem to line up with the C library here. Would you mind explaining where I can find documentation about the type of data that can be sent to the HCI socket/stream?