I have an Arduino Uno, SIM900 and NEO-6M, I wrote a program which send GPS data to my web server via the GPRS, it works fine.
Now, I want to set a value to a variable 'OverSpeed' to send sms in real time when the speed reach it, this is possible for a defined value. (exp: float OverSpeed = 80;).
But how if I want to update this value from my web server application via an SMS code for example. is it possible ?
Yes it is possible. When you send sms to arduino, store the new value to EEPROM and assign it to OverSpeed variable seperately. And add a line to setup function of arduino that reads the eeprom and update the OverSpeed variable.
Reason for updating in setup is, you specify the variable when you are burning the program. If you dont use eeprom, you will be fine untill a reset. Reset will wipe the last changed value to initial burned value. But if you bypass it in setup function, its just what you want.