net_short_address_extension.c File Reference
Network Short address extension API for library model. More...
Go to the source code of this file.
Functions | |
void | net_ext_set_short_address_from_app (uint16_t short_id, uint8_t generate_dynamical_at_DAD) |
Function to set short address from application. | |
void | net_ext_reset_short_address_from_app (void) |
Clears currently used static or default short address and enables dynamic generation of new short address. | |
uint16_t | net_ext_get_short_address (void) |
Get current short address used in the network for this particular interface. |
Detailed Description
Network Short address extension API for library model.
Definition in file net_short_address_extension.c.
Function Documentation
uint16_t net_ext_get_short_address | ( | void | ) |
Get current short address used in the network for this particular interface.
- Returns:
- 0xfffe or 0xffff if stack is not using any short address.
Definition at line 65 of file net_short_address_extension.c.
void net_ext_reset_short_address_from_app | ( | void | ) |
Clears currently used static or default short address and enables dynamic generation of new short address.
Definition at line 53 of file net_short_address_extension.c.
void net_ext_set_short_address_from_app | ( | uint16_t | short_id, |
uint8_t | generate_dynamical_at_DAD | ||
) |
Function to set short address from application.
- Parameters:
-
short_id 16-bit user-specified short address. generate_dynamical_at_DAD Set 1 if stack is allowed to generate new short address dynamically in case of DAD, otherwise set 0.
- Returns:
- 0xfffe or 0xffff when the stack does not use any short address.
Definition at line 33 of file net_short_address_extension.c.
Generated on Tue Jul 12 2022 12:22:32 by
