You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2020/03/02 15:23:20 UTC

[mynewt-documentation] branch master updated: Fixed eddystone tutorial code

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 955f9d3  Fixed eddystone tutorial code
955f9d3 is described below

commit 955f9d3d2f7b078d4cf2a654c3c3416e67f77f70
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Mon Mar 2 15:50:55 2020 +0100

    Fixed eddystone tutorial code
---
 docs/tutorials/ble/eddystone.rst | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/docs/tutorials/ble/eddystone.rst b/docs/tutorials/ble/eddystone.rst
index 604ac06..4814844 100644
--- a/docs/tutorials/ble/eddystone.rst
+++ b/docs/tutorials/ble/eddystone.rst
@@ -184,6 +184,7 @@ here:
                             char *url_body,
                          uint8_t  url_body_len,
                          uint8_t  url_suffix
+                          int8_t  measured_power
     )
 
 We'll advertise the Mynewt URL: *https://mynewt.apache.org*. Eddystone
@@ -219,7 +220,8 @@ arguments translate to the https://mynewt.apache.org URL:
                                             BLE_EDDYSTONE_URL_SCHEME_HTTPS,
                                             "mynewt.apache",
                                             13,
-                                            BLE_EDDYSTONE_URL_SUFFIX_ORG);
+                                            BLE_EDDYSTONE_URL_SUFFIX_ORG,
+                                            0);
         assert(rc == 0);
 
         /* TODO: Begin advertising. */
@@ -321,7 +323,8 @@ instance of the ``ble_gap_adv_params`` struct as our argument.
                                         BLE_EDDYSTONE_URL_SCHEME_HTTPS,
                                         "mynewt.apache",
                                         13,
-                                        BLE_EDDYSTONE_URL_SUFFIX_ORG);
+                                        BLE_EDDYSTONE_URL_SUFFIX_ORG,
+                                        0);
         assert(rc == 0);
     
         /* Begin advertising. */
@@ -378,7 +381,8 @@ For reference, here is the complete application source:
                                             BLE_EDDYSTONE_URL_SCHEME_HTTPS,
                                             "mynewt.apache",
                                             13,
-                                            BLE_EDDYSTONE_URL_SUFFIX_ORG);
+                                            BLE_EDDYSTONE_URL_SUFFIX_ORG,
+                                            0);
         assert(rc == 0);
 
         /* Begin advertising. */