You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app: Use sm_at_host_get_current() instead of sock->pipe
For most cases, where we are going to send something to AT pipe,
the in_datamode() should be called with the current AT context,
not with the pipe reference where the socket was originally created.
This is because if DLC1 creates a sockets and If DLC2 is used
to AT#RECV, then in_datamode(sock->pipe)
would return wrong data, because sock->pipe refers to DLC1 not the
context where AT command is coming.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
0 commit comments