DeviceManager_BlePlatformDelegate

Riepilogo

Eredità

Eredita da: nl::Ble::BlePlatformDelegate

Costruttori e distruttori

DeviceManager_BlePlatformDelegate(BleLayer *ble)

Attributi pubblici

Ble
closeCB
CloseBleCBFunct
subscribeCB
SubscribeBleCharacteristicCBFunct
writeCB
WriteBleCharacteristicCBFunct

Funzioni pubbliche

CloseConnection(BLE_CONNECTION_OBJECT connObj)
virtual bool
GetMTU(BLE_CONNECTION_OBJECT connObj) const
virtual uint16_t
SendIndication(BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId, nl::Weave::System::PacketBuffer *pBuf)
bool
SendReadRequest(BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId, nl::Weave::System::PacketBuffer *pBuf)
bool
SendReadResponse(BLE_CONNECTION_OBJECT connObj, BLE_READ_REQUEST_CONTEXT requestContext, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId)
virtual bool
SendWriteRequest(BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId, nl::Weave::System::PacketBuffer *pBuf)
bool
SetCloseCB(CloseBleCBFunct cb)
void
SetSubscribeCharCB(SubscribeBleCharacteristicCBFunct cb)
void
SetWriteCharCB(WriteBleCharacteristicCBFunct cb)
void
SubscribeCharacteristic(BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId)
virtual bool
UnsubscribeCharacteristic(BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId)
virtual bool

Attributi pubblici

Blea

BleLayer * Ble

closeCB

CloseBleCBFunct closeCB

subscribeCB

SubscribeBleCharacteristicCBFunct subscribeCB

writeCB

WriteBleCharacteristicCBFunct writeCB

Funzioni pubbliche

CloseConnection

virtual bool CloseConnection(
  BLE_CONNECTION_OBJECT connObj
)

DeviceManager_BlePlatformDelegate

 DeviceManager_BlePlatformDelegate(
  BleLayer *ble
)

GetMTU

virtual uint16_t GetMTU(
  BLE_CONNECTION_OBJECT connObj
) const 

SendIndication

bool SendIndication(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId,
  nl::Weave::System::PacketBuffer *pBuf
)

SendReadRequest

bool SendReadRequest(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId,
  nl::Weave::System::PacketBuffer *pBuf
)

SendReadResponse

virtual bool SendReadResponse(
  BLE_CONNECTION_OBJECT connObj,
  BLE_READ_REQUEST_CONTEXT requestContext,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId
)

SendWriteRequest

bool SendWriteRequest(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId,
  nl::Weave::System::PacketBuffer *pBuf
)

SetCloseCB

void SetCloseCB(
  CloseBleCBFunct cb
)

SetSubscribeCharCB

void SetSubscribeCharCB(
  SubscribeBleCharacteristicCBFunct cb
)

SetWriteCharCB

void SetWriteCharCB(
  WriteBleCharacteristicCBFunct cb
)

SubscribeCharacteristic

virtual bool SubscribeCharacteristic(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId
)

UnsubscribeCharacteristic

virtual bool UnsubscribeCharacteristic(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId
)