AltBeaconDeviceRegistration
A DeviceRegistration for AltBeacon specifying which beacon to listen to.
The beacon ID is 20 bytes, made up out of the recommended subdivision organizationId, majorId, and minorId.
- Inheritance
-
- Object
- Serializable
- DeviceRegistration
- AltBeaconDeviceRegistration
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
AltBeaconDeviceRegistration.fromJson
AltBeaconDeviceRegistration
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
majorId
The first 2 bytes of the beacon identifier after the organizationId, commonly named major ID.
manufacturerId
The beacon device manufacturer's company identifier code as maintained by the Bluetooth SIG assigned numbers database.
minorId
The last 2 bytes of the beacon identifier, commonly named minor ID.
organizationId
The first 16 bytes of the beacon identifier which should be unique to the advertiser's organizational unit.
referenceRssi
The average received signal strength at 1 meter from the beacon in decibel-milliwatts (dBm). This value is constrained from -127 to 0.
Methods
toJson
Return a JSON encoding of this object.