@@ -86,6 +86,21 @@ class WisunBorderRouter {
8686 * \return MESH_ERROR_NONE on success.
8787 * \return MESH_ERROR_UNKNOWN in case of failure.
8888 * */
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" )
89104 mesh_error_t start (NetworkInterface *mesh_if, NetworkInterface *backbone_if);
90105
91106 /* *
@@ -100,6 +115,21 @@ class WisunBorderRouter {
100115 * \return MESH_ERROR_NONE on success.
101116 * \return MESH_ERROR_UNKNOWN in case of failure.
102117 * */
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" )
103133 mesh_error_t start (NetworkInterface *mesh_if, OnboardNetworkStack::Interface *backbone_if);
104134
105135 /* *
0 commit comments