I have struggled for a few days on this. I have codes for logging onto wifi router (at home), and I have codes for checking the IP address. And I have codes for sending the ADC data to a webpage (php). However, if I run then separately from LUA loader or something, it works fine. But when I put several pieces together into a complete program, and use tmr.alarm(0,2000,0,function) or something to separate the different chucks (to give the router time to respond), I have always failed. It seems tar.alarm disrupts the code for acting as a client (GET method). Anyone had similar experiences? does the MCU disable conn.connect or conn.send when the mr.alarm is activated? very frustrated. Thank you.
I have struggled for a few days on this. I have codes for logging onto wifi router (at home), and I have codes for checking the IP address. And I have codes for sending the ADC data to a webpage (php). However, if I run then separately from LUA loader or something, it works fine. But when I put several pieces together into a complete program, and use tmr.alarm(0,2000,0,function) or something to separate the different chucks (to give the router time to respond), I have always failed. It seems tar.alarm disrupts the code for acting as a client (GET method). Anyone had similar experiences? does the MCU disable conn.connect or conn.send when the mr.alarm is activated? very frustrated. Thank you.