nrd54l15dk how to use sample "central_hids" connect to a bluetooth remote and then get notify message?

hi,all

I used to use nrf54l15dk board as a client server, want to connect to a  bluetooth remote,and get bluetooth remote notify message;

I use sample "central_hids", ncs version is v3.1.0;

I only change the central_hids sample code "BT_SECURITY_L2" into "BT_SECURITY_L1",

After I connected nrf54l15dk to bluetooth remote,It seems that "central_hids" sample did not trigger pairing,so that the sample can not continue next steps bonding ,and then notify message;

I have no idea how to do can get the bluetooth remote notify infomation;

Thank you very much for your help;



************************************************************
if I use BT_SECURITY_L1, did not trigger pairing;
***
*** Booting nRF Connect SDK v3.1.0-62dd63491b69 ***
*** Using Zephyr OS v4.1.99-1612683d4010 ***
Starting Bluetooth Central HIDS sample
Bluetooth initialized
Scanning successfully started
Filters matched on UUID 0x1812.
Address: 5C:2B:3F:6F:02:4B (public) connectable: yes
Connected: 5C:2B:3F:6F:02:4B (public)


***********************************************************
if I use default BT_SECURITY_L2,security fail;
***
*** Booting nRF Connect SDK v3.1.0-62dd63491b69 ***
*** Using Zephyr OS v4.1.99-1612683d4010 ***
Starting Bluetooth Central HIDS sample
Bluetooth initialized
Scanning successfully started
Filters matched on UUID 0x1812.
Address: 5C:2B:3F:6F:02:4B (public) connectable: yes
Connected: 5C:2B:3F:6F:02:4B (public)
Security failed: 5C:2B:3F:6F:02:4B (public) level 1 err 4
Pairing failed conn: 5C:2B:3F:6F:02:4B (public), reason 4
The discovery procedure succeeded
E: Report (idx: 0) reference read error (err: 5)
ERROR: HIDS client preparation failed!
Security failed: 5C:2B:3F:6F:02:4B (public) level 1 err 4
Pairing failed conn: 5C:2B:3F:6F:02:4B (public), reason 4
The discovery procedure succeeded
E: Report (idx: 0) reference read error (err: 5)
ERROR: HIDS client preparation failed!
Security failed: 5C:2B:3F:6F:02:4B (public) level 1 err 4
Pairing failed conn: 5C:2B:3F:6F:02:4B (public), reason 4
The discovery procedure succeeded
E: Report (idx: 0) reference read error (err: 5)
...
Related