@@ -421,11 +421,11 @@ typedef struct {
} __attribute__ ((packed)) change_conn_link_key_cp;
#define CHANGE_CONN_LINK_KEY_CP_SIZE 2
-#define OCF_MASTER_LINK_KEY 0x0017
+#define OCF_CENTRAL_LINK_KEY 0x0017
typedef struct {
uint8_t key_flag;
-} __attribute__ ((packed)) master_link_key_cp;
-#define MASTER_LINK_KEY_CP_SIZE 1
+} __attribute__ ((packed)) central_link_key_cp;
+#define CENTRAL_LINK_KEY_CP_SIZE 1
#define OCF_REMOTE_NAME_REQ 0x0019
typedef struct {
@@ -1804,13 +1804,13 @@ typedef struct {
} __attribute__ ((packed)) evt_change_conn_link_key_complete;
#define EVT_CHANGE_CONN_LINK_KEY_COMPLETE_SIZE 3
-#define EVT_MASTER_LINK_KEY_COMPLETE 0x0A
+#define EVT_CENTRAL_LINK_KEY_COMPLETE 0x0A
typedef struct {
uint8_t status;
uint16_t handle;
uint8_t key_flag;
-} __attribute__ ((packed)) evt_master_link_key_complete;
-#define EVT_MASTER_LINK_KEY_COMPLETE_SIZE 4
+} __attribute__ ((packed)) evt_central_link_key_complete;
+#define EVT_CENTRAL_LINK_KEY_COMPLETE_SIZE 4
#define EVT_READ_REMOTE_FEATURES_COMPLETE 0x0B
typedef struct {
@@ -2149,7 +2149,7 @@ typedef struct {
uint16_t interval;
uint16_t latency;
uint16_t supervision_timeout;
- uint8_t master_clock_accuracy;
+ uint8_t central_clock_accuracy;
} __attribute__ ((packed)) evt_le_connection_complete;
#define EVT_LE_CONN_COMPLETE_SIZE 18
@@ -1084,7 +1084,7 @@ static inline void remote_name_req_dump(int level, struct frame *frm)
static inline void master_link_key_dump(int level, struct frame *frm)
{
- master_link_key_cp *cp = frm->ptr;
+ central_link_key_cp *cp = frm->ptr;
p_indent(level, frm);
printf("flag %d\n", cp->key_flag);
@@ -1771,7 +1771,7 @@ static inline void command_dump(int level, struct frame *frm)
case OCF_DISCONNECT_LOGICAL_LINK:
generic_command_dump(level + 1, frm);
return;
- case OCF_MASTER_LINK_KEY:
+ case OCF_CENTRAL_LINK_KEY:
master_link_key_dump(level + 1, frm);
return;
case OCF_READ_REMOTE_EXT_FEATURES:
@@ -3116,7 +3116,7 @@ static inline void remote_name_req_complete_dump(int level, struct frame *frm)
static inline void master_link_key_complete_dump(int level, struct frame *frm)
{
- evt_master_link_key_complete *evt = frm->ptr;
+ evt_central_link_key_complete *evt = frm->ptr;
p_indent(level, frm);
printf("status 0x%2.2x handle %d flag %d\n",
@@ -3874,7 +3874,7 @@ static inline void event_dump(int level, struct frame *frm)
case EVT_CHANGE_CONN_LINK_KEY_COMPLETE:
generic_response_dump(level + 1, frm);
break;
- case EVT_MASTER_LINK_KEY_COMPLETE:
+ case EVT_CENTRAL_LINK_KEY_COMPLETE:
master_link_key_complete_dump(level + 1, frm);
break;
case EVT_REMOTE_NAME_REQ_COMPLETE: