Releases: adafruit/Adafruit_CircuitPython_FONA
2.1.4 - Updated pylint version, linted
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
2.1.3 - Moved pylint from build.yml to .pre-commit-config.yml
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
2.1.2 - Moved to pre-commit, added licensing info
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
2.1.1 - Fix CPython ImportError
This release:
- #10 Fixes
no module named 'Adafruit_fona'
ImportError when installing this library with the Python package manager..
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
2.1.0 - Updated Documentation
This release:
- #7 Updates documentation.
- Calls to
num_sms
now return0
if no messages are stored in memory, previously returnedNone
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
2.0.1 - Fixed discord invite link
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
BREAKING RELEASE: FONA3G, SMS, Reliability
This breaking release adds:
- Updated SMS receive mechanism
- Added Ring Indicator (RI) pin to fona initialization.
- Move to polling
receive_sms
mechanism instead of only polling the serial UART.receive_sms
allows for optionally checking UART or RI for incoming SMS messages.
- Examples (
sms
&sms_response
) updated
- BREAKING: Removed public access to uart serial functions (readline, uart write) from user-code
- Added compatibility for FONA3G Modules:
- New
fona_3g.py
child class, contains methods compatible with the SIMCom SIM5320 module's AT command set. adafruit_fona_socket
queries and uses the SIM5320's tcp transmit timeout, socket writes now use user-set timeouts- Examples updated and tested with FONA808 and FONA3G
- New
- Breaking
adafruit_fona_network
class added for connecting and interacting with GSM and CDMA cellular networks.- Note: This replaces the
GSM
class.
- Note: This replaces the
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
FONA SMS Notifications
This release adds:
fona_sms_response.py
: Example which waits for a SMS message from the FONA, reads it out and replies back to the sender. Similar to FONA_SMS_Response.ino in the arduino fona library.fona.enable_sms_notification
: Getter/setter properties for FONA sms notification commandfona.in_waiting
: Returns number of bytes available to be read from the uart (https://circuitpython.readthedocs.io/en/latest/shared-bindings/busio/UART.html#busio.UART.in_waiting)- NOTE: The
_read_line()
method has been changed toread_line()
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
FONA SMS
This release adds:
- #4 SMS Functionality - Send and read SMS messages from CircuitPython!
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.
Initial Release!
This release adds:
Compatibility
- with
CircuitPython_MiniMQTT
,CircuitPython_Requests
Methods
reset
: performs a hardware reset on the modemfactory_reset
: factory reset modemicccid
: rets. sim card's iccid numberunpretty_ip
Modules
adafruit_fona_gsm
: Class for interfacing with 2G GSM modems (FONA808+GPS),- Simpler user-code for attaching to, bringing up, and disconnecting GSM modem.
- Network connection and error handling is now handled from user-code instead of within the module (polling similar to ESP32SPI's
wifimanager
)
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-fona
.
Read the docs for info on how to use it.