Difference between revisions of "How to capture ELA Beacon internal battery voltage?"
m (Text replacement - "Bluetooth(?!®)" to "Bluetooth®") |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == General Information == |
− | + | First thing you have to know before configuring a sensor is data protocol. For detailed ELA description about Bluetooth frame specifications please refer [https://elainnovation.com/wp-content/uploads/2020/10/BLE-Frame-specifications-11B-EN.pdf here.] | |
− | [ | ||
− | + | To enable internal battery voltage in the scan response frame, battery voltage presence must be configured in the NFC memory using ELA's Device Manager Mobile application. | |
− | + | For more detailed information about Advanced Beacon Capturing Configuration please refer [[FMB920 Beacon List#Advanced Beacon Capturing Configuration|here]]. Make sure to use firmware no later that 3.27.07.Rev.00. | |
− | |||
− | In | + | In Scan Response frame, bytes 6 and 7 are listed as LSB and MSB, meaning that byte 7 should be calculated first and byte 6 second. Example: AC0B ->0BAC; 0BAC(hex) -> 2988(dec)*0.001 multiplier. Gives 2.988V internal battery voltage. |
− | + | Note: only sensors that are v3.0 support this functionality. | |
− | + | [[File:Scan response.png|right|frameless|[https://elainnovation.com/wp-content/uploads/2020/10/BLE-Frame-specifications-11B-EN.pdf]]] | |
− | [[File:Scan response.png|frameless|[https://elainnovation.com/wp-content/uploads/2020/10/BLE-Frame-specifications-11B-EN.pdf] | ||
− | |||
<br></br> | <br></br> | ||
<br></br> | <br></br> | ||
Line 21: | Line 17: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples of ELA sensor whole packet capturing == | == Examples of ELA sensor whole packet capturing == | ||
Line 132: | Line 122: | ||
|3 | |3 | ||
|5 | |5 | ||
− | | | + | |10 |
|19 | |19 | ||
|1 | |1 | ||
|Beacon ID | |Beacon ID | ||
|} | |} |
Revision as of 14:23, 22 February 2022
General Information
First thing you have to know before configuring a sensor is data protocol. For detailed ELA description about Bluetooth frame specifications please refer here.
To enable internal battery voltage in the scan response frame, battery voltage presence must be configured in the NFC memory using ELA's Device Manager Mobile application.
For more detailed information about Advanced Beacon Capturing Configuration please refer here. Make sure to use firmware no later that 3.27.07.Rev.00.
In Scan Response frame, bytes 6 and 7 are listed as LSB and MSB, meaning that byte 7 should be calculated first and byte 6 second. Example: AC0B ->0BAC; 0BAC(hex) -> 2988(dec)*0.001 multiplier. Gives 2.988V internal battery voltage.
Note: only sensors that are v3.0 support this functionality.
Examples of ELA sensor whole packet capturing
Name | Manufacturer ID | Manufacturer ID Offset | Manufacturer ID Size | Beacon ID Offset | Beacon ID Size | Additional Data Offset | Additional Data Size | Beacon ID source |
iBeacon | 4C000000 | 5 | 2 | 9 | 20 | 0 | 70 | Beacon ID |
Eddystone | AAFE0000 | 9 | 2 | 13 | 16 | 0 | 70 | Beacon ID |
ID | 02010600 | 0 | 3 | 5 | 10 | 0 | 70 | Beacon ID |
Examples of ELA sensor internal battery voltage capturing
Name | Manufacturer ID | Manufacturer ID Offset | Manufacturer ID Size | Beacon ID Offset | Beacon ID Size | Additional Data Offset | Additional Data Size | Beacon ID source |
iBeacon | 4C000000 | 5 | 2 | 9 | 20 | 35 | 2 | Beacon ID |
Eddystone | AAFE0000 | 9 | 2 | 13 | 16 | 36 | 2 | Beacon ID |
ID | 02010600 | 0 | 3 | 5 | 10 | 19 | 2 | Beacon ID |
Examples of ELA sensor internal battery voltage percentage capturing
Name | Manufacturer ID | Manufacturer ID Offset | Manufacturer ID Size | Beacon ID Offset | Beacon ID Size | Additional Data Offset | Additional Data Size | Beacon ID source |
ID | 02010600 | 0 | 3 | 5 | 10 | 19 | 1 | Beacon ID |