cwanda commented on a change in pull request #213: Updated bletiny docs and 
added btshell docs
URL: https://github.com/apache/mynewt-site/pull/213#discussion_r125475299
 
 

 ##########
 File path: docs/os/tutorials/add_shell.md
 ##########
 @@ -120,26 +116,46 @@ Once you have a connection set up, you can connect to 
your device as follows:
 To test and make sure that the Shell is running, first just hit <return>:
     
 ```no-highlight
-3534: >
+004543 compat>
 ```
 
-Remember, we turned the CONSOLE_PROMPT and the CONSOLE_TICKS on earlier. You 
can try some commands now:
+bletiny app uses legacy shell API to register command callbacks. That's why 
the prompt says "compat". All the legacy commands are registered to compat 
module to provide backward compatibility.
 
 ```no-highlight
-3609: > ?
-Commands:
-8841:     echo         ?    prompt     ticks     tasks  mempools
-8843:     date         b
-8844: > ticks off
- Console Ticks off
- > prompt off
- Prompt now off.
-ticks on
-33383: Console Ticks on
-
-33568:
-prompt on
-39108: Prompt now on.
-39108: >
+069822 compat> help
+070196 help
+070196 b
+070197 compat>
 ```
 
+You can run bletiny commands exactly the same way as in the old shell:
+
+```no-highlight
+098131 compat> b help
+098394 module: 1, command: b
 
 Review comment:
   Please remove
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to