Skip to content

Commit 8bea5ef

Browse files
author
Jarno Lamsa
committed
Add some documentation for the callback
1 parent fd92fe1 commit 8bea5ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features/netsocket/NetworkInterface.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ class NetworkInterface {
131131
virtual nsapi_error_t add_dns_server(const SocketAddress &address);
132132

133133
/** Register callback for status reporting
134+
*
135+
* The specified status callback function will be called on status changes
136+
* on the network. The parameters on the callback are the event type and
137+
* event-type dependent reason parameter.
134138
*
135139
* @param status_cb The callback for status changes
136140
*/

0 commit comments

Comments
 (0)