mirror of
https://github.com/bybrooklyn/openbitdo.git
synced 2026-03-19 12:12:57 -04:00
Bootstrap OpenBitdo clean-room SDK and reliability milestone
This commit is contained in:
30
sdk/crates/bitdo_proto/src/lib.rs
Normal file
30
sdk/crates/bitdo_proto/src/lib.rs
Normal file
@@ -0,0 +1,30 @@
|
||||
mod command;
|
||||
mod error;
|
||||
mod frame;
|
||||
#[cfg(feature = "hidapi-backend")]
|
||||
mod hid_transport;
|
||||
mod profile;
|
||||
mod registry;
|
||||
mod session;
|
||||
mod transport;
|
||||
mod types;
|
||||
|
||||
pub use command::{CommandDefinition, CommandId};
|
||||
pub use error::{BitdoError, BitdoErrorCode, Result};
|
||||
pub use frame::{CommandFrame, Report64, ResponseFrame, ResponseStatus, VariableReport};
|
||||
#[cfg(feature = "hidapi-backend")]
|
||||
pub use hid_transport::{enumerate_hid_devices, EnumeratedDevice, HidTransport};
|
||||
pub use profile::ProfileBlob;
|
||||
pub use registry::{
|
||||
command_registry, device_profile_for, find_command, find_pid, pid_registry, CommandRegistryRow,
|
||||
PidRegistryRow,
|
||||
};
|
||||
pub use session::{
|
||||
validate_response, CommandExecutionReport, DeviceSession, DiagCommandStatus, DiagProbeResult,
|
||||
FirmwareTransferReport, IdentifyResult, ModeState, RetryPolicy, SessionConfig, TimeoutProfile,
|
||||
};
|
||||
pub use transport::{MockTransport, Transport};
|
||||
pub use types::{
|
||||
CommandConfidence, DeviceProfile, PidCapability, ProtocolFamily, SafetyClass, SupportEvidence,
|
||||
SupportLevel, VidPid,
|
||||
};
|
||||
Reference in New Issue
Block a user