aboutsummaryrefslogtreecommitdiff
path: root/eir.go
blob: 2948c47236a651ac1126a6e19bca4c7b5cb38f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package anki

type BLEAdvRecord struct {
	Type   uint8
	Length uint8
	Data   [30]byte
}

const (
	AdvTypeInvalid          = 0x00
	AdvTypeFlags            = 0x01
	AdvTypeUUID128          = 0x07
	AdvTypeLocalName        = 0x09
	AdvTypeTXPower          = 0x0a
	AdvTypeManufacturerData = 0xff
)