Skip to content

Commit 4eaffb4

Browse files
author
Hasnain Virk
committed
Minor doc update
Socket ID is usually spitted out by the modem, however there are cases when the modem is actully taken in as an input argument, e.g., in the case of QUECTEL M26 modem. This minor knit clarifies that the CellularSocket::id can be an input argument.
1 parent 46603f8 commit 4eaffb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/cellular/framework/AT/AT_CellularStack.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ class AT_CellularStack : public NetworkStack, public AT_CellularBase {
105105
pending_bytes(0)
106106
{
107107
}
108-
// Socket id from cellular device
108+
// Socket identifier, generally it will be the socket ID assigned by the
109+
// modem. In a few special cases, modems may take that as an input argument.
109110
int id;
110111
// Being connected means remote ip address and port are set
111112
bool connected;

0 commit comments

Comments
 (0)