PPP PHY driver class for Nanostack. More...
#include <NanostackPPPPhy.h>
Public Types | |
typedef mbed::Callback< void(bool up)> | link_state_change_cb_t |
Link state callback function prototype. More... | |
Public Member Functions | |
virtual void | set_link_state_change_cb (link_state_change_cb_t cb)=0 |
Set link state callback of this physical interface. More... | |
virtual void | get_iid64 (uint8_t *iid64)=0 |
Read the iid64 address of this physical interface. More... | |
virtual uint16_t | get_mtu ()=0 |
Read the mtu of this physical interface. More... | |
NanostackPPPPhy * | nanostack_ppp_phy () final |
Provide access to the NanostackMACPhy. More... | |
virtual int8_t | phy_register ()=0 |
Register this physical interface with Nanostack. More... | |
virtual NanostackMACPhy * | nanostack_mac_phy () |
Return pointer to a NanostackMACPhy. More... | |
PPP PHY driver class for Nanostack.
Definition at line 23 of file NanostackPPPPhy.h.
typedef mbed::Callback<void (bool up)> link_state_change_cb_t |
Link state callback function prototype.
up | link up |
Definition at line 29 of file NanostackPPPPhy.h.
|
pure virtual |
Read the iid64 address of this physical interface.
iid64 | iid64 address |
|
pure virtual |
Read the mtu of this physical interface.
|
virtualinherited |
Return pointer to a NanostackMACPhy.
Reimplemented in NanostackMACPhy.
Definition at line 40 of file NanostackPhy.h.
|
finalvirtual |
Provide access to the NanostackMACPhy.
Reimplemented from NanostackPhy.
Definition at line 53 of file NanostackPPPPhy.h.
|
pure virtualinherited |
Register this physical interface with Nanostack.
Implemented in NanostackRfPhy.
|
pure virtual |
Set link state callback of this physical interface.
cb | callback |