|
def | __init__ (self, bustype="socketcan", channel=DEFAULT_CHANNEL, bitrate=CAN_BITRATE, receive_own_messages=False) |
|
def | send (self, message, sender_id=0) |
|
def | send_data (self, message, sender_id=0) |
|
Class that acts as a distributor for the Datagram class on a CAN bus
◆ _chunkify()
def _chunkify |
( |
|
data, |
|
|
|
size |
|
) |
| |
|
staticprivate |
This chunks up the datagram bytearray for easy iteration
◆ send()
def send |
( |
|
self, |
|
|
|
message, |
|
|
|
sender_id = 0 |
|
) |
| |
◆ send_data()
def send_data |
( |
|
self, |
|
|
|
message, |
|
|
|
sender_id = 0 |
|
) |
| |
The documentation for this class was generated from the following file:
- projects/bootloader/scripts/can_datagram.py