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

Публичные атрибуты

Бле

BleLayer * Ble

closeCB

CloseBleCBFunct closeCB

подписатьсяCB

SubscribeBleCharacteristicCBFunct subscribeCB

записьCB

WriteBleCharacteristicCBFunct writeCB

Общественные функции

ЗакрытьСоединение

virtual bool CloseConnection(
  BLE_CONNECTION_OBJECT connObj
)

DeviceManager_BlePlatformDelegate

 DeviceManager_BlePlatformDelegate(
  BleLayer *ble
)

GetMTU

virtual uint16_t GetMTU(
  BLE_CONNECTION_OBJECT connObj
) const 

ОтправитьИндикацию

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

ОтправитьReadRequest

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

ОтправитьReadResponse

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

ОтправитьЗаписьЗапроса

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

УстановитьЗакрытьCB

void SetCloseCB(
  CloseBleCBFunct cb
)

УстановитьподпискуCharCB

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
)