go fmt
This commit is contained in:
parent
8f92747a18
commit
b278e2b932
7 changed files with 233 additions and 239 deletions
|
@ -5,5 +5,4 @@
|
||||||
// those produced by Nordic Semiconductor.
|
// those produced by Nordic Semiconductor.
|
||||||
//
|
//
|
||||||
// This package can be use to create Bluetooth Low Energy centrals as well as peripherals.
|
// This package can be use to create Bluetooth Low Energy centrals as well as peripherals.
|
||||||
//
|
|
||||||
package bluetooth // import "tinygo.org/x/bluetooth"
|
package bluetooth // import "tinygo.org/x/bluetooth"
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -3,17 +3,16 @@
|
||||||
//
|
//
|
||||||
// To run this on a desktop system:
|
// To run this on a desktop system:
|
||||||
//
|
//
|
||||||
// go run ./examples/discover EE:74:7D:C9:2A:68
|
// go run ./examples/discover EE:74:7D:C9:2A:68
|
||||||
//
|
//
|
||||||
// To run this on a microcontroller, change the constant value in the file
|
// To run this on a microcontroller, change the constant value in the file
|
||||||
// "mcu.go" to set the MAC address of the device you want to discover.
|
// "mcu.go" to set the MAC address of the device you want to discover.
|
||||||
// Then, flash to the microcontroller board like this:
|
// Then, flash to the microcontroller board like this:
|
||||||
//
|
//
|
||||||
// tinygo flash -o circuitplay-bluefruit ./examples/discover
|
// tinygo flash -o circuitplay-bluefruit ./examples/discover
|
||||||
//
|
//
|
||||||
// Once the program is flashed to the board, connect to the USB port
|
// Once the program is flashed to the board, connect to the USB port
|
||||||
// via serial to view the output.
|
// via serial to view the output.
|
||||||
//
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -366,7 +366,7 @@ func (c *DeviceCharacteristic) Read(data []byte) (int, error) {
|
||||||
// changes.
|
// changes.
|
||||||
func (c DeviceCharacteristic) EnableNotifications(callback func(buf []byte)) error {
|
func (c DeviceCharacteristic) EnableNotifications(callback func(buf []byte)) error {
|
||||||
if (c.properties&genericattributeprofile.GattCharacteristicPropertiesNotify == 0) &&
|
if (c.properties&genericattributeprofile.GattCharacteristicPropertiesNotify == 0) &&
|
||||||
(c.properties&genericattributeprofile.GattCharacteristicPropertiesIndicate == 0) {
|
(c.properties&genericattributeprofile.GattCharacteristicPropertiesIndicate == 0) {
|
||||||
return errNoNotify
|
return errNoNotify
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,9 @@ func Putchar(ch byte) {
|
||||||
// Getchar/Putchar). It must be restored after use with Restore. You can do this
|
// Getchar/Putchar). It must be restored after use with Restore. You can do this
|
||||||
// with the following code:
|
// with the following code:
|
||||||
//
|
//
|
||||||
// rawterm.Configure()
|
// rawterm.Configure()
|
||||||
// defer rawterm.Restore()
|
// defer rawterm.Restore()
|
||||||
// // use raw terminal features
|
// // use raw terminal features
|
||||||
func Configure() {
|
func Configure() {
|
||||||
terminalState, _ = terminal.MakeRaw(0)
|
terminalState, _ = terminal.MakeRaw(0)
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,9 +42,9 @@ func Putchar(ch byte) {
|
||||||
// Getchar/Putchar). It must be restored after use with Restore. You can do this
|
// Getchar/Putchar). It must be restored after use with Restore. You can do this
|
||||||
// with the following code:
|
// with the following code:
|
||||||
//
|
//
|
||||||
// rawterm.Configure()
|
// rawterm.Configure()
|
||||||
// defer rawterm.Restore()
|
// defer rawterm.Restore()
|
||||||
// // use raw terminal features
|
// // use raw terminal features
|
||||||
func Configure() {
|
func Configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
// Code generated by bin/gen-service-uuids; DO NOT EDIT.
|
// Code generated by bin/gen-service-uuids; DO NOT EDIT.
|
||||||
// This file was generated on 2022-12-21 19:21:51.011665984 +0100 CET m=+0.000615122 using the list of standard service UUIDs from
|
// This file was generated on 2022-12-21 19:21:51.011665984 +0100 CET m=+0.000615122 using the list of standard service UUIDs from
|
||||||
// https://github.com/NordicSemiconductor/bluetooth-numbers-database/blob/master/v1/service_uuids.json
|
// https://github.com/NordicSemiconductor/bluetooth-numbers-database/blob/master/v1/service_uuids.json
|
||||||
//
|
|
||||||
package bluetooth
|
package bluetooth
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
||||||
// ServiceUUIDExperimentalButtonlessDFU - Experimental Buttonless DFU Service
|
// ServiceUUIDExperimentalButtonlessDFU - Experimental Buttonless DFU Service
|
||||||
ServiceUUIDExperimentalButtonlessDFU = NewUUID([16]byte{0x8e,0x40,0x00,0x01,0xf3,0x15,0x4f,0x60,0x9f,0xb8,0x83,0x88,0x30,0xda,0xea,0x50,})
|
ServiceUUIDExperimentalButtonlessDFU = NewUUID([16]byte{0x8e, 0x40, 0x00, 0x01, 0xf3, 0x15, 0x4f, 0x60, 0x9f, 0xb8, 0x83, 0x88, 0x30, 0xda, 0xea, 0x50})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitTemperature - Adafruit Temperature Service
|
// ServiceUUIDAdafruitTemperature - Adafruit Temperature Service
|
||||||
ServiceUUIDAdafruitTemperature = NewUUID([16]byte{0xad,0xaf,0x01,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitTemperature = NewUUID([16]byte{0xad, 0xaf, 0x01, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitHumidity - Adafruit Humidity Service
|
// ServiceUUIDAdafruitHumidity - Adafruit Humidity Service
|
||||||
ServiceUUIDAdafruitHumidity = NewUUID([16]byte{0xad,0xaf,0x07,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitHumidity = NewUUID([16]byte{0xad, 0xaf, 0x07, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDUserData - User Data
|
// ServiceUUIDUserData - User Data
|
||||||
ServiceUUIDUserData = New16BitUUID(0x181C)
|
ServiceUUIDUserData = New16BitUUID(0x181C)
|
||||||
|
@ -22,16 +21,16 @@ var (
|
||||||
ServiceUUIDAudioStreamControl = New16BitUUID(0x184E)
|
ServiceUUIDAudioStreamControl = New16BitUUID(0x184E)
|
||||||
|
|
||||||
// ServiceUUIDSMP - SMP Service
|
// ServiceUUIDSMP - SMP Service
|
||||||
ServiceUUIDSMP = NewUUID([16]byte{0x8d,0x53,0xdc,0x1d,0x1d,0xb7,0x4c,0xd3,0x86,0x8b,0x8a,0x52,0x74,0x60,0xaa,0x84,})
|
ServiceUUIDSMP = NewUUID([16]byte{0x8d, 0x53, 0xdc, 0x1d, 0x1d, 0xb7, 0x4c, 0xd3, 0x86, 0x8b, 0x8a, 0x52, 0x74, 0x60, 0xaa, 0x84})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitSound - Adafruit Sound Service
|
// ServiceUUIDAdafruitSound - Adafruit Sound Service
|
||||||
ServiceUUIDAdafruitSound = NewUUID([16]byte{0xad,0xaf,0x0b,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitSound = NewUUID([16]byte{0xad, 0xaf, 0x0b, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDPulseOximeter - Pulse Oximeter Service
|
// ServiceUUIDPulseOximeter - Pulse Oximeter Service
|
||||||
ServiceUUIDPulseOximeter = New16BitUUID(0x1822)
|
ServiceUUIDPulseOximeter = New16BitUUID(0x1822)
|
||||||
|
|
||||||
// ServiceUUIDEddystoneConfiguration - Eddystone Configuration Service
|
// ServiceUUIDEddystoneConfiguration - Eddystone Configuration Service
|
||||||
ServiceUUIDEddystoneConfiguration = NewUUID([16]byte{0xa3,0xc8,0x75,0x00,0x8e,0xd3,0x4b,0xdf,0x8a,0x39,0xa0,0x1b,0xeb,0xed,0xe2,0x95,})
|
ServiceUUIDEddystoneConfiguration = NewUUID([16]byte{0xa3, 0xc8, 0x75, 0x00, 0x8e, 0xd3, 0x4b, 0xdf, 0x8a, 0x39, 0xa0, 0x1b, 0xeb, 0xed, 0xe2, 0x95})
|
||||||
|
|
||||||
// ServiceUUIDLocationAndNavigation - Location and Navigation
|
// ServiceUUIDLocationAndNavigation - Location and Navigation
|
||||||
ServiceUUIDLocationAndNavigation = New16BitUUID(0x1819)
|
ServiceUUIDLocationAndNavigation = New16BitUUID(0x1819)
|
||||||
|
@ -46,10 +45,10 @@ var (
|
||||||
ServiceUUIDSignifyNetherlandsBVFormerlyPhilipsLighting = New16BitUUID(0xFE0F)
|
ServiceUUIDSignifyNetherlandsBVFormerlyPhilipsLighting = New16BitUUID(0xFE0F)
|
||||||
|
|
||||||
// ServiceUUIDPhilipsHueLightControl - Philips Hue Light Control Service
|
// ServiceUUIDPhilipsHueLightControl - Philips Hue Light Control Service
|
||||||
ServiceUUIDPhilipsHueLightControl = NewUUID([16]byte{0x93,0x2c,0x32,0xbd,0x00,0x00,0x47,0xa2,0x83,0x5a,0xa8,0xd4,0x55,0xb8,0x59,0xdd,})
|
ServiceUUIDPhilipsHueLightControl = NewUUID([16]byte{0x93, 0x2c, 0x32, 0xbd, 0x00, 0x00, 0x47, 0xa2, 0x83, 0x5a, 0xa8, 0xd4, 0x55, 0xb8, 0x59, 0xdd})
|
||||||
|
|
||||||
// ServiceUUIDThingyUI - Thingy UI Service
|
// ServiceUUIDThingyUI - Thingy UI Service
|
||||||
ServiceUUIDThingyUI = NewUUID([16]byte{0xef,0x68,0x03,0x00,0x9b,0x35,0x49,0x33,0x9b,0x10,0x52,0xff,0xa9,0x74,0x00,0x42,})
|
ServiceUUIDThingyUI = NewUUID([16]byte{0xef, 0x68, 0x03, 0x00, 0x9b, 0x35, 0x49, 0x33, 0x9b, 0x10, 0x52, 0xff, 0xa9, 0x74, 0x00, 0x42})
|
||||||
|
|
||||||
// ServiceUUIDAlertNotification - Alert Notification Service
|
// ServiceUUIDAlertNotification - Alert Notification Service
|
||||||
ServiceUUIDAlertNotification = New16BitUUID(0x1811)
|
ServiceUUIDAlertNotification = New16BitUUID(0x1811)
|
||||||
|
@ -64,16 +63,16 @@ var (
|
||||||
ServiceUUIDGenericAttribute = New16BitUUID(0x1801)
|
ServiceUUIDGenericAttribute = New16BitUUID(0x1801)
|
||||||
|
|
||||||
// ServiceUUIDAdafruitMagnetometer - Adafruit Magnetometer Service
|
// ServiceUUIDAdafruitMagnetometer - Adafruit Magnetometer Service
|
||||||
ServiceUUIDAdafruitMagnetometer = NewUUID([16]byte{0xad,0xaf,0x05,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitMagnetometer = NewUUID([16]byte{0xad, 0xaf, 0x05, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDMicrophoneControl - Microphone Control
|
// ServiceUUIDMicrophoneControl - Microphone Control
|
||||||
ServiceUUIDMicrophoneControl = New16BitUUID(0x184D)
|
ServiceUUIDMicrophoneControl = New16BitUUID(0x184D)
|
||||||
|
|
||||||
// ServiceUUIDLEGOWirelessProtocolV3Bootloader - LEGO® Wireless Protocol v3 Bootloader Service
|
// ServiceUUIDLEGOWirelessProtocolV3Bootloader - LEGO® Wireless Protocol v3 Bootloader Service
|
||||||
ServiceUUIDLEGOWirelessProtocolV3Bootloader = NewUUID([16]byte{0x00,0x00,0x16,0x25,0x12,0x12,0xef,0xde,0x16,0x23,0x78,0x5f,0xea,0xbc,0xd1,0x23,})
|
ServiceUUIDLEGOWirelessProtocolV3Bootloader = NewUUID([16]byte{0x00, 0x00, 0x16, 0x25, 0x12, 0x12, 0xef, 0xde, 0x16, 0x23, 0x78, 0x5f, 0xea, 0xbc, 0xd1, 0x23})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitColor - Adafruit Color Service
|
// ServiceUUIDAdafruitColor - Adafruit Color Service
|
||||||
ServiceUUIDAdafruitColor = NewUUID([16]byte{0xad,0xaf,0x0a,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitColor = NewUUID([16]byte{0xad, 0xaf, 0x0a, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDMeshProvisioning - Mesh Provisioning Service
|
// ServiceUUIDMeshProvisioning - Mesh Provisioning Service
|
||||||
ServiceUUIDMeshProvisioning = New16BitUUID(0x1827)
|
ServiceUUIDMeshProvisioning = New16BitUUID(0x1827)
|
||||||
|
@ -82,22 +81,22 @@ var (
|
||||||
ServiceUUIDTransportDiscovery = New16BitUUID(0x1824)
|
ServiceUUIDTransportDiscovery = New16BitUUID(0x1824)
|
||||||
|
|
||||||
// ServiceUUIDAppleReserved1 - Apple Reserved Service 1
|
// ServiceUUIDAppleReserved1 - Apple Reserved Service 1
|
||||||
ServiceUUIDAppleReserved1 = NewUUID([16]byte{0x7d,0xfc,0x60,0x00,0x7d,0x1c,0x49,0x51,0x86,0xaa,0x8d,0x97,0x28,0xf8,0xd6,0x6c,})
|
ServiceUUIDAppleReserved1 = NewUUID([16]byte{0x7d, 0xfc, 0x60, 0x00, 0x7d, 0x1c, 0x49, 0x51, 0x86, 0xaa, 0x8d, 0x97, 0x28, 0xf8, 0xd6, 0x6c})
|
||||||
|
|
||||||
// ServiceUUIDAppleReserved2 - Apple Reserved Service 2
|
// ServiceUUIDAppleReserved2 - Apple Reserved Service 2
|
||||||
ServiceUUIDAppleReserved2 = NewUUID([16]byte{0x7d,0xfc,0x70,0x00,0x7d,0x1c,0x49,0x51,0x86,0xaa,0x8d,0x97,0x28,0xf8,0xd6,0x6c,})
|
ServiceUUIDAppleReserved2 = NewUUID([16]byte{0x7d, 0xfc, 0x70, 0x00, 0x7d, 0x1c, 0x49, 0x51, 0x86, 0xaa, 0x8d, 0x97, 0x28, 0xf8, 0xd6, 0x6c})
|
||||||
|
|
||||||
// ServiceUUIDAppleReserved3 - Apple Reserved Service 3
|
// ServiceUUIDAppleReserved3 - Apple Reserved Service 3
|
||||||
ServiceUUIDAppleReserved3 = NewUUID([16]byte{0x7d,0xfc,0x80,0x00,0x7d,0x1c,0x49,0x51,0x86,0xaa,0x8d,0x97,0x28,0xf8,0xd6,0x6c,})
|
ServiceUUIDAppleReserved3 = NewUUID([16]byte{0x7d, 0xfc, 0x80, 0x00, 0x7d, 0x1c, 0x49, 0x51, 0x86, 0xaa, 0x8d, 0x97, 0x28, 0xf8, 0xd6, 0x6c})
|
||||||
|
|
||||||
// ServiceUUIDAppleReserved4 - Apple Reserved Service 4
|
// ServiceUUIDAppleReserved4 - Apple Reserved Service 4
|
||||||
ServiceUUIDAppleReserved4 = NewUUID([16]byte{0x7d,0xfc,0x90,0x00,0x7d,0x1c,0x49,0x51,0x86,0xaa,0x8d,0x97,0x28,0xf8,0xd6,0x6c,})
|
ServiceUUIDAppleReserved4 = NewUUID([16]byte{0x7d, 0xfc, 0x90, 0x00, 0x7d, 0x1c, 0x49, 0x51, 0x86, 0xaa, 0x8d, 0x97, 0x28, 0xf8, 0xd6, 0x6c})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitButton - Adafruit Button Service
|
// ServiceUUIDAdafruitButton - Adafruit Button Service
|
||||||
ServiceUUIDAdafruitButton = NewUUID([16]byte{0xad,0xaf,0x06,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitButton = NewUUID([16]byte{0xad, 0xaf, 0x06, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDMemfaultDiagnostic - Memfault Diagnostic Service
|
// ServiceUUIDMemfaultDiagnostic - Memfault Diagnostic Service
|
||||||
ServiceUUIDMemfaultDiagnostic = NewUUID([16]byte{0x54,0x22,0x00,0x00,0xf6,0xa5,0x40,0x07,0xa3,0x71,0x72,0x2f,0x4e,0xbd,0x84,0x36,})
|
ServiceUUIDMemfaultDiagnostic = NewUUID([16]byte{0x54, 0x22, 0x00, 0x00, 0xf6, 0xa5, 0x40, 0x07, 0xa3, 0x71, 0x72, 0x2f, 0x4e, 0xbd, 0x84, 0x36})
|
||||||
|
|
||||||
// ServiceUUIDScanParameters - Scan Parameters
|
// ServiceUUIDScanParameters - Scan Parameters
|
||||||
ServiceUUIDScanParameters = New16BitUUID(0x1813)
|
ServiceUUIDScanParameters = New16BitUUID(0x1813)
|
||||||
|
@ -106,13 +105,13 @@ var (
|
||||||
ServiceUUIDCoordinatedSetIdentification = New16BitUUID(0x1846)
|
ServiceUUIDCoordinatedSetIdentification = New16BitUUID(0x1846)
|
||||||
|
|
||||||
// ServiceUUIDMicrobitAccelerometer - micro:bit Accelerometer Service
|
// ServiceUUIDMicrobitAccelerometer - micro:bit Accelerometer Service
|
||||||
ServiceUUIDMicrobitAccelerometer = NewUUID([16]byte{0xe9,0x5d,0x07,0x53,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitAccelerometer = NewUUID([16]byte{0xe9, 0x5d, 0x07, 0x53, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDMicrobitEvent - micro:bit Event Service
|
// ServiceUUIDMicrobitEvent - micro:bit Event Service
|
||||||
ServiceUUIDMicrobitEvent = NewUUID([16]byte{0xe9,0x5d,0x93,0xaf,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitEvent = NewUUID([16]byte{0xe9, 0x5d, 0x93, 0xaf, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDThingySound - Thingy Sound Service
|
// ServiceUUIDThingySound - Thingy Sound Service
|
||||||
ServiceUUIDThingySound = NewUUID([16]byte{0xef,0x68,0x05,0x00,0x9b,0x35,0x49,0x33,0x9b,0x10,0x52,0xff,0xa9,0x74,0x00,0x42,})
|
ServiceUUIDThingySound = NewUUID([16]byte{0xef, 0x68, 0x05, 0x00, 0x9b, 0x35, 0x49, 0x33, 0x9b, 0x10, 0x52, 0xff, 0xa9, 0x74, 0x00, 0x42})
|
||||||
|
|
||||||
// ServiceUUIDImmediateAlert - Immediate Alert
|
// ServiceUUIDImmediateAlert - Immediate Alert
|
||||||
ServiceUUIDImmediateAlert = New16BitUUID(0x1802)
|
ServiceUUIDImmediateAlert = New16BitUUID(0x1802)
|
||||||
|
@ -127,10 +126,10 @@ var (
|
||||||
ServiceUUIDVolumeControl = New16BitUUID(0x1844)
|
ServiceUUIDVolumeControl = New16BitUUID(0x1844)
|
||||||
|
|
||||||
// ServiceUUIDMicrobitMagnetometer - micro:bit Magnetometer Service
|
// ServiceUUIDMicrobitMagnetometer - micro:bit Magnetometer Service
|
||||||
ServiceUUIDMicrobitMagnetometer = NewUUID([16]byte{0xe9,0x5d,0xf2,0xd8,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitMagnetometer = NewUUID([16]byte{0xe9, 0x5d, 0xf2, 0xd8, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDMicrobitLED - micro:bit LED Service
|
// ServiceUUIDMicrobitLED - micro:bit LED Service
|
||||||
ServiceUUIDMicrobitLED = NewUUID([16]byte{0xe9,0x5d,0xd9,0x1d,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitLED = NewUUID([16]byte{0xe9, 0x5d, 0xd9, 0x1d, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDFileTransferByAdafruit - File Transfer Service by Adafruit
|
// ServiceUUIDFileTransferByAdafruit - File Transfer Service by Adafruit
|
||||||
ServiceUUIDFileTransferByAdafruit = New16BitUUID(0xFEBB)
|
ServiceUUIDFileTransferByAdafruit = New16BitUUID(0xFEBB)
|
||||||
|
@ -151,16 +150,16 @@ var (
|
||||||
ServiceUUIDFastPair = New16BitUUID(0xFE2C)
|
ServiceUUIDFastPair = New16BitUUID(0xFE2C)
|
||||||
|
|
||||||
// ServiceUUIDAdafruitGyroscope - Adafruit Gyroscope Service
|
// ServiceUUIDAdafruitGyroscope - Adafruit Gyroscope Service
|
||||||
ServiceUUIDAdafruitGyroscope = NewUUID([16]byte{0xad,0xaf,0x04,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitGyroscope = NewUUID([16]byte{0xad, 0xaf, 0x04, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitProximity - Adafruit Proximity Service
|
// ServiceUUIDAdafruitProximity - Adafruit Proximity Service
|
||||||
ServiceUUIDAdafruitProximity = NewUUID([16]byte{0xad,0xaf,0x0e,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitProximity = NewUUID([16]byte{0xad, 0xaf, 0x0e, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDTelephoneBearer - Telephone Bearer
|
// ServiceUUIDTelephoneBearer - Telephone Bearer
|
||||||
ServiceUUIDTelephoneBearer = New16BitUUID(0x184B)
|
ServiceUUIDTelephoneBearer = New16BitUUID(0x184B)
|
||||||
|
|
||||||
// ServiceUUIDNordicLEDAndButton - Nordic LED and Button Service
|
// ServiceUUIDNordicLEDAndButton - Nordic LED and Button Service
|
||||||
ServiceUUIDNordicLEDAndButton = NewUUID([16]byte{0x00,0x00,0x15,0x23,0x12,0x12,0xef,0xde,0x15,0x23,0x78,0x5f,0xea,0xbc,0xd1,0x23,})
|
ServiceUUIDNordicLEDAndButton = NewUUID([16]byte{0x00, 0x00, 0x15, 0x23, 0x12, 0x12, 0xef, 0xde, 0x15, 0x23, 0x78, 0x5f, 0xea, 0xbc, 0xd1, 0x23})
|
||||||
|
|
||||||
// ServiceUUIDInternetProtocolSupport - Internet Protocol Support Service
|
// ServiceUUIDInternetProtocolSupport - Internet Protocol Support Service
|
||||||
ServiceUUIDInternetProtocolSupport = New16BitUUID(0x1820)
|
ServiceUUIDInternetProtocolSupport = New16BitUUID(0x1820)
|
||||||
|
@ -169,7 +168,7 @@ var (
|
||||||
ServiceUUIDPublishedAudioCapabilities = New16BitUUID(0x1850)
|
ServiceUUIDPublishedAudioCapabilities = New16BitUUID(0x1850)
|
||||||
|
|
||||||
// ServiceUUIDNordicUART - Nordic UART Service
|
// ServiceUUIDNordicUART - Nordic UART Service
|
||||||
ServiceUUIDNordicUART = NewUUID([16]byte{0x6e,0x40,0x00,0x01,0xb5,0xa3,0xf3,0x93,0xe0,0xa9,0xe5,0x0e,0x24,0xdc,0xca,0x9e,})
|
ServiceUUIDNordicUART = NewUUID([16]byte{0x6e, 0x40, 0x00, 0x01, 0xb5, 0xa3, 0xf3, 0x93, 0xe0, 0xa9, 0xe5, 0x0e, 0x24, 0xdc, 0xca, 0x9e})
|
||||||
|
|
||||||
// ServiceUUIDExposureNotification - Exposure Notification Service
|
// ServiceUUIDExposureNotification - Exposure Notification Service
|
||||||
ServiceUUIDExposureNotification = New16BitUUID(0xFD6F)
|
ServiceUUIDExposureNotification = New16BitUUID(0xFD6F)
|
||||||
|
@ -187,7 +186,7 @@ var (
|
||||||
ServiceUUIDConstantToneExtension = New16BitUUID(0x184A)
|
ServiceUUIDConstantToneExtension = New16BitUUID(0x184A)
|
||||||
|
|
||||||
// ServiceUUIDThingyWeatherStation - Thingy Weather Station Service
|
// ServiceUUIDThingyWeatherStation - Thingy Weather Station Service
|
||||||
ServiceUUIDThingyWeatherStation = NewUUID([16]byte{0xef,0x68,0x02,0x00,0x9b,0x35,0x49,0x33,0x9b,0x10,0x52,0xff,0xa9,0x74,0x00,0x42,})
|
ServiceUUIDThingyWeatherStation = NewUUID([16]byte{0xef, 0x68, 0x02, 0x00, 0x9b, 0x35, 0x49, 0x33, 0x9b, 0x10, 0x52, 0xff, 0xa9, 0x74, 0x00, 0x42})
|
||||||
|
|
||||||
// ServiceUUIDHealthThermometer - Health Thermometer
|
// ServiceUUIDHealthThermometer - Health Thermometer
|
||||||
ServiceUUIDHealthThermometer = New16BitUUID(0x1809)
|
ServiceUUIDHealthThermometer = New16BitUUID(0x1809)
|
||||||
|
@ -202,19 +201,19 @@ var (
|
||||||
ServiceUUIDReconnectionConfiguration = New16BitUUID(0x1829)
|
ServiceUUIDReconnectionConfiguration = New16BitUUID(0x1829)
|
||||||
|
|
||||||
// ServiceUUIDAdafruitQuaternion - Adafruit Quaternion Service
|
// ServiceUUIDAdafruitQuaternion - Adafruit Quaternion Service
|
||||||
ServiceUUIDAdafruitQuaternion = NewUUID([16]byte{0xad,0xaf,0x0d,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitQuaternion = NewUUID([16]byte{0xad, 0xaf, 0x0d, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDMeshProxy - Mesh Proxy Service
|
// ServiceUUIDMeshProxy - Mesh Proxy Service
|
||||||
ServiceUUIDMeshProxy = New16BitUUID(0x1828)
|
ServiceUUIDMeshProxy = New16BitUUID(0x1828)
|
||||||
|
|
||||||
// ServiceUUIDThingyMotion - Thingy Motion Service
|
// ServiceUUIDThingyMotion - Thingy Motion Service
|
||||||
ServiceUUIDThingyMotion = NewUUID([16]byte{0xef,0x68,0x04,0x00,0x9b,0x35,0x49,0x33,0x9b,0x10,0x52,0xff,0xa9,0x74,0x00,0x42,})
|
ServiceUUIDThingyMotion = NewUUID([16]byte{0xef, 0x68, 0x04, 0x00, 0x9b, 0x35, 0x49, 0x33, 0x9b, 0x10, 0x52, 0xff, 0xa9, 0x74, 0x00, 0x42})
|
||||||
|
|
||||||
// ServiceUUIDIndoorPositioning - Indoor Positioning
|
// ServiceUUIDIndoorPositioning - Indoor Positioning
|
||||||
ServiceUUIDIndoorPositioning = New16BitUUID(0x1821)
|
ServiceUUIDIndoorPositioning = New16BitUUID(0x1821)
|
||||||
|
|
||||||
// ServiceUUIDAdafruitAddressable - Adafruit Addressable Service
|
// ServiceUUIDAdafruitAddressable - Adafruit Addressable Service
|
||||||
ServiceUUIDAdafruitAddressable = NewUUID([16]byte{0xad,0xaf,0x09,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitAddressable = NewUUID([16]byte{0xad, 0xaf, 0x09, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDBloodPressure - Blood Pressure
|
// ServiceUUIDBloodPressure - Blood Pressure
|
||||||
ServiceUUIDBloodPressure = New16BitUUID(0x1810)
|
ServiceUUIDBloodPressure = New16BitUUID(0x1810)
|
||||||
|
@ -238,7 +237,7 @@ var (
|
||||||
ServiceUUIDBroadcastAudioAnnouncement = New16BitUUID(0x1852)
|
ServiceUUIDBroadcastAudioAnnouncement = New16BitUUID(0x1852)
|
||||||
|
|
||||||
// ServiceUUIDMicrobitDFUControl - micro:bit DFU Control Service
|
// ServiceUUIDMicrobitDFUControl - micro:bit DFU Control Service
|
||||||
ServiceUUIDMicrobitDFUControl = NewUUID([16]byte{0xe9,0x5d,0x93,0xb0,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitDFUControl = NewUUID([16]byte{0xe9, 0x5d, 0x93, 0xb0, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDBondManagement - Bond Management Service
|
// ServiceUUIDBondManagement - Bond Management Service
|
||||||
ServiceUUIDBondManagement = New16BitUUID(0x181E)
|
ServiceUUIDBondManagement = New16BitUUID(0x181E)
|
||||||
|
@ -247,7 +246,7 @@ var (
|
||||||
ServiceUUIDLinkLoss = New16BitUUID(0x1803)
|
ServiceUUIDLinkLoss = New16BitUUID(0x1803)
|
||||||
|
|
||||||
// ServiceUUIDAdafruitAccelerometer - Adafruit Accelerometer Service
|
// ServiceUUIDAdafruitAccelerometer - Adafruit Accelerometer Service
|
||||||
ServiceUUIDAdafruitAccelerometer = NewUUID([16]byte{0xad,0xaf,0x02,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitAccelerometer = NewUUID([16]byte{0xad, 0xaf, 0x02, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDReferenceTimeUpdate - Reference Time Update Service
|
// ServiceUUIDReferenceTimeUpdate - Reference Time Update Service
|
||||||
ServiceUUIDReferenceTimeUpdate = New16BitUUID(0x1806)
|
ServiceUUIDReferenceTimeUpdate = New16BitUUID(0x1806)
|
||||||
|
@ -256,7 +255,7 @@ var (
|
||||||
ServiceUUIDTxPower = New16BitUUID(0x1804)
|
ServiceUUIDTxPower = New16BitUUID(0x1804)
|
||||||
|
|
||||||
// ServiceUUIDMicrobitTemperature - micro:bit Temperature Service
|
// ServiceUUIDMicrobitTemperature - micro:bit Temperature Service
|
||||||
ServiceUUIDMicrobitTemperature = NewUUID([16]byte{0xe9,0x5d,0x61,0x00,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitTemperature = NewUUID([16]byte{0xe9, 0x5d, 0x61, 0x00, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDCyclingSpeedAndCadence - Cycling Speed and Cadence
|
// ServiceUUIDCyclingSpeedAndCadence - Cycling Speed and Cadence
|
||||||
ServiceUUIDCyclingSpeedAndCadence = New16BitUUID(0x1816)
|
ServiceUUIDCyclingSpeedAndCadence = New16BitUUID(0x1816)
|
||||||
|
@ -268,10 +267,10 @@ var (
|
||||||
ServiceUUIDTMAS = New16BitUUID(0x1855)
|
ServiceUUIDTMAS = New16BitUUID(0x1855)
|
||||||
|
|
||||||
// ServiceUUIDMicrobitButton - micro:bit Button Service
|
// ServiceUUIDMicrobitButton - micro:bit Button Service
|
||||||
ServiceUUIDMicrobitButton = NewUUID([16]byte{0xe9,0x5d,0x98,0x82,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitButton = NewUUID([16]byte{0xe9, 0x5d, 0x98, 0x82, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDMicrobitIOPin - micro:bit IO Pin Service
|
// ServiceUUIDMicrobitIOPin - micro:bit IO Pin Service
|
||||||
ServiceUUIDMicrobitIOPin = NewUUID([16]byte{0xe9,0x5d,0x12,0x7b,0x25,0x1d,0x47,0x0a,0xa0,0x62,0xfa,0x19,0x22,0xdf,0xa9,0xa8,})
|
ServiceUUIDMicrobitIOPin = NewUUID([16]byte{0xe9, 0x5d, 0x12, 0x7b, 0x25, 0x1d, 0x47, 0x0a, 0xa0, 0x62, 0xfa, 0x19, 0x22, 0xdf, 0xa9, 0xa8})
|
||||||
|
|
||||||
// ServiceUUIDAutomationIO - Automation IO
|
// ServiceUUIDAutomationIO - Automation IO
|
||||||
ServiceUUIDAutomationIO = New16BitUUID(0x1815)
|
ServiceUUIDAutomationIO = New16BitUUID(0x1815)
|
||||||
|
@ -280,28 +279,28 @@ var (
|
||||||
ServiceUUIDGlucose = New16BitUUID(0x1808)
|
ServiceUUIDGlucose = New16BitUUID(0x1808)
|
||||||
|
|
||||||
// ServiceUUIDAppleMedia - Apple Media Service
|
// ServiceUUIDAppleMedia - Apple Media Service
|
||||||
ServiceUUIDAppleMedia = NewUUID([16]byte{0x89,0xd3,0x50,0x2b,0x0f,0x36,0x43,0x3a,0x8e,0xf4,0xc5,0x02,0xad,0x55,0xf8,0xdc,})
|
ServiceUUIDAppleMedia = NewUUID([16]byte{0x89, 0xd3, 0x50, 0x2b, 0x0f, 0x36, 0x43, 0x3a, 0x8e, 0xf4, 0xc5, 0x02, 0xad, 0x55, 0xf8, 0xdc})
|
||||||
|
|
||||||
// ServiceUUIDEdgeImpulseRemoteManagement - Edge Impulse Remote Management Service
|
// ServiceUUIDEdgeImpulseRemoteManagement - Edge Impulse Remote Management Service
|
||||||
ServiceUUIDEdgeImpulseRemoteManagement = NewUUID([16]byte{0xe2,0xa0,0x00,0x01,0xec,0x31,0x4e,0xc3,0xa9,0x7a,0x1c,0x34,0xd8,0x7e,0x98,0x78,})
|
ServiceUUIDEdgeImpulseRemoteManagement = NewUUID([16]byte{0xe2, 0xa0, 0x00, 0x01, 0xec, 0x31, 0x4e, 0xc3, 0xa9, 0x7a, 0x1c, 0x34, 0xd8, 0x7e, 0x98, 0x78})
|
||||||
|
|
||||||
// ServiceUUIDHeartRate - Heart Rate
|
// ServiceUUIDHeartRate - Heart Rate
|
||||||
ServiceUUIDHeartRate = New16BitUUID(0x180D)
|
ServiceUUIDHeartRate = New16BitUUID(0x180D)
|
||||||
|
|
||||||
// ServiceUUIDPhilipsHueLightUpdate - Philips Hue Light Update Service
|
// ServiceUUIDPhilipsHueLightUpdate - Philips Hue Light Update Service
|
||||||
ServiceUUIDPhilipsHueLightUpdate = NewUUID([16]byte{0xb8,0x84,0x3a,0xdd,0x00,0x00,0x4a,0xa1,0x87,0x94,0xc3,0xf4,0x62,0x03,0x0b,0xda,})
|
ServiceUUIDPhilipsHueLightUpdate = NewUUID([16]byte{0xb8, 0x84, 0x3a, 0xdd, 0x00, 0x00, 0x4a, 0xa1, 0x87, 0x94, 0xc3, 0xf4, 0x62, 0x03, 0x0b, 0xda})
|
||||||
|
|
||||||
// ServiceUUIDLegacyDFU - Legacy DFU Service
|
// ServiceUUIDLegacyDFU - Legacy DFU Service
|
||||||
ServiceUUIDLegacyDFU = NewUUID([16]byte{0x00,0x00,0x15,0x30,0x12,0x12,0xef,0xde,0x15,0x23,0x78,0x5f,0xea,0xbc,0xd1,0x23,})
|
ServiceUUIDLegacyDFU = NewUUID([16]byte{0x00, 0x00, 0x15, 0x30, 0x12, 0x12, 0xef, 0xde, 0x15, 0x23, 0x78, 0x5f, 0xea, 0xbc, 0xd1, 0x23})
|
||||||
|
|
||||||
// ServiceUUIDLEGOWirelessProtocolV3Hub - LEGO® Wireless Protocol v3 Hub Service
|
// ServiceUUIDLEGOWirelessProtocolV3Hub - LEGO® Wireless Protocol v3 Hub Service
|
||||||
ServiceUUIDLEGOWirelessProtocolV3Hub = NewUUID([16]byte{0x00,0x00,0x16,0x23,0x12,0x12,0xef,0xde,0x16,0x23,0x78,0x5f,0xea,0xbc,0xd1,0x23,})
|
ServiceUUIDLEGOWirelessProtocolV3Hub = NewUUID([16]byte{0x00, 0x00, 0x16, 0x23, 0x12, 0x12, 0xef, 0xde, 0x16, 0x23, 0x78, 0x5f, 0xea, 0xbc, 0xd1, 0x23})
|
||||||
|
|
||||||
// ServiceUUIDTexasInstrumentsOvertheAirDownloadOAD - Texas Instruments Over-the-Air Download (OAD) Service
|
// ServiceUUIDTexasInstrumentsOvertheAirDownloadOAD - Texas Instruments Over-the-Air Download (OAD) Service
|
||||||
ServiceUUIDTexasInstrumentsOvertheAirDownloadOAD = NewUUID([16]byte{0xf0,0x00,0xff,0xc0,0x04,0x51,0x40,0x00,0xb0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,})
|
ServiceUUIDTexasInstrumentsOvertheAirDownloadOAD = NewUUID([16]byte{0xf0, 0x00, 0xff, 0xc0, 0x04, 0x51, 0x40, 0x00, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00})
|
||||||
|
|
||||||
// ServiceUUIDHeliumHotspotCustom - Helium Hotspot Custom Service
|
// ServiceUUIDHeliumHotspotCustom - Helium Hotspot Custom Service
|
||||||
ServiceUUIDHeliumHotspotCustom = NewUUID([16]byte{0x0f,0xda,0x92,0xb2,0x44,0xa2,0x4a,0xf2,0x84,0xf5,0xfa,0x68,0x2b,0xaa,0x2b,0x8d,})
|
ServiceUUIDHeliumHotspotCustom = NewUUID([16]byte{0x0f, 0xda, 0x92, 0xb2, 0x44, 0xa2, 0x4a, 0xf2, 0x84, 0xf5, 0xfa, 0x68, 0x2b, 0xaa, 0x2b, 0x8d})
|
||||||
|
|
||||||
// ServiceUUIDObjectTransfer - Object Transfer Service
|
// ServiceUUIDObjectTransfer - Object Transfer Service
|
||||||
ServiceUUIDObjectTransfer = New16BitUUID(0x1825)
|
ServiceUUIDObjectTransfer = New16BitUUID(0x1825)
|
||||||
|
@ -316,16 +315,16 @@ var (
|
||||||
ServiceUUIDVolumeOffsetControl = New16BitUUID(0x1845)
|
ServiceUUIDVolumeOffsetControl = New16BitUUID(0x1845)
|
||||||
|
|
||||||
// ServiceUUIDThingyConfiguration - Thingy Configuration Service
|
// ServiceUUIDThingyConfiguration - Thingy Configuration Service
|
||||||
ServiceUUIDThingyConfiguration = NewUUID([16]byte{0xef,0x68,0x01,0x00,0x9b,0x35,0x49,0x33,0x9b,0x10,0x52,0xff,0xa9,0x74,0x00,0x42,})
|
ServiceUUIDThingyConfiguration = NewUUID([16]byte{0xef, 0x68, 0x01, 0x00, 0x9b, 0x35, 0x49, 0x33, 0x9b, 0x10, 0x52, 0xff, 0xa9, 0x74, 0x00, 0x42})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitLight - Adafruit Light Service
|
// ServiceUUIDAdafruitLight - Adafruit Light Service
|
||||||
ServiceUUIDAdafruitLight = NewUUID([16]byte{0xad,0xaf,0x03,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitLight = NewUUID([16]byte{0xad, 0xaf, 0x03, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitBarometric - Adafruit Barometric Service
|
// ServiceUUIDAdafruitBarometric - Adafruit Barometric Service
|
||||||
ServiceUUIDAdafruitBarometric = NewUUID([16]byte{0xad,0xaf,0x08,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitBarometric = NewUUID([16]byte{0xad, 0xaf, 0x08, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDAdafruitTone - Adafruit Tone Service
|
// ServiceUUIDAdafruitTone - Adafruit Tone Service
|
||||||
ServiceUUIDAdafruitTone = NewUUID([16]byte{0xad,0xaf,0x0c,0x00,0xc3,0x32,0x42,0xa8,0x93,0xbd,0x25,0xe9,0x05,0x75,0x6c,0xb8,})
|
ServiceUUIDAdafruitTone = NewUUID([16]byte{0xad, 0xaf, 0x0c, 0x00, 0xc3, 0x32, 0x42, 0xa8, 0x93, 0xbd, 0x25, 0xe9, 0x05, 0x75, 0x6c, 0xb8})
|
||||||
|
|
||||||
// ServiceUUIDBattery - Battery Service
|
// ServiceUUIDBattery - Battery Service
|
||||||
ServiceUUIDBattery = New16BitUUID(0x180F)
|
ServiceUUIDBattery = New16BitUUID(0x180F)
|
||||||
|
@ -337,7 +336,7 @@ var (
|
||||||
ServiceUUIDAudioInputControl = New16BitUUID(0x1843)
|
ServiceUUIDAudioInputControl = New16BitUUID(0x1843)
|
||||||
|
|
||||||
// ServiceUUIDAppleNotificationCenter - Apple Notification Center Service
|
// ServiceUUIDAppleNotificationCenter - Apple Notification Center Service
|
||||||
ServiceUUIDAppleNotificationCenter = NewUUID([16]byte{0x79,0x05,0xf4,0x31,0xb5,0xce,0x4e,0x99,0xa4,0x0f,0x4b,0x1e,0x12,0x2d,0x00,0xd0,})
|
ServiceUUIDAppleNotificationCenter = NewUUID([16]byte{0x79, 0x05, 0xf4, 0x31, 0xb5, 0xce, 0x4e, 0x99, 0xa4, 0x0f, 0x4b, 0x1e, 0x12, 0x2d, 0x00, 0xd0})
|
||||||
|
|
||||||
// ServiceUUIDGenericAccess - Generic Access
|
// ServiceUUIDGenericAccess - Generic Access
|
||||||
ServiceUUIDGenericAccess = New16BitUUID(0x1800)
|
ServiceUUIDGenericAccess = New16BitUUID(0x1800)
|
||||||
|
@ -350,5 +349,4 @@ var (
|
||||||
|
|
||||||
// ServiceUUIDHTTPProxy - HTTP Proxy
|
// ServiceUUIDHTTPProxy - HTTP Proxy
|
||||||
ServiceUUIDHTTPProxy = New16BitUUID(0x1823)
|
ServiceUUIDHTTPProxy = New16BitUUID(0x1823)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue