2.2.2.2.1 UDP: Presence Request

The UDP presence request message is one that any device can subscribe to and respond to for  participation in the Connected Devices Protocol message exchange.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

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