diff --git a/include/neuron/msg.h b/include/neuron/msg.h index 7a9404c2..239e7533 100644 --- a/include/neuron/msg.h +++ b/include/neuron/msg.h @@ -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 { diff --git a/src/parser/neu_json_scan.c b/src/parser/neu_json_scan.c index 420c1df5..dcdda533 100644 --- a/src/parser/neu_json_scan.c +++ b/src/parser/neu_json_scan.c @@ -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,