Expand description
- Allows to control Gembird SIS-PM USB outlet devices via USB.
- Rust port of python-sispm.
- See also sispmctl (C deamon)
§Example
for device in sispm::get_devices().expect("devs") {
println!("{:?}", device);
println!("serial: {:x?}", device.get_serial());
println!("status: {}",
device.get_status(1).expect("1"),
);
device.toggle(1).expect("tgl");
}
Structs§
Functions§
- get_
devices - Get all known Gembird devices currently connected