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.
mac_mlme.c File Reference
MLME API for MAC control. More...
Go to the source code of this file.
Functions | |
| static int8_t | mac_mlme_rf_channel_set (struct protocol_interface_rf_mac_setup *rf_setup, uint8_t new_channel) |
| Initialize MAC channel selection sequence. | |
| int | mac_mlme_beacon_notify (protocol_interface_rf_mac_setup_s *rf_mac_setup, mlme_beacon_ind_t *data) |
| mac_mlme_beacon_notify Function which is called every time a beacon is received | |
| void | mac_mlme_mac_radio_disabled (protocol_interface_rf_mac_setup_s *rf_mac_setup) |
| Radio Disable and enable functions. | |
| int8_t | mac_mlme_rf_channel_change (protocol_interface_rf_mac_setup_s *rf_mac_setup, uint8_t new_channel) |
| MAC channel change. | |
Detailed Description
MLME API for MAC control.
MLME API for MAC certification.
Definition in file mac_mlme.c.
Function Documentation
| int mac_mlme_beacon_notify | ( | struct protocol_interface_rf_mac_setup * | rf_mac_setup, |
| struct mlme_beacon_ind_s * | data | ||
| ) |
mac_mlme_beacon_notify Function which is called every time a beacon is received
- Parameters:
-
rf_mac_setup Current MAC setup data Reference to beacon data
- Returns:
Definition at line 1249 of file mac_mlme.c.
| void mac_mlme_mac_radio_disabled | ( | protocol_interface_rf_mac_setup_s * | rf_mac_setup ) |
Radio Disable and enable functions.
Definition at line 1385 of file mac_mlme.c.
| int8_t mac_mlme_rf_channel_change | ( | protocol_interface_rf_mac_setup_s * | rf_mac_setup, |
| uint8_t | new_channel | ||
| ) |
MAC channel change.
Initialize MAC channel selection sequence.
- Parameters:
-
new_channel channel to set
- Returns:
- 0 success
- -1 error
Definition at line 1496 of file mac_mlme.c.
| static int8_t mac_mlme_rf_channel_set | ( | struct protocol_interface_rf_mac_setup * | rf_setup, |
| uint8_t | new_channel | ||
| ) | [static] |
Initialize MAC channel selection sequence.
TODO: initialize channel select sequence in coordinator mode
- Parameters:
-
new_channel channel to set
- Returns:
- 0 success
- -1 HW error
Definition at line 1466 of file mac_mlme.c.
Generated on Tue Aug 9 2022 00:37:27 by
1.7.2