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

מאפיינים ציבוריים

Ble

BleLayer * Ble

CloseConnectionCb

CloseConnectionCallback CloseConnectionCb

GetMTUCb

GetMTUCallback GetMTUCb

SendWriteRequestCb

SendWriteRequestCallback SendWriteRequestCb

SubscribeCharacteristicCb

SubscribeCharacteristicCallback SubscribeCharacteristicCb

UnsubscribeCharacteristicCb

UnsubscribeCharacteristicCallback UnsubscribeCharacteristicCb

פונקציות ציבוריות

AndroidBlePlatformDelegate

 AndroidBlePlatformDelegate(
  BleLayer *ble
)

CloseConnection

virtual bool CloseConnection(
  BLE_CONNECTION_OBJECT connObj
)

GetMTU

virtual uint16_t GetMTU(
  BLE_CONNECTION_OBJECT connObj
) const 

SendIndication

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

SendReadRequest

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

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

SetCloseConnectionCallback

void SetCloseConnectionCallback(
  CloseConnectionCallback cb
)

SetGetMTUCallback

void SetGetMTUCallback(
  GetMTUCallback cb
)

SetSendWriteRequestCallback

void SetSendWriteRequestCallback(
  SendWriteRequestCallback cb
)

SetSubscribeCharacteristicCallback

void SetSubscribeCharacteristicCallback(
  SubscribeCharacteristicCallback cb
)

SetUnsubscribeCharacteristicCallback

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