.. _headlabel-refx-data-180: Data 180 (Scanned iBeacon Beacon Data) ====================================== The Beacons information collected by terminal. Each Beacon occupies 28 bytes, including Type, MAC, RSSI, etc. The frame format of the Data **180** unit is as follows: .. code-block:: none For example (Total 32 bytes): 80 B4 1D 01 0C 12 34 56 78 90 AB BB 11 22 33 44 AA BB 11 22 CC DD 00 11 22 33 44 55 00 01 00 01 .. tabularcolumns:: |p{3.2em}|p{7.4em}|p{4.8em}|p{5.8em}|p{12em}|p{5.8em}| .. table:: :width: 100% :widths: auto +---------+-------------------------+---------------------+---------------+------------------------------------------+--------------+ | Parts | Fields | Length (Byte) | Range/Format | Default | +=========+=========================+=====================+===============+==========================================+==============+ | ID | Data ID | 2 | 80B4H (180) | 80B4H (180) | +---------+-------------------------+---------------------+---------------+------------------------------------------+--------------+ | Length | Data Length | 1 or 2 | 00H-7FH or 8080H-80FFH | | +---------+-------------------------+---------------------+---------------+------------------------------------------+--------------+ | Content | `Number` | 1 | 00H-FFH | | + +-------------------------+---------------------+---------------+------------------------------------------+--------------+ | | The first Beacon | `Type` | 1 | | | + + +---------------------+---------------+------------------------------------------+--------------+ | | | `MAC` | 6 | | | + + +---------------------+---------------+------------------------------------------+--------------+ | | | `RSSI` | 1 | 80H-FFH (dBm) | | + + +---------------------+---------------+------------------------------------------+--------------+ | | | `UUID` | 16 | | | + + +---------------------+---------------+------------------------------------------+--------------+ | | | `Major` | 2 | 0000H-FFFFH | | + + +---------------------+---------------+------------------------------------------+--------------+ | | | `Minor` | 2 | 0000H-FFFFH | | + +-------------------------+---------------------+---------------+------------------------------------------+--------------+ | | ... | | | | +---------+-------------------------+---------------------+---------------+------------------------------------------+--------------+ - `Number` Indicates how many Beacons the following data comes from. If the value of this field is 00H, no other fields are included. - `Type` Indicates the type of the Beacon. It is refer to the parameter 'Type' in :ref:`AT@BTBCN ` command. For example, 51H (i.e, 81) means the type is iBeacon. - `MAC` The MAC address of a Beacon. For example, 1234567890ABH means the MAC address 12:34:56:78:90:AB. - `RSSI` The received signal strength. Expressed as an 8-bit signed integer and the unit is dBm. When the RSSI value is less than -128 (80H), it is also filled in as 80H, and when the RSSI value is greater than -1 (FFH), it is also filled in as FFH. In particular, 63H means the signal strength is not known or not detectable. Typical values are as follows: +-------------+-------------------------------+---------+ | Value | Signal Strength (dBm) | Level | +=============+===============================+=========+ | A7H to 80H | -89 or less | 0 | +-------------+-------------------------------+---------+ | A8H to ADH | -88 to -83 | 1 | +-------------+-------------------------------+---------+ | AEH to B4H | -82 to -76 | 2 | +-------------+-------------------------------+---------+ | B5H to BEH | -75 to -66 | 3 | +-------------+-------------------------------+---------+ | BFH to FFH | -65 or greater | 4 | +-------------+-------------------------------+---------+ | 63H | Not known or not detectable | / | +-------------+-------------------------------+---------+ - `UUID` Indicates the proximity UUID (Universally Unique Identifier) of the Beacon. For example, 11223344AABB1122CCDD001122334455H means the UUID "11223344-AABB-1122-CCDD-001122334455". - `Major` Indicates the Major value of the Beacon. For example, 0001H means the Major "0001". - `Minor` Indicates the Minor value of the Beacon. For example, 0001H means the Minor "0001".