Rtos API example
net_fhss.h File Reference
FHSS API. More...
Go to the source code of this file.
Functions | |
fhss_api_t * | ns_fhss_create (const fhss_configuration_t *fhss_configuration, const fhss_timer_t *fhss_timer, fhss_statistics_t *fhss_statistics) |
Creates FHSS API instance which will be registered to software MAC. | |
int | ns_fhss_configuration_set (fhss_api_t *fhss_api, const fhss_synch_configuration_t *fhss_synch_configuration) |
Set synchronization time configuration for FHSS network. | |
int | ns_fhss_delete (fhss_api_t *fhss_api) |
Deletes a FHSS API instance and removes it from software MAC. |
Detailed Description
FHSS API.
Definition in file net_fhss.h.
Function Documentation
int ns_fhss_configuration_set | ( | fhss_api_t * | fhss_api, |
const fhss_synch_configuration_t * | fhss_synch_configuration | ||
) |
Set synchronization time configuration for FHSS network.
Should be only called from Border router.
- Parameters:
-
fhss_api FHSS instance. fhss_synch_configuration FHSS synchronization time configuration.
- Returns:
- 0 on success, -1 on fail.
fhss_api_t* ns_fhss_create | ( | const fhss_configuration_t * | fhss_configuration, |
const fhss_timer_t * | fhss_timer, | ||
fhss_statistics_t * | fhss_statistics | ||
) |
Creates FHSS API instance which will be registered to software MAC.
- Parameters:
-
fhss_configuration Basic FHSS configuration. fhss_timer FHSS platform timer interface and configuration. fhss_statistics FHSS statistics storage.
- Returns:
- New FHSS instance if successful, NULL otherwise.
int ns_fhss_delete | ( | fhss_api_t * | fhss_api ) |
Deletes a FHSS API instance and removes it from software MAC.
- Parameters:
-
fhss_api FHSS instance.
- Returns:
- 0 on success, -1 on fail.
Generated on Sun Jul 17 2022 08:25:35 by 1.7.2