3.1.4.6 Sending Data

The higher layer can send data on an outgoing session in the "ready" state.

The device MUST first send a Message command. The MessageCount field MUST be set to the number of processed inbound message sequences entries, as specified in section 3.1.4.2.1. If the Message Acknowledgment Timer is started, it MUST be stopped.

Usage of the Message command A, F, G, S, E, or D bits, with their associated fields, as specified in section 2.2.10.1, is determined by the higher layer.

The device MUST then send one or more Data commands containing the higher-layer data. If the higher-layer data is larger than 2048 bytes, it MUST be split into multiple Data commands, where each contains up to 2048 bytes of application data.

The device MUST then send an EndMessage command. The OutboundMessageList table (in section 3.1.1.2) for the underlying connection (1) MUST be updated to contain the data as the most recently sent message sequence.