Compatible with Keewi v1

Fork of BLE_API by Bluetooth Low Energy

Revision:
102:39e30ac179a7
Parent:
100:1e80e8032c13
Child:
103:8890715aaf55
--- a/hw/BLEDevice.h	Tue Jul 08 11:12:19 2014 +0100
+++ b/hw/BLEDevice.h	Wed Jul 09 09:07:37 2014 +0100
@@ -121,6 +121,16 @@
     void        setAdvertisingParams(const GapAdvertisingParams &advParams);
 
     /**
+     * This API is typically used as an internal helper to udpate the transport
+     * backend with advertising data before starting to advertise. It may also
+     * be explicity used to dynamically reset the accumulated advertising
+     * payload and scanResponse; to do this, the application can clear and re-
+     * accumulate a new advertising payload (and scanResponse) before using this
+     * API.
+     */
+    ble_error_t setAdvertisingPayload(void);
+
+    /**
      * Reset any advertising payload prepared from prior calls to
      * accumulateAdvertisingPayload().
      */
@@ -162,10 +172,6 @@
     ble_error_t accumulateAdvertisingPayloadTxPower(int8_t power);
 
     /**
-     * @param  app
-     *         The appearance of the peripheral.
-     */
-    /**
      * Accumulate a variable length byte-stream as an AD structure in the
      * advertising payload. Please note that the payload is limited to 31 bytes.
      * The SCAN_RESPONSE message may be used as an additional 31 bytes if the
@@ -251,16 +257,6 @@
      * the server begins advertising. This flag marks the status of the pending update.*/
     bool                 needToSetAdvPayload;
 
-public:
-    /**
-     * This API is typically used as an internal helper to udpate the transport
-     * backend with advertising data before starting to advertise. It may also
-     * be explicity used to dynamically reset the accumulated advertising
-     * payload; to do this, the application can clear and re-accumulate a new
-     * advertising payload before using this API.
-     */
-    ble_error_t setAdvertisingPayload(void);
-
     /**
      * DEPRECATED
      */