SLAA202B February 2005 – December 2018 MSP430F149 , MSP430F149 , MSP430F2252-Q1 , MSP430F2252-Q1 , MSP430F2272-Q1 , MSP430F2272-Q1 , MSP430F2274 , MSP430F2274 , MSP430FG4619 , MSP430FG4619
This is the layer that is in charge of the actual data exchange. The only times when it does not use the IrLMP services is for identifying the frames that carry user data, for constructing the frames that send data to the peer device, and when dealing with TTP services. For connection and disconnection, it uses the respective IrLMP services.
IrCOMM services are the same services as provided by the IrLMP layer. IrCOMM uses the services provided by the service layer, and this call would propagate down the protocol stack. It uses the data PDUs from IrLMP to transmit all data and control channel information. These two types of frames can be differentiated because when sending data there is an overhead of two bytes. The first byte is equal to the amount of credit that the peer has left to transmit after the data-carrying frame is received, and the second one is equal to 0 following the IrLMP LM-MUX overhead. In the case of the connection frames, a control field follows the TTP overhead where the first byte indicates the length in bytes of the connection parameters. As the connection parameters for IrLAP and TTP, these are in groups of three.