This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Grabbing on air mac address from advertising messages

I am creating a device that grabs on air mac addresses from advertising channels.  I know that that macs can rotate and change.  Im able to pull out bytes 3:8 of the payload and get the mac from a fitbit, which has a static mac, and the message type is "ADV_IND". 

Question is, will bytes 3:8 in all other advertising messages contain macs as well? 

If not, where I can find the breakdown of what type of advertising message has what.

Thanks. 

Parents Reply
  • Im doing this on bare metal (no sdk), so forgive the miscommunication.  After reading your reply, let me rephrase my initial question.

    Is the advertising address (rotated or not), always the first six bytes of the payload for advertising packets?

    Specifically, ADV_IND,ADV_DIRECT_IND, ADV_NONCONN_IND,SCAN_REQ,SCAN_RSP,CONNECT_REQ, and ADV_SCAN_IND?

    I seem to be able to find examples, but not a concrete definition.

Children
No Data
Related