Documentation ¶
Overview ¶
Package ble implements the Connector interface using BLE.
Index ¶
- type Connection
- func (c *Connection) Close()
- func (c *Connection) PreferredAuthMethod() connector.AuthMethod
- func (c *Connection) Receive() <-chan []byte
- func (c *Connection) Recieve() <-chan []byte
- func (c *Connection) RetryInterval() time.Duration
- func (c *Connection) Send(ctx context.Context, buffer []byte) error
- func (c *Connection) VIN() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(ctx context.Context, vin string) (*Connection, error)
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) PreferredAuthMethod ¶
func (c *Connection) PreferredAuthMethod() connector.AuthMethod
func (*Connection) Receive ¶
func (c *Connection) Receive() <-chan []byte
func (*Connection) Recieve ¶
func (c *Connection) Recieve() <-chan []byte
func (*Connection) RetryInterval ¶
func (c *Connection) RetryInterval() time.Duration
func (*Connection) VIN ¶
func (c *Connection) VIN() string
Click to show internal directories.
Click to hide internal directories.