@@ -86,6 +86,21 @@ class WisunBorderRouter {
86
86
* \return MESH_ERROR_NONE on success.
87
87
* \return MESH_ERROR_UNKNOWN in case of failure.
88
88
* */
89
+ mesh_error_t start (WisunInterface *mesh_if, NetworkInterface *backbone_if);
90
+
91
+ /* *
92
+ * \brief Start Wi-SUN Border Router
93
+ *
94
+ * Starts Wi-SUN Border Router and routing between the mesh and backbone interfaces. Network interfaces
95
+ * must be initialized and connected before calling the start. Backbone interface can be either Ethernet
96
+ * (EMAC) or Cellular.
97
+ *
98
+ * \param mesh_if Wi-SUN mesh network interface
99
+ * \param backbone_if Backbone network interface
100
+ * \return MESH_ERROR_NONE on success.
101
+ * \return MESH_ERROR_UNKNOWN in case of failure.
102
+ * */
103
+ MBED_DEPRECATED_SINCE (" mbed-os-5.15.8" , " Using NetworkInterface type for mesh_if is deprecated, use WisunInterface instead" )
89
104
mesh_error_t start (NetworkInterface *mesh_if, NetworkInterface *backbone_if);
90
105
91
106
/* *
@@ -100,6 +115,21 @@ class WisunBorderRouter {
100
115
* \return MESH_ERROR_NONE on success.
101
116
* \return MESH_ERROR_UNKNOWN in case of failure.
102
117
* */
118
+ mesh_error_t start (WisunInterface *mesh_if, OnboardNetworkStack::Interface *backbone_if);
119
+
120
+ /* *
121
+ * \brief Start Wi-SUN Border Router
122
+ *
123
+ * Starts Wi-SUN Border Router and routing between the mesh and backbone interfaces. Mesh network interface
124
+ * must be initialized and connected before calling the start. Backbone OnboardNetworkStack::Interface must
125
+ * be brought up before calling the start. Backbone interface can be either Ethernet (EMAC) or Cellular (PPP).
126
+ *
127
+ * \param mesh_if Wi-SUN mesh network interface
128
+ * \param backbone_if Backbone OnboardNetworkStack::Interface interface
129
+ * \return MESH_ERROR_NONE on success.
130
+ * \return MESH_ERROR_UNKNOWN in case of failure.
131
+ * */
132
+ MBED_DEPRECATED_SINCE (" mbed-os-5.15.8" , " Using NetworkInterface type for mesh_if is deprecated, use WisunInterface instead" )
103
133
mesh_error_t start (NetworkInterface *mesh_if, OnboardNetworkStack::Interface *backbone_if);
104
134
105
135
/* *
0 commit comments