Documentation ¶
Index ¶
Constants ¶
View Source
const ( RegisterHandoverAgent = "org.neard.AgentManager.RegisterHandoverAgent" UnregisterHandoverAgent = "org.neard.AgentManager.UnregisterHandoverAgent" RegisterNDEFAgent = "org.neard.AgentManager.RegisterNDEFAgent" UnregisterNDEFAgent = "org.neard.AgentManager.UnregisterNDEFAgent" )
View Source
const ( UnknownMessage = iota Activate Adapter State Error WlanHandover ConfigData StartApplication )
View Source
const ( TLV_INVALID = int(0) TLV_AUTH_TYPE = 0x1003 TLV_CREDENTIAL = 0x100e TLV_ENC_TYPE = 0x100f TLV_PASS_ID = 0x1012 TLV_MAC_ADDR = 0x1020 TLV_NETWORK_IDX = 0x1026 TLV_KEY = 0x1027 TLV_SSID = 0x1045 TLV_VENDOR_EXTENSION = 0x1049 TLV_VERSION = 0x104a TLV_X509_CERT = 0x104c )
View Source
const (
NeardOriginated = "Neard"
)
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize() bool
Types ¶
type AdapterEvent ¶
type Credentials ¶
type Credentials struct { Network int SSID string AuthType string Key string EncType string X509Cert string }
func WSCParser ¶
func WSCParser(data []byte) (*Credentials, bool)
type Message ¶
type Message struct { Id int // contains filtered or unexported fields }
func (*Message) AdapterEvent ¶
func (me *Message) AdapterEvent() (ev AdapterEvent)
func (*Message) Credentials ¶
func (me *Message) Credentials() (cred Credentials)
type ObjectInterface ¶
type ObjectInterface interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.