SMP OTA using dev board

Hi there,
I am working on SMP client server application where I want to do the DFU of server from the client side where both the server and client are nrf52840 dev boards.
I want to send SMP commands to start the DFU on server side.
I am using the sample projects of SMP client and server provided by the nrf SDK which is basically only for echo
Now I want to take it further to send other commands also.
Is there any documentation about the SMP commands/messages. Or any sample project for starting DFU?

Parents Reply
  • Here are the logs (NCS v2.4.2)
    Bluetooth initialized
    Scanning successfully started
    Filters matched. Address: C4:22:CD:xx:xx:xx (random) connectable: no
    Connected: C4:22:CD:xx:xx:xx(random)
    MTU exchange pending
    E: pairing failed (peer reason 0x5)
    Security failed: C4:22:CD:xx:xx:xx (random) level 1 err 5
    MTU exchange successful
    Current MTU: 65
    The discovery procedure succeeded
    Echo test: 1
    Echo response part received, size: 28.
    Total response received - decoding
    {_"r": "Echo message: 1"}
    Echo test: 2
    Echo response part received, size: 28.
    Total response received - decoding
    {_"r": "Echo message: 2"}
    Sending DFU Image List command
    Sending DFU Image List command
    DFU Image List command send error (err: -16)

Children
Related