LrJposChannel.setMaxPacketLength
Sets the maximum length that a package may have.
public static void setMaxPacketLength(int maxPacketLength)
Note: If the value is not set manually, the default value is 100,000.
Parameters
- maxPacketLength: The maximum length for a package that can be sent through this channel. 
Return values
This function does not return any values.
Example
public void setMaxLength() {
        
        int maxLen = LrJposChannel.getMaxPacketLength();
        if (maxLen > 5000) {
            LrJposChannel.setMaxPacketLength(5000);
        }
}

 
                                                         
                                                         
                                                         
                                                         
                                                         
                                                            
                                                             
                                         
                                        