mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Explain magic constant in ble::Gap implementation.
parent
30c6432b5d
commit
eda3bfb0e3
|
@ -26,13 +26,14 @@ bool Gap::isFeatureSupported(controller_supported_features_t feature)
|
|||
uint8_t Gap::getMaxAdvertisingSetNumber()
|
||||
{
|
||||
/* Requesting action from porter(s): override this API if this capability is supported. */
|
||||
// There is at least one advertising set available: the legacy advertising set
|
||||
return 1;
|
||||
}
|
||||
|
||||
uint8_t Gap::getMaxAdvertisingDataLength()
|
||||
{
|
||||
/* Requesting action from porter(s): override this API if this capability is supported. */
|
||||
return 0x1F;
|
||||
return LEGACY_ADVERTISING_MAX_SIZE;
|
||||
}
|
||||
|
||||
ble_error_t Gap::createAdvertisingSet(
|
||||
|
|
Loading…
Reference in New Issue