Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
NanostackPPPPhy Class Reference
PPP PHY driver class for Nanostack. More...
#include <NanostackPPPPhy.h>
Inherits NanostackPhy.
Inherited by PPPPhy.
Public Types | |
typedef mbed::Callback< void(bool up)> | link_state_change_cb_t |
Link state callback function prototype. | |
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. | |
virtual void | get_iid64 (uint8_t *iid64)=0 |
Read the iid64 address of this physical interface. | |
virtual uint16_t | get_mtu ()=0 |
Read the mtu of this physical interface. | |
virtual NanostackPPPPhy * | nanostack_ppp_phy () |
Provide access to the NanostackMACPhy. | |
virtual int8_t | phy_register ()=0 |
Register this physical interface with Nanostack. | |
virtual NanostackMACPhy * | nanostack_mac_phy () |
Return pointer to a NanostackMACPhy. |
Detailed Description
PPP PHY driver class for Nanostack.
Definition at line 23 of file NanostackPPPPhy.h.
Member Typedef Documentation
typedef mbed::Callback<void (bool up)> link_state_change_cb_t |
Link state callback function prototype.
- Parameters:
-
up link up
Definition at line 29 of file NanostackPPPPhy.h.
Member Function Documentation
virtual void get_iid64 | ( | uint8_t * | iid64 ) | [pure virtual] |
Read the iid64 address of this physical interface.
- Parameters:
-
iid64 iid64 address
virtual uint16_t get_mtu | ( | ) | [pure virtual] |
Read the mtu of this physical interface.
- Returns:
- mtu
virtual NanostackMACPhy* nanostack_mac_phy | ( | ) | [virtual, inherited] |
Return pointer to a NanostackMACPhy.
- Returns:
- Pointer to requested phy type or NULL if this class doesn't implement the phy.
Reimplemented in NanostackMACPhy.
Definition at line 40 of file NanostackPhy.h.
virtual NanostackPPPPhy* nanostack_ppp_phy | ( | ) | [virtual] |
Provide access to the NanostackMACPhy.
- Returns:
- NanostackPPPPhy
Reimplemented from NanostackPhy.
Definition at line 53 of file NanostackPPPPhy.h.
virtual int8_t phy_register | ( | ) | [pure virtual, inherited] |
Register this physical interface with Nanostack.
- Returns:
- Device driver ID or a negative error code on failure
Implemented in NanostackRfPhy.
virtual void set_link_state_change_cb | ( | link_state_change_cb_t | cb ) | [pure virtual] |
Set link state callback of this physical interface.
- Parameters:
-
cb callback
Generated on Tue Jul 12 2022 13:55:34 by
