mtrust_urp_core library

Classes

CmdWrapper
Wrapper for the commands
ConnectionStrategy
Connection Strategy is the base class for different strategy types
FoundDevice
A device that was found during scan
UrpApParamters
Parameters for START_AP and CONNECT_AP command
UrpBatteryState
UrpBleState
UrpCommand
Core Commands this are commands all devices share
UrpCoreCommand
UrpDeviceClass
UrpDeviceId
Response for GET_DEVICE_ID
UrpDeviceIdentifier
UrpDeviceInfo
Response for GET_INFO command
UrpDeviceName
Response for GET_DEVICE_NAME (former id)
UrpDeviceState
UrpDeviceType
UrpMessage
UrpMessageHeader
UrpPowerState
UrpPublicKey
Response for GET_PUBLIC_KEY
UrpRequest
UrpResponse
UrpSetNameParameters
Parameters for SET_NAME command
UrpUsbState
UrpWifiState

Enums

ConnectionStatus
The connection status
StrategyAvailability
Reports the availability of a strategy, e.g. if it is supported by the platform or if the user has disabled it (BLE or WiFi disabled)
UrpCoreCommand_Parameters
UrpMessage_Payload

Properties

BleRXCharacteristicUUIDs Map<UrpDeviceType, String>
getter/setter pair
BleServiceUUIDs Map<UrpDeviceType, String>
getter/setter pair
BleTXCharacteristicUUIDs Map<UrpDeviceType, String>
getter/setter pair
urpLogger → Logger
The logger used for the URP Core
final

Exceptions / Errors

CommandCancelledException
Thrown when a command is cancelled
ConnectionStrategyDisposedException
Thrown when a command is cancelled because the connection strategy is disposed
DeviceDisconnectedException
Thrown when a command is cancelled because the device is disconnected