add "LE Device Address" 0x1B to advertising data types

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
vcoubard
Date:
Mon Jan 11 08:52:04 2016 +0000
Parent:
1120:85a019284052
Child:
1122:57dcf7dc2fe8
Commit message:
Synchronized with git rev a488074d
Author: Andres Amaya Garcia
Change Whitelisting API according to comments

Changed in this revision

ble/Gap.h Show annotated file Show diff for this revision Revisions of this file
--- a/ble/Gap.h	Mon Jan 11 08:52:03 2016 +0000
+++ b/ble/Gap.h	Mon Jan 11 08:52:04 2016 +0000
@@ -516,7 +516,7 @@
      */
     virtual uint8_t getMaxWhitelistSize(void) const
     {
-        return BLE_ERROR_NOT_IMPLEMENTED;
+        return 0;
     }
 
     /**
@@ -542,7 +542,7 @@
      * Set the internal whitelist to be used by the Link Layer when scanning,
      * advertising or initiating a connection depending on the filter policies.
      *
-     * @param[out]    whitelist
+     * @param[in]     whitelist
      *                  A reference to a whitelist containing the addresses to
      *                  be added to the internal whitelist.
      *
@@ -557,7 +557,7 @@
      * @note If the input whitelist is larger than @ref getMaxWhitelistSize()
      *       the @ref BLE_ERROR_PARAM_OUT_OF_RANGE is returned.
      */
-    virtual ble_error_t setWhitelist(Whitelist_t &whitelist)
+    virtual ble_error_t setWhitelist(const Whitelist_t &whitelist)
     {
         (void) whitelist;
         return BLE_ERROR_NOT_IMPLEMENTED;