|
skeletonKey
BEng Dissertation; Pen-testing device
|
Public Member Functions | |
| IRTools () | |
| Construct a new IRTools object. | |
| void | init (fs::SDFS &sdInstance) |
| Construct a new IRTools object. | |
| void | sendRawIR (uint16_t *data, uint16_t length, uint16_t frequency) |
| Function to send a custom raw IR command. | |
| void | findDeviceTypes () |
| Find the Avaliable Device Types. | |
| std::vector< String > | getDeviceTypes () |
| Get the Device Types object. | |
| void | findDeviceBrands (int deviceTypeIndex) |
| Find the Avaliable Device Brands. | |
| std::vector< String > | getDeviceBrands () |
| Get the Device Brands object. | |
| void | findDevices (int deviceBrandIndex) |
| Find the Avaliable Devices. | |
| std::vector< String > | getDevices () |
| Get the Devices object. | |
| void | findDeviceCommands (int deviceIndex) |
| Get the Avaliable Device Commands object. | |
| std::vector< IRCommand > | getDeviceCommands () |
| Get the Device Commands object. | |
| void | sendIRCommand (IRCommand irCommand) |
| Function to send an IR command. | |
| void | jamIR (int duration) |
| Function to jam IR signals. | |
| void | captureIR (int duration) |
| Function to capture IR signals. | |
| IRTools () | |
| Construct a new IRTools object. | |
| void | init (fs::SDFS &sdInstance) |
| Construct a new IRTools object. | |
| void | sendRawIR (uint16_t *data, uint16_t length, uint16_t frequency) |
| Function to send a custom raw IR command. | |
| void | findDeviceTypes () |
| Find the Avaliable Device Types. | |
| std::vector< String > | getDeviceTypes () |
| Get the Device Types object. | |
| void | findDeviceBrands (int deviceTypeIndex) |
| Find the Avaliable Device Brands. | |
| std::vector< String > | getDeviceBrands () |
| Get the Device Brands object. | |
| void | findDevices (int deviceBrandIndex) |
| Find the Avaliable Devices. | |
| std::vector< String > | getDevices () |
| Get the Devices object. | |
| void | findDeviceCommands (int deviceIndex) |
| Get the Avaliable Device Commands object. | |
| std::vector< IRCommand > | getDeviceCommands () |
| Get the Device Commands object. | |
| void | sendIRCommand (IRCommand irCommand) |
| Function to send an IR command. | |
| void | jamIR (int duration) |
| Function to jam IR signals. | |
| void | captureIR (int duration) |
| Function to capture IR signals. | |
Private Attributes | |
| uint16_t | kIrLed = 38 |
| uint16_t | kRecvPin = 37 |
| IRsend | irsend |
| IRrecv | irrecv |
| fs::SDFS * | _sd |
| std::vector< String > | deviceTypes |
| std::vector< String > | deviceBrands |
| std::vector< String > | devices |
| std::vector< IRCommand > | deviceCommands |
| String | deviceType |
| String | deviceBrand |
| String | devicePath |
| String | device |
| decode_results | results |
| uint16_t | jamSignal [2] = {65535, 0} |
| void IRTools::captureIR | ( | int | duration | ) |
Function to capture IR signals.
| duration | Duration to capture IR signals |
| void IRTools::captureIR | ( | int | duration | ) |
Function to capture IR signals.
| duration | Duration to capture IR signals |
| void IRTools::findDeviceBrands | ( | int | deviceTypeIndex | ) |
Find the Avaliable Device Brands.
| deviceTypeIndex | Index of the device type |
| void IRTools::findDeviceBrands | ( | int | deviceTypeIndex | ) |
Find the Avaliable Device Brands.
| deviceTypeIndex | Index of the device type |
| void IRTools::findDeviceCommands | ( | int | deviceIndex | ) |
Get the Avaliable Device Commands object.
| deviceIndex | Index of the device |
| void IRTools::findDeviceCommands | ( | int | deviceIndex | ) |
Get the Avaliable Device Commands object.
| deviceIndex | Index of the device |
| void IRTools::findDevices | ( | int | deviceBrandIndex | ) |
Find the Avaliable Devices.
| deviceBrandIndex | Index of the device brand |
| void IRTools::findDevices | ( | int | deviceBrandIndex | ) |
Find the Avaliable Devices.
| deviceBrandIndex | Index of the device brand |
| std::vector< String > IRTools::getDeviceBrands | ( | ) |
Get the Device Brands object.
| std::vector< String > IRTools::getDeviceBrands | ( | ) |
Get the Device Brands object.
| std::vector< IRCommand > IRTools::getDeviceCommands | ( | ) |
Get the Device Commands object.
| std::vector< IRCommand > IRTools::getDeviceCommands | ( | ) |
Get the Device Commands object.
| std::vector< String > IRTools::getDevices | ( | ) |
Get the Devices object.
| std::vector< String > IRTools::getDevices | ( | ) |
Get the Devices object.
| std::vector< String > IRTools::getDeviceTypes | ( | ) |
| std::vector< String > IRTools::getDeviceTypes | ( | ) |
Get the Device Types object.
| void IRTools::init | ( | fs::SDFS & | sdInstance | ) |
Construct a new IRTools object.
| sdInstance | SDFS instance |
| void IRTools::init | ( | fs::SDFS & | sdInstance | ) |
Construct a new IRTools object.
| sdInstance | SDFS instance |
| void IRTools::jamIR | ( | int | duration | ) |
Function to jam IR signals.
| duration | Duration to jam IR signals |
| void IRTools::jamIR | ( | int | duration | ) |
Function to jam IR signals.
| duration | Duration to jam IR signals |
| void IRTools::sendIRCommand | ( | IRCommand | irCommand | ) |
Function to send an IR command.
| irCommand |
| void IRTools::sendIRCommand | ( | IRCommand | irCommand | ) |
Function to send an IR command.
| irCommand |
| void IRTools::sendRawIR | ( | uint16_t * | data, |
| uint16_t | length, | ||
| uint16_t | frequency | ||
| ) |
Function to send a custom raw IR command.
| data | Command data |
| length | Command length |
| frequency | Command frequency |
| void IRTools::sendRawIR | ( | uint16_t * | data, |
| uint16_t | length, | ||
| uint16_t | frequency | ||
| ) |
Function to send a custom raw IR command.
| data | Command data |
| length | Command length |
| frequency | Command frequency |