private static final byte[] MINOR_VER = MAJOR_VER;
public LoginCmd(String screenName, String password) {
flapHdr = new FlapHeader(FlapConstants.FLAP_CHANNEL_CONNECT, 1);
addTLV( new TLV(TLVConstants.TLV_TYPE_SCREEN_NAME, screenName) );
addTLV( new TLV(TLVConstants.TLV_TYPE_ROASTED_PASSWORD, ByteUtils.roast(password)) );
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_ID_STRING, "HAMSAM Test Client"));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_ID, MAJOR_VER));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_MAJOR_VERSION, MAJOR_VER));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_MINOR_VERSION, MINOR_VER));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_LESSOR_VERSION, MINOR_VER));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_BUILD_NUMBER, MINOR_VER));
addTLV( new TLV(TLVConstants.TLV_TYPE_DISTRIBUTION_NUMBER, ID_NUMBER));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_LANGUAGE, "en"));
addTLV( new TLV(TLVConstants.TLV_TYPE_CLIENT_COUNTRY, "us"));
}