Skip to content

Initial Code #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 100 commits into from
Apr 19, 2020
Merged

Initial Code #1

merged 100 commits into from
Apr 19, 2020

Conversation

brentru
Copy link
Member

@brentru brentru commented Apr 17, 2020

Adafruit CircuitPython FONA library.

Notes:
This library is currently designed to implement a subset of the SIM800 module commands. It does not implement SMS, phone (calling) or audio commands at this time.

The code in this pull request is not tested with Adafruit CircuitPython IoT libraries such as MiniMQTT and Requests.

Tested against Adafruit FONA 808 Breakout, TING SIM card and network.
Adafruit CircuitPython 5.0.0 on 2020-03-02; Adafruit Metro M4 Express with samd51j19

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Adafruit FONA WebClient Test
trying GNS...
Waiting for GPS fix, retrying...
Not registered to a network, waiting...
Local IP:  SNIP!
Connecting to:  wifitest.adafruit.com
Connected to: "104.236.193.178"
bytes_avail:  315
HTTP/1.1 200 OK
Server: nginx/1.10.3 (Ubuntu)
Date: Fri, 17 Apr 2020 22:31:51 GMT
Content-Type: text/html
Content-Length: 70
Last-Modified: Thu, 16 May 2019 18:21:16 GMT
Connection: keep-alive
ETag: "5cddaa1c-46"
Accept-Ranges: bytes

This is a test of Adafruit WiFi!
If you can read this, its working :)

Socket connected:  False

@brentru brentru requested a review from a team April 17, 2020 22:40
Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

example is missing '\r' in the HTTP commands but its just a holding example for now so approving while you get requests going (which will fix the issue)

@ladyada ladyada merged commit 3c6a53f into adafruit:master Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants