Corella
The Corella Low Power Wide Area Network (LPWAN) module allows developers to connect a range of IoT devices to the Taggle network.
The Taggle network is an LPWAN solution based on world leading Australian developed technology operating in the 916-928MHz Low Interference Potential Device (LIPD) class licence band, which has been developed by Taggle Systems to provide one of the lowest cost, lowest power, longest range, and highest capacity LPWAN solutions available. The Taggle network is based on one-way transmissions from endpoint nodes to the Taggle receiver network, and is particularly well suited to battery powered endpoint applications with low data rate requirements, such as automatic meter reading, wireless sensors for smart agriculture and environmental monitoring, and cost sensitive smart city applications.
Corella is based on the popular XBee module format, and provides a single serial port with a simple “AT” command style interface to allow rapid integration of the module into both lab prototypes and volume production IoT devices. The module has a single radio transmit output via an SMA connector, and can be supplied with a 2dBi - wave dipole antenna to enable rapid connection to the Taggle network.
All receive functions are handled seamlessly by the Taggle network, with the user’s receive data presented via a custom web portal. A range of data plans are available depending on the number of endpoints connected to the Taggle network and the frequency of messages per endpoint.
Requirements
corella_lib requires Python >= 3.5.
Installation
To install corella_lib, simply use pip:
$ pip install corella_lib
Usage
# Import Corella
from corella_lib.serial import Corella
# Initialize Corella
corella = Corella('<device-port-goes-here>')
# Send a message through Taggle network with packet ID
corella.send(<packet-id-goes-here>, '<12-bytes-data-goes-here>')
Examples
# Initialize Corella
>>> corella = Corella('/dev/ttyAMA0')
# Send a message through Taggle network with packet ID 2
>>> corella.send(2, 'temp:23C')
True
# Check if the device is connected
>>> corella.connected
True
# Get device ID
>>> corella.id
'130065'
# Get device version information
>>> corella.version
{'F.W': '1.1.01', 'H.W': 'REV_A'}
# Get device firmware version
>>> corella.firmware_version
'1.0.31'
# Get device hardware version
>>> corella.hardware_version
'REV_A'
# Get device diagnostics information
>>> corella.diagnostics
{'CURR_TEMP': '32', 'BATT': '3.21V', 'MAX_TEMP': '58', 'MIN_TEMP': '31'}
# Get device supply voltage
>>> corella.battery
3.21
# Get device current temperature in degrees Celsius
>>> corella.curr_temp
58.0
# Get device max temperature in degrees Celsius
>>> corella.max_temp
58.0
# Get device min temperature in degrees Celsius
>>> corella.min_temp
31.0
# Turn off device LEDs
>>> corella.turn_off_leds()
True
# Turn on device LEDs
>>> corella.turn_on_leds()
True
Documentation
Documentation is available at http://corella.taggle.com.au.
Metadata
Release files for corella-lib 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| corella_lib-0.2.1.tar.gz | 9.8 kB | Without provenance | Details for corella_lib-0.2.1.tar.gz |
Release files / corella_lib-0.2.1.tar.gz
| Download URL | corella_lib-0.2.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cc4292ff19275e7284c597e0679b0250272b38a1161403392f2312f73098f8a
|
|
BLAKE2b-256 checksum How to use checksums |
29b37c26c231807f443e7351e46ddfc49bad5eba976e3d93b9877032ebcc2937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.1
|
Security for corella-lib 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.