Skip to content

Releases: sparkfun/SparkFun_u-blox_SARA-R5_Arduino_Library

Version 1.1.3

18 May 10:00
f71c6d3
Compare
Choose a tag to compare

This release contains improvements by @mazgch - thank you Michael:

  • More robust parsing of the readMQTT AT message
  • In getFileContents make the expected response more tolerant (for LARA-R6)
  • Make beginSerial virtual so that we can override and assign custom pins and configuration
  • end the serial port before new begin to avoid crash on ESP32 when data is received while begin is called

Version 1.1.2

11 Apr 12:17
94fb048
Compare
Choose a tag to compare

This release:

  • Adds further improvements by @mazgch - thank you Michael!
    • be polite and yield while waiting for data (this allows working in tasks)
    • the debug ports are print only, they will never read the stream
    • simplify parsing of MQTT URC
    • allow getAPN to return also the PDP type, this allows proper PSD configuration, simplified code
    • fix readMQTT and better handle memory
  • Adds +UUMQTTC:, +CREG: and +CEREG: to pruneBacklog
  • Adds a yaml workflow for automated platform-checking of pull requests

Version 1.1.1

08 Apr 11:45
dbd8a45
Compare
Choose a tag to compare

This release includes a while bunch of changes, improvements, enhancements and corrections by @mazgch - thank you Michael!

  • Adds support for MQTT
  • Adds support for secure profiles
  • Improves .begin - making it non-recursive
  • Adds callbacks for MQTT and registration
  • Adds support for a SIM PIN
  • Adds additional AT command debugging

Version 1.1.0

18 Jan 10:51
4e94a9d
Compare
Choose a tag to compare

This release:

  • Adds two new examples showing how to use the SARA-R5 to download RTK RTCM data from an NTRIP Caster and push it to an external u-blox GNSS
    • One example uses Callbacks. It works on most platforms but is glitchy on Mbed OS (SparkFun Artemis) due to (I think) the way large amounts of data can be passed to the callback and the way Mbed uses the stack to do that
    • The second version uses non-blocking polling and works well on all platforms including Mbed OS
  • Adds a new overload for getFileContents which can correctly read binary files on all platforms
    • (The String-based version works with binary files on ESP32 - but not on Mbed or SAMD which use strlen and strcpy to do concat)
  • Includes updates for the socketRead functions so they respect the 1024 byte limit on a single read
    • Large reads are split into multiple 1024 byte reads as required
  • Removes IPAddress .toString() from the examples
    • ESP32 implements toString correctly in the IPAddress Class, but other platforms do not...
  • Dynamically allocates memory for all storage arrays - helping to avoid stack size problems on Mbed OS

Version 1.0.6

09 Jan 17:21
550baba
Compare
Choose a tag to compare

This release:

  • Adds getFileSize, deleteFile, setClock and autoTimeZoneForBegin (see the new examples for more details)
  • Corrects the reading of binary files with getFileContents
  • Adds three new examples:
    • SARA-R5_Example12_AssistNowOnline - downloads AssistNow Online data to the SARA's internal file system and then pushes it to an external GNSS module
    • SARA-R5_Example13_SetClockWithNTP - sets the SARA's internal RTC to UTC using NTP over UDP
    • SARA-R5_Example14_AssistNowOffline - downloads AssistNow Offline data to the SARA's internal file system and then selectively pushes the data for today (based on the RTC time) to an external GNSS module
  • Corrects socketReadAvailableUDP

Version 1.0.5

07 Jan 22:00
f3ff73f
Compare
Choose a tag to compare

This release:

  • Corrects and enhances support for TCP and UDP sockets - see issue #8
    • Adds full support for binary data transfer over both TCP and UDP
    • Adds socketReadCallbackPlus which allows the remote IP Address and Port for UDP sockets to be captured
  • Adds new examples showing how to communicate over (multiple) TCP and UDP sockets
  • Corrects and enhances the library to support socket communication - there were some well-hidden gremlins that were multiple simultaneous sockets from working correctly
  • Adds extra functions to allow the socket status to be monitored
  • Adds multi-socket/port TCP and UDP Echo Server Python utilities to let you test the sockets
  • Adds functions to allow SMS messages to be deleted - see issue #11
  • Adds getNetworkAssignedIPAddress to allow you to see your IP Address for Packet Switched Data without needing to use a PSD Action

Version 1.0.4

03 Jan 10:54
6ecfcb9
Compare
Choose a tag to compare

This release:

  • Corrects the two clock functions - both had minor flaws
  • The clock Time Zone type has been changed from uint8_t to int8_t as it can be +ve or -ve
    • Note: this breaks backward-compatibility. Sorry about that. But it should have been int8_t all along...
  • Adds a new example showing how to use the clock functions

Note: the SARA-R5's real-time clock will only be set during registration if your network supports NITS (Network Identity and Time Zone).

Version 1.0.3

31 Dec 14:37
e1617af
Compare
Choose a tag to compare

This release:

  • Fully integrates @MatthewMenze 's polling improvements - thank you Matthew!
    • See this PR for Matthew's original code
    • Both poll and bufferedPoll now use processURCEvent (renamed from processReadEvent)
  • Cleans up the power functions. Adds modulePowerOn and modulePowerOff
  • Adds Example10_SocketPingPong - a fun way to test the socket functionality
    • The example may not work correctly if your service provider is blocking incoming (unsolicited) TCP connections
    • See the comments in the example for a work-around - using a Python TCP Echo Server
  • Adds a callback for socket listen (a way of monitoring incoming connections)

Version 1.0.2

29 Dec 13:40
cd2a6e3
Compare
Choose a tag to compare

This release:

  • Corrects a number of compiler warnings
  • Adds support for socket Direct Link mode
  • Adds gpsAidingServerCont for u-blox CellLocate
  • Adds support for ESPSoftwareSerial on ESP32 / ESP8266
  • Adds corrections for the polling of +UULOC
  • all boolean variables have been replaced with bool

Version 1.0.1

08 Feb 11:50
263808b
Compare
Choose a tag to compare

This release:

  • removes the call to gpsPower from gpsEnableRmc
  • corrects the GNSS GPRMC example