Disable SMP server n seconds after MCU booting

Hello!

We have an application with an nRF52832 connected through an UART to another MCU. We want to have the possibility to update the nRF FW, but as nrF52832 only has 1 UART, there is no straightforward way to share it with APP and SMP server at the same time.

Is it possible to do the following?

1- Boot with SMP server and wait a few seconds for an incoming image upload command.

2- If no SMP communication is received after n seconds, disable SMP server until next reboot and start APP which can use UART without problems.

Thanks in advance!

Regards.

Parents
  • Hi Jonathan,

    Thanks for your answer. What I need to know is if it's possible to disable MCUmgr SMP server after a few seconds without communicating with it.

    I'm thinking I can also use MCUboot serial recovery (So no SMP server in APP) but, as it is intended for recovery purposes, Will I loose the 2 images partitions functionality of MCUboot? 

    Regards,

    Pedro.

Reply
  • Hi Jonathan,

    Thanks for your answer. What I need to know is if it's possible to disable MCUmgr SMP server after a few seconds without communicating with it.

    I'm thinking I can also use MCUboot serial recovery (So no SMP server in APP) but, as it is intended for recovery purposes, Will I loose the 2 images partitions functionality of MCUboot? 

    Regards,

    Pedro.

Children
No Data
Related