Skip to content

Conversation

@Jakouf
Copy link
Contributor

@Jakouf Jakouf commented Nov 12, 2024

This PR adds support for Extended Advertisements from Bluetooth 5.0 on Android.

When creating the ScanSettings object by default only Legacy Advertisements are reported to the ScanCallback. From API Level 26 (Oreo) the developer has the option to also include Extended Advertisements to the reported ScanResults.

Furthermore it is fixing a build issue in the Peripheral.java file where the wrong API call to BluetoothAdapter is getting called and I updated it here as well. If necessary I can also do this in a separate PR.

Wrong API on BluetoothAdapter is getting called. Changed it to the
according API call getDefaultAdapter()
@qwandor qwandor changed the base branch from master to dev November 12, 2024 14:20
@qdot qdot merged commit f7bd8d2 into deviceplug:dev Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants