Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExposePropertiesInterface = map[string]bool{ "org.bluez.AgentManager1": false, "org.bluez.Agent1": false, "org.bluez.ProfileManager1": false, "org.bluez.Profile1": false, }
View Source
var PropertyTypes = map[string]map[string]string{
"org.bluez.Device1": {
"ServiceData": "map[string]interface{}",
"ManufacturerData": "map[uint16]interface{}",
},
"org.bluez.GattCharacteristic1": {
"Value": "[]byte `dbus:\"emit\"`",
"Descriptors": "[]dbus.ObjectPath",
"WriteAcquired": "bool `dbus:\"ignore\"`",
"NotifyAcquired": "bool `dbus:\"ignore\"`",
},
"org.bluez.GattDescriptor1": {
"Value": "[]byte `dbus:\"emit\"`",
"Characteristic": "dbus.ObjectPath",
},
"org.bluez.GattService1": {
"Characteristics": "[]dbus.ObjectPath `dbus:\"emit\"`",
"Includes": "[]dbus.ObjectPath `dbus:\"omitEmpty\"`",
"Device": "dbus.ObjectPath `dbus:\"ignore=IsService\"`",
"IsService": "bool `dbus:\"ignore\"`",
},
"org.bluez.LEAdvertisement1": {
"Data": "map[byte]interface{}",
"ManufacturerData": "map[uint16]interface{}",
"ServiceData": "map[string]interface{}",
"SecondaryChannel": "string `dbus:\"omitEmpty\"`",
},
"org.bluez.AdvertisementMonitor1": {
"Patterns": "[]Pattern",
},
"org.bluez.MediaPlayer1": {
"Track": "Track",
},
}
Functions ¶
func ExposeProperties ¶
ExposeProperties expose Properties interface to the struct
Types ¶
type ConstructorOverride ¶
type ConstructorOverride struct {
AdapterAsArgument bool
}
func GetConstructorsOverrides ¶
func GetConstructorsOverrides(iface string) ([]ConstructorOverride, bool)
Click to show internal directories.
Click to hide internal directories.