Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KBUS ¶
type KBUS struct {
Path string
Baud int
ReadChannel chan Packet
WriteChannel chan Packet
ErrorChannel chan error
Port *serial.Port
}
KBUS is the main interface to communicate with the BMW I/K-Bus
func (*KBUS) ReadPacket ¶
ReadPacket will block until the next Packet is recieved or times out because of an empty bus
type Packet ¶
type Packet struct {
Source byte
Destination byte
Data []byte
// contains filtered or unexported fields
}
Packet is a group of bytes read from the bus
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gokbus
command
|
|
|
pkg
|
|
|
prepackets
Package prepackets are a collection of KBus packets prepared for a 2005 BMW Vert, they may or may not work for your model car
|
Package prepackets are a collection of KBus packets prepared for a 2005 BMW Vert, they may or may not work for your model car |