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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_can_bluetooth-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python-can-bluetooth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 300fa19b712c695d72fe0ec7fd96c1c6877ced8535baf85ef6ae0c9fe771411f
MD5 0ae583b7a512f8988b7db9587fd5b1f6
BLAKE2b-256 4c24aad1e3c0dd18988a432401bed5bd33eb66df8ca388b57a26db2ae04fd31a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_can_bluetooth-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5c99aea6d5950dcd02bba30bc508aff568aa714d3130e1078ccb9bc4ce2858
MD5 a0a8a28e719ce3a329d32ef89a68febc
BLAKE2b-256 9f52a6b0ee3639382b8bbd9d8fc074f8143b49dc1f88f370d72be9d61e1e5a4e

See more details on using hashes here.

Supported by

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