I have a BC246T and love the software I have for it. I use Butel's ARC246 for programming. I make heavy use of the 246T Audio Recorder (by Scannerbase). I am messing around with the 246T Advanced Virtual Control (also by Scannerbase), and I have (but don't really use) Uniden's UASD (I haven't messed with it much).
Although I appreciate the value of these programs, I want to make my own program to control my scanner. I have a good deal of experience in C++ programming (Visual C++) but not really any serial port experience. After looking through several articles and using some serial classes from the net, I've managed to piece together a program that attempts communication with my scanner. The radio doesn't want to accept the transmissions from the computer, but the computer has successfully received one character from the scanner. I can't get it to accept a command, like Uniden's command STS or WIN.
I have only found one open source program for scanner programming, and it's extremely simple (searches talkgroups or something) and is written in Visual Basic. Is there anyone who has any C++ code they would be willing to share to just get me going in the right direction with the serial port communications for a scanner? I'm not looking for the open source to a full-blown program (I want to write my own). But I need some help with the serial comms end of it and don't know where to turn. As a last resort, if someone was willing to help but not offer their source code, maybe they could briefly review the serial comms section of my code (maybe 40-50 lines of c++) and tell me where I'm going astray. I do believe that any help can contribute to the scanner software community. Personally, I would like to see (in the future) a few articles on serial programming for scanners in the Wiki. But that's down the road. Thanks to anyone who is able and willing to help me with this.
Although I appreciate the value of these programs, I want to make my own program to control my scanner. I have a good deal of experience in C++ programming (Visual C++) but not really any serial port experience. After looking through several articles and using some serial classes from the net, I've managed to piece together a program that attempts communication with my scanner. The radio doesn't want to accept the transmissions from the computer, but the computer has successfully received one character from the scanner. I can't get it to accept a command, like Uniden's command STS or WIN.
I have only found one open source program for scanner programming, and it's extremely simple (searches talkgroups or something) and is written in Visual Basic. Is there anyone who has any C++ code they would be willing to share to just get me going in the right direction with the serial port communications for a scanner? I'm not looking for the open source to a full-blown program (I want to write my own). But I need some help with the serial comms end of it and don't know where to turn. As a last resort, if someone was willing to help but not offer their source code, maybe they could briefly review the serial comms section of my code (maybe 40-50 lines of c++) and tell me where I'm going astray. I do believe that any help can contribute to the scanner software community. Personally, I would like to see (in the future) a few articles on serial programming for scanners in the Wiki. But that's down the road. Thanks to anyone who is able and willing to help me with this.