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
net_pana_parameters_api.h File Reference
An API for setting up or changing PANA library parameters. More...
Go to the source code of this file.
Data Structures | |
| struct | pana_lib_parameters_s |
| The structure defines PANA library parameters. More... | |
Typedefs | |
| typedef struct pana_lib_parameters_s | pana_lib_parameters_s |
| The structure defines PANA library parameters. | |
Functions | |
| int8_t | net_pana_parameter_set (const pana_lib_parameters_s *parameter_ptr) |
| A function to set PANA library parameters. | |
| int8_t | net_pana_parameter_read (pana_lib_parameters_s *parameter_ptr) |
| A function to read existing PANA library parameters. | |
Detailed Description
An API for setting up or changing PANA library parameters.
Setting up PANA parameters.
- net_pana_parameter_set(), A function to set up PANA library parameters.
Checking existing PANA setup.
- net_pana_parameter_read(), A function to read current PANA library setup.
Definition in file net_pana_parameters_api.h.
Typedef Documentation
| typedef struct pana_lib_parameters_s pana_lib_parameters_s |
The structure defines PANA library parameters.
Function Documentation
| int8_t net_pana_parameter_read | ( | pana_lib_parameters_s * | parameter_ptr ) |
A function to read existing PANA library parameters.
- Parameters:
-
parameter_ptr An output pointer for PANA parameters.
- Returns:
- 0, Read OK.
- -1, PANA not supported.
A function to read existing PANA library parameters.
- Parameters:
-
parameter_ptr Output pointer for Pana parameters
| int8_t net_pana_parameter_set | ( | const pana_lib_parameters_s * | parameter_ptr ) |
A function to set PANA library parameters.
Note: This function should be called after net_init_core() and definitely before creating any 6LoWPAN interface.
For future compatibility, to support extensions to this structure, read the current parameters using net_pana_parameter_read(), modify known fields, then set.
- Parameters:
-
parameter_ptr A pointer for PANA parameters.
- Returns:
- 0, Change OK.
- -1, Invalid values.
- -2, PANA not supported.
Generated on Fri Jul 22 2022 04:54:07 by
1.7.2
