2.2.2.2.1 UDP: Presence Request
This is the UDP presence request message – any device can subscribe to and respond to these messages in order to participate in the Connected Devices Protocol message exchange.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
MessageType |
DiscoveryType |
||||||||||||||||||||||||||||||
MessageType (1 byte): Indicates current message type – in this case, Discovery, with a value of 1, as specified in the Common Header, section 2.2.2.1.1.
DiscoveryType (1 byte): Indicates type of discovery message, in this case, Presence Request.
-
Value
Meaning
0
Presence Request
1
Presence Response