File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ class Gap {
548
548
*
549
549
* @return Maximum advertising data length you may set if advertising set is active.
550
550
*/
551
- virtual uint8_t getMaxActiveSetAdvertisingDataLength ();
551
+ virtual uint16_t getMaxActiveSetAdvertisingDataLength ();
552
552
553
553
/* * Create an advertising set and apply the passed in parameters. The handle returned
554
554
* by this function must be used for all other calls that accept an advertising handle.
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class GenericGap :
97
97
98
98
/* * @copydoc Gap::getMaxActiveSetAdvertisingDataLength
99
99
*/
100
- virtual uint8_t getMaxActiveSetAdvertisingDataLength ();
100
+ virtual uint16_t getMaxActiveSetAdvertisingDataLength ();
101
101
102
102
/* * @copydoc Gap::createAdvertisingSet
103
103
*/
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ uint16_t Gap::getMaxConnectableAdvertisingDataLength()
42
42
return LEGACY_ADVERTISING_MAX_SIZE;
43
43
}
44
44
45
- uint8_t Gap::getMaxActiveSetAdvertisingDataLength ()
45
+ uint16_t Gap::getMaxActiveSetAdvertisingDataLength ()
46
46
{
47
47
/* Requesting action from porter(s): override this API if this capability is supported. */
48
48
return LEGACY_ADVERTISING_MAX_SIZE;
Original file line number Diff line number Diff line change @@ -2015,7 +2015,7 @@ uint16_t GenericGap::getMaxConnectableAdvertisingDataLength()
2015
2015
return _pal_gap.get_maximum_connectable_advertising_data_length ();
2016
2016
}
2017
2017
2018
- uint8_t GenericGap::getMaxActiveSetAdvertisingDataLength ()
2018
+ uint16_t GenericGap::getMaxActiveSetAdvertisingDataLength ()
2019
2019
{
2020
2020
useVersionTwoAPI ();
2021
2021
return _pal_gap.get_maximum_hci_advertising_data_length ();
You can’t perform that action at this time.
0 commit comments