2024-11-14 08:38 AM
Hello,
I would like to connect the P-Nucleo-WB55 board to a specific BLE device. The BLE device is found by name. But when I call the function aci_gap_create_connection() I keep getting 0x0c (Command Disallowed) back. I have checked and changed the parameters several times. No further P2P connections should be established. My bigger goal is to transfer the data to a mesh afterwards. But I also switched off the mesh beforehand with BLEMesh_Shutdown().
What could be the problem?
Many thanks for your help
Best regards
aci_gap_create_connection(0x0040,0x0030,0x00,peer_address_little_endian,0x00,0x0018,0x0028,0,0x01F4,0,0);