DeviceManager_BlePlatformDelegate

خلاصه

ارث

از: nl::Ble::BlePlatformDelegate به ارث می رسد

سازندگان و ویرانگرها

DeviceManager_BlePlatformDelegate ( BleLayer *ble)

صفات عمومی

Ble
closeCB
CloseBleCBFunct
subscribeCB
SubscribeBleCharacteristicCBFunct
writeCB
WriteBleCharacteristicCBFunct

توابع عمومی

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

صفات عمومی

Ble

BleLayer * Ble

بستن CB

CloseBleCBFunct closeCB

اشتراک CB

SubscribeBleCharacteristicCBFunct subscribeCB

نوشتن CB

WriteBleCharacteristicCBFunct writeCB

توابع عمومی

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
)

اشتراک مشخصه

virtual bool 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
)