Ho, Thank you Gerrikoio for your answer.
Use the DeviceFound event it is what I have done since the beginning.
I use the advertisement scan because I am working on devices that are broadcasting some information on their advertisement payload, such as their services .
I want to display the services of a device when the user select it. I used the scanadvertisement to get the name and adresses and also the information about the services. This part work.
The next step is to allow the user to connect to get the characteristics of a service and to write/read informations.
The problem is during the connection. I got the error code 133.
I would like to join you the entire project but google does not let me import neither .aia nor zip file
Thank you for your help