Recently got a one+ Model H and have been struggling with a couple of things.
Firstly, im failing to get telelogger to compile when setting net_device to net_wifi. It always fails with:
Code: Select all
teleclient.cpp:393:16: error: expression cannot be used as a function
if (net.code() == 200) {
^
exit status 1
expression cannot be used as a function```
To get aorund this i have just been commenting out the 'if' and compiling, this at least allows me to POST data via wifi.
But i'd like to get GET requests working as well, im not sure if this issue is whats causing GET requests to fail as its in the GET code block. (so its probably the my commenting out has caused this).
When the one+ makes a GET request to my server which is just listening for everything, all i get is the device id, nothing else.
Some pointers would be really helpful! (im very much a rookie arduino person).