Commit Graph

8 Commits

Author SHA1 Message Date
Inga Stotland
7cafe5fd7c mesh: Manage node config directory in mesh-config
This completely removes storage.c file. Instead, the handling
of mesh node configuration storage is done completely in
mesh-config layer by calling the following API functions:
bool mesh_config_load_nodes(const char *cfg_dir,
                            mesh_config_node_func_t cb,
                            void *user_data)

void mesh_config_release(struct mesh_config *cfg)
void mesh_config_destroy(struct mesh_config *cfg)

bool mesh_config_save(struct mesh_config *cfg, bool no_wait,
                      mesh_config_status_func_t cb, void *user_data)

struct mesh_config *mesh_config_create(const char *cfg_path,
                                       const uint8_t uuid[16],
                                       struct mesh_config_node *node)
2019-07-15 14:48:04 -07:00
Inga Stotland
72486a7896 mesh: Add hex string and debug logging utilities
This adds frequently used functionaility for logging and
saving/retrieval of long (128+ bit) hexidecimal data.
2019-01-08 08:26:22 -08:00
Inga Stotland
6fbc4c83e1 mesh: Header files for mesh access layer and utilities
This adds initial implementation of Mesh access layer functionality
2018-08-20 12:48:21 -07:00
Inga Stotland
ef05f4957d tools: Move meshctl sources under tools/mesh directory
This is a temporary location until the unified mesh solution is provided
2018-07-06 13:03:33 +02:00
Luiz Augusto von Dentz
fc53175b8a mesh: Make meshctl use bt_shell helpers
This makes meshctl use bt_shell to manage the menus and command
handling.
2017-12-08 13:06:12 +02:00
Marcel Holtmann
de6c9e2cf0 mesh: Remove circular include protection guards 2017-08-21 18:43:31 +02:00
Marcel Holtmann
8e96790482 mesh: Fix includes to use root relative path names 2017-08-21 13:40:03 +02:00
Brian Gix
846af2a229 mesh: define APIs for Bluetooth Mesh 2017-08-21 12:40:35 +02:00