Skip to content

Commit ff47193

Browse files
Arto Kinnunendeepakvenugopal
authored andcommitted
Add API for reading interface ID
1 parent 7d555a3 commit ff47193

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/nanostack/FEATURE_NANOSTACK/mbed-mesh-api/mbed-mesh-api/MeshInterfaceNanostack.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ class MeshInterfaceNanostack : public MeshInterface {
5656
*/
5757
virtual const char *get_mac_address();
5858

59+
/** Get the interface ID
60+
/return Interface identifier
61+
*/
62+
int8_t get_interface_id() const { return _network_interface_id; }
63+
5964
/**
6065
* \brief Callback from C-layer
6166
* \param state state of the network

0 commit comments

Comments
 (0)