Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 1 month ago.
How to make http client settings permanent
Using C027. I am successfully using POST & GET commands to a http server. My problem is that I have to reconfigure the URL and Port settings for the profile before each POST command. There must be a way to make the profile settings permanent but I can't find the details in the ATcommand manual. It does state the settings are not written to non volatile ram. "The configured HTTP profile parameters are not saved in the non volatile memory"
Has anyone found the correct method to save the profile?
mdm.puts("AT+UHTTP=0,1,\"www.myserver.com\"\r\n"); -HTTP server host name (profile 0)
mdm.puts("AT+UHTTP=0,5,300\r\n"); set port at URL