You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by na...@apache.org on 2019/06/12 00:04:46 UTC

[mynewt-nimble] branch master updated: apps/btshell: Update conn-datalen params help to be more informative

This is an automated email from the ASF dual-hosted git repository.

naraj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 58d8bf6  apps/btshell: Update conn-datalen params help to be more informative
58d8bf6 is described below

commit 58d8bf62e78187e6b3632cc2d9bc8dab79b9d6e0
Author: MichaƂ Narajowski <mi...@codecoup.pl>
AuthorDate: Fri Jun 7 16:49:15 2019 +0200

    apps/btshell: Update conn-datalen params help to be more informative
---
 apps/btshell/src/cmd.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c
index 0b5d5a1..de27151 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -2225,9 +2225,11 @@ cmd_conn_datalen(int argc, char **argv)
 
 #if MYNEWT_VAL(SHELL_CMD_HELP)
 static const struct shell_param conn_datalen_params[] = {
-    {"conn", "conn_datalen handle, usage: =<UINT16>"},
-    {"octets", "usage: =<UINT16>"},
-    {"time", "usage: =<UINT16>"},
+    {"conn", "Connection handle, usage: =<UINT16>"},
+    {"octets", "Max payload size to include in LL Data PDU, "
+               "range=<27-251>, usage: =<UINT16>"},
+    {"time", "Max number of microseconds the controller should use to tx "
+             "single LL packet, range=<328-17040>, usage: =<UINT16>"},
     {NULL, NULL}
 };