/* Bluetooth Mesh *//* * SPDX-FileCopyrightText: 2017 Intel Corporation * SPDX-FileContributor: 2018-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */#ifndef_BLE_MESH_TEST_H_#define_BLE_MESH_TEST_H_#include"net.h"#include"proxy_client.h"#include"mesh/adapter.h"#ifdef__cplusplusextern"C"{#endifstructbt_mesh_device_network_info{uint8_tnet_key[16];uint16_tnet_idx;uint8_tflags;uint32_tiv_index;uint16_tunicast_addr;uint8_tdev_key[16];uint8_tapp_key[16];uint16_tapp_idx;uint16_tgroup_addr;}{ ... };intbt_mesh_device_auto_enter_network(structbt_mesh_device_network_info*info);/* Before trying to update the white list, users need to make sure that * one of the following conditions is satisfied: * 1. BLE scanning is disabled; * 2. BLE scanning is enabled with scan filter policy disabled; * If BLE scanning is enabled with scan filter policy enabled, users need * to stop BLE scanning firstly, then the white list can be updated. *//* ... */intbt_mesh_test_update_white_list(structbt_mesh_white_list*wl);intbt_mesh_test_start_scanning(boolwl_en);intbt_mesh_test_stop_scanning(void);typedefvoid(*bt_mesh_test_net_pdu_cb_t)(constuint8_t*data,uint16_tlength);externbt_mesh_test_net_pdu_cb_tnet_pdu_test_cb;voidbt_mesh_test_register_net_pdu_cb(bt_mesh_test_net_pdu_cb_tcb);voidbt_mesh_test_set_seq(uint32_tseq);#ifdef__cplusplus}{...}#endif/* ... */#endif/* _BLE_MESH_TEST_H_ */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.