Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

NanostackPhy Class Reference

NanostackPhy Class Reference

PHY driver class for Nanostack. More...

#include <NanostackPhy.h>

Inherited by NanostackMACPhy, and NanostackPPPPhy.

Public Member Functions

virtual int8_t phy_register ()=0
 Register this physical interface with Nanostack.
virtual NanostackMACPhynanostack_mac_phy ()
 Return pointer to a NanostackMACPhy.
virtual NanostackPPPPhynanostack_ppp_phy ()
 Return pointer to a NanostackPPPPhy.

Detailed Description

PHY driver class for Nanostack.

Definition at line 25 of file NanostackPhy.h.


Member Function Documentation

virtual NanostackMACPhy* nanostack_mac_phy (  ) [virtual]

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]

Return pointer to a NanostackPPPPhy.

Returns:
Pointer to requested phy type or NULL if this class doesn't implement the phy.

Reimplemented in NanostackPPPPhy.

Definition at line 50 of file NanostackPhy.h.

virtual int8_t phy_register (  ) [pure virtual]

Register this physical interface with Nanostack.

Returns:
Device driver ID or a negative error code on failure

Implemented in NanostackRfPhy.