2019-07-03 07:37 AM
Hi everyone,
I'm trying to pair an Ubuntu machine with SensorTile using Bluez, in the tutorial n. 6 it establish a pairing with a Beaglebone without any passkey requested, while in my case Bluez require me to enter the passkey, but I can't find it anywhere and I've already tried 0000, 9999, 1234, 123456
2019-07-04 12:44 AM
It can be different depending on the SW DK that you test.
If you're using STSW-STLKT01 package
https://www.st.com/en/embedded-software/stsw-stlkt01.html
The passkey for the BLE_SampleApp sample project would be 123456 by default.
Please reference main.c line 492, the call to aci_gap_set_auth_requirement() has "fixed_pin" parameter equal to 123456.
(path_to\STSW-STLKT01_V2.0.0\Projects\SensorTile\Applications\BLE_SampleApp\Src\main.c)
2019-07-05 01:01 AM
thank you so much,
it works.
I'm sorry I was wrong to say that I used 123456, because I intended to do but I didn't anymore.
A little correction: the Pin is at main.c line 482.