File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ struct Gap {
779
779
*
780
780
* @return Max size of the HCI packet transporting the data.
781
781
*/
782
- virtual uint8_t get_max_hci_advertising_data_length () = 0;
782
+ virtual uint8_t get_maximum_hci_advertising_data_length () = 0;
783
783
784
784
/* *
785
785
* Query the maximum number of concurrent advertising sets that is supported
Original file line number Diff line number Diff line change @@ -2018,7 +2018,7 @@ uint16_t GenericGap::getMaxConnectableAdvertisingDataLength()
2018
2018
uint8_t GenericGap::getMaxActiveSetAdvertisingDataLength ()
2019
2019
{
2020
2020
useVersionTwoAPI ();
2021
- return _pal_gap.get_max_hci_advertising_data_length ();
2021
+ return _pal_gap.get_maximum_hci_advertising_data_length ();
2022
2022
}
2023
2023
2024
2024
ble_error_t GenericGap::createAdvertisingSet (
@@ -2314,7 +2314,7 @@ ble_error_t GenericGap::setAdvertisingData(
2314
2314
&pal::Gap::set_extended_scan_response_data :
2315
2315
&pal::Gap::set_extended_advertising_data;
2316
2316
2317
- const size_t hci_length = _pal_gap.get_max_hci_advertising_data_length ();
2317
+ const size_t hci_length = _pal_gap.get_maximum_hci_advertising_data_length ();
2318
2318
2319
2319
for (size_t i = 0 , end = payload.size (); (i < end) || (i == 0 && end == 0 ); i += hci_length) {
2320
2320
// select the operation based on the index
@@ -2526,7 +2526,7 @@ ble_error_t GenericGap::setPeriodicAdvertisingPayload(
2526
2526
2527
2527
typedef pal::advertising_fragment_description_t op_t ;
2528
2528
2529
- const size_t hci_length = _pal_gap.get_max_hci_advertising_data_length ();
2529
+ const size_t hci_length = _pal_gap.get_maximum_hci_advertising_data_length ();
2530
2530
2531
2531
for (size_t i = 0 , end = payload.size (); (i < end) || (i == 0 && end == 0 ); i += hci_length) {
2532
2532
// select the operation based on the index
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ class Gap : public ::ble::pal::Gap {
223
223
224
224
virtual uint16_t get_maximum_connectable_advertising_data_length ();
225
225
226
- virtual uint8_t get_max_hci_advertising_data_length ();
226
+ virtual uint8_t get_maximum_hci_advertising_data_length ();
227
227
228
228
virtual uint8_t get_max_number_of_advertising_sets ();
229
229
Original file line number Diff line number Diff line change @@ -926,7 +926,7 @@ uint16_t Gap::get_maximum_connectable_advertising_data_length()
926
926
return HCI_EXT_ADV_CONN_DATA_LEN;
927
927
}
928
928
929
- uint8_t Gap::get_max_hci_advertising_data_length ()
929
+ uint8_t Gap::get_maximum_hci_advertising_data_length ()
930
930
{
931
931
return HCI_EXT_ADV_DATA_LEN;
932
932
}
You can’t perform that action at this time.
0 commit comments