Loading system/btif/src/btif_dm.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,8 @@ static void btif_dm_upstreams_evt(uint16_t event, char* p_param) { controller->supports_ble_extended_advertising(); local_le_features.le_periodic_advertising_supported = controller->supports_ble_periodic_advertising(); local_le_features.le_maximum_advertising_data_length = controller->get_ble_maxium_advertising_data_length(); memcpy(prop.val, &local_le_features, prop.len); HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, Loading system/device/src/controller.cc +3 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,9 @@ static future_t* start_up(void) { packet_factory->make_ble_read_number_of_supported_advertising_sets()); packet_parser->parse_ble_read_number_of_supported_advertising_sets( response, &ble_number_of_supported_advertising_sets); } else { /* If LE Excended Advertising is not supported, use the default value */ ble_maxium_advertising_data_length = 31; } // Set the ble event mask next Loading Loading
system/btif/src/btif_dm.cc +2 −0 Original line number Diff line number Diff line Loading @@ -1898,6 +1898,8 @@ static void btif_dm_upstreams_evt(uint16_t event, char* p_param) { controller->supports_ble_extended_advertising(); local_le_features.le_periodic_advertising_supported = controller->supports_ble_periodic_advertising(); local_le_features.le_maximum_advertising_data_length = controller->get_ble_maxium_advertising_data_length(); memcpy(prop.val, &local_le_features, prop.len); HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, Loading
system/device/src/controller.cc +3 −0 Original line number Diff line number Diff line Loading @@ -228,6 +228,9 @@ static future_t* start_up(void) { packet_factory->make_ble_read_number_of_supported_advertising_sets()); packet_parser->parse_ble_read_number_of_supported_advertising_sets( response, &ble_number_of_supported_advertising_sets); } else { /* If LE Excended Advertising is not supported, use the default value */ ble_maxium_advertising_data_length = 31; } // Set the ble event mask next Loading