@@ -39,7 +39,7 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
39
39
AreaStructureWrapper ()
40
40
{
41
41
Set (0 , 0 , CharSpan (), DataModel::Nullable<int16_t >(), DataModel::Nullable<Globals::AreaTypeTag>(),
42
- DataModel::Nullable<Globals::LandmarkTag>(), DataModel::Nullable<Globals::PositionTag >());
42
+ DataModel::Nullable<Globals::LandmarkTag>(), DataModel::Nullable<Globals::RelativePositionTag >());
43
43
}
44
44
45
45
/* *
@@ -51,7 +51,7 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
51
51
* @param[in] aAreaTypeTag A common namespace Area tag - indicates an association of the location with an indoor or outdoor area
52
52
* of a home.
53
53
* @param[in] aLandmarkTag A common namespace Landmark tag - indicates an association of the location with a home landmark.
54
- * @param[in] aPositionTag A common namespace Position tag - indicates the position of the location with respect to the
54
+ * @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with respect to the
55
55
* landmark.
56
56
*
57
57
* @note Requirements regarding what combinations of fields and values are valid are not checked by this class.
@@ -62,9 +62,9 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
62
62
const DataModel::Nullable<int16_t > & aFloorNumber,
63
63
const DataModel::Nullable<Globals::AreaTypeTag> & aAreaTypeTag,
64
64
const DataModel::Nullable<Globals::LandmarkTag> & aLandmarkTag,
65
- const DataModel::Nullable<Globals::PositionTag > & aPositionTag )
65
+ const DataModel::Nullable<Globals::RelativePositionTag > & aRelativePositionTag )
66
66
{
67
- Set (aAreaID, aMapId, aLocationName, aFloorNumber, aAreaTypeTag, aLandmarkTag, aPositionTag );
67
+ Set (aAreaID, aMapId, aLocationName, aFloorNumber, aAreaTypeTag, aLandmarkTag, aRelativePositionTag );
68
68
}
69
69
70
70
/* *
@@ -136,7 +136,7 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
136
136
* @param[in] aAreaTypeTag A common namespace Area tag - indicates an association of the location with an indoor or outdoor area
137
137
* of a home.
138
138
* @param[in] aLandmarkTag A common namespace Landmark tag - indicates an association of the location with a home landmark.
139
- * @param[in] aPositionTag A common namespace Position tag - indicates the position of the location with respect to the
139
+ * @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with respect to the
140
140
* landmark.
141
141
*
142
142
* @note Requirements regarding what combinations of fields and values are valid are not checked by this class.
@@ -146,7 +146,7 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
146
146
void Set (uint32_t aAreaID, const DataModel::Nullable<uint32_t > & aMapId, const CharSpan & aLocationName,
147
147
const DataModel::Nullable<int16_t > & aFloorNumber, const DataModel::Nullable<Globals::AreaTypeTag> & aAreaType,
148
148
const DataModel::Nullable<Globals::LandmarkTag> & aLandmarkTag,
149
- const DataModel::Nullable<Globals::PositionTag > & aPositionTag )
149
+ const DataModel::Nullable<Globals::RelativePositionTag > & aRelativePositionTag )
150
150
{
151
151
areaID = aAreaID;
152
152
mapID = aMapId;
@@ -174,14 +174,14 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
174
174
{
175
175
areaDesc.landmarkInfo .SetNonNull ();
176
176
areaDesc.landmarkInfo .Value ().landmarkTag = aLandmarkTag.Value ();
177
- if (aPositionTag .IsNull ())
177
+ if (aRelativePositionTag .IsNull ())
178
178
{
179
179
areaDesc.landmarkInfo .Value ().positionTag .SetNull ();
180
180
}
181
181
else
182
182
{
183
183
areaDesc.landmarkInfo .Value ().positionTag .SetNonNull ();
184
- areaDesc.landmarkInfo .Value ().positionTag .Value () = aPositionTag .Value ();
184
+ areaDesc.landmarkInfo .Value ().positionTag .Value () = aRelativePositionTag .Value ();
185
185
}
186
186
}
187
187
0 commit comments