Home AMX Forum AMX General Discussion
Options

Emulate a Device doesn't like nulls

Anyone else notice that Emulate a Device doesn't like nulls ($00) in a string expression?

Message(s) to Send: "$00"
Line 45 (11:33:54):: Incoming buffer: "$24,$30,$30" aka '$00', not exactly what I meant

Message(s) to Send: "$01"
Line 45 (11:34:09):: Incoming buffer: "$01"

I just rewrote a perfectly good module because it wasn't working for channel 1 ($00 in this protocol) when I tested via Emulate, only to find out that my version of the module has the same problem! If AMX isn't going to give us more testing/debugging tools, they should at least make sure the ones we have actually work. AUGH!

Jeremy

Comments

Sign In or Register to comment.