Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-15 Thread then yon
Dear dg and Chris, My issue solved by yours suggestion by: 1. Create syscfg.yml under targets/target_name/ 2. Copy following code into the file: #Package: apps/bletiny syscfg.vals: # Enable the shell task. SHELL_TASK: 1 # Set log level to info (disable debug logging). LOG_LEVEL: 1 # Disable

Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-15 Thread Christopher Collins
I should also send a belated heads up to the group. The "target config" command has changed slightly in the latest newt in the develop branch. Now, the command is: target config show (i.e., "config" became "config show"). The reason for this change is to allow support for additional

Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-15 Thread David G. Simmons
Good morning, I looked at this a bit more, and tested a few things with one of my apps. I'm wondering what version of apache-mynewt-core you have in your repos/ directory. I'll have to update the docs, because with the current version, I did not need to add the /* Initialize the

Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-14 Thread then yon
Dear dg, Thanks for your reply. i had followed your step to add syscfg.yml under targets but it doesn't help. Please find the attachment for: 1. output.txt: output of the target config command. 2. syscfg_yml_app.png: print screen of the code and directory list for the syscfg.yml under

Re: MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-14 Thread David G. Simmons
Sorry to hear you're having trouble. I'll see if I can help out a bit. First, rather than making changes to the syscfg.yml file in bletiny app itself, if you look in the targets directory of your project, you'll see that each app has it's own directory, and in that directory you'll find an

MYNEWT_VAL_STATS_CLI value cannot be change

2016-12-14 Thread then yon
Dear Support, I been using MyNewt v1.0.0-dev, and i tried to enable statistic package for bletiny project so i can use the stat command. What i did was following the tutorial below: http://mynewt.apache.org/network/ble/ini_stack/ble_statpkg/ and i try to change MYNEWT_VAL_STATS_CLI to 1 by