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.cpp
- Committer:
- ktownsend
- Date:
- 2013-12-10
- Revision:
- 2:ffc5216bd2cc
- Child:
- 4:50a31ff5f974
File content as of revision 2:ffc5216bd2cc:
#include <stdio.h>
#include <string.h>
#include "GapAdvertisingParams.h"
/**************************************************************************/
/*!
@brief Creates a new GapAdvertisingParams
@section EXAMPLE
@code
@endcode
*/
/**************************************************************************/
GapAdvertisingParams::GapAdvertisingParams(uint8_t advType, uint16_t interval, uint16_t timeout)
{
_advType = advType;
_interval = interval;
_timeout = timeout;
}
/**************************************************************************/
/*!
Destructor
*/
/**************************************************************************/
GapAdvertisingParams::~GapAdvertisingParams(void)
{
}
