MeshX 0.3
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
Loading...
Searching...
No Matches
meshx_prov_cb_param_t::meshx_friend_friendship_terminate_param Struct Reference

MESHX_FRIEND_FRIENDSHIP_TERMINATE_EVT. More...

#include <meshx_ble_mesh_prov_srv.h>

Collaboration diagram for meshx_prov_cb_param_t::meshx_friend_friendship_terminate_param:
Collaboration graph

Public Types

enum  {
  MESHX_FRND_FRIENDSHIP_TERMINATE_ESTABLISH_FAIL ,
  MESHX_FRND_FRIENDSHIP_TERMINATE_POLL_TIMEOUT ,
  MESHX_FRND_FRIENDSHIP_TERMINATE_RECV_FRND_REQ ,
  MESHX_FRND_FRIENDSHIP_TERMINATE_RECV_FRND_CLEAR ,
  MESHX_FRND_FRIENDSHIP_TERMINATE_DISABLE
}
 

Data Fields

uint16_t lpn_addr
 
enum meshx_prov_cb_param_t::meshx_friend_friendship_terminate_param:: { ... }  reason
 

Detailed Description

MESHX_FRIEND_FRIENDSHIP_TERMINATE_EVT.

Definition at line 688 of file meshx_ble_mesh_prov_srv.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

This enum value is the reason of friendship termination on the friend node side

Enumerator
MESHX_FRND_FRIENDSHIP_TERMINATE_ESTABLISH_FAIL 

Friend Offer has been sent, but Friend Offer is not received within 1 second, friendship fails to be established

MESHX_FRND_FRIENDSHIP_TERMINATE_POLL_TIMEOUT 

Friendship is established, PollTimeout timer expires and no Friend Poll/Sub Add/Sub Remove is received

MESHX_FRND_FRIENDSHIP_TERMINATE_RECV_FRND_REQ 

Receive Friend Request from existing Low Power Node

MESHX_FRND_FRIENDSHIP_TERMINATE_RECV_FRND_CLEAR 

Receive Friend Clear from other friend node

MESHX_FRND_FRIENDSHIP_TERMINATE_DISABLE 

Friend feature disabled or corresponding NetKey is deleted

Definition at line 692 of file meshx_ble_mesh_prov_srv.h.

Field Documentation

◆ lpn_addr

uint16_t meshx_prov_cb_param_t::meshx_friend_friendship_terminate_param::lpn_addr

Low Power Node unicast address

Definition at line 690 of file meshx_ble_mesh_prov_srv.h.

◆ []

enum { ... } meshx_prov_cb_param_t::meshx_friend_friendship_terminate_param::reason

This enum value is the reason of friendship termination on the friend node side Friendship terminated reason


The documentation for this struct was generated from the following file: