windigofer
Member
Unitrunker said:Interesting. I guess the GRE's are RF pollution monitors.
LOL!
That perl code assumes an LRC. The checksum on the GRE radios appears to be an integer sum, not an XOR.
Seriously though, I'm surprised to see this sort of format continue.
Yeah, that's the one bit of weirdness re the checksum--unlike most checksums I've seen, they don't XOR it, it's a straight integer sum. If anything, I'd figure that'd make it easier to deal with the checksums, because you don't have to futz with XORing it.
I think the reason you still see a lot of this kind of format continue is that it is pretty easy to implement in embedded code--basically it's maybe a step removed from XModem packets, and if space is tight for code this might be the least painful way of implementing it. (Yes, I'm sure there are more graceful approaches, but I think the concern was of getting something with a checksum in the limited space one has for embedded code--especially with the featureset that's in the manual, I can't imagine that they had a whole lot of room to implement stuff REAL fancy. (Besides, they probably wanted to get stuff out so that people could get stuff out.)
One thing I am curious about--I have to wonder how many other scanner manufacturers implement similar methods of computer control...