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

Advertising packets from the same device..what's wrong?

Hi, I would like to detect the presence of a particular device in an environment where there are many devices advertising. The advertising packets are received by a scanner device. The scanner device has a led that should turn on when it receives an advertisment packet from a particular device. So I thought to write a code that let a led turn on when the scanner device recieves an advertisment packet from the device with mac address AB:CD:EF:GH:IL:MN. Uuid-128 bit, major and minor received with the advertisment packets changes with time because they are sent by different devices. And that's ok! image description

While uuid 128-bit always changes, the mac address of device sending the advertising packet is always the same as you can see in the following figure. And this is not possible! Moreover the MAC address seems a little bit "strange" because of too many 0xFF!

image description

Why doesn't MAC address change? Why so many 0xFF? Additional informations: I'm using nrf51822 and s130.

  • Yes, what you describe is strange and the MAC address format also but one would need to have magic bowl to tell you why;) Can you maybe test your scanner code with advertiser where you control exactly all the parameters like MAC (adv.) address and advertising data? Then comparing these strings with data structures on scanner's side should tell you where is the problem in your code or if it works OK (and then probably you really see devices with such strange address).

Related