-->
Page 3 of 9

Re: Native Smartmeter/datalogger

PostPosted: Wed Nov 19, 2014 9:31 am
by alonewolfx2
Borstenhorst wrote:Great!
Your welcome ;)


is there anyway to start logging on usermain?. i am writing
Code: Select allAT+CSTARTLOG="TCP","192.168.2.69/new_value.php?d=5&o=4",80
on the serial and its working fine. but if start on usermain its gonna be perfect.

Re: Native Smartmeter/datalogger

PostPosted: Wed Nov 19, 2014 10:11 am
by Borstenhorst
you might try to pass "="TCP","192.168.2.69/new_value.php?d=5&o=4",80"
to
at_setupCmdCipStartLog(uint8_t id, char *pPara)

you need to test where is a good place to do so or you might want to add a timer to fire an or find/implement a callback once the system is up.

Re: Native Smartmeter/datalogger

PostPosted: Wed Nov 19, 2014 10:22 am
by alonewolfx2
i am trying this but it cant work.chip is going to wdt reset. this is my code. have you any idea?

Code: Select allat_setupCmdCipStartLog(19,"=3,\"TCP\",\"192.168.2.69/new_value.php?d=5&o=4\",80");



Borstenhorst wrote:you might try to pass "="TCP","192.168.2.69/new_value.php?d=5&o=4",80"
to
at_setupCmdCipStartLog(uint8_t id, char *pPara)

you need to test where is a good place to do so or you might want to add a timer to fire an or find/implement a callback once the system is up.

Re: Native Smartmeter/datalogger

PostPosted: Wed Nov 19, 2014 11:50 am
by Borstenhorst
from where you doing this?