Skip to content

Error when compiling DeviceInfo example for ESP8266 board #269

Description

@vonsivers

Hi there,
when trying to compile the DeviceInfo example for Board "Generic ESP8266 module" I get the following error.

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DOUT (compatible), 4MB (FS:3MB OTA:~512KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Users\Moritz\Documents\Arduino\libraries\TheThingsNetwork\src\TheThingsNetwork.cpp: In member function 'ttn_response_t TheThingsNetwork::poll(port_t, bool)':

C:\Users\Moritz\Documents\Arduino\libraries\TheThingsNetwork\src\TheThingsNetwork.cpp:652:41: error: 'class Stream' has no member named 'getTimeout'

   long timeout = this->modemStream->getTimeout();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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