Documentation ¶
Index ¶
- Constants
- Variables
- type Address
- type AnyConn
- type IsotpConnection
- func (ic *IsotpConnection) Empty_rxqueue()
- func (ic *IsotpConnection) Empty_txqueue()
- func (ic *IsotpConnection) Open()
- func (ic *IsotpConnection) Send(payload []byte)
- func (ic *IsotpConnection) Send_and_grant_flow_request(payload []byte, length int) []byte
- func (ic *IsotpConnection) Send_and_no_wait_for_reply(payload []byte) []byte
- func (ic *IsotpConnection) Send_and_wait_for_reply(payload []byte) []byte
- func (ic *IsotpConnection) Wait_frame() []byte
- type Message
- type PDU
- type Timer
- type Transport
Constants ¶
View Source
const CONSECUTIVE = "CONSECUTIVE"
View Source
const CONTINUE = "CONTINUE"
View Source
const Extended_11bits = 3
View Source
const Extended_29bits = 4
View Source
const FIRST = "FIRST"
View Source
const FLOW = "FLOW"
View Source
const Functional = 1
View Source
const IDLE = "IDLE"
View Source
const Mixed_11bits = 5
View Source
const Mixed_29bits = 6
View Source
const NormalFixed_29bits = 2
View Source
const Normal_11bits = 0
View Source
const Normal_29bits = 1
View Source
const OVERFLOW = "OVERFLOW"
View Source
const Physical = 0
View Source
const SINGLE = "SINGLE"
View Source
const TRANSMIT = "TRANSMIT"
View Source
const WAIT = "WAIT"
Variables ¶
View Source
var RXID int64
View Source
var TXID int64
Functions ¶
This section is empty.
Types ¶
type IsotpConnection ¶
type IsotpConnection struct { Stack *Transport // contains filtered or unexported fields }
func NewIsotpConnection ¶
func NewIsotpConnection(rx, tx int64, rxfn func() (Message, bool), txfn func(msg Message)) *IsotpConnection
func (*IsotpConnection) Empty_rxqueue ¶
func (ic *IsotpConnection) Empty_rxqueue()
func (*IsotpConnection) Empty_txqueue ¶
func (ic *IsotpConnection) Empty_txqueue()
func (*IsotpConnection) Open ¶ added in v0.0.27
func (ic *IsotpConnection) Open()
func (*IsotpConnection) Send ¶
func (ic *IsotpConnection) Send(payload []byte)
func (*IsotpConnection) Send_and_grant_flow_request ¶ added in v0.0.29
func (ic *IsotpConnection) Send_and_grant_flow_request(payload []byte, length int) []byte
func (*IsotpConnection) Send_and_no_wait_for_reply ¶ added in v0.0.31
func (ic *IsotpConnection) Send_and_no_wait_for_reply(payload []byte) []byte
func (*IsotpConnection) Send_and_wait_for_reply ¶ added in v0.0.29
func (ic *IsotpConnection) Send_and_wait_for_reply(payload []byte) []byte
func (*IsotpConnection) Wait_frame ¶
func (ic *IsotpConnection) Wait_frame() []byte
type Message ¶
func NewMessage ¶
type Transport ¶
func NewTransport ¶
Click to show internal directories.
Click to hide internal directories.