Skip to content

feat: add PHY type#424

Open
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-phy
Open

feat: add PHY type#424
acouvreur wants to merge 1 commit intotinygo-org:devfrom
acouvreur:add-phy

Conversation

@acouvreur
Copy link

Platform will now be able to implement Device.GetPHY() by returning this PHY type extracted from the platform specific types.

I will follow up with a implementation for Windows to be able to read the current device Phy.

Few notes:

  • This could definitely be in gap.go
  • I could add an unknown phy enum, but the default is PHY1M for all BLE devices

Platform will now be able to implement Device.GetPHY() by returning this PHY type extracted from the platform specific types.
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.

1 participant