aboutsummaryrefslogtreecommitdiff
path: root/eir.go
diff options
context:
space:
mode:
Diffstat (limited to 'eir.go')
-rw-r--r--eir.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/eir.go b/eir.go
index 142bf30..2948c47 100644
--- a/eir.go
+++ b/eir.go
@@ -1 +1,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
+)