Microbug / BLE_API

Fork of BLE_API by Bluetooth Low Energy

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?

UserRevisionLine numberNew 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