Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
thread_br_conn_handler.h
00001 /* 00002 * Copyright (c) 2016 ARM Limited. All rights reserved. 00003 */ 00004 00005 #ifndef thread_br_conn_handler_H_ 00006 #define thread_br_conn_handler_H_ 00007 00008 #ifdef __cplusplus 00009 extern "C" { 00010 #endif 00011 00012 #include "ns_types.h" 00013 00014 void thread_br_conn_handler_init(void); 00015 void thread_br_conn_handler_thread_connection_update(bool status); 00016 void thread_br_conn_handler_ethernet_connection_update(bool status); 00017 00018 // Tells that ethernet connection is ready and the prefix can be read and set. 00019 void thread_br_conn_handler_eth_ready(void); 00020 // Setters 00021 void thread_br_conn_handler_thread_interface_id_set(int8_t interfaceId); 00022 void thread_br_conn_handler_eth_interface_id_set(int8_t interfaceId); 00023 00024 // Getters thread_br_conn_handler 00025 bool thread_br_conn_handler_eth_connection_status_get(void); 00026 bool thread_br_conn_handler_thread_connection_status_get(void); 00027 int8_t thread_br_conn_handler_thread_interface_id_get(void); 00028 int8_t thread_br_conn_handler_eth_interface_id_get(void); 00029 00030 00031 #ifdef __cplusplus 00032 } 00033 #endif 00034 #endif /* thread_br_conn_handler_H_ */ 00035
Generated on Tue Jul 12 2022 20:25:37 by 1.7.2