Communicate two microcontrollers via BLE

Hello,

I'm using a nRF52 DK to test BLE communication with another microcontroller. What I need to test is the nRF52 pairing with another brand microcontroller, send a data stream and close the connection.

Could you please tell me which example from the Bluetooth samples list I can use for starting?

Thanks for your attention.

Regards,

Parents Reply
  • I can establish the connection but after some seconds the microcontroller resets:

    Connected: 60:55:F9:F5:29:D2 (public)
    Pairing failed conn: 60:55:F9:F5:29:D2 (public), reason 9
    Service discovery completed
    ASSERTION FAIL [conn] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/gatt.c:5034
            invalid parameters
    
    *** Booting Zephyr OS build v3.2.99-ncs2 ***

    If I add the line for sending data over NUS (call to 'bt_nus_client_send' function) it fails with -128 error.

Children
Related