ros2_control - foxy
Loading...
Searching...
No Matches
zephyr-zenoh-integration
zenbedded_common
include
zenbedded_common
network.hpp
1
// Copyright 2026 Open Source Robotics Foundation, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#ifndef ZENBEDDED_COMMON__NETWORK_HPP_
16
#define ZENBEDDED_COMMON__NETWORK_HPP_
17
18
#include <zephyr/net/net_if.h>
19
#include <cstddef>
20
21
namespace
zenbedded::common
22
{
23
30
int
init_wifi(net_if * iface =
nullptr
);
31
38
int
init_usbd(net_if * iface =
nullptr
);
39
48
int
init_network();
49
55
bool
is_usbd_ready();
56
63
bool
is_wifi_ready();
64
76
int
get_usb_peer_locator(
const
char
* target_locator,
char
* out_usb_locator,
size_t
out_len);
77
78
}
// namespace zenbedded::common
79
80
#endif
// ZENBEDDED_COMMON__NETWORK_HPP_
Generated by
1.15.0