Radio PHY driver class for Nanostack. More...
#include <NanostackRfPhy.h>
Public Member Functions | |
virtual int8_t | rf_register ()=0 |
Register this physical interface with Nanostack. More... | |
virtual void | rf_unregister ()=0 |
Unregister this physical interface. More... | |
virtual int8_t | phy_register () |
Register this physical interface with Nanostack. More... | |
virtual void | unregister () |
Unregister this physical interface. More... | |
virtual void | get_mac_address (uint8_t *mac)=0 |
Read the mac address of this physical interface. More... | |
virtual void | set_mac_address (uint8_t *mac)=0 |
Set the mac address of this physical interface. More... | |
virtual NanostackMACPhy * | nanostack_mac_phy () |
Provide access to the NanostackMACPhy. More... | |
virtual NanostackPPPPhy * | nanostack_ppp_phy () |
Return pointer to a NanostackPPPPhy. More... | |
Static Public Member Functions | |
static NanostackRfPhy & | get_default_instance () |
Return the default on-board NanostackRfPhy. More... | |
Radio PHY driver class for Nanostack.
Definition at line 24 of file NanostackRfPhy.h.
|
static |
Return the default on-board NanostackRfPhy.
Returns the default on-board NanostackRfPhy - this will be target-specific, and may not be available on all targets.
|
pure virtualinherited |
Read the mac address of this physical interface.
Note - some devices do not have a mac address in hardware.
mac | mac address |
|
virtualinherited |
Provide access to the NanostackMACPhy.
Reimplemented from NanostackPhy.
Definition at line 45 of file NanostackMACPhy.h.
|
virtualinherited |
Return pointer to a NanostackPPPPhy.
Reimplemented in NanostackPPPPhy.
Definition at line 50 of file NanostackPhy.h.
|
virtual |
Register this physical interface with Nanostack.
Implements NanostackPhy.
Definition at line 51 of file NanostackRfPhy.h.
|
pure virtual |
Register this physical interface with Nanostack.
|
pure virtual |
Unregister this physical interface.
|
pure virtualinherited |
Set the mac address of this physical interface.
mac | mac address |
|
virtual |
Unregister this physical interface.
Definition at line 59 of file NanostackRfPhy.h.