Hi Ramiro,
couple of comments;
a) Clarion handles hex numbers. Saves a bit of effort, and maybe mistakes in converting;
'<55h><55h><55h><55h><0aah><0aah><0aah><0aah><0><1><0><0><0><1><0><0><0><42>.......'
you can also comma separate the chars inside < and >. ie
'<55h,55h,55h,55h,0aah,0aah,0aah,0aah,0,1,0,0,0,1,0,0,0,42>.......'
of course that won't change anything.
b) you are assuming that the "least significant byte" in a number is on the Right of the 4 bytes. I can't remember off-hand which way around it goes (and of course it can vary depending on the equipment you are sending to) but you might need to do;
'<55h,55h,55h,55h,0aah,0aah,0aah,0aah,1,0,1,0,0,0,42,0,0,0>.......'
alternatively you could do;
hdr.synch1 = 055555555h
hdr.synch1 = 0AAAAAAAAh
hdr1.version = 1
hdr.cmmd = 42
net.send(PMShdr)
Incidentally the "body" parameter implies there's more to send, but I presume you're just concentrating on the header here.
cheers
Bruce