Skip to content
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

Support Digi API Frames #585

Closed
wants to merge 230 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
23742b4
disable memory optimizations on ATmega4809
fishingbit Nov 6, 2020
f6d6362
Merge pull request #459 from fishingbit/master
SRGDamia1 Nov 9, 2020
ba778ad
use CEREG first for BG96
j3tm0t0 Dec 3, 2020
31bb5cb
Merge pull request #467 from soracom-labs/master
SRGDamia1 Dec 3, 2020
a51cfda
Added pin parameter on restart() (necessary for init() with pin)
Jan 29, 2021
54c25cc
First SIM808 support commit. Added template base class and some basic…
adrianca88 Jan 31, 2021
8832002
Merge pull request #487 from adrianca88/restart_with_pin_param
SRGDamia1 Feb 3, 2021
b0e363c
Merge pull request #488 from adrianca88/SIM808_bt_support
SRGDamia1 Feb 8, 2021
7f2900b
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 Mar 2, 2021
eb9c1f7
src/TinyGsmClientSequansMonarch.h: fix connection handling
ffontaine Mar 5, 2021
98d67a4
Merge pull request #502 from Orange-OpenSource/fix-sequans-monarch
SRGDamia1 Mar 5, 2021
1291a44
src/TinyGsmModem.tpp: fix registration state
ffontaine Mar 5, 2021
f202939
SIM7000: added methods to get some connection preferences, plus the
Mar 9, 2021
9498800
Merge pull request #506 from FStefanni/pr_sim7000_connection
SRGDamia1 Mar 10, 2021
81f583a
SIM7000: TLS + some refinements
Mar 12, 2021
0be9622
Removed some debug print
Mar 12, 2021
7cf19be
A deep debug of sim7000
Mar 12, 2021
57514b7
Supported factory reset for sim7000
Mar 12, 2021
5789586
Added missing waitResponse()
Mar 17, 2021
b8a54d3
Some improvements to sim7000
Mar 17, 2021
f0abeef
Supported root certificates
Mar 17, 2021
28f7e7b
Some improvements
Mar 17, 2021
7f19c69
sim7000: added fix on read
Mar 18, 2021
c1d6aba
Supported SNI (fix by kyriazis)
Apr 7, 2021
750108e
Added NTPServerSync() and related methoeds
Bascy Apr 13, 2021
b1f81f4
Merge pull request #507 from FStefanni/master
SRGDamia1 Apr 28, 2021
d3944ec
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 Apr 28, 2021
f6d7480
Update state of SSL for SIM7000 in readme
SRGDamia1 Apr 28, 2021
51f4da5
Merge pull request #520 from I-Connect/patch-1
SRGDamia1 Apr 28, 2021
75104a4
Call modem get connected for modems w/o buffer
SRGDamia1 Apr 28, 2021
772f336
Merge pull request #503 from Orange-OpenSource/fix-sequans-monarch
SRGDamia1 Apr 28, 2021
a9f7231
Fix #508, GPS on 7600
SRGDamia1 Apr 28, 2021
b22aa85
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 Apr 28, 2021
38a7125
TinyGsmClientSequansMonarch.h: use data mode
ffontaine Apr 28, 2021
4fc428c
Fix #511, ignore response to set timezone in ublox
SRGDamia1 Apr 28, 2021
2d603d6
First take at migrating to github actions
SRGDamia1 Apr 28, 2021
8766eac
update examples to fix action for uno
SRGDamia1 Apr 28, 2021
ecca37d
fix sed
SRGDamia1 Apr 28, 2021
0094193
Fix MQTT example
SRGDamia1 Apr 28, 2021
9af0acc
Fix IP from string in MC60
SRGDamia1 Apr 29, 2021
68a03b3
Add (unused) argument for XBee modem get connected
SRGDamia1 Apr 29, 2021
459106a
re-write some of xbee to minimize flash writes
SRGDamia1 Apr 29, 2021
9128bae
xbee fixes
SRGDamia1 Apr 29, 2021
93fc96d
sim7000 syntax fix
SRGDamia1 Apr 29, 2021
243afe7
fix bug for ussd answers over 127 chars
May 5, 2021
4eedb84
Merge pull request #534 from yaroshd81/fixUssd
SRGDamia1 May 5, 2021
0879dea
Split SIM7000, add SIM7070, NTP
SRGDamia1 May 11, 2021
644085b
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 May 11, 2021
b5c5a62
Change 7000SSL to check available/state for all mux
SRGDamia1 May 11, 2021
6e64e86
Got 7000SSL and 7080 sort of working again
SRGDamia1 May 14, 2021
db75681
Adjustments to all fxns
SRGDamia1 May 14, 2021
cad8f7a
Update some example text and add new modems
SRGDamia1 May 14, 2021
70af3cf
Version bump
SRGDamia1 May 14, 2021
07b4027
Add gsm location to 70xx series.
SRGDamia1 May 14, 2021
1e4ecae
Add some read-me notes
SRGDamia1 May 14, 2021
4dc0fa2
add some missing tags
SRGDamia1 May 14, 2021
4f9d284
remove sapbr commands from 7000SSL
SRGDamia1 May 14, 2021
f508e78
Can't test *everything* on small processors
SRGDamia1 May 14, 2021
78130df
Minor ReadMe fixes
SRGDamia1 May 14, 2021
60a88ef
Fix BG96 unused argument
SRGDamia1 May 14, 2021
6e10a3a
Fix crash on SIM7000SSL
SRGDamia1 May 17, 2021
a0d246b
Added ublox method to set technology
Apr 30, 2021
516db05
Merge pull request #543 from FStefanni/master
SRGDamia1 May 18, 2021
b6a8686
version bump
SRGDamia1 May 18, 2021
c9ebf60
Fix compiler warnings
SRGDamia1 May 19, 2021
e5131ea
Version bump
SRGDamia1 May 19, 2021
8b25d8c
Merge pull request #530 from Orange-OpenSource/fix-monarch
SRGDamia1 May 24, 2021
a5a2ce3
Correctly bump version, modify workflow
SRGDamia1 May 24, 2021
4d722a3
To implement peek()
IoTThinks Jun 15, 2021
a092bfa
Fix incorrect memory access in Sequans Monarch code
UCIS Jun 17, 2021
a57014d
Merge pull request #555 from UCIS/patch-1
SRGDamia1 Jul 6, 2021
09e679e
Merge pull request #554 from IoTThinks/IoTThinks-patch-implement-peek
SRGDamia1 Jul 6, 2021
b3fc9ee
Add phone call implementation for SIM7600
LukasSkywalker Oct 9, 2021
2f0b797
Update TinyGsmClientSIM800.h
wifixcort Oct 14, 2021
0622616
Declare header files for PlatformIO
ivankravets Nov 18, 2021
f3dd626
Merge pull request #594 from beaware-team/master
SRGDamia1 Nov 24, 2021
feb3a22
Merge pull request #597 from wifixcort/master
SRGDamia1 Nov 24, 2021
132844d
Merge pull request #614 from ivankravets/patch-1
SRGDamia1 Nov 24, 2021
cce063c
Format after PR
SRGDamia1 Nov 24, 2021
47793e0
Fix #578
SRGDamia1 Nov 24, 2021
f8c8e2c
Added support for commands without _CUR for ESP
SRGDamia1 Nov 24, 2021
b381fa5
Version Bump
SRGDamia1 Nov 24, 2021
9ca9633
not working yet
georgeman93 Dec 8, 2021
03e647a
Update README.md
vshymanskyy Mar 4, 2022
3356c1d
Update README.md
vshymanskyy Mar 14, 2022
69b8c40
Fix NTPServerSync
gonzabrusco Apr 4, 2022
7f25e73
Fix typo
gonzabrusco Apr 4, 2022
daf1063
fix annoying sequans warning
SRGDamia1 May 2, 2022
c4ada6e
Sim5320 GPS Location Update
BenGarmanBB May 5, 2022
8884b91
Update library.json
Bengarman May 5, 2022
80d25de
Dependabot, update actions
SRGDamia1 Jun 28, 2022
7dc2caf
password then user when cid is set
github0013 Aug 24, 2022
00b2446
mqtt sending ok
giovannirosso Oct 4, 2022
7fb7926
A7672X SSL ok
giovannirosso Oct 6, 2022
67c8242
todo's & dbg
giovannirosso Oct 6, 2022
6957cf5
Custom Certificate upload
giovannirosso Oct 10, 2022
4d3b5b4
Separate NTP functions for different 70xx modules.
Oct 13, 2022
2d1fc04
Added missing parameter to CNCFG (was returning an error previously)
Oct 14, 2022
5f7c275
fixes
giovannirosso Oct 25, 2022
6d19387
SSL Close
giovannirosso Nov 1, 2022
1e650c5
dbg
giovannirosso Nov 10, 2022
ef1337a
Update logo.svg
vshymanskyy Feb 22, 2023
8a911b2
Update logo.svg
vshymanskyy Feb 22, 2023
13826b0
Update README.md
fgnievinski Mar 22, 2023
cf4296c
SIM card functions
giovannirosso May 11, 2023
d431b44
2000 timeout
giovannirosso Jun 2, 2023
a423350
Merge branch 'master' of github.com:vshymanskyy/TinyGSM
Jun 20, 2023
191b3b1
update for Digi WiFi s6b https://github.com/EnviroDIY/ModularSensors/…
Jun 20, 2023
b96d401
Merge branches 'master' and 'master' of https://github.com/vshymansky…
SRGDamia1 Jun 22, 2023
77f285b
Merge pull request #731 from neilh10/iss347_digi_wifi_s6b_becomes_uns…
SRGDamia1 Jun 22, 2023
01dbc02
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 Jun 22, 2023
dcc2f9c
minor clean up, removed some debugging
SRGDamia1 Jun 22, 2023
3d384e5
ci: bump actions/checkout from 2 to 3
dependabot[bot] Jun 22, 2023
8d60810
ci: bump actions/cache from 2.1.5 to 3.3.1
dependabot[bot] Jun 22, 2023
d70f005
Merge pull request #733 from vshymanskyy/dependabot/github_actions/ac…
SRGDamia1 Jun 23, 2023
8a84350
Merge pull request #732 from vshymanskyy/dependabot/github_actions/ac…
SRGDamia1 Jun 23, 2023
78425a5
Bump version
SRGDamia1 Jun 23, 2023
ef1a7e0
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 Jun 23, 2023
5b83997
Add one retry to XBee
SRGDamia1 Jun 23, 2023
b65f1c1
Check for XBee wifi dns
SRGDamia1 Jun 27, 2023
c2de83b
Fix fall through
SRGDamia1 Jun 27, 2023
318fa45
Version bump
SRGDamia1 Jun 27, 2023
87523fa
* SIM7600 GPS parser bug fixed
imodre Jul 3, 2023
f7e010e
* SIM7600 Restart delay fixed
imodre Jul 3, 2023
f775c75
* Typo fix
imodre Jul 3, 2023
96313af
* Typo fix
imodre Jul 3, 2023
92c0ba3
Update BlynkClient.ino
vshymanskyy Jul 4, 2023
72e5190
cert
giovannirosso Jul 7, 2023
6a91953
Fix cardinal points in location by gps for sim7600
Juxn3 Jul 25, 2023
d3c4d1f
update for use with UBLOX SARA-R5 modules
sebastianbergner Aug 23, 2023
617a70e
revert changes to generic UBLOX class, create ublox SARA R5 classes, …
sebastianbergner Aug 24, 2023
7ae1f4d
changes to get gnss working
sebastianbergner Aug 31, 2023
7979e7d
add SARA R5 to the examples
sebastianbergner Aug 31, 2023
662c453
Update README.md SARA R5
sebastianbergner Aug 31, 2023
bcc8fd4
revert accidental change to Blynk example due to clang-format and rev…
sebastianbergner Aug 31, 2023
37de797
Merge remote-tracking branch 'refs/remotes/origin/master'
sebastianbergner Aug 31, 2023
d4dea90
Update TinyGsmClientSIM7000.h
Gelemikke Sep 1, 2023
c6a0e65
Add support for Quectel BG96 (SSL/TLS/HTTPS/GPS/GNSS)
aurelihein Sep 23, 2023
cef1962
Update TinyGsmClientBG96.h
jonas37 Dec 5, 2023
4a09c88
Make setBaud() return a bool
Gelemikke Mar 6, 2024
bfdbbdb
add getNetworkSystemMode() for SIM7600
Gelemikke Mar 6, 2024
693a848
Merge pull request #1 from Gelemikke/network-system-mode-sim7600
Gelemikke Mar 6, 2024
24037cd
Merge pull request #2 from Gelemikke/return-bool-baud-change
Gelemikke Mar 6, 2024
9659e83
Add some docs to FiFo
SRGDamia1 Apr 11, 2024
56305cb
Moved "OK" and "ERROR" to modem template
SRGDamia1 Apr 11, 2024
f1f924f
Moved bulk of WaitResponse to modem template and gave modems handleUR…
SRGDamia1 Apr 11, 2024
640158a
Fix fall through marker
SRGDamia1 May 10, 2024
1a6f36d
Undef GSM_NL
SRGDamia1 May 13, 2024
e80d942
Fix XBee URC
SRGDamia1 May 13, 2024
3e7e615
Clean verbose detection
SRGDamia1 May 13, 2024
b8efb21
Rename GSM_NL to AT_NL
SRGDamia1 May 13, 2024
3b0fc28
Small debug change
SRGDamia1 May 13, 2024
3463e94
Another debug fix
SRGDamia1 May 13, 2024
86bb0f7
Replace NULL with nullptr
SRGDamia1 May 14, 2024
bc1e2b2
Fix undef order
SRGDamia1 May 14, 2024
1c097cb
Esp fix, deep debug
SRGDamia1 May 15, 2024
07dfcf2
Re-Fix GSM_OK
SRGDamia1 May 15, 2024
85ed430
Make regstatus enum names unique
SRGDamia1 May 16, 2024
b5379f9
Hex fix for Monarch
SRGDamia1 May 17, 2024
d92eb56
Support fetching hardware and firmware version and serial number
SRGDamia1 May 17, 2024
432bde3
Merge pull request #761 from jonas37/758-fix-error-parsing-gps-time-bg96
SRGDamia1 May 17, 2024
a6f73d7
Merge pull request #38 from aurelihein/master
SRGDamia1 May 17, 2024
7f71dec
Update BG95 to current URC handler
SRGDamia1 May 17, 2024
6e76ba9
Rename for consistency
SRGDamia1 May 17, 2024
4858785
Fix unused argument
SRGDamia1 May 17, 2024
74734ef
Testing updates for BG95SSL
SRGDamia1 May 17, 2024
48163b6
Merge branch 'master' of https://github.com/Gelemikke/TinyGSM into Ge…
SRGDamia1 May 17, 2024
4d9060f
Make set baud a bool return
SRGDamia1 May 17, 2024
f7c68bb
Merge branch 'Gelemikke-master'
SRGDamia1 May 17, 2024
ae81ee8
Remove mistaken BG96 secure
SRGDamia1 May 17, 2024
b189018
Fix errant GSM_NL
SRGDamia1 May 17, 2024
45bf3b1
Merge branch 'master' of https://github.com/sebastianbergner/TinyGSM …
SRGDamia1 May 17, 2024
74a8ead
Update SARA-R5 to use URCs
SRGDamia1 May 17, 2024
3de5117
Merge branch 'sebastianbergner-master'
SRGDamia1 May 17, 2024
d40d82b
Fix XBee return
SRGDamia1 May 17, 2024
d642313
Merge branch 'master' of https://github.com/Bengarman/TinyGSM into Be…
SRGDamia1 May 17, 2024
15a8bd8
Merge branch 'Bengarman-master'
SRGDamia1 May 17, 2024
3733c33
Bump action versions
SRGDamia1 May 17, 2024
9bdea3a
Fix test build
SRGDamia1 May 17, 2024
58d3720
Merge pull request #42 from imorda/PR
SRGDamia1 May 17, 2024
1cb6f2c
Merge pull request #43 from github0013/sim7600fix
SRGDamia1 May 17, 2024
e7f073b
Merge pull request #44 from Juxn3/correction-of-cardinal-points-in-gp…
SRGDamia1 May 17, 2024
369b9e0
Merge pull request #45 from fgnievinski/patch-1
SRGDamia1 May 17, 2024
eebe189
Merge branch 'bg96ssl-dev' of https://github.com/georgeman93/TinyGSM …
SRGDamia1 May 20, 2024
e4fa39d
Removed BG95SSL test functions
SRGDamia1 May 20, 2024
df47b43
Merge BG95 and BG96
SRGDamia1 May 20, 2024
c29132f
Remove redundant BG95
SRGDamia1 May 20, 2024
97ae0a6
Merge branch 'georgeman93-bg96ssl-dev'
SRGDamia1 May 20, 2024
f77a671
Readd lost stop
SRGDamia1 May 20, 2024
6ff279f
Merge branch 'master' of https://github.com/vshymanskyy/TinyGSM into …
SRGDamia1 May 20, 2024
c8c5dd2
Merge branch 'vshymanskyy-master'
SRGDamia1 May 20, 2024
752372d
Merge pull request #48 from giovannirosso/master
SRGDamia1 May 20, 2024
8136a25
Refactor for handle URCs, add to tests
SRGDamia1 May 20, 2024
566aee6
Merge pull request #49 from gonzabrusco/fix-NTPServerSync
SRGDamia1 May 20, 2024
d608229
Fix A7672x case
SRGDamia1 May 20, 2024
edb42d8
Added some notes
SRGDamia1 May 21, 2024
d9608f9
Reorder utilities
SRGDamia1 May 21, 2024
2450407
protected template destructors
SRGDamia1 May 21, 2024
d8b6d3a
Add fxns for 7080
SRGDamia1 May 21, 2024
9a7c313
Another note change
SRGDamia1 May 21, 2024
d2ce860
Note changes
SRGDamia1 May 22, 2024
5a266dd
Moved setCertificates to the SSL template
SRGDamia1 May 22, 2024
a198399
Fix SIM70xx inheritance
SRGDamia1 May 22, 2024
c2c64ae
Rearrange includes, add empty blocks for unsupported
SRGDamia1 May 22, 2024
587bfd0
Fix for SARA-R5
SRGDamia1 May 22, 2024
de1ce11
Add ESP32 as definable
SRGDamia1 May 22, 2024
46d9782
Clean modem name functions, remove non-functional factory reset from …
SRGDamia1 May 22, 2024
6bb52e3
Typo fix
SRGDamia1 May 23, 2024
14f0975
Vebose read fix
SRGDamia1 May 23, 2024
93d0adb
Move down provider
SRGDamia1 May 23, 2024
2d87563
Go to finish after verbose error output
SRGDamia1 May 23, 2024
6f0bb6e
Fix mix-up between PDP context identifier and connection identifier
SRGDamia1 May 23, 2024
c1bf5f0
Try harder to turn off echo on 7080
SRGDamia1 May 23, 2024
a72c8e3
Wrap
SRGDamia1 May 23, 2024
ada7cbc
Revert bad override of A7672x setCertificates
SRGDamia1 May 23, 2024
9111e6e
Fix test build
SRGDamia1 May 23, 2024
66ec8ff
Fix get versions for XBee
SRGDamia1 May 23, 2024
1addac7
No disable GPS on SARA-R5
SRGDamia1 May 23, 2024
cdfe99a
Certificate function input change
SRGDamia1 May 24, 2024
c1a0c4e
Fix some warnings
SRGDamia1 May 24, 2024
27e14e6
Update test build
SRGDamia1 May 24, 2024
b982d17
Bump version, add a ChangeLog
SRGDamia1 May 24, 2024
6ea2d44
Made battery return types signed
SRGDamia1 May 24, 2024
b0f7b36
Empty init impl
SRGDamia1 May 24, 2024
f86aa13
Add some documentation
SRGDamia1 May 28, 2024
1cbbe68
Revert comment reflow
SRGDamia1 May 28, 2024
ae39914
Fix CI lib install source
SRGDamia1 May 28, 2024
675b4dd
Merge pull request #794 from EnviroDIY/master
SRGDamia1 May 28, 2024
1723b5d
fix job name
SRGDamia1 May 28, 2024
c7d5e17
Merge pull request #795 from EnviroDIY/master
SRGDamia1 May 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ with your board before submitting any issues.

