We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e22848 commit de2593dCopy full SHA for de2593d
Sources/HAP/Server/Configuration.swift
@@ -42,6 +42,7 @@ extension Device {
42
// Accessories must increment the config number after a firmware update.
43
// This must have a range of 1-4294967295 and wrap to 1 when it overflows.
44
// This value must persist across reboots, power cycles, etc.
45
+ // The first time a Device is created, this number is incremented to 1
46
internal var number: UInt32 = 0
47
48
// HAP Specification 2.6.1: Instance IDs
0 commit comments