Shashankm123
Junior Member level 1
@everyone
i want to send my sensor data to an PHP page using GET/POST method, please can you suggest how to carry out this step??
My send_sensor_data function looks like this
i want to send my sensor data to an PHP page using GET/POST method, please can you suggest how to carry out this step??
My send_sensor_data function looks like this
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 void send_sensor_data() { char *chk=NULL; int k=0; memset(data_message,'\0',DATA_MESG_MAX); for(int i=0;i<sampleno;i++) { //send_AT_command(AT_DATA_SEND,">",2); //applicable to sim300----MAP send_AT_command("AT+KTCPSND=1,58","CONNECT",5); //tcp--SAGEM----MAP //printStr(test); printStr(password); uart_write(comma); printStr(mote); uart_write(comma); printStr(ADC_data[i]); //uart_write(0x1A); printStr(end); }
Last edited by a moderator: