AndroidBlePlatformDelegate

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

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

Наследуется от: nl::Ble::BlePlatformDelegate

Конструкторы и деструкторы

AndroidBlePlatformDelegate ( BleLayer *ble)

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

Ble
CloseConnectionCb
CloseConnectionCallback
GetMTUCb
GetMTUCallback
SendWriteRequestCb
SendWriteRequestCallback
SubscribeCharacteristicCb
SubscribeCharacteristicCallback
UnsubscribeCharacteristicCb
UnsubscribeCharacteristicCallback

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

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, PacketBuffer *pBuf)
virtual bool
SendReadRequest ( BLE_CONNECTION_OBJECT connObj, const nl::Ble::WeaveBleUUID *svcId, const nl::Ble::WeaveBleUUID *charId, PacketBuffer *pBuf)
virtual 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, PacketBuffer *pBuf)
virtual bool
SetCloseConnectionCallback (CloseConnectionCallback cb)
void
SetGetMTUCallback (GetMTUCallback cb)
void
SetSendWriteRequestCallback (SendWriteRequestCallback cb)
void
SetSubscribeCharacteristicCallback (SubscribeCharacteristicCallback cb)
void
SetUnsubscribeCharacteristicCallback (UnsubscribeCharacteristicCallback 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

CloseConnectionCb

CloseConnectionCallback CloseConnectionCb

ПолучитьMTUCb

GetMTUCallback GetMTUCb

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

SendWriteRequestCallback SendWriteRequestCb

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

SubscribeCharacteristicCallback SubscribeCharacteristicCb

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

UnsubscribeCharacteristicCallback UnsubscribeCharacteristicCb

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

AndroidBlePlatformDelegate

 AndroidBlePlatformDelegate(
  BleLayer *ble
)

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

virtual bool CloseConnection(
  BLE_CONNECTION_OBJECT connObj
)

GetMTU

virtual uint16_t GetMTU(
  BLE_CONNECTION_OBJECT connObj
) const 

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

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

ОтправитьReadRequest

virtual bool SendReadRequest(
  BLE_CONNECTION_OBJECT connObj,
  const nl::Ble::WeaveBleUUID *svcId,
  const nl::Ble::WeaveBleUUID *charId,
  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
)

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

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

SetCloseConnectionОбратный вызов

void SetCloseConnectionCallback(
  CloseConnectionCallback cb
)

SetGetMTUCallback

void SetGetMTUCallback(
  GetMTUCallback cb
)

SetSendWriteRequestОбратный вызов

void SetSendWriteRequestCallback(
  SendWriteRequestCallback cb
)

SetSubscribeCharacteristicCallback

void SetSubscribeCharacteristicCallback(
  SubscribeCharacteristicCallback cb
)

УстановитьОтписатьсяХарактеристикаОбратный вызов

void SetUnsubscribeCharacteristicCallback(
  UnsubscribeCharacteristicCallback 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
)