public char[] createTelegram(char[] payLoad){
  String tgmStr=new String(getNewHeader(payLoad)) + new String(payLoad) + new String(getFooter(payLoad));
  return (tgmStr.toCharArray());
}

public char [ ] createTelegram ( char [ ] payLoad ) { String tgmStr = new String ( getNewHeader ( payLoad ) ) + new String ( payLoad ) + new String ( getFooter ( payLoad ) ) ; return ( tgmStr . toCharArray ( ) ) ; }
create a new protocol telegram containing specified payload
