Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RICChannelWebBLE

Hierarchy

  • RICChannelWebBLE

Implements

Index

Constructors

Properties

_bleDevice: null | BluetoothDevice = null
_characteristicRx: null | BluetoothRemoteGATTCharacteristic = null
_characteristicTx: null | BluetoothRemoteGATTCharacteristic = null
_eventListenerFn: null | ((event: Event) => void) = null
_isConnected: boolean = false
_maxConnRetries: 3 = 3
_msgTxMinTimeBetweenMs: number = 1
_msgTxTimeLast: number = ...
_onConnEvent: null | RICConnEventFn = null
_requestedBatchAckSize: number = 10
_requestedFileBlockSize: number = 500
_ricMsgHandler: null | RICMsgHandler = null
maxRetries: 1 = 1
RICCmdUUID: string = "aa76677e-9cfd-4626-a510-0d305be57c8e"
RICRespUUID: string = "aa76677e-9cfd-4626-a510-0d305be57c8f"
RICServiceUUID: string = "aa76677e-9cfd-4626-a510-0d305be57c8d"

Methods

  • _onMsgRx(event: Event): void
  • connect(locator: string | object): Promise<boolean>
  • disconnect(): Promise<void>
  • fhBatchAckSize(): number
  • fhFileBlockSize(): number
  • getConnectedLocator(): string | object
  • isConnected(): boolean
  • isEnabled(): boolean
  • onDisconnected(event: Event): void
  • pauseConnection(pause: boolean): void
  • requiresSubscription(): boolean
  • sendTxMsg(msg: Uint8Array): Promise<boolean>
  • sendTxMsgNoAwait(msg: Uint8Array): Promise<boolean>

Generated using TypeDoc