Add thingClassId to thingDescriptors json
This commit is contained in:
parent
1acd8ca808
commit
7f2261d769
@ -41,6 +41,7 @@ class LIBNYMEA_EXPORT ThingDescriptor
|
||||
{
|
||||
Q_GADGET
|
||||
Q_PROPERTY(QUuid id READ id)
|
||||
Q_PROPERTY(QUuid thingClassId READ thingClassId)
|
||||
Q_PROPERTY(QUuid thingId READ thingId USER true)
|
||||
Q_PROPERTY(QString title READ title)
|
||||
Q_PROPERTY(QString description READ description)
|
||||
|
||||
@ -5,7 +5,7 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"
|
||||
|
||||
# define protocol versions
|
||||
JSON_PROTOCOL_VERSION_MAJOR=5
|
||||
JSON_PROTOCOL_VERSION_MINOR=5
|
||||
JSON_PROTOCOL_VERSION_MINOR=6
|
||||
JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}"
|
||||
LIBNYMEA_API_VERSION_MAJOR=7
|
||||
LIBNYMEA_API_VERSION_MINOR=0
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
5.5
|
||||
5.6
|
||||
{
|
||||
"enums": {
|
||||
"BasicType": [
|
||||
@ -2626,6 +2626,7 @@
|
||||
"r:o:deviceId": "Uuid",
|
||||
"r:o:thingId": "Uuid",
|
||||
"r:params": "$ref:ParamList",
|
||||
"r:thingClassId": "Uuid",
|
||||
"r:title": "String"
|
||||
},
|
||||
"DeviceDescriptors": [
|
||||
@ -2942,6 +2943,7 @@
|
||||
"r:id": "Uuid",
|
||||
"r:o:thingId": "Uuid",
|
||||
"r:params": "$ref:ParamList",
|
||||
"r:thingClassId": "Uuid",
|
||||
"r:title": "String"
|
||||
},
|
||||
"ThingDescriptors": [
|
||||
|
||||
Reference in New Issue
Block a user