AIROC™ BTSDK v4.0 - Documentation | ||||
The mesh client API. More...
Functions | |
wiced_bool_t | wiced_bt_mesh_remote_provisioning_is_gatt_connecting (void) |
Checking GATT connection. More... | |
void | wiced_bt_mesh_remote_provisioning_connection_state_changed (uint16_t conn_id, uint16_t reason) |
Connection State Changed. More... | |
void | wiced_bt_mesh_client_search_proxy (uint8_t start) |
Search for Proxy device. More... | |
wiced_bool_t | wiced_bt_mesh_client_proxy_connect (wiced_bt_mesh_proxy_connect_data_t *p_data) |
Proxy Connect. More... | |
wiced_bool_t | wiced_bt_mesh_client_proxy_disconnect (void) |
Proxy Disonnect. More... | |
wiced_bool_t | wiced_bt_mesh_client_provision_connect (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_provision_connect_data_t *p_connect, wiced_bool_t use_pb_gatt) |
wiced_bool_t | wiced_bt_mesh_provision_disconnect (wiced_bt_mesh_event_t *p_event) |
Provisioner Disconnect. More... | |
void | wiced_bt_ble_set_scan_mode (uint8_t is_active) |
Set Scan Mode. More... | |
void | wiced_bt_mesh_client_vendor_data (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len) |
Send Vendor Data message. More... | |
The mesh client API.
void wiced_bt_ble_set_scan_mode | ( | uint8_t | is_active | ) |
Set Scan Mode.
The application can call this function to switch between passive and active scan.
is_active | If set to 1, the stack will perform the active scan |
wiced_bool_t wiced_bt_mesh_client_proxy_connect | ( | wiced_bt_mesh_proxy_connect_data_t * | p_data | ) |
Proxy Connect.
The application can call this function to establish GATT Proxy connection. Depending on the parameters the connection should be establishing either to a device advertising it's identity, or a device advertising a mesh network
p_data | Pointer to the data structure with the node identity or network. |
wiced_bool_t wiced_bt_mesh_client_proxy_disconnect | ( | void | ) |
Proxy Disonnect.
The application can call this function to terminat GATT Proxy connection.
none |
void wiced_bt_mesh_client_search_proxy | ( | uint8_t | start | ) |
Search for Proxy device.
Process command from the MCU to start or stop scanning for GATT Proxy devices.
p_data | Pointer to the data structure with start/stop information. |
void wiced_bt_mesh_client_vendor_data | ( | wiced_bt_mesh_event_t * | p_event, |
uint8_t * | p_data, | ||
uint16_t | data_len | ||
) |
Send Vendor Data message.
The application can call this function to send Vendor Data message to the Client
p_event | Pointer to the event structure which identified the remote provisioning server. |
p_data | Pointer to the vendor data |
data_len | Length of the vendor data |
wiced_bool_t wiced_bt_mesh_provision_disconnect | ( | wiced_bt_mesh_event_t * | p_event | ) |
Provisioner Disconnect.
The application can call this function to terminate GATT Provisioning connection.
p_event | Pointer to the event structure which identified the remote provisioning server. |
void wiced_bt_mesh_remote_provisioning_connection_state_changed | ( | uint16_t | conn_id, |
uint16_t | reason | ||
) |
Connection State Changed.
The application shall call this function when connection is established or dropped.
conn_id | GATT connection ID, or 0 if connection is lost. |
reason | Disconnection reason |
wiced_bool_t wiced_bt_mesh_remote_provisioning_is_gatt_connecting | ( | void | ) |
Checking GATT connection.
This function returns TRUE if remote provisioning started GATT connection
none |