corrected BlueZ options in blehci tutorial and links in slinky tutorial This closes #169. This closes #173.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/e991d47a Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/e991d47a Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/e991d47a Branch: refs/heads/develop Commit: e991d47aba7de4af7fd8b8db58356e100842ee91 Parents: e9cff2c Author: aditihilbert <[email protected]> Authored: Tue Apr 25 12:52:46 2017 -0700 Committer: aditihilbert <[email protected]> Committed: Tue Apr 25 13:34:13 2017 -0700 ---------------------------------------------------------------------- docs/os/tutorials/blehci_project.md | 7 ++++++- docs/os/tutorials/project-nrf52-slinky.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/e991d47a/docs/os/tutorials/blehci_project.md ---------------------------------------------------------------------- diff --git a/docs/os/tutorials/blehci_project.md b/docs/os/tutorials/blehci_project.md index 1824902..173ec66 100644 --- a/docs/os/tutorials/blehci_project.md +++ b/docs/os/tutorials/blehci_project.md @@ -155,12 +155,17 @@ Bluetooth monitor ver 5.37 In a different terminal, attach the blehci device to the BlueZ daemon (substitute the correct /dev filename for ttyUSB0). ``` -$ sudo btattach -B /dev/ttyUSB0 -S 115200 +$ sudo btattach -B /dev/ttyUSB0 -S 1000000 Attaching BR/EDR controller to /dev/ttyUSB0 Switched line discipline from 0 to 15 Device index 1 attached ``` +The baud rate can be configured by overriding the default value of 1000000 in the `net/nimble/transport/uart/syscfg.yml`. Settings can be overriden by a higher priority package such as the application. So, for example, you may set the `BLE_HCI_UART_BAUD` to a different value in `apps/blehci/syscfg.yml`. + +If there is no CTS/RTS lines present in the test environment, flow control should be turned off. This can be done with +-N option for btattach. **Note:** -N option came with BlueZ ver 5.44. + <br> ### Start btmgmt to send commands http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/e991d47a/docs/os/tutorials/project-nrf52-slinky.md ---------------------------------------------------------------------- diff --git a/docs/os/tutorials/project-nrf52-slinky.md b/docs/os/tutorials/project-nrf52-slinky.md index 729d32a..4f845fb 100644 --- a/docs/os/tutorials/project-nrf52-slinky.md +++ b/docs/os/tutorials/project-nrf52-slinky.md @@ -169,7 +169,7 @@ $ <br> ### Use Newtmgr to Query the Board -Run some newtmgr commands to query and receive responses back from the board (See the [Newt Manager Guide](newtmgr/overview) for more information on the newtmgr commands). +Run some newtmgr commands to query and receive responses back from the board (See the [Newt Manager Guide](../../newtmgr/overview) for more information on the newtmgr commands). Run the `newtmgr echo hello -c nrf52serial` command. This is the simplest command that requests the board to echo back the text.
