Documentation ¶
Index ¶
- func Cleanup() error
- func Connect(id string) (ble.Client, error)
- func Disconnect(client ble.Client) error
- func GetCharacteristic(uuid string, property ble.Property, handle, vhandle uint16) (*ble.Characteristic, error)
- func GetDescriptor(uuid string, handle uint16) (*ble.Descriptor, error)
- func GetName(id string) (string, error)
- func Initialise() error
- func Online(id string) (bool, error)
- func ReadCharacteristic(client ble.Client, characteristic *ble.Characteristic) ([]byte, error)
- func Scan(id string) (map[string]struct{}, error)
- func WriteCharacteristic(client ble.Client, characteristic *ble.Characteristic, value []byte, ...) error
- func WriteDescriptor(client ble.Client, descriptor *ble.Descriptor, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶ added in v0.1.7
func GetCharacteristic ¶ added in v0.1.7
func GetDescriptor ¶ added in v0.1.7
func GetDescriptor(uuid string, handle uint16) (*ble.Descriptor, error)
func Initialise ¶ added in v1.4.1
func Initialise() error
func ReadCharacteristic ¶ added in v1.2.1
func WriteCharacteristic ¶ added in v1.2.1
func WriteDescriptor ¶ added in v1.2.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.