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

BLE Pairing

Hello Gentlemen,

I'm looking for a good example on how to pair BLE sensor and Android using static passkey. I looked at ble_app_gls but I could not see how they set the passkey on the sensor side. I only found in main.c that the passkey text is being shown on the display.

this is what I would like to do:

[list=1] sensor - user sets the passkey via serial port sensor - advertises that it is available to connect android - scans and finds sensor android - requests to connect android - user needs to type passkey android - upon valid passkey, the data is encrypted and transferred to App [/list]

Thank you,

-GM

Parents Reply Children
No Data
Related