nconfig get

Name

nconfig get -- Outputs the current value of one or more config keys

Synopsis

nconfig get <key> [<key>...]

Arguments

One or more config keys.

Description

This command retrieves and outputs the current values of one or more config keys. Byte arrays are pretty-printed in hex; strings are output without line breaks.

Note: It is possible that data could be present of an unknown type, if support for new types has been added to an application. The get logic will not be able to display types it does not know about.

Examples

RedBoot> nconfig get nand.partition1.base nand.partition1.size
nand.partition1.base=16                                                         
nand.partition1.size=200                                                        
RedBoot> nconfig get app1.magic                      
app1.magic=This is a string example                                             
RedBoot> nconfig get app2.magic
ecos.fakeflash.config: <64 bytes, hex follows>                                
 00100000cefaad0b 010c0100626f6f74 5f73637269707400 000000000411010c            
 626f6f745f736372 6970745f64617461 00626f6f745f7363 7269707400000000            
RedBoot>

2017-02-09
Documentation license for this page: Open Publication License