Add some documentation for the callback

pull/6032/head
Jarno Lamsa 2018-02-12 11:02:07 +02:00
parent fd92fe1906
commit 8bea5ef438
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ public:
virtual nsapi_error_t add_dns_server(const SocketAddress &address);
/** Register callback for status reporting
*
* The specified status callback function will be called on status changes
* on the network. The parameters on the callback are the event type and
* event-type dependent reason parameter.
*
* @param status_cb The callback for status changes
*/