Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

fix for GSMTestModem not working #8

@mrpeach-xx

Description

@mrpeach-xx

At least on Uno compiled on Windows, the software serial sends only half the characters, so the modem never responds. (e.g. ATsends only A)
I found that just getting GSM3ShieldV1DirectModemProvider::write() to return the value from GSM3ShieldV1ModemCore.write() solves the issue.
Perhaps some optimizing is done by the compiler which results in it not working?
See around line 75 of GSM3ShieldV1DirectModemProvider.cpp:

//Write to the modem by means of SoftSerial
size_t GSM3ShieldV1DirectModemProvider::write(uint8_t c)
{
return theGSM3ShieldV1ModemCore.write(c);
}

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