Statistics: Posted by SL!M — Wed Aug 12, 2015 5:38 pm
Statistics: Posted by SL!M — Tue Aug 11, 2015 3:23 pm
Statistics: Posted by SL!M — Thu Jun 18, 2015 2:37 am
Statistics: Posted by doughboy — Mon Apr 27, 2015 11:08 am
Statistics: Posted by ESP_Faye — Mon Apr 27, 2015 10:22 am
Statistics: Posted by doughboy — Thu Apr 23, 2015 11:12 am
Statistics: Posted by doughboy — Thu Apr 23, 2015 11:09 am
Statistics: Posted by doughboy — Thu Apr 23, 2015 10:55 am
Statistics: Posted by doughboy — Thu Apr 23, 2015 10:33 am
Code:
const char esp_server_ip[4] = {96, 114, 157, 81};
os_memcpy(user_tcp_conn.proto.tcp->remote_ip, esp_server_ip, 4);
user_tcp_conn.proto.tcp->remote_port = 465; // remote SSL port of tcp server
user_tcp_conn.proto.tcp->local_port = espconn_port(); //local port of ESP8266
espconn_regist_connectcb(&user_tcp_conn, user_tcp_connect_cb); // register connect callback
espconn_regist_reconcb(&user_tcp_conn, user_tcp_recon_cb); // register reconnect callback as error handler
espconn_secure_set_size(ESPCONN_CLIENT,5120); // set SSL buffer size, if your SSL packet larger than 2048
espconn_secure_connect(&user_tcp_conn); // tcp SSL connect
Statistics: Posted by ESP_Faye — Wed Apr 22, 2015 11:53 am
Statistics: Posted by doughboy — Wed Apr 22, 2015 11:18 am
Statistics: Posted by Her Mary — Wed Apr 22, 2015 10:53 am
Statistics: Posted by ESP_Faye — Mon Apr 20, 2015 2:17 pm