DeviceManager_BlePlatformDelegate

Podsumowanie

Dziedziczenie

Dziedziczy z: nl::Ble::BlePlatformDelegate

Konstruktory i niszczyciele

DeviceManager_BlePlatformDelegate(BleLayer *ble)

Atrybuty publiczne

Ble
closeCB
CloseBleCBFunct
subscribeCB
SubscribeBleCharacteristicCBFunct
writeCB
WriteBleCharacteristicCBFunct

Funkcje publiczne

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

Atrybuty publiczne

Ble

BleLayer * Ble

closeCB

CloseBleCBFunct closeCB

subscribeCB

SubscribeBleCharacteristicCBFunct subscribeCB

writeCB

WriteBleCharacteristicCBFunct writeCB

Funkcje publiczne

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
)