clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
This commit is contained in:
1 parent
a6f1318f3e
commit
861af7b7e2
9 files changed
+61
-61
No files matched your search
@@ -50,26 +50,15 @@ BLEService::BLEService(void)
|
||||
_init();
|
||||
}
|
||||
|
||||
BLEService::BLEService(uint16_t uuid16)
|
||||
: uuid(uuid16)
|
||||
BLEService::BLEService(BLEUuid bleuuid)
|
||||
: uuid(bleuuid)
|
||||
{
|
||||
_init();
|
||||
}
|
||||
|
||||
BLEService::BLEService(uint8_t const uuid128[])
|
||||
: uuid(uuid128)
|
||||
void BLEService::setUuid(BLEUuid bleuuid)
|
||||
{
|
||||
_init();
|
||||
}
|
||||
|
||||
void BLEService::setUuid(uint16_t uuid16)
|
||||
{
|
||||
uuid.set(uuid16);
|
||||
}
|
||||
|
||||
void BLEService::setUuid(uint8_t const uuid128[])
|
||||
{
|
||||
uuid.set(uuid128);
|
||||
uuid = bleuuid;
|
||||
}
|
||||
|
||||
err_t BLEService::addToGatt(void)
|
||||
|
||||
Reference in new issue
Block a user