telelogger net_none build error

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
aboaboit
Posts: 23
Joined: Mon Mar 26, 2018 4:55 am

telelogger net_none build error

Post by aboaboit »

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
Post Reply