telelogger net_none build error

Discussing about enhancement of our Arduino libraries
aboaboit
Posts: 6
Joined: Mon Mar 26, 2018 4:55 am

telelogger net_none build error

Postby aboaboit » Mon Apr 09, 2018 4:42 am

Hi.

I'm trying to build telelogger using PlatformIO on Atom. With config.h from master, it builds ok

If I edit the config and set NET_DEVICE to NET_NONE, I get build errors:
/home/andrea/devel/Freematics/firmware_v5/telelogger/telelogger.ino: In function 'void idleTasks()':
/home/andrea/devel/Freematics/firmware_v5/telelogger/telelogger.ino:882:18: error: 'net' was not declared in this scope
char *data = net.receive(&len, 0);
(and many more...)

Questions:
1) is NET_NONE unsupported?
2) does anything bad happen if I leave NET_WIFI and do not provide a hotspot?

Thanks

Return to “Freematics Arduino Libraries”

Who is online

Users browsing this forum: No registered users and 1 guest