Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tinygo.org/x/bluetooth from 0.10.0 to 0.11.0 #39

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 30, 2025

Bumps tinygo.org/x/bluetooth from 0.10.0 to 0.11.0.

Release notes

Sourced from tinygo.org/x/bluetooth's releases.

0.11.0

  • core
    • gap: do not add ADFlags to advertising data for AdvertisingTypeNonConnInd, to leave room for FindMy data
    • gap: make generic services function for HCI separate function
    • update to latest version of Bluetooth numbers database for latest services/characteristics
  • linux
    • gap: add implementation for SetRandomAddress() function
    • gap: correct HCI implementation so it can Configure/Start/Stop advertising correctly. Needed to update ServiceData after Advertisment is already started.
    • gap: update implementation for GAP to allow for calling adv.Configure() followed by adv.Start() followed by adv.Stop() multiple times. This is required in order to update advertising ServiceData.
    • fix: close signal on Connect for Linux platform to address issues raised in #262
    • reconnect connect/disconnect handlers centrals
    • Allow users to choose between different adapters
    • Issue #311 Clean resources properly when disable notifications
  • hci
    • add advertiser support for ManufacturerData and ServiceData
    • contains several corrections needed for HCI on both ninafw and cyw43439
    • implement set random MAC address
    • store local address as MACAddress
    • use current MAC address when Advertiser, allowing support for random advertiser addresses
    • when advertising, do not send ADFlags if we are using AdvertisingTypeNonConnInd
    • implement connect handler for Advertiser for HCI
    • fix bluetooth initialization on cyw43439
    • actually parse of ServiceData and ManufacturerData when scanning, and use existing GAP implementation to do it
    • correct parsing of ServiceData and ManufacturerData and add some helpful constants
    • correct race condition from connection params in HCI implementation. Basically it was responding by calling a function that retriggered asking to change the parameters yet again. Yet we are not actually doing anything about this request at present.
    • ensure HCI send/receive buffers for ATT are large enough for maximum MTU length
    • ensure that HCI advertising interval is set to a default value, otherwise different adverting types do not work correctly
    • reconnect connect/disconnect handlers for centrals
    • fix: set HCI default Advertising Interval to a more sensible default
    • enable setting MACAddr for cyw43439
  • nordic semi
    • nrf51: add SetRandomAddress() function when Advertisment
    • nrf528xx: add SetRandomAddress() function when Advertiser
    • nrf528xx: correctly use the passed Advertising options type as the type passed into the SoftDevice struct for API call update the EnableNotifications Method, add the parameter to specifing… (#293)
  • windows
    • gap/windows: add stubbed function for SetRandomAddress()
    • reconnect connect/disconnect handlers for centrals
  • examples
    • add example showing how to create a peripheral using the Battery Service
    • add example showing how to create a peripheral using the Device Information Service
    • add example to broadcast advertising servicedata
    • improve heartrate examples by adding all of the required characteristics for it to fulfill the complete heart rate profile in the spec.
    • refactor tinyscan to use tinyterm/displays package and also add badger2040-w
  • build
    • remove macOS 11 build since it has been removed, and run macOS 14 instead (#285)
    • remove macOS 12 runner
  • docs
    • update README to include Windows CI badge and correctly updated info about current capabilities
    • update README with some links and clarifications

... (truncated)

Changelog

Sourced from tinygo.org/x/bluetooth's changelog.

0.11.0

  • core
    • gap: do not add ADFlags to advertising data for AdvertisingTypeNonConnInd, to leave room for FindMy data
    • gap: make generic services function for HCI separate function
    • update to latest version of Bluetooth numbers database for latest services/characteristics
  • linux
    • gap: add implementation for SetRandomAddress() function
    • gap: correct HCI implementation so it can Configure/Start/Stop advertising correctly. Needed to update ServiceData after Advertisment is already started.
    • gap: update implementation for GAP to allow for calling adv.Configure() followed by adv.Start() followed by adv.Stop() multiple times. This is required in order to update advertising ServiceData.
    • fix: close signal on Connect for Linux platform to address issues raised in #262
    • reconnect connect/disconnect handlers centrals
    • Allow users to choose between different adapters
    • Issue #311 Clean resources properly when disable notifications
  • hci
    • add advertiser support for ManufacturerData and ServiceData
    • contains several corrections needed for HCI on both ninafw and cyw43439
    • implement set random MAC address
    • store local address as MACAddress
    • use current MAC address when Advertiser, allowing support for random advertiser addresses
    • when advertising, do not send ADFlags if we are using AdvertisingTypeNonConnInd
    • implement connect handler for Advertiser for HCI
    • fix bluetooth initialization on cyw43439
    • actually parse of ServiceData and ManufacturerData when scanning, and use existing GAP implementation to do it
    • correct parsing of ServiceData and ManufacturerData and add some helpful constants
    • correct race condition from connection params in HCI implementation. Basically it was responding by calling a function that retriggered asking to change the parameters yet again. Yet we are not actually doing anything about this request at present.
    • ensure HCI send/receive buffers for ATT are large enough for maximum MTU length
    • ensure that HCI advertising interval is set to a default value, otherwise different adverting types do not work correctly
    • reconnect connect/disconnect handlers for centrals
    • fix: set HCI default Advertising Interval to a more sensible default
    • enable setting MACAddr for cyw43439
  • nordic semi
    • nrf51: add SetRandomAddress() function when Advertisment
    • nrf528xx: add SetRandomAddress() function when Advertiser
    • nrf528xx: correctly use the passed Advertising options type as the type passed into the SoftDevice struct for API call update the EnableNotifications Method, add the parameter to specifing… (#293)
  • windows
    • gap/windows: add stubbed function for SetRandomAddress()
    • reconnect connect/disconnect handlers for centrals
  • examples
    • add example showing how to create a peripheral using the Battery Service
    • add example showing how to create a peripheral using the Device Information Service
    • add example to broadcast advertising servicedata
    • improve heartrate examples by adding all of the required characteristics for it to fulfill the complete heart rate profile in the spec.
    • refactor tinyscan to use tinyterm/displays package and also add badger2040-w
  • build
    • remove macOS 11 build since it has been removed, and run macOS 14 instead (#285)
    • remove macOS 12 runner
  • docs
    • update README to include Windows CI badge and correctly updated info about current capabilities

... (truncated)

Commits
  • b82048c Update CHANGELOG for 0.11.0 release
  • 1532e84 all: update version to 0.11.0 for release
  • 0b655a6 docs: update README with some links and clarifications
  • f36a7a6 fix: actually parse of ServiceData and ManufacturerData when scanning, and us...
  • 9482530 fix: correct parsing of ServiceData and ManufacturerData and add some helpful...
  • c6dfccb update the EnableNotifications Method, add the parameter to specifing… (#293)
  • 48b1dfe fix: close signal on Connect for Linux platform to address issues raised in #262
  • 43edf72 fix: set HCI default Advertising Interval to a more sensible default
  • 1fd1367 hci: when advertising, do not send ADFlags if we are using AdvertisingTypeNon...
  • ab457cb examples: add example showing how to create a peripheral using the Battery Se...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tinygo.org/x/bluetooth](https://github.com/tinygo-org/bluetooth) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/tinygo-org/bluetooth/releases)
- [Changelog](https://github.com/tinygo-org/bluetooth/blob/release/CHANGELOG.md)
- [Commits](tinygo-org/bluetooth@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: tinygo.org/x/bluetooth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 30, 2025
@milgradesec milgradesec merged commit 53e41d1 into main Feb 1, 2025
4 of 6 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/tinygo.org/x/bluetooth-0.11.0 branch February 1, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant