Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions phy.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package bluetooth

type PHY uint8

const (
// PHY1M is the 1M PHY, which is the default for Bluetooth LE.
PHY1M PHY = 0x01
// PHY2M is the 2M PHY, which allows for higher data rates but consumes more power.
PHY2M PHY = 0x02
// PHYCoded is the Coded PHY, which allows for longer range at the cost of lower data rates.
PHYCoded PHY = 0x03
)
Loading