I'm using Wiced-3.7.0 with HTTPS , i'm facing issue with the multiple socket creation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

basically my application is multi threaded and  i'm creating multiple communication points.

but at a time i can create only one

there some api list which i'm using

wiced_result_t wiced_tcp_enable_tls( wiced_tcp_socket_t* socket, void* context );

wiced_result_t wiced_tcp_create_socket( wiced_tcp_socket_t* socket, wiced_interface_t interface );
wiced_result_t wiced_tcp_connect( wiced_tcp_socket_t* socket, const wiced_ip_address_t* address, uint16_t port, uint32_t timeout_ms );

wiced_result_t wiced_tcp_disconnect( wiced_tcp_socket_t* socket );

wiced_result_t wiced_tcp_delete_socket( wiced_tcp_socket_t* socket ); ....

0 Likes
1 Reply
CaWo_1798781
Level 3
Level 3
5 likes given First like received First like given

It's possible you're running out of heap; we've had this issue before as well, not being able to establish more than one TLS connection.