Just a quick note on BCD996T support, it looks like BCD996T support could be easily done because it looks like the communication protocols are basically the same as the earlier models. However, the BCD99T communication codes are 3 letters instead of two letters and use a completely different naming scheme ie. "SI" for bcd245xlt == "MDL" for bcd996t.
If I can get some help with structure, sctl could possibly be structured to use a variable for the command code (predefined by first reading the model number from ~/.sctl / "-m") instead of using the explicit command code per each model. sctl coding looks extremely comprehendible and I feel i can get BCD996T support working, however, i feel only capable of branching to a "dsctl branch" and replacing bc245xlt support with bcd99t support.
(Think it would be more desirable to preserve support for all models within sctl though.)
For those wanting to experience BCD996T support, apply the attached patch and define bcd245xlt device within your ~/.sctl file. It's just for demonstrating sctl's communication protocol is easily workable with the BCD996T (and probably BCD396T too).
sctl-bcd996t.patch
Logged In: YES
user_id=348797
Originator: YES
Guess what i could do is, use if/then/else to implement bcd396t/996t support.
Although messy, it is keeping support for all models within sctl rather then branching. And, it's a step in the right direction omitting having to rewrite the model specific commands into one central file... one step at a time. ;-)
Logged In: YES
user_id=348797
Originator: YES
After spending the day, think it's best to code a separate program for operating with the bcd*t series utilizing the base code of sctl.
Sctl is great code and easily read and it functions as it says it does. So why muck with something that works and make it more confusing.
BCD996T Support
Logged In: YES
user_id=348797
Originator: YES
Here's a follow-up.
I've integrated a do_parse function for parsing the comma separated values returned from the BCD996T (and BCD396T?) scanner.
Newer patches will be posted on my homepage dedicated for this development:
http://www.eskimo.com/~roger/programming/bcd996t.html
File Added: sctl-20070526.patch