sundus abrar
Junior Member level 1
hello every one!
i am using a sim300 module to transfer adc data from atmega16 to a remote server via gprs.i have got the commands right,i have connected to the server with both the atmega16 aswell as through hyperterminal.the server is using C sockets to listen to incoming data.now i am facing 2 problems:
1. data i send from the hyperterminal is getting stored in the database i have enabled at the server but when i send data through MC,it does not update the database.it is being received as i see the data on my server screen but it does not store :S am i missing some type of character that the hyperterminal program automatically adds to store data..?
2. i am sending ADC data with the following approach: an integer variable is assigned the ADC output reading which is inturn updated in a character array.when the array reaches the size 10, it is trigerred to transmit the data to the server. but i donot receive the ADC value at the receiver.instead i receive especial characters on my server screen.the transmit function im using caters for strings,is it a reason why my int vals arent being displayed?
plz if any one has experienced this issue, plz let me know,or if anyone has any kind of idea how to get this fixed..i really really need your help on this one!
i am using a sim300 module to transfer adc data from atmega16 to a remote server via gprs.i have got the commands right,i have connected to the server with both the atmega16 aswell as through hyperterminal.the server is using C sockets to listen to incoming data.now i am facing 2 problems:
1. data i send from the hyperterminal is getting stored in the database i have enabled at the server but when i send data through MC,it does not update the database.it is being received as i see the data on my server screen but it does not store :S am i missing some type of character that the hyperterminal program automatically adds to store data..?
2. i am sending ADC data with the following approach: an integer variable is assigned the ADC output reading which is inturn updated in a character array.when the array reaches the size 10, it is trigerred to transmit the data to the server. but i donot receive the ADC value at the receiver.instead i receive especial characters on my server screen.the transmit function im using caters for strings,is it a reason why my int vals arent being displayed?
plz if any one has experienced this issue, plz let me know,or if anyone has any kind of idea how to get this fixed..i really really need your help on this one!