Modem: <!-- Brand, model, variant, firmware version, ie Quectel BG96 Revision: BG96MAR02A07M1G -->
Main processor board: <!-- Uno, Zero, ESP32, Particle, etc -->
TinyGSM version: <!-- always try to use the latest (0.10.9) -->
TinyGSM version: <!-- always try to use the latest (0.12.0) -->
Code: <!-- Example name or paste in your code -->

### Scenario, steps to reproduce
Expand Down
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
labels:
- 'CI/CD'
commit-message:
prefix: ci
150 changes: 150 additions & 0 deletions .github/workflows/build_examples_platformio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
name: Build Examples with PlatformIO

# Triggers the workflow on push or pull request events
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
determine_library_source:
name: determine_library_source
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
outputs:
library_install_zip: ${{ steps.store_vars.outputs.library_install_zip }}
library_install_git: ${{ steps.store_vars.outputs.library_install_git }}

steps:
- uses: actions/checkout@v4

- name: Set environment variables for pushes to any branch
if: github.event_name == 'push'
run: |
echo "Push to commit ${GITHUB_SHA}"
echo "LIBRARY_INSTALL_ZIP=https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_SHA}.zip" >> $GITHUB_ENV
echo "LIBRARY_INSTALL_GIT=https://github.com/${GITHUB_REPOSITORY}.git#${GITHUB_SHA}" >> $GITHUB_ENV

- name: Set environment variable for PR's from any branch
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.name == github.repository
run: |
echo "Pull Request from the ${GITHUB_HEAD_REF} branch"
echo "LIBRARY_INSTALL_ZIP=https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_HEAD_REF}.zip" >> $GITHUB_ENV
echo "LIBRARY_INSTALL_GIT=https://github.com/${GITHUB_REPOSITORY}.git#${GITHUB_HEAD_REF}" >> $GITHUB_ENV

- name: Set environment variable for PR's from any fork
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.name != github.repository
run: |
echo "Pull Request from the fork ${{ github.event.pull_request.head.repo.full_name }} at ${{ github.event.pull_request.head.ref }}"
echo "LIBRARY_INSTALL_ZIP=https://github.com/${{ github.event.pull_request.head.repo.full_name }}/archive/${{ github.event.pull_request.head.ref }}.zip" >> $GITHUB_ENV
echo "LIBRARY_INSTALL_GIT=https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git#${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV

- name: store enviroment variables as output
id: store_vars
run: |
echo "library_install_zip=${{ env.LIBRARY_INSTALL_ZIP }}" >> $GITHUB_OUTPUT
echo "library_install_git=${{ env.LIBRARY_INSTALL_GIT }}" >> $GITHUB_OUTPUT

print_library_source:
name: print_library_source
runs-on: ubuntu-latest
needs: determine_library_source
steps:
- name: Check the library installation source
run: |
echo "Link to zip for Arduino CLI testing install:"
echo "${{ needs.determine_library_source.outputs.library_install_zip }}"
echo
echo "Git reference for PlatformIO testing install"
echo "${{ needs.determine_library_source.outputs.library_install_git }}"

