uds

package
v0.0.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataFormatId added in v0.0.31

func DataFormatId() byte

Types

type Client

type Client struct {
	Data_identifiers map[int]int
	Release          func() int
	// contains filtered or unexported fields
}

func NewClient

func NewClient(connection isotp.AnyConn, timeout float32, rf func() int) *Client

func (*Client) Change_session added in v0.0.29

func (c *Client) Change_session(session int) string

func (*Client) Read_data_by_id added in v0.0.29

func (c *Client) Read_data_by_id(data []int) *Response

func (*Client) Request_download added in v0.0.29

func (c *Client) Request_download(ml MemoryLocation) int

func (*Client) Request_transfer_exit added in v0.0.29

func (c *Client) Request_transfer_exit(crc int) string

func (*Client) Simple_read_data_by_id added in v0.0.29

func (c *Client) Simple_read_data_by_id(did, length int, flavor string) string

func (*Client) Transfer_data added in v0.0.29

func (c *Client) Transfer_data(i int, data []byte) string

func (*Client) Unlock_security_access added in v0.0.31

func (c *Client) Unlock_security_access(level int, algo func(seed []byte, params int) []byte) string

type MemoryLocation added in v0.0.29

type MemoryLocation struct {
	// contains filtered or unexported fields
}

func NewMemoryLocation added in v0.0.29

func NewMemoryLocation(address, length, address_format, memorysize_format int) *MemoryLocation

func (*MemoryLocation) AlfidByte added in v0.0.29

func (m *MemoryLocation) AlfidByte() byte

func (*MemoryLocation) GetAddressBytes added in v0.0.31

func (m *MemoryLocation) GetAddressBytes() []byte

func (*MemoryLocation) GetMemorySizeBytes added in v0.0.31

func (m *MemoryLocation) GetMemorySizeBytes() []byte

type QueueConnection

type QueueConnection struct {
	// contains filtered or unexported fields
}

func NewQueueConnection

func NewQueueConnection(name string, mtu int) *QueueConnection

func (*QueueConnection) Empty_rxqueue added in v0.0.20

func (q *QueueConnection) Empty_rxqueue()

func (*QueueConnection) Empty_txqueue added in v0.0.20

func (q *QueueConnection) Empty_txqueue()

func (*QueueConnection) Send added in v0.0.20

func (q *QueueConnection) Send(payload []byte)

func (*QueueConnection) Send_and_grant_flow_request added in v0.0.29

func (q *QueueConnection) Send_and_grant_flow_request(payload []byte, length int) []byte

func (*QueueConnection) Send_and_no_wait_for_reply added in v0.0.31

func (q *QueueConnection) Send_and_no_wait_for_reply(payload []byte) []byte

func (*QueueConnection) Send_and_wait_for_reply added in v0.0.29

func (q *QueueConnection) Send_and_wait_for_reply(payload []byte) []byte

func (*QueueConnection) Wait_frame added in v0.0.20

func (q *QueueConnection) Wait_frame() []byte

type Request

type Request struct {
	// contains filtered or unexported fields
}

func NewRequest

func NewRequest(sid byte, service string) *Request

type Response

type Response struct {
	Service      string
	Data         []byte
	Service_data map[string]interface{}
}

func NewResponse

func NewResponse(service string) *Response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL