mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 15:44:32 +00:00
mesh: move mesh_node_identity_state_t definition from mesh proxy to node
This commit is contained in:
parent
77b3fe1a41
commit
b913070192
@ -63,6 +63,12 @@ typedef void (*mesh_operation_handler)(struct mesh_model * mesh_model, mesh_pdu_
|
|||||||
// @returns mesh_pdu with status message
|
// @returns mesh_pdu with status message
|
||||||
typedef mesh_pdu_t * (*mesh_publish_state_t)(struct mesh_model * mesh_model);
|
typedef mesh_pdu_t * (*mesh_publish_state_t)(struct mesh_model * mesh_model);
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
MESH_NODE_IDENTITY_STATE_ADVERTISING_STOPPED = 0,
|
||||||
|
MESH_NODE_IDENTITY_STATE_ADVERTISING_RUNNING,
|
||||||
|
MESH_NODE_IDENTITY_STATE_ADVERTISING_NOT_SUPPORTED
|
||||||
|
} mesh_node_identity_state_t;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
MESH_MODEL_PUBLICATION_STATE_IDLE,
|
MESH_MODEL_PUBLICATION_STATE_IDLE,
|
||||||
MESH_MODEL_PUBLICATION_STATE_W4_PUBLICATION_MS,
|
MESH_MODEL_PUBLICATION_STATE_W4_PUBLICATION_MS,
|
||||||
|
@ -41,19 +41,13 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "mesh/adv_bearer.h"
|
#include "mesh/adv_bearer.h"
|
||||||
|
#include "mesh/mesh_node.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
MESH_NODE_IDENTITY_STATE_ADVERTISING_STOPPED = 0,
|
|
||||||
MESH_NODE_IDENTITY_STATE_ADVERTISING_RUNNING,
|
|
||||||
MESH_NODE_IDENTITY_STATE_ADVERTISING_NOT_SUPPORTED
|
|
||||||
} mesh_node_identity_state_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Init Mesh Proxy
|
* @brief Init Mesh Proxy
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user