AP Mode - Server Sockets for TI CC3220

simith wrote on May 12, 2018:

Hello All,
I’m building an application using CC3220SF TI LaunchXL using Amazon FreeRTOS. The Device will need to go to AP mode and receive SSID and password from a Mobile App.I understand that a socket needs to be create and bound to a Port on the CC3220 to receive connections from the Mobile App, once it goes into AP mode. I’m able to set the Device to AP mode, now i need to move to the next step of accepting incoming connections.

Can someone please detail the steps required as to where is the code that implements a Server socket API to bind, listen and accept incoming connections in Amazon FreeRTOS over TCP. Is this supported in the current branch for TI CC3220 for Amazon Freertos, i’m not able to find it. Anyone has tried this before who can help me?

Thank you.

Cheers,
Simith

Edited by: simith on May 12, 2018 7:44 AM

Alexa-AWS wrote on May 18, 2018:

Hi Simith,

Currently, the Amazon FreeRTOS sockets layer for the TI CC3220SF only supports client API.

The TI SimpleLink SDK does provide support for server socket operations.

Check out this link (http://dev.ti.com/tirex/content/simplelink_cc32xx_sdk_1_40_00_03/docs/wifi_host_driver_api/html/group___socket.html) for TI’s driver documentation, and this link (http://www.ti.com/lit/SWRU455) for TI’s network processor programmers guide.

Alexa