NLWeaveBleDelegate

خلاصه

ارث

ارث می برد از:
  موضوع NSO
 

توابع عمومی

CloseConnection: (id connObj)
virtual bool
GetApplicationDelegate ()
GetMTU: (id connObj)
virtual uint16_t
GetPlatformDelegate ()
NotifyWeaveConnectionClosed: (id connObj)
virtual void
SendIndication:serivce:characteristic:data: (id connObj, const CBUUID *svcId, const CBUUID *charId, const NSData *buf)
virtual bool
SendReadRequest:serivce:characteristic:data: (id connObj, const CBUUID *svcId, const CBUUID *charId, const NSData *buf)
virtual bool
SendReadResponse:requestContext:serivce:characteristic: (id connObj, id readContext, const CBUUID *svcId, const CBUUID *charId)
virtual bool
SendWriteRequest:serivce:characteristic:data: (id connObj, const CBUUID *svcId, const CBUUID *charId, const NSData *buf)
virtual bool
SetBleLayer: ( nl::Ble::BleLayer *BleLayer)
virtual void
SubscribeCharacteristic:serivce:characteristic: (id connObj, const CBUUID *svcId, const CBUUID *charId)
virtual bool
UnsubscribeCharacteristic:serivce:characteristic: (id connObj, const CBUUID *svcId, const CBUUID *charId)
virtual bool
forceBleDisconnect_Sync: (CBPeripheral *peripheral)
virtual void
init: (dispatch_queue_t cbWorkQueue)
virtual instancetype
initDummyDelegate ()
virtual instancetype
isPeripheralValid: (CBPeripheral *peripheral)
virtual bool
notifyBleDisconnected: (CBPeripheral *peripheral)
virtual void
prepareNewBleConnection: ( NLWeaveDeviceManager *dm)
virtual void

توابع عمومی

CloseConnection:

virtual bool CloseConnection:(
  id connObj
)

GetApplicationDelegate

virtual nl::Ble::BleApplicationDelegate * GetApplicationDelegate()

GetMTU:

virtual uint16_t GetMTU:(
  id connObj
)

GetPlatformDelegate

virtual nl::Ble::BlePlatformDelegate * GetPlatformDelegate()

NotifyWeaveConnectionClosed:

virtual void NotifyWeaveConnectionClosed:(
  id connObj
)

SendIndication:service:characteristic:data:

virtual bool SendIndication:serivce:characteristic:data:(
  id connObj,
  const CBUUID *svcId,
  const CBUUID *charId,
  const NSData *buf
)

SendReadRequest:serve:characteristic:data:

virtual bool SendReadRequest:serivce:characteristic:data:(
  id connObj,
  const CBUUID *svcId,
  const CBUUID *charId,
  const NSData *buf
)

SendReadResponse:requestContext:serve:characteristic:

virtual bool SendReadResponse:requestContext:serivce:characteristic:(
  id connObj,
  id readContext,
  const CBUUID *svcId,
  const CBUUID *charId
)

SendWriteRequest:serve:characteristic:data:

virtual bool SendWriteRequest:serivce:characteristic:data:(
  id connObj,
  const CBUUID *svcId,
  const CBUUID *charId,
  const NSData *buf
)

SetBleLayer:

virtual void SetBleLayer:(
  nl::Ble::BleLayer *BleLayer
)

SubscribeCharacteristic:service:characteristic:

virtual bool SubscribeCharacteristic:serivce:characteristic:(
  id connObj,
  const CBUUID *svcId,
  const CBUUID *charId
)

UnsubscribeCharacteristic:serve:characteristic:

virtual bool UnsubscribeCharacteristic:serivce:characteristic:(
  id connObj,
  const CBUUID *svcId,
  const CBUUID *charId
)

forceBleDisconnect_Sync:

virtual void forceBleDisconnect_Sync:(
  CBPeripheral *peripheral
)

شروع:

virtual instancetype init:(
  dispatch_queue_t cbWorkQueue
)

initDummyDelegate

virtual instancetype initDummyDelegate()

isPeripheralValid:

virtual bool isPeripheralValid:(
  CBPeripheral *peripheral
)

notifyBleDisconnected:

virtual void notifyBleDisconnected:(
  CBPeripheral *peripheral
)

آماده کردن NewBleConnection:

virtual void prepareNewBleConnection:(
  NLWeaveDeviceManager *dm
)