TCP connet Net Shell function seems to not working when using NET_SOCKETS_OFFLOAD #12814
Labels
area: Networking
area: Offloading
area: Sockets
Networking sockets
Enhancement
Changes/Updates/Additions to existing features
priority: low
Low impact/importance bug
Describe the bug
tcp connect seems to call net_context_offloading API functions even for aplications with NET_SOCKETS_OFFLOAD that leads to fall to simplelink_dummy_get handler.
To Reproduce
1.) build project for CC3220SF with CONFIG_NET_SHELL=y and CONFIG_NET_SOCKETS_OFFLOAD=y
2.) connect with serial terminal
3.) connect to wifi
3.) Invoke: net tcp connect your_server_adress your_server_port
4.) watch error messages
Expected behavior
Established tcp connection
Screenshots or console output
net tcp connect 192.128.0.101 4444
Connecting from 10.67.36.145:0 to 192.128.0.101:4444
Cannot get TCP context (-1)
uart:~$ [01:14:31.763,244] wifi_simplelink: NET_SOCKET_OFFLOAD must be configured for this driver
[01:14:31.763,244] wifi_simplelink: NET_SOCKET_OFFLOAD must be configured for this driver
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: