The App ~ BLE Stack is the device, Central is smartphone.
is correct?
I don't understand this sequence.
Do not adv_data_set and the adv_start before the scan?
And if the connection from the smartphone and sends an event message to the APP from BLE stack.
Why disconnects from the App? Isn't it to disconnect from Central (smartphone)?
I'm not sure how to view the sequence.