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

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
)