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.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

python_can_bluetooth-0.1.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file python-can-bluetooth-0.1.2.tar.gz.

File metadata

  • Download URL: python-can-bluetooth-0.1.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for python-can-bluetooth-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d86c70408f0c45bf4dbe02b4497abd138703d9005f615474a5889cc846578e5e
MD5 00eb27a0a3beb132419fc2f1b2872ed0
BLAKE2b-256 86205c645356c11f824710b005a6cc6987758c4429f1a922b498e5bc6712f2a6

See more details on using hashes here.

File details

Details for the file python_can_bluetooth-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_can_bluetooth-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84a76db342dd4c4fb0e3c40b23c5510ba1230157c54d184131d384e4e5afe741
MD5 d21b1dcafe97b342abe0da02e7f78dc8
BLAKE2b-256 ecb43a8be176a7acffc57cf324a7764ba6b386a9163a4b654ab079e2e83215ab

See more details on using hashes here.

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