Releases: chandrawi/LoRaRF-Python
Add support for SX127x
Asynchronous Transmit and Receive
Modify transmit and receive process sequence to work asynchronously. IRQ
pin connection no longer required to work asynchronously in this version. On the other hand, we should use wait()
method before continuing transmit or receive to ensure previous transmit or receive finished.
onTransmit()
and onReceive()
callback method added to SX126x class. You can immediately call a routine function when a transmit or receive operation done. To using those method, IRQ
pin connection required. Example to use callback method added in this version.
Typehinting for all methods added. Default input type for write()
method and return type for read()
method change to tuple.
SX126x method changes:
setSPI()
-> Add changing SPI frequencyendPacket()
-> Add interrupt flag argumentrequest()
-> Add interrupt flag argumentlisten()
-> Add interrupt flag argumentwait()
-> Return false if wait timeout reached and true if otherwisesetLoRaModulation()
-> input bandwidth change to bandwidth value in Hz and input code rate change to code rate denominationsetLoRaPacket()
-> input CRC type and invert IQ change to booleansetLoRaPayloadLength()
-> deprecated and replaced withsetPayloadLength()
methodsetLoRaSyncWord()
-> deprecated and replaced withsetSyncWord()
methodflush()
-> deprecated and replaced withpurge()
method
Methods added in SX126x
class:
setSpreadingFactor()
setBandwidth()
setCodeRate()
setLdroEnable()
setHeaderType()
setPreambleLength()
setCrcEnable()
setInvertIq()
User defined timeout for wait method
Modify wait method to use user defined timeout. wait method used to limit time for TX and RX operation.
Fix interrupt detection in RX and TX operation.
New LoRa PayloadLength setting
Add setLoRaPayloadLength() method
New receive and transmit feature
New put(), get(), and listen() method in SX126x.py
LoRaRF python library first release
1.0.0 Python LoRaRF library first commit