2 * HAL (Hardware Abstract Layer) UWB API
4 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
26 #include <hal-uwb-interface.h>
28 int hal_uwb_get_backend(void);
29 int hal_uwb_put_backend(void);
31 int hal_uwb_start(uwb_hal_event_cbs_s *event_cbs);
32 int hal_uwb_stop(void);
33 int hal_uwb_test(void);
34 int hal_uwb_reset(void);
35 int hal_uwb_factory_reset(void);
36 int hal_uwb_enable_network(void);
37 int hal_uwb_disable_network(void);
38 int hal_uwb_get_network_info(uwb_hal_network_s **network_info);
39 int hal_uwb_set_configurations(uint16_t node_id, const GVariant *configurations);
40 int hal_uwb_get_configurations(uint16_t node_id, GVariant **configurations);
41 int hal_uwb_set_position(uint64_t node_id, int x, int y, int z);
42 int hal_uwb_get_own_node(uwb_hal_node_s **own_node);
43 int hal_uwb_send_message(const unsigned char *message, int message_length);
44 int hal_uwb_send_message_to(uint16_t node_id, const unsigned char *message, int message_length);
49 #endif /* __HAL_UWB__ */