Skip to content

Errors in Arduino library for SparkFun LTE CAT M1/NB-IoT Shield - SARA-R4 #2

Closed
@ROSW6341

Description

@ROSW6341

Many functions in the current library do not free allocated memory before returning. While waiting for my order to arrive I've made a minimal set of changes to correct that and attached a patch file in src.zip. It also includes added code for hwReset() and some other minor modifications. If you have any questions or wish to discuss this in more detail please feel free to contact me at mailto:billk@rosw.com.

The code compiles without error using an ESP32 platform but has not been tested (still waiting for the SARA-R4 shield to arrive).

Note - I've worked as an embedded systems developer for over 30 years under the trade name R O SoftWare. The modifications (for the most part) are the minimal needed to correct the memory leakage issue. Once approved and tested they could use some additional cleanup.

src.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions