Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Arduino + ESP8266 - Problems using Modem from Contrib #362

Open
@rafaelb4rreto

Description

@rafaelb4rreto

Hello!

As discussed in post #297 , the files from contrib/src/modem seems to have wrong #includes.
So I put all the files from /contrib/src/modem and from /contrib/src/modem/db and the contrib/src/SerialTransceiver.h renamed to "SerialTransceiver2.h" in the same dir of the sketch and changed the #includes untill the code from the sketch get sucessfully compiled.
The sketch is a copy of the example in /contrib/examples/FirebaseSerialTerminal_ESP8266/FirebaseSerialTerminal_ESP8266.ino (for test the protocol from the terminal). The only modification in the .ino was "#include <SerialTranceiver.h>" to "#include "SerialTranceiver2.h""

Opening the terminal, the ESP8266 send "Connected: 192.168.bla.bla". Ok!
Then I put the command "BEGIN_DB <my_host> <my_secret>" and the board send "+OK". Cool!

But when I put "SET blabla" or "NETWORK" or "SET: blabla" it returns "-FAIL Invalid command 'SET'.
", for exemple.
AND the most strange is that the board understand the command "GET", but it always returns something like: "GET /blabla.json: connection refused".

Has anyone got this working? Does someone know what is happening? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions