AndroidBlePlatformDelegate
خلاصه
ارث
از: nl::Ble::BlePlatformDelegate به ارث می رسدسازندگان و ویرانگرها | |
---|---|
AndroidBlePlatformDelegate ( BleLayer *ble) |
صفات عمومی | |
---|---|
Ble | BleLayer * |
CloseConnectionCb | CloseConnectionCallback |
GetMTUCb | GetMTUCallback |
SendWriteRequestCb | SendWriteRequestCallback |
SubscribeCharacteristicCb | SubscribeCharacteristicCallback |
UnsubscribeCharacteristicCb | UnsubscribeCharacteristicCallback |
صفات عمومی
Ble
BleLayer * Ble
CloseConnectionCb
CloseConnectionCallback CloseConnectionCb
GetMTUCb
GetMTUCallback GetMTUCb
SendWriteRequestCb
SendWriteRequestCallback SendWriteRequestCb
SubscribeCharacteristicCb
SubscribeCharacteristicCallback SubscribeCharacteristicCb
لغو اشتراک CharacteristicCb
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 )
اشتراک مشخصه
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 )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
تاریخ آخرین بهروزرسانی 2024-11-14 بهوقت ساعت هماهنگ جهانی.