Skip to main content

Python Library for Lazurite

Project description

#Lazurite Python Library "PyLaz"
Lazurite is IoT reference design with 920MHz SubGHz RF. It consists of low power micro controller board and Raspberry Pi based gateway.

[Lazurite](http://www.lapis-semi.com/lazurite-jp) development team supports Python Library for our RF on Raspberry Pi.

# Getting Started
1. install library
easy install:
```
sudo pip install PyLaz
sudo pip3 install PyLaz
```
manual install:
```
git clone git://github.com/LAPIS-Lazurite/PyLaz
cd PyLaz
python setup.py install
```
2. download sample program
Please git this repository.
(ex) git clone git://github.com/LAPIS-Lazurite/PyLaz
3. execute sample program
sample programs are stored in samples folder.
rxsample.py : simple version on command line program for receiving.
txsample.py : simple version on command line program for transferring.
gateway.py : GUI for setting RF parameters and log is displayed on GUI's text feild.

# Description
rxsample.py and txsample.py work on Python 2 and 3
gateway.py works on only Python3.


# Requirement
LazDriver must be worked on Raspberry Pi.

# API
## init()
## begin(ch,panid,rate,pwr)
## send(panid,rxaddr,payload)
## close()
## read()
## rxEnable()
## rxDisable()
## available()
## get_my_address()
## get_addr_type(type)
## set_addr_type(type)
## set_tx_retry(type)
## get_tx_retry(type)

## get_rx_time()
## get_rx_rssi()

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

PyLaz-0.0.10.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file PyLaz-0.0.10.tar.gz.

File metadata

  • Download URL: PyLaz-0.0.10.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyLaz-0.0.10.tar.gz
Algorithm Hash digest
SHA256 5b496b3f96ed341d2c20b977aa98c08431e779b4c37784f1506fd196f33e04fc
MD5 50dd361034431965e4ad24b09a9b87f6
BLAKE2b-256 b78b2825b5c2c4ebe49d7c77b8615e3ee99ed568922c5f27d9a4b570b3e766f5

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