Skip to content

handle packet not 41 length#1

Open
pwldp wants to merge 3 commits into
switchdoclabs:masterfrom
pwldp:master
Open

handle packet not 41 length#1
pwldp wants to merge 3 commits into
switchdoclabs:masterfrom
pwldp:master

Conversation

@pwldp

@pwldp pwldp commented Feb 10, 2015

Copy link
Copy Markdown

txPower is evaluated properly not only for 41 packet length

@EricSyr

EricSyr commented Dec 2, 2017

Copy link
Copy Markdown

# commented out - don't know what this byte is. It's NOT TXPower txpower, = struct.unpack("b", pkt[report_pkt_offset -2]) print "\t(Unknown):", txpower
This appears to be the TxPower of the BLE Beacon, maybe its used as a reference for distance calculation, the Central device can know the TxPower of the peripheral.

@gilvad

gilvad commented Jul 31, 2018

Copy link
Copy Markdown

it's not tx power, it's perceived signal strength measured at 1 meter distance.
This is used to estimate distance based on RSSI value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants