|
108 | 108 | </method>
|
109 | 109 | </interface>
|
110 | 110 |
|
| 111 | + <!-- |
| 112 | + This interface shall be exported by Matter GATT application and registered |
| 113 | + with org.bluez.GattManager1.RegisterApplication method. |
| 114 | + --> |
111 | 115 | <interface name="org.bluez.GattService1">
|
112 | 116 | <property name="UUID" type="s" access="read" />
|
113 | 117 | <property name="Device" type="o" access="read" />
|
114 | 118 | <property name="Primary" type="b" access="read" />
|
115 | 119 | <!-- <property name="Includes" type="ao" access="read" /> -->
|
116 | 120 | </interface>
|
117 | 121 |
|
| 122 | + <!-- |
| 123 | + This interface shall be exported by Matter GATT application and linked |
| 124 | + with org.bluez.GattService1 object via the Service property. |
| 125 | + --> |
118 | 126 | <interface name="org.bluez.GattCharacteristic1">
|
119 | 127 | <method name="ReadValue">
|
120 | 128 | <arg name="options" type="a{sv}" direction="in"/>
|
|
152 | 160 | <property name="NotifyAcquired" type="b" access="read" />
|
153 | 161 | </interface>
|
154 | 162 |
|
| 163 | + <!-- |
| 164 | + This interface shall be exported by Matter GATT application and linked |
| 165 | + with org.bluez.GattCharacteristic1 object via the Characteristic property. |
| 166 | + --> |
155 | 167 | <interface name="org.bluez.GattDescriptor1">
|
156 | 168 | <method name="ReadValue">
|
157 | 169 | <arg name="options" type="a{sv}" direction="in"/>
|
|
172 | 184 | </property>
|
173 | 185 | </interface>
|
174 | 186 |
|
| 187 | + <!-- |
| 188 | + This interface shall be exported by Matter GATT application and registered |
| 189 | + with org.bluez.LEAdvertisingManager1.RegisterAdvertisement method. |
| 190 | + --> |
175 | 191 | <interface name="org.bluez.LEAdvertisement1">
|
176 | 192 | <method name="Release"/>
|
177 | 193 | <property name="Type" type="s" access="read"/>
|
|
183 | 199 | <property name="ServiceData" type="a{sv}" access="read"/>
|
184 | 200 | <property name="Data" type="a{yay}" access="read"/>
|
185 | 201 | <property name="Discoverable" type="b" access="read"/>
|
| 202 | + <!-- |
| 203 | + Do not expose discoverable timeout property, so BlueZ will set it |
| 204 | + internally to zero, effectively disabling the timeout. Becase of BlueZ |
| 205 | + bug, which is not fixed until BlueZ 5.73, exposing discoverable timeout |
| 206 | + as zero will timout the advertisement immediately. |
| 207 | +
|
186 | 208 | <property name="DiscoverableTimeout" type="q" access="read"/>
|
| 209 | + --> |
187 | 210 | <property name="Includes" type="as" access="read"/>
|
188 | 211 | <property name="LocalName" type="s" access="read"/>
|
189 | 212 | <property name="Appearance" type="q" access="read"/>
|
190 |
| - <!-- <property name="Duration" type="q" access="read"/> --> |
191 |
| - <!-- <property name="Timeout" type="q" access="read"/> --> |
192 |
| - <!-- <property name="SecondaryChannel" type="s" access="read"/> --> |
| 213 | + <!-- |
| 214 | + Do not expose duration, so BlueZ will use the internal default value. |
| 215 | +
|
| 216 | + <property name="Duration" type="q" access="read"/> |
| 217 | + --> |
| 218 | + <!-- |
| 219 | + Do not expose timeout property, so BlueZ will not call the Release() |
| 220 | + method after a timeout. |
| 221 | +
|
| 222 | + <property name="Timeout" type="q" access="read"/> |
| 223 | + --> |
| 224 | + <!-- |
| 225 | + We are not using SecondaryChannel property, so we do not expose it. |
| 226 | +
|
| 227 | + <property name="SecondaryChannel" type="s" access="read"/> |
| 228 | + --> |
193 | 229 | <property name="MinInterval" type="u" access="read"/>
|
194 | 230 | <property name="MaxInterval" type="u" access="read"/>
|
195 | 231 | </interface>
|
|
0 commit comments