build_pio:
runs-on: ubuntu-latest
needs: [determine_library_source]
env:
LIBRARY_INSTALL_GIT: ${{ needs.determine_library_source.outputs.library_install_git }}

strategy:
matrix:
example:
[
examples/BlynkClient,
examples/FileDownload,
examples/MqttClient,
examples/WebClient,
tools/test_build,
tools/Diagnostics,
]
modem:
[
TINY_GSM_MODEM_A6,
TINY_GSM_MODEM_BG96,
TINY_GSM_MODEM_A7672X,
TINY_GSM_MODEM_ESP8266,
TINY_GSM_MODEM_M95,
TINY_GSM_MODEM_M590,
TINY_GSM_MODEM_MC60,
TINY_GSM_MODEM_SIM800,
TINY_GSM_MODEM_SIM808,
TINY_GSM_MODEM_SIM5360,
TINY_GSM_MODEM_SIM7600,
TINY_GSM_MODEM_SIM7000,
TINY_GSM_MODEM_SIM7000SSL,
TINY_GSM_MODEM_SIM7070,
TINY_GSM_MODEM_UBLOX,
TINY_GSM_MODEM_SARAR4,
TINY_GSM_MODEM_SARAR5,
TINY_GSM_MODEM_XBEE,
TINY_GSM_MODEM_SEQUANS_MONARCH,
]

steps:
- uses: actions/checkout@v4

- name: Set variables
run: |
if [[ -z "${GITHUB_HEAD_REF}" ]]; then
echo "::debug::Push to commit ${GITHUB_SHA}"
echo "LIBRARY_INSTALL_SOURCE=https://github.com/${GITHUB_REPOSITORY}.git#${GITHUB_SHA}" >> $GITHUB_ENV
else
echo "::debug::Pull Request from the ${GITHUB_HEAD_REF} branch"
echo "LIBRARY_INSTALL_SOURCE=https://github.com/${GITHUB_REPOSITORY}.git#${GITHUB_HEAD_REF}" >> $GITHUB_ENV
fi

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

# This should be pulled from cache, if there's not a new version
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio

- name: Restore or Cache PlatformIO Platforms and Libraries
uses: actions/cache@v4
id: cache_pio
with:
path: ~/.platformio
# if nothing in the example_dependencies.json file has changed, then it will
# be a "cache hit" and we can restore libraries from cache and not
# download them. If it has changed we have to re-download.
key: ${{ hashFiles('./examples/example_dependencies.json') }}

# Install cores and library dependencies for the Arduino CLI, iff no cache
- name: Install the Arduino libraries for PlatformIO
if: steps.cache_pio.outputs.cache-hit != 'true'
run: pio lib --global install 89 415 1202 1286

- name: Run PlatformIO
env:
PLATFORMIO_CI_SRC: ${{ matrix.example }}
TINYGSM_MODEM_TO_USE: ${{ matrix.modem }}
run: |
echo "${{ env.LIBRARY_INSTALL_GIT }}"
pio pkg install -g --library ${{ env.LIBRARY_INSTALL_GIT }}
sed -i 's/\/\/ #define TINY_GSM_MODEM_SIM800/#define TINY_GSM_MODEM_SIM800/g' ${{ matrix.example }}/*
platformio ci --project-option='build_flags=-D ${{ env.TINYGSM_MODEM_TO_USE }}' --project-option='framework=arduino' --board=uno --board=leonardo --board=yun --board=megaatmega2560 --board=genuino101 --board=mkr1000USB --board=zero --board=teensy31 --board=bluepill_f103c8 --board=uno_pic32 --board=esp01 --board=nodemcuv2 --board=esp32dev
pio lib --global uninstall TinyGSM
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ extras/At Command Manuals - Unsupported/*
filters/*
platformio_extra_envs.ini
*.tar.gz
pioScripts/generate_compile_commands.py
compile_commands.json
src/TinyGsmATDefines.h
File renamed without changes.
60 changes: 60 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# ChangeLog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and its stricter, better defined, brother [Common Changelog](https://common-changelog.org/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

***


## [Unreleased]
****
### Changed

### Added

### Removed

### Fixed

***


## [v0.12.0]

### Changed
- Moved bulk of waitResponse function to modem template and gave modems handleURCs fxn
- Moved option in waitResponse for verbose outputs.
- setBaud now returns a bool
- Replace new line consts with defines and renamed to AT_NL
- Renamed all RegStatus enums to be unique
- Replaced `NULL` with `nullptr` and replaced c-style casts.
- Moved setCertificates function and the certificate name matrix to the SSL template.
- Changed inputs for (unimplemented) SSL certificate functions.
- All modems will now return the pre-defined manufacturer and model in the name if the function to get the internal name fails.
- Cleaned up code for getting modem names.
- Made battery return types signed.

### Added
- Added support for SSL for the Quentcel BG95 and BG96 from [Aurelien BOUIN](https://github.com/aurelihein) and [George O'Connor](https://github.com/georgeman93)
- Added support for UBLOX SARA-R5 from [Sebastian Bergner](https://github.com/sebastianbergner)
- Added support for SIMCOM A7672X from [Giovanni de Rosso Unruh](https://github.com/giovannirosso)
- Added SIM5320 GPS location from [Bengarman](https://github.com/Bengarman)
- Added functions `getModemSerialNumber`, `getModemModel`, and `getModemRevision`.
- Added deep debugging option
- Added documentation to the FIFO class

### Removed
- Removed non-functional factory reset from SIM70xx series

### Fixed
- Removed extra wait on SIM7000 from [Mikael Fredriksson](https://github.com/Gelemikke)
- Fix status returns on ESP8266/ESP32 AT commands
- Fix length of HEX for Sequans Monarch
- Fix SIM7600 password then user when cid is set from [github0013](https://github.com/github0013)
- Fix cardinal points in location by gps for SIM7600 from [Juxn3](https://github.com/Juxn3)
- Fix NTP server sync for SIM70xx models from [Gonzalo Brusco](https://github.com/gonzabrusco)
- Fixed SIM70xx inheritance

***
Loading
Loading