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_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 Fri Jul 22 2022 04:54:08 by
1.7.2
