add a comment block for the constructor.

This commit is contained in:
Rohit Grover 2014-11-28 08:27:19 +00:00
parent 3572c9c47f
commit 4f8178b02f
1 changed files with 14 additions and 0 deletions

View File

@ -32,6 +32,20 @@ const uint8_t beaconPeriodCharUUID[] = UUID_INITIALIZER_LIST(0x20, 0x88)
class URIBeacon2Service {
public:
/**
* @param[ref] ble
* BLEDevice object for the underlying controller.
* @param[in] urldata
* URI as a null-terminated string.
* @param[in] flagsIn
* UriBeacon Flags.
* @param[in] txPowerIn
* UriBeacon Tx Power Level.
* @param[in] beaconPeriodIn
* The period in milliseconds that a UriBeacon packet is
* transmitted. A value of zero disables UriBeacon
* transmissions.
*/
URIBeacon2Service(BLEDevice &ble_, const char *urldata, uint8_t flagsIn = 0, uint8_t txPowerIn = 0, uint16_t beaconPeriodIn = 1000) :
ble(ble_), payloadIndex(0), serviceDataPayload(),
lockedState(false),