2.2.2.2 ADVERTISE

The ADVERTISE message is sent by a Publisher to a Resolver in response to a SOLICIT message, in order to provide a list of PNRP IDs in the cloud.


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

FieldID1

Length1

Acked Message ID

FieldID2

Length2

NumEntries

ArrayLength

ElementFieldType

EntryLength

IDList (variable)

...

FieldID3

Length3

HashedNonce (20 bytes)

...

...

FieldID1 (2 bytes): MUST be set to 0x0018 (PNRP_HEADER_ACKED).

Length1 (2 bytes): MUST be set to 0x0008.

Acked Message ID (4 bytes): The value of the Message ID field in the PNRP Header of the SOLICIT message to which this is a response.

FieldID2 (2 bytes): MUST be set to 0x0060 (PNRP_ID_ARRAY).

Length2 (2 bytes): MUST be set to 12+(NumEntries*EntryLength).

NumEntries (2 bytes): The number of PNRP IDs in the IDList field. MUST be in the range 0x0000 to 0x7FFF.

ArrayLength (2 bytes): The length of the entries in the array. MUST be set to 8+(NumEntries*EntryLength).

ElementFieldType (2 bytes): The type of entries in the array. This field MUST be set to 0x0030 (PNRP_ID).

EntryLength (2 bytes): The length, in bytes, of each array element. MUST be set to 0x20 (32 bytes).

IDList (variable): A set of 32-byte PNRP IDs.

FieldID3 (2 bytes): MUST be set to 0x0092 (HASHED_NONCE).

Length3 (2 bytes): MUST be set to 0x0018.

HashedNonce (20 bytes): The value of the HashedNonce field in the SOLICIT message to which this is a response.