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 OmniWheels by
sw_mac.h File Reference
Software MAC API. More...
Go to the source code of this file.
Functions | |
struct mac_api_s * | ns_sw_mac_create (int8_t rf_driver_id, struct mac_description_storage_size_s *storage_sizes) |
Creates 802.15.4 MAC API instance which will use RF driver given. | |
int8_t | ns_sw_mac_virtual_client_register (struct mac_api_s *api, int8_t virtual_driver_id) |
ns_sw_mac_virtual_client_register registers virtual driver to be used with 802.15.4 MAC. | |
int8_t | ns_sw_mac_virtual_client_unregister (struct mac_api_s *api) |
ns_sw_mac_virtual_client_unregister Unregisters virtual driver from 802.15.4 MAC | |
int | ns_sw_mac_fhss_register (struct mac_api_s *mac_api, struct fhss_api *fhss_api) |
Registers created FHSS API instance to given software MAC instance. | |
int | ns_sw_mac_statistics_start (struct mac_api_s *mac_api, struct mac_statistics_s *mac_statistics) |
Start collecting statistics from software MAC. |
Detailed Description
Software MAC API.
Definition in file sw_mac.h.
Function Documentation
struct mac_api_s* ns_sw_mac_create | ( | int8_t | rf_driver_id, |
struct mac_description_storage_size_s * | storage_sizes | ||
) | [read] |
Creates 802.15.4 MAC API instance which will use RF driver given.
- Parameters:
-
rf_driver_id RF driver id. Must be valid storage_sizes dynamic mac storage sizes DO NOT set any values to zero !!
- Returns:
- New MAC instance if successful, NULL otherwise
int ns_sw_mac_statistics_start | ( | struct mac_api_s * | mac_api, |
struct mac_statistics_s * | mac_statistics | ||
) |
int8_t ns_sw_mac_virtual_client_register | ( | struct mac_api_s * | api, |
int8_t | virtual_driver_id | ||
) |
Generated on Fri Jul 22 2022 04:54:08 by
