I had to change the following line:
Code: Select all
ostr:='$'+strOurNodeID+'9'+chr(Seq)+'10'+MakeReply+#13;
Code: Select all
ostr:=MakeReply;
ostr:='$'+strOurNodeID+'9'+chr(Seq)+'10'+ostr+#13;
I also had to add the #0 to the end of the following line to get the string properly terminated.
Code: Select all
RplyStr:=RplyStr + DEVTYPE + VERSION + HWCONFIG + #0;