mirror of
https://github.com/emqx/neuron.git
synced 2026-10-29 07:06:32 +08:00
fix(scan): rm tags type field
This commit is contained in:
@@ -1142,10 +1142,9 @@ typedef struct neu_req_scan_tags {
|
||||
} neu_req_scan_tags_t;
|
||||
|
||||
typedef struct {
|
||||
char name[NEU_TAG_NAME_LEN];
|
||||
char id[5 + 1 + NEU_TAG_ADDRESS_LEN]; // ns + ! + address
|
||||
uint8_t tag;
|
||||
neu_type_e type;
|
||||
char name[NEU_TAG_NAME_LEN];
|
||||
char id[5 + 1 + NEU_TAG_ADDRESS_LEN]; // ns + ! + address
|
||||
uint8_t tag;
|
||||
} neu_scan_tag_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -123,11 +123,6 @@ int neu_json_encode_scan_tags_resp(void *json_object, void *param)
|
||||
.t = NEU_JSON_INT,
|
||||
.v.val_int = p_tag->tag,
|
||||
},
|
||||
{
|
||||
.name = "type",
|
||||
.t = NEU_JSON_INT,
|
||||
.v.val_int = p_tag->type,
|
||||
},
|
||||
};
|
||||
|
||||
neu_json_encode_array(tag_array, tag_elems,
|
||||
|
||||
Reference in New Issue
Block a user