If CommandMask ReserveCommunicationIdsCmd is set, the EstablishConnections implementation shall reserve communication model identifiers for each element in ReserveCommunicationIds.

For a PubSub communication model, a structure of type PubSubReserveCommunicationIds2DataType (see 10.43.4) shall be used.

The EstablishConnections implementation shall reserve the requested number of IDs for both WriterGroups and DataSetWriters for each requested TransportProfileUri. For additional details, see OPC 10000-14 ReserveIds Method, including error definitions.

If any error occurs, the EstablishConnections implementation shall abort processing as described in 6.2.4.3.11.

The EstablishConnections implementation shall return the default value for each requested TransportProfileUri for the PublisherId, the reserved WriterGroupIds, and DataSetWriterIds in the output Argument ReserveCommunicationIdsResults. Additionally, if the RequestTransportSpecificInfo is set to TRUE in the request for the given TransportProfileUri, it shall also return a non-null TransportSpecificInfo. In the case of UDP-UADP, this will be a UDP port number used to receive UDP unicast traffic.

The possible StatusCodes for the ReserveCommunicationIdsResults Result are formally defined in Table 18.

This clause may be defined in a future version of this document.