Skip to content

Latest commit

 

History

History

callbacks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

User Settings callbacks

Sample to demonstrate the use of on_change and validate callbacks of the user_settings lib.

Building and using

Build the sample for the native platform and run it:

east build -b native_sim
./build/callbacks/zephyr/zephyr.exe

The first line printed will tell you which pseudo tty the device has attached to. For example:

uart connected to pseudotty: /dev/pts/11

Use minicom, tio or a similar tool to connect to the pseudo tty:

minicom -D /dev/pts/11

Use the usettings shell command to interact with the settings.