Last updated:
0 purchases
pythoncanbluetooth 0.1.3
This module is a plugin for the python-can. module, that allows the use of CAN messages transmitted over a Bluetooth SPP connection. It is similar to the CAN over serial protocol included in the python-can. package, but includes additional error checking to ensure messages are not corrupted during transmission.
Installation
Install using pip:
$ pip install python-can-bluetooth
Usage
In general, useage is largely the same as with the main python-can library, using the interface designation of “bluetooth”.
Create python-can bus with the Bluetooth interface:
import can
bus = can.Bus(interface="bluetooth", channel="COM4", bitrate=250000, echo=False)
Some examples are present in the python-can-bluetooth/examples directory in the repository.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.