Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Send Micro controller data to server via GET/POST method

Status
Not open for further replies.

Shashankm123

Junior Member level 1
Joined
Jan 22, 2014
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
109
@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

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:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top