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

[DFU] Is the peripheral doing direct advertisement at bootloader?

Hi, I'm using SDK 7.2 and S110 7.1.

I haven't mirgrated to SDK 10 yet.

I'm using the HRS and bootloader (which uses dual bank and BLE OTA) example.

DFU

After I select a peripheral device, I noticed that it disconnects and the peripheral resets and runs the bootloader.

When the peripheral goes to the bootloader, it automatically pairs

(or maybe bond might be correct since this uses HRS) with my iPhone again.

My questions are,

  1. Is it using direct advertising when the peripheral automatically connects to my iPhone?

If not, what is happening when they are connected again at the bootloader?

  1. How does the peripheral remembers my iPhone's address?

In this case (the HRS example), the peripheral has the peer address and the IRK of my iPhone.

Since iOS device uses Random Resolvable Address,

I'm curious how the peripheral knows my iPhone has scanned ther peripheral even though its address has changed.

-Best Regards, Mango

Related