Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: GapAdvertisingParams.h
- Revision:
- 14:6ea5d1012a64
- Parent:
- 9:124ae067ae27
- Child:
- 18:86fe1e247a54
diff -r a585c98b6abc -r 6ea5d1012a64 GapAdvertisingParams.h
--- a/GapAdvertisingParams.h Wed Dec 18 06:22:35 2013 +0000
+++ b/GapAdvertisingParams.h Wed Dec 18 11:52:37 2013 +0000
@@ -3,9 +3,10 @@
#include "blecommon.h"
-#define GAP_ADV_PARAMS_INTERVAL_MIN (0x0020)
-#define GAP_ADV_PARAMS_INTERVAL_MAX (0x4000)
-#define GAP_ADV_PARAMS_TIMEOUT_MAX (0x3FFF)
+#define GAP_ADV_PARAMS_INTERVAL_MIN (0x0020)
+#define GAP_ADV_PARAMS_INTERVAL_MIN_NONCON (0x00A0)
+#define GAP_ADV_PARAMS_INTERVAL_MAX (0x1000)
+#define GAP_ADV_PARAMS_TIMEOUT_MAX (0x3FFF)
class GapAdvertisingParams
{
@@ -21,7 +22,7 @@
};
GapAdvertisingParams(AdvertisingType advType = GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED,
- uint16_t interval = GAP_ADV_PARAMS_INTERVAL_MIN,
+ uint16_t interval = GAP_ADV_PARAMS_INTERVAL_MIN_NONCON,
uint16_t timeout = 0);
virtual ~GapAdvertisingParams(void);
