Enumerations | |
enum | command { command::enable_advanced_mode = 0x2d, command::advanced_mode_enabled = 0x30, command::reset = 0x20, command::set_advanced = 0x2B, command::get_advanced = 0x2C } |
Functions | |
std::vector< uint8_t > | encode_command (command opcode, uint32_t p1=0, uint32_t p2=0, uint32_t p3=0, uint32_t p4=0, std::vector< uint8_t > data=std::vector< uint8_t >()) |
platform::guid | stoguid (std::string str) |
|
strong |
Enumerator | |
---|---|
enable_advanced_mode | |
advanced_mode_enabled | |
reset | |
set_advanced | |
get_advanced |
Definition at line 6 of file pybackend_extras.h.
std::vector< uint8_t > pybackend2::encode_command | ( | command | opcode, |
uint32_t | p1 = 0 , |
||
uint32_t | p2 = 0 , |
||
uint32_t | p3 = 0 , |
||
uint32_t | p4 = 0 , |
||
std::vector< uint8_t > | data = std::vector< uint8_t >() |
||
) |
Definition at line 23 of file pybackend_extras.cpp.
platform::guid pybackend2::stoguid | ( | std::string | str | ) |
Definition at line 12 of file pybackend_extras.cpp.