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
GapAdvertisingParams.h@2:ffc5216bd2cc, 2013-12-10 (annotated)
- Committer:
- ktownsend
- Date:
- Tue Dec 10 07:32:12 2013 +0000
- Revision:
- 2:ffc5216bd2cc
- Child:
- 4:50a31ff5f974
UART Tests
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ktownsend | 2:ffc5216bd2cc | 1 | #ifndef __GAP_ADVERTISING_PARAMS_H__ |
| ktownsend | 2:ffc5216bd2cc | 2 | #define __GAP_ADVERTISING_PARAMS_H__ |
| ktownsend | 2:ffc5216bd2cc | 3 | |
| ktownsend | 2:ffc5216bd2cc | 4 | #include "blecommon.h" |
| ktownsend | 2:ffc5216bd2cc | 5 | |
| ktownsend | 2:ffc5216bd2cc | 6 | class GapAdvertisingParams |
| ktownsend | 2:ffc5216bd2cc | 7 | { |
| ktownsend | 2:ffc5216bd2cc | 8 | public: |
| ktownsend | 2:ffc5216bd2cc | 9 | GapAdvertisingParams(uint8_t advType, uint16_t interval, uint16_t timeout); |
| ktownsend | 2:ffc5216bd2cc | 10 | virtual ~GapAdvertisingParams(void); |
| ktownsend | 2:ffc5216bd2cc | 11 | |
| ktownsend | 2:ffc5216bd2cc | 12 | private: |
| ktownsend | 2:ffc5216bd2cc | 13 | uint8_t _advType; |
| ktownsend | 2:ffc5216bd2cc | 14 | uint16_t _interval; |
| ktownsend | 2:ffc5216bd2cc | 15 | uint16_t _timeout; |
| ktownsend | 2:ffc5216bd2cc | 16 | }; |
| ktownsend | 2:ffc5216bd2cc | 17 | |
| ktownsend | 2:ffc5216bd2cc | 18 | #endif |
