AltBeacon
A beacon meeting the open AltBeacon standard.
A connected device that provides CarpDataTypes.SIGNAL_STRENGTH data. Optional by default, with role name 'Beacon'. Registered with an AltBeaconDeviceRegistration.
- Inheritance
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
AltBeacon.fromJson
AltBeacon
- String roleName = 'Beacon',
Properties
dataTypeSamplingSchemes
override
Sampling schemes for all the sensors available on this device.
Implementations of DeviceConfiguration should return a map of all supported sampling schemes here. Null in this base class.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
createRegistration
- String? deviceId,
- String? deviceDisplayName,
- int? manufacturerId,
- String? organizationId,
- int? majorId,
- int? minorId,
- int? referenceRssi,
override
Create a DeviceRegistration which can be used to configure this device for deployment.
Override this method to configure device-specific registration options, if any.
toJson
Return a JSON encoding of this object.