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.
Fork of mbed-os by
ns_virtual_rf_api.h File Reference
Virtual RF interface API. More...
Go to the source code of this file.
Functions | |
int8_t | virtual_rf_device_register (phy_link_type_e link_type, uint16_t mtu_size) |
virtual_rf_device_register Creates virtual RF device Emulates "radio" link like the real RF driver would do it. | |
int8_t | virtual_rf_client_register (void) |
virtual_rf_client_register Creates virtual RF client "Acts" in a role of upper layer for MAC (802.15.4 or ethernet) and in a role of RF driver for serial MAC. |
Detailed Description
Virtual RF interface API.
Definition in file ns_virtual_rf_api.h.
Function Documentation
int8_t virtual_rf_client_register | ( | void | ) |
virtual_rf_client_register Creates virtual RF client "Acts" in a role of upper layer for MAC (802.15.4 or ethernet) and in a role of RF driver for serial MAC.
Forwards data between serial MAC and either 802.15.4 or ethernet MAC.
- Returns:
- Rf driver id
int8_t virtual_rf_device_register | ( | phy_link_type_e | link_type, |
uint16_t | mtu_size | ||
) |
virtual_rf_device_register Creates virtual RF device Emulates "radio" link like the real RF driver would do it.
MAC does not know the difference. Sends and listens data to/from serial MAC.
- Parameters:
-
link_type Link type behind virtual device mtu_size Maximum transmission unit size
- Returns:
- Rf driver id
Generated on Tue Jul 12 2022 13:16:23 by
