Check for the ICyBleMgr interface. This can perform scan and connect.
I am a simple code example. This is a simple GUI that demonstrates scanning, connection, Write, Read and receiving notification.
You can download the project from this link:
Also, document for testing the project is attached here.
- Madhu Sudhan
MADY40 (1).doc 277.5 K
first thank you to your all.
I have found the "simple GUI" before i asked my question. The simple GUI was very usefull but e.f. I don´t know how to send scan requests with information in it´s payload. Because I want to estabilish a connection between two devices and one of those needs a certain order of scan requests (with certain payload at each scan request) to allow a pairing and i want to implement this as a statemachine, but I don´t know how to send certain requests or responses.