mesh: move mesh_node_identity_state_t definition from mesh proxy to node

This commit is contained in:
Milanka Ringwald 2020-01-27 10:58:33 +01:00
parent 77b3fe1a41
commit b913070192
2 changed files with 7 additions and 7 deletions

View File

@ -63,6 +63,12 @@ typedef void (*mesh_operation_handler)(struct mesh_model * mesh_model, mesh_pdu_
// @returns mesh_pdu with status message
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 {
MESH_MODEL_PUBLICATION_STATE_IDLE,
MESH_MODEL_PUBLICATION_STATE_W4_PUBLICATION_MS,

View File

@ -41,19 +41,13 @@
#include <stdint.h>
#include "mesh/adv_bearer.h"
#include "mesh/mesh_node.h"
#ifdef __cplusplus
extern "C"
{
#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
*/