Where should I modify codes for settings without reboot

Hello,

Now, I plan to product a lot of boards mounting WP7605.
However, there are a problem that some settings for WP7605 need to reset.
It causes reduction of productivity in our production line system.

Therefore, I want to prepare Firmware including the following settings.

AT+KSLEEP=2
uartMode set 1 app
uartMode set 2 app
AT!RIOWNER=1

Where should I modify codes for settings without reboot?
(Which source code and where section?)

BR,
Tanoue

according to legato document, you need to reset for uartMode command:
https://docs.legato.io/latest/toolsTarget_uartMode.html

Hi jyijyi,

I understood it need to reset when it is changed.
Then, I want to modify default value from ‘console’ to ‘app’ in Firmware

i don’t think you can do it as it violates the user guide.

I have a script that programs the firmware.spk and performs all of the configuration such as “uartMode set 1 app”
It runs on a raspberry pi with a few LEDs so I know when it is complete.
I have a bunch of these raspberry pi’s in a row and just keep swapping them over as they complete.

Hi shib,

Thank you for suggesting another idea.
I will reserve your opinion as ‘final choice’.

Hi, jyijyi

Sorry for interrupt.
The customer would like to know how to create Yocto or Legato image that is included customize AT command setting.
First, they want to create image file that is stored the following setting.

AT+KSLEEP=2
uartMode set 1 app
uartMode set 2 app
AT!RIOWNER=1
AT+WIOCFG=6.16

They want to avoid to send the above setting from external and want to include it in image file.

you can write an unsandboxed legato application and send those AT command via /dev/ttyAT.
For uartMode mode, you can use AT!MAPUART instead.