Nol.A SDK Library
24.11.0
For IoT System Software Development
|
A model of a BLE client. More...
#include <BLEClient.hpp>
Public Member Functions | |
bool | connect (BLEAdvertisedDevice *device) |
bool | connect (BLEAddress address, BLEAddress::Type_t type=BLEAddress::TYPE_PUBLIC) |
void | disconnect () |
BLEAddress | getPeerAddress () |
int | getRssi () |
std::map< std::string, BLERemoteService * > * | getServices () |
BLERemoteService * | getService (const char *uuid) |
BLERemoteService * | getService (BLEUUID uuid) |
std::string | getValue (BLEUUID serviceUUID, BLEUUID characteristicUUID) |
void | handleGAPEvent (void *info) |
bool | isConnected () |
void | setClientCallbacks (BLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true) |
void | setValue (BLEUUID serviceUUID, BLEUUID characteristicUUID, std::string value) |
std::string | toString () |
uint16_t | getConnId () |
void * | getGattcIf () |
uint16_t | getMTU () |
Public Attributes | |
uint16_t | m_appId |
A model of a BLE client.