diff --git a/mesh/node.c b/mesh/node.c
index 6fe7074..d4be070 100644
--- a/mesh/node.c
+++ b/mesh/node.c
return node->primary;
}
-void node_set_device_key(struct mesh_node *node, uint8_t key[16])
-{
- memcpy(node->dev_key, key, 16);
-}
-
const uint8_t *node_get_device_key(struct mesh_node *node)
{
if (!node)
diff --git a/mesh/node.h b/mesh/node.h
index a6bc4a2..38aea13 100644
--- a/mesh/node.h
+++ b/mesh/node.h
uint16_t node_get_primary_net_idx(struct mesh_node *node);
void node_set_token(struct mesh_node *node, uint8_t token[8]);
const uint8_t *node_get_token(struct mesh_node *node);
-void node_set_device_key(struct mesh_node *node, uint8_t key[16]);
const uint8_t *node_get_device_key(struct mesh_node *node);
void node_set_num_elements(struct mesh_node *node, uint8_t num_ele);
uint8_t node_get_num_elements(struct mesh_node *node);