Documentation ¶
Overview ¶
Package hermes provides D-Bus wrappers and utilities for Hermes. https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/hermes/README.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProperty ¶
func CheckProperty(ctx context.Context, o *dbusutil.DBusObject, prop string, expected interface{}) error
CheckProperty reads a DBus property on a DBusObject. Returns an error if the value does not match the expected value
Types ¶
type EUICC ¶
type EUICC struct {
*dbusutil.DBusObject
}
EUICC wraps a Hermes.EUICC DBus object.
func GetEUICC ¶
GetEUICC will return a EUICC dbus object and its slot number. If findTestEuicc is set, a test eUICC will be returned, else a prod eUICC will be returned.
func (*EUICC) EnabledProfile ¶
EnabledProfile reads the eSIM, and returns the enabled Profile of the eSIM if found.
type Manager ¶
type Manager struct {
*dbusutil.DBusObject
}
Manager wraps a Hermes.Manager DBus object.
type Profile ¶
type Profile struct {
*dbusutil.DBusObject
}
Profile wraps a Hermes.Profile DBus object.
func NewProfile ¶
NewProfile returns a Profile corresponding to a DBus object at profilePath