Skip to main content

Library for UHF RFID Soc Reader Chip M100 and QM100

Project description

MagicRF is a library for M100 and QM100 modules.

Installation

  • Compile and install the library:

    pip3 install magicrf
  • After installation you can run unit tests to make sure that the library works fine. Execute:

    python -m magicrf.case1

Usage

In Python 3::

from magicrf import m100

reader = m100(‘COM14’)

def receive_callback(data):
for item in data[:-1].split(‘;’):

epc, rssi = item.split(‘,’) print(‘{0} RSSI: -{1} dBm’.format(epc, int(rssi, 16)))

reader.rxcallback( receive_callback ) reader.start()

# reader.power(22) # reader.param(q=4) reader.query(100)

Example

from magicrf import m100

# Get PA Power m100.power() # Set PA Power m100.power(22.0)

V1.0.1 (2018-11-26)

  • Release ver1.0.1

V1.0 (2018-08-15)

  • Initialization

V1.1 (2018-10-24)

  • New querypower etc. functions.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

magicrf-1.2-cp39-cp39-win_amd64.whl (36.8 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

magicrf-1.2-cp38-cp38-win_amd64.whl (36.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

magicrf-1.2-cp38-cp38-win32.whl (34.0 kB view hashes)

Uploaded CPython 3.8 Windows x86

magicrf-1.2-cp37-cp37m-win_amd64.whl (36.8 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

magicrf-1.2-cp37-cp37m-win32.whl (34.0 kB view hashes)

Uploaded CPython 3.7m Windows x86

magicrf-1.2-cp36-cp36m-win_amd64.whl (41.2 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

magicrf-1.2-cp36-cp36m-win32.whl (38.8 kB view hashes)

Uploaded CPython 3.6m Windows x86

magicrf-1.2-cp35-cp35m-win_amd64.whl (35.4 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

magicrf-1.2-cp35-cp35m-win32.whl (32.0 kB view hashes)

Uploaded CPython 3.5m Windows x86

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