ServiceDiscoveryServerAttributeIdServiceDatabaseState Field

The ServiceDatabaseState is a 32-bit integer that is used to facilitate caching of service records.

Definition

Namespace: InTheHand.Net.Bluetooth.AttributeIds
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public const ServiceAttributeId ServiceDatabaseState = 

Field Value

ServiceAttributeId

Remarks

[32-bit unsigned integer]

“ The ServiceDatabaseState is a 32-bit integer that is used to facilitate caching of service records. If this attribute exists, its value is guaranteed to change when any of the other service records are added to or deleted from the server's database. If this value has not changed since the last time a client queried its value, the client knows that a) none of the other service records maintained by the SDP server have been added or deleted; and b) any service record handles acquired from the server are still valid. A client should query this attribute's value when a connection to the server is established, prior to using any service record handles acquired during a previous connection. ”

“ Note that the ServiceDatabaseState attribute does not change when existing service records are modified, including the addition, removal, or modification of service attributes. A service record's ServiceRecordState attribute indicates when that service record is modified. ”

See Also