Skip to main content
MCast
Associate
Question

What's the passkey to pair SensorTile via bluetooth?

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

    This topic has been closed for replies.

    2 replies

    Winfred LU
    ST Employee

    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)

    MCast
    MCastAuthor
    Associate

    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.