How to do authenticated connections in BLE?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I have the btgatt-server running where I can interact with it. Now I 
increase the security (btgatt-server -s high ...) and when I try to 
connect to the server I got it rejected (btmgmt - auth failed with 
status 0x05 (Authentication Failed)).

After that I manually paired and trusted both devices (bluetootctl - 
agent - ...) and I see them as paired-devices. Then I repeat the process 
(-s high), and again, I got the same authentication error. Should that 
this second try work? am I missing something?
(I tried bluez-5.41 and 5.46 versions)

Probably I am missing/missunderstanding something, so to put context on 
what I am doing, what I am looking for is a way to only accept 
connections of authenticated/paired devices (done beforehand or not does 
not matter).
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux