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.
NanostackRfPhy.h
00001 /* 00002 * Copyright (c) 2016 ARM Limited. All rights reserved. 00003 */ 00004 00005 #ifndef NANOSTACK_RF_PHY_H_ 00006 #define NANOSTACK_RF_PHY_H_ 00007 00008 #include "NanostackPhy.h" 00009 00010 class NanostackRfPhy : public NanostackPhy { 00011 public: 00012 00013 /** Register this physical interface with Nanostack 00014 * 00015 * @return Device driver ID or a negative error 00016 * code on failure 00017 */ 00018 virtual int8_t rf_register() = 0; 00019 00020 /** Unregister this physical interface 00021 * 00022 */ 00023 virtual void rf_unregister() = 0; 00024 00025 /** Register this physical interface with Nanostack 00026 * 00027 * @return Device driver ID or a negative error 00028 * code on failure 00029 */ 00030 virtual int8_t phy_register() { return rf_register();} 00031 00032 /** Unregister this physical interface 00033 * 00034 */ 00035 virtual void unregister() { rf_unregister(); } 00036 }; 00037 00038 #endif /* NANOSTACK_RF_PHY_H_ */
Generated on Thu Jul 14 2022 14:36:20 by
