Manage SSL connection using AT commands

dgzlz
Posts: 1
Joined: Tue May 22, 2018 6:21 pm

Manage SSL connection using AT commands

Postby dgzlz » Wed May 23, 2018 3:57 pm

Hi,

I work for a medical device manufacturer. We are considering integrating the WROOM-02 Espressif module in our devices to connect to a server to send information regarding the status of the device and to receive some information (changes in settings, for example).

We would communicate with the WROOM-02 module from our medical device microprocessor. We were planning to do so by using AT commands. This is the same strategy we are using to communicate with other communication modules (for example, GSM), and is quite simple to integrate in our microprocessor code. However, we do not know how to proceed to establish de SSL connection. We want to use certificates at least at the server level, and maybe also in the client (in the WROOM-02 module). When we read the docummentation, we understand that we have to flash the firmware of the Espressif module to load the certificates. However, in the GSM module, we can do so using an AT command, which significantly simplifies the process. Moreover, once the certificates are uploaded, we are not sure if we will be able to manage the communication using AT commands or if we need to use the API somehow.

Could you please give me some tips? I really appreciate your help. We are trying to decide if this module would be adequate for our application.

Her Majesty
Posts: 319
Joined: Mon Oct 27, 2014 11:09 am

Re: Manage SSL connection using AT commands

Postby Her Majesty » Tue Jun 05, 2018 2:34 pm

AT+CWMODE=1 //sta mode
AT+CWJAP="SSID","password" // connect to router
AT+CIPSTART="SSL","iot.espressif.cn",8443 // SSL connection

Who is online

Users browsing this forum: No registered users and 3 guests