BLEHIDDevice¶
詳細情報¶
メンバー¶
BLEHIDDevice()¶
BLEHIDDevice::BLEHIDDevice(BLEServer *)
引数
- BLEServer* ``
~BLEHIDDevice()¶
BLEHIDDevice::~BLEHIDDevice()
reportMap()¶
void BLEHIDDevice::reportMap(uint8_t *map, uint16_t)
引数
- uint8_t*
map
- uint16_t ``
startServices()¶
void BLEHIDDevice::startServices()
deviceInfo()¶
BLEService * BLEHIDDevice::deviceInfo()
戻り値
BLEService*
hidService()¶
BLEService * BLEHIDDevice::hidService()
戻り値
BLEService*
batteryService()¶
BLEService * BLEHIDDevice::batteryService()
戻り値
BLEService*
manufacturer()¶
BLECharacteristic * BLEHIDDevice::manufacturer()
戻り値
BLECharacteristic*
manufacturer()¶
void BLEHIDDevice::manufacturer(std::string name)
引数
- std::string
name
pnp()¶
void BLEHIDDevice::pnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
引数
- uint8_t
sig
- uint16_t
vid
- uint16_t
pid
- uint16_t
version
hidInfo()¶
void BLEHIDDevice::hidInfo(uint8_t country, uint8_t flags)
引数
- uint8_t
country
- uint8_t
flags
setBatteryLevel()¶
void BLEHIDDevice::setBatteryLevel(uint8_t level)
引数
- uint8_t
level
hidControl()¶
BLECharacteristic * BLEHIDDevice::hidControl()
戻り値
BLECharacteristic*
inputReport()¶
BLECharacteristic * BLEHIDDevice::inputReport(uint8_t reportID)
引数
- uint8_t
reportID
戻り値
BLECharacteristic*
outputReport()¶
BLECharacteristic * BLEHIDDevice::outputReport(uint8_t reportID)
引数
- uint8_t
reportID
戻り値
BLECharacteristic*
featureReport()¶
BLECharacteristic * BLEHIDDevice::featureReport(uint8_t reportID)
引数
- uint8_t
reportID
戻り値
BLECharacteristic*
protocolMode()¶
BLECharacteristic * BLEHIDDevice::protocolMode()
戻り値
BLECharacteristic*
bootInput()¶
BLECharacteristic * BLEHIDDevice::bootInput()
戻り値
BLECharacteristic*
bootOutput()¶
BLECharacteristic * BLEHIDDevice::bootOutput()
戻り値
BLECharacteristic*