mbed-os/TEST_APPS/device/socket_app/cmd_ifconfig.h

20 lines
483 B
C

#ifndef CMD_IFCONFIG_H
#define CMD_IFCONFIG_H
#include "NetworkInterface.h"
#include "NetworkStack.h"
/** Get a pointer to a network interface instance
*
* Allowed interface types (depend on application configurations):
* cell0, wlan0, eth0, mesh0
*
* @return pointer to the network interface, or NULL if unrecognized or ambiguous
*/
NetworkInterface* get_interface(void);
void cmd_ifconfig_init(void);
const char* networkstack_error_to_str(int errorcode);
#endif