تنظيم صفحاتك في مجموعات يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.

AndroidBlePlatformDelatform

ملخص

ميراث

يرث من: NL :: :: بلي 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

إغلاق

CloseConnectionCallback CloseConnectionCb

GetMTUCb

GetMTUCallback GetMTUCb

SendWriteRequestCb

SendWriteRequestCallback SendWriteRequestCb

الاشتراك

SubscribeCharacteristicCallback SubscribeCharacteristicCb

إلغاء الاشتراك

UnsubscribeCharacteristicCallback UnsubscribeCharacteristicCb

الوظائف العامة

AndroidBlePlatformDelatform

 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
)

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
)

SetGetMTUC استدعاء

void SetGetMTUCallback(
  GetMTUCallback cb
)

SetSendWriteRequestCallback

void SetSendWriteRequestCallback(
  SendWriteRequestCallback cb
)

SetSubscribeCharacteristicCallback

void SetSubscribeCharacteristicCallback(
  SubscribeCharacteristicCallback cb
)

SetUnsubscribeCharacteristicCallback

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
)