
Data Structures | |
| struct | zb_route_record_s |
| Route record for public API usage. More... | |
Typedefs | |
| typedef struct zb_route_record_s | zb_route_record_t |
| Route record for public API usage. More... | |
Functions | |
| zb_ret_t | zb_get_source_route (zb_route_record_t *p_route_record, zb_uint16_t short_dst_addr) |
| void | zb_start_concentrator_mode (zb_uint8_t radius, zb_uint32_t disc_time) |
| void | zb_stop_concentrator_mode (void) |
| typedef struct zb_route_record_s zb_route_record_t |
Route record for public API usage.
| zb_ret_t zb_get_source_route | ( | zb_route_record_t * | p_route_record, |
| zb_uint16_t | short_dst_addr | ||
| ) |
Search the local source route table for a route to the device.
| p_route_record | - pointer to the structure to be filled with the route record |
| short_dst_addr | - short address of the device to search route to |
| void zb_start_concentrator_mode | ( | zb_uint8_t | radius, |
| zb_uint32_t | disc_time | ||
| ) |
Enable Concentrator mode for the device (disabled by default). It's possible to call this function to send MTORR immediately, e.g. after a new device joined the network. It does affect only for Coordinator role.
| radius | - the hop count radius for concentrator route discoveries. If the value is set zero then the default radius will be used. |
| disc_time | - the time in seconds between concentrator route discoveries. If the value is set to zero, the route discoveries are done by the application layer only. |
| void zb_stop_concentrator_mode | ( | void | ) |
Disable Concentrator mode for the device. It does affect only for Coordinator role.