Closed
Description
Description
as per conversation #10687
Once you are succesfully connected to server and server stops working you can see in debug:
[DBG ][CELL]: AT OoB readable 1, len 0
[INFO][CELL]: AT RX (14): <cr><ln>+UUSOCL: 0<cr><ln>
[DBG ][CELL]: AT OoB done
which is perfect but i have callback registered with _socket.sigio(callback(this, &Test::socketCb));
and there is no cb called. If I try to listen for data _socket.recv(buffer, size)
after i received above, no negative error is returned so it looks the socket is still open (from OS point of view).
The only way to check if the socket is still open is to write data to it _socket.send(data, size) - this will give you NSAPI_ERROR_DEVICE_ERROR (-3012)
The problem is that UBLOX_AT_CellularStack
doesn't have a callback/not acting for this command received.
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug