RussNelson/OneWireTSRP

requestID goes negative

RussNelson opened this issue · 3 comments

the requestID in the transmitted JSON wraps around and goes negative.

On a platform like the Arduino it's actually pretty hard to around that problem in a "will suit all situations" sort of way. However I didn't try too hard to solve it in the example code for the Thing System because—at least in theory—the steward should be able to handle it. Unless you see the client do something whacky, I think you can probably ignore it.

it's just a string… we use a number because we need different values between requests. overflow isn't an issue, it's actually a feature (-;

Well yes, but it still annoyed me that it overflowed, I just didn't fix it because I knew it wouldn't matter.