Documentation
¶
Overview ¶
Package provisionclient implements the host side of physical USB provisioning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfiguration = errors.New("provision client: invalid configuration")
View Source
var ErrResponseSync = errors.New("provision client: correlated response missing within stream budget")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewCorrelated ¶
func NewCorrelated(stream io.ReadWriter) (*Client, error)
NewCorrelated creates an ESP32 v3 client. The transport must bound each Read; the serial CLI uses 500ms polls. There is no legacy fallback or mutation retry.
type RemoteError ¶
RemoteError reports an acknowledged operation failure. Inspect the returned response State before deciding what to do; a failed write may have committed.
func (*RemoteError) Error ¶
func (e *RemoteError) Error() string
Click to show internal directories.
Click to hide internal directories.