change(2904|AdvData): Add missing parameter name in declarations

This commit is contained in:
thekurtovic 2025-01-10 16:28:34 -05:00
parent 5ac7272f5d
commit 4ec4d15464
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ class NimBLE2904 : public NimBLEDescriptor {
static const uint8_t FORMAT_OPAQUE = 27; static const uint8_t FORMAT_OPAQUE = 27;
static const uint8_t FORMAT_MEDASN1 = 28; static const uint8_t FORMAT_MEDASN1 = 28;
void setDescription(uint16_t); void setDescription(uint16_t description);
void setExponent(int8_t exponent); void setExponent(int8_t exponent);
void setFormat(uint8_t format); void setFormat(uint8_t format);
void setNamespace(uint8_t namespace_value); void setNamespace(uint8_t namespace_value);

View file

@ -38,7 +38,7 @@ class NimBLEAdvertisementData {
bool addData(const uint8_t* data, size_t length); bool addData(const uint8_t* data, size_t length);
bool addData(const std::vector<uint8_t>& data); bool addData(const std::vector<uint8_t>& data);
bool setAppearance(uint16_t appearance); bool setAppearance(uint16_t appearance);
bool setFlags(uint8_t); bool setFlags(uint8_t flag);
bool addTxPower(); bool addTxPower();
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval); bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
bool addServiceUUID(const NimBLEUUID& serviceUUID); bool addServiceUUID(const NimBLEUUID& serviceUUID);