fix: rename uuid property to id

add: WIP discovery stuff
This commit is contained in:
Tobias Reisinger 2020-02-29 10:23:44 +01:00
parent 074c5c5750
commit d679d99a92
6 changed files with 23 additions and 67 deletions
include/models

View file

@ -16,7 +16,7 @@ typedef struct controller
/**
* @brief A unique UUID for this controller
*/
uuid_t uuid;
uuid_t id;
/**
* @brief The name of this controller
*
@ -44,7 +44,7 @@ typedef struct controller
*/
typedef enum controller_db_key
{
KEY_META_UUID = 0,
KEY_META_ID = 0,
KEY_META_NAME = 1,
KEY_META_COMMAND_PORT = 2,
KEY_META_DISCOVERY_PORT = 3,