thinger-io / Arduino-Library

IOTMP Arduino Library for connecting devices to thinger.io #IoT
https://thinger.io
MIT License
111 stars 66 forks source link

ThingerTinyGSM.h does not compile with FreeRTOS #50

Open georgevbsantiago opened 4 months ago

georgevbsantiago commented 4 months ago

Olá, @alvarolb

The ThingerTinyGSM.h file needs to be fixed so that it can compile with FreeRTOS. The correction proposal below is correct:

Here (link)

class ThingerTinyGSM : public ThingerClient

#ifdef THINGER_FREE_RTOS
,public ThingerESP32FreeRTOS
#endif

{

public:
    ThingerTinyGSM(const char* user, const char* device, const char* device_credential, Stream& serial) :
        ThingerClient(client_, user, device, device_credential),
        #ifdef THINGER_FREE_RTOS
        ThingerESP32FreeRTOS(static_cast<ThingerClient&>(*this)),
        #endif
        modem_(serial),
        client_(modem_)
    {
georgevbsantiago commented 1 month ago

Hello, @alvarolb

Taking advantage of the library update, could you check this suggested correction?

georgevbsantiago commented 2 weeks ago

Hello, @alvarolb

Any news on this fix? thanks