Skip to main content

A python-can interface driver for CAN transmitted over a Bluetooth SPP connection

Project description

Latest Version on PyPi Supported Python implementations ci coverage Downloads on PePy

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-can-bluetooth-0.1.3.tar.gz (13.2 kB view hashes)

Uploaded Source

Built Distribution

python_can_bluetooth-0.1.3-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page