Nol.A SDK Library  24.11.0
For IoT System Software Development
Public Member Functions | Public Attributes | List of all members
BLEClient Class Reference

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 ()
 
BLERemoteServicegetService (const char *uuid)
 
BLERemoteServicegetService (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
 

Detailed Description

A model of a BLE client.


The documentation for this class was generated from the following file: