нл:: Бле:: BlePlatformDelegate

Это абстрактный класс.

Краткое содержание

Наследование

Прямые известные подклассы:
  AndroidBlePlatformDelegate
  DeviceManager_BlePlatformDelegate

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

CloseConnection ( BLE_CONNECTION_OBJECT connObj)=0
virtual bool
GetMTU ( BLE_CONNECTION_OBJECT connObj) const =0
virtual uint16_t
SendIndication ( BLE_CONNECTION_OBJECT connObj, const WeaveBleUUID *svcId, const WeaveBleUUID *charId, PacketBuffer *pBuf)=0
virtual bool
SendReadRequest ( BLE_CONNECTION_OBJECT connObj, const WeaveBleUUID *svcId, const WeaveBleUUID *charId, PacketBuffer *pBuf)=0
virtual bool
SendReadResponse ( BLE_CONNECTION_OBJECT connObj, BLE_READ_REQUEST_CONTEXT requestContext, const WeaveBleUUID *svcId, const WeaveBleUUID *charId)=0
virtual bool
SendWriteRequest ( BLE_CONNECTION_OBJECT connObj, const WeaveBleUUID *svcId, const WeaveBleUUID *charId, PacketBuffer *pBuf)=0
virtual bool
SubscribeCharacteristic ( BLE_CONNECTION_OBJECT connObj, const WeaveBleUUID *svcId, const WeaveBleUUID *charId)=0
virtual bool
UnsubscribeCharacteristic ( BLE_CONNECTION_OBJECT connObj, const WeaveBleUUID *svcId, const WeaveBleUUID *charId)=0
virtual bool

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

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

virtual bool CloseConnection(
  BLE_CONNECTION_OBJECT connObj
)=0

GetMTU

virtual uint16_t GetMTU(
  BLE_CONNECTION_OBJECT connObj
) const =0

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

virtual bool SendIndication(
  BLE_CONNECTION_OBJECT connObj,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId,
  PacketBuffer *pBuf
)=0

ОтправитьReadRequest

virtual bool SendReadRequest(
  BLE_CONNECTION_OBJECT connObj,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId,
  PacketBuffer *pBuf
)=0

ОтправитьReadResponse

virtual bool SendReadResponse(
  BLE_CONNECTION_OBJECT connObj,
  BLE_READ_REQUEST_CONTEXT requestContext,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId
)=0

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

virtual bool SendWriteRequest(
  BLE_CONNECTION_OBJECT connObj,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId,
  PacketBuffer *pBuf
)=0

ПодписатьсяХарактеристика

virtual bool SubscribeCharacteristic(
  BLE_CONNECTION_OBJECT connObj,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId
)=0

ОтписатьсяХарактеристика

virtual bool UnsubscribeCharacteristic(
  BLE_CONNECTION_OBJECT connObj,
  const WeaveBleUUID *svcId,
  const WeaveBleUUID *charId
)=0