|
|
|
|
|
- Properties specific to beaconDetectionInfo variables
- Reinitialization
- Functions that use beaconDetectionInfo variables
beaconDetectionInfo (Variable type)
The beaconDetectionInfo type is used to describe the information relative to a Beacon detected with BeaconDetectPrecise. The characteristics of this Beacon can be read using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Start detecting tags BeaconDetectPrecise(group, ProcDetection) INTERNAL PROCEDURE ProcDetection(arrInfo is array of beaconDetectionInfo) nMinDistance is int NearestBeacon is beaconDetectionInfo FOR EACH MyInfo OF arrInfo IF nMinDistance = 0 _OR_ MyInfo..Distance < nMinDistance NearestBeacon = Info END END END
Propiedades Properties specific to beaconDetectionInfo variables The following properties can be used to manipulate a variable of type beaconDetectionInfo: | | | Property name | Type used | Effect |
---|
Distance | Real | Distance (in meters) between the device and the Beacon. The accuracy of the measurement can vary from one device to another but also if the Beacon is in a closed space (e.g., a bag). This property is read-only. | Major | Integer | Major number of the Beacon (integer between 0 and 65535). This property is read-only. | Minor | Integer | Minor number of the Beacon (integer between 0 and 65535). This property is read-only. | Proximity | Integer constant | Proximity of the Beacon to the device:- biEremote tag beyond 3 meters.
- biProche tag between 0.5 and 3 metres.
- biTrèsProche tag less than 0.5 meters away.
This property is read-only. | UUID | Character string | Identifier (or Proximity UUID) associated with the Beacon. In most cases, this identifier corresponds to the organization or to the person to which the Beacon belongs. This identifier includes 32 hexadecimal digits separated into 5 groups. Each group must contain the following number of digits: - 1st group: 8 digits.
- 2nd group: 4 digits.
- 3rd group: 4 digits.
- 4th group: 4 digits.
- 5th group: 12 digits.
The different groups are separated by a dash. Example of a valid identifier: f4231ab6-5ef2-6c99-4229-af6c72e0446e This property is read-only. |
Observaciones Reinitialization You can use VariableReset to reset the contents of a variable of type beaconDetectionInfo. Functions that use beaconDetectionInfo variables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|