mibzzer15
Member
Just reporting in to let you know the app works on a AT&T Samsung Galaxy Note 2, running CyanogenMod v11, android 4.4.2. Im going to buy a blutetooth adapter soon so I will let you know how it works then.
Sure, I don't expect you to code it for me, just some ideas on how you would like to interact with it.Give me a day or so to think of a way to implement the volume control. I'm not a programmer at all but have messed with some stuff regarding the Uniden protocol in the past.
Sent from my SCH-I545 using Tapatalk
Sure, I don't expect you to code it for me, just some ideas on how you would like to interact with it.
The simplest way would be to just make a menu with 0-15 on it, but that's kind of crude. It'll take a bit more work to make a dialog that mimics the built-in volume control popup (and also responds at the same time to changes made with the knob on the scanner)
This adapter...
Bluetooth Serial Adapter RS232
Samsung S4
BCT15, tried it on my BCD436HP, no joy, it freaks out and locks up.
Thanks for the report. I considered getting that same adapter. I just found one similar for a bit less.
Did you happen to notice if the model number popped up when you connected to your 436? When the connection is first established, I send the request for model number. After a successful response, I start polling for PWR, STS, and GLG repeatedly. It might be the PWR command or the way I am handling the other command responses.
Since I don't have a 436 to play with, I'll have to wait until the protocol is published to make much progress.
Just a little update: I've been working on the preferences and I hope to have those and the volume control working this weekend.
How are you going to do the volume?
Sent from my SCH-I545 using Tapatalk
Hmm. I wonder if the STS command response has a different format... there sure are a lot more display lines. I've been watching the other thread with the "Scanner Screen" software, so there's some examples over there I can take a look at. I'll take a shot at getting it working.I don't believe the model popped up. I recall trying the MDL command last night serially and it didn't work...but I was tired so it could have been operator error.
ETA...
Serial MDL does work...guess I was tired.
ETA again...
All of your commands seem to work serially.
Hmm. I wonder if the STS command response has a different format... there sure are a lot more display lines. I've been watching the other thread with the "Scanner Screen" software, so there's some examples over there I can take a look at. I'll take a shot at getting it working.
What do you think about using the volume control buttons on the S4? I normally don't like it when apps use the volume control for their own purposes, but I think it could work here. Otherwise, I can put a little button on the action bar that lauches a dialog (it would look just like the standard volume control dialog, could include squelch, too). I'll examine the STS response to see if the user is adjusting volume with the scanner's dial and update the dialog, so it will work either way.
I can post the serial response if you want or you can PM me and we can take this offline.
That could work maybe. An indication of what current volume the user is at should be displayed on the app. Of course raising it no more than 31 would have to be implemented.
Sent from my SCH-I545 using Tapatalk
Answering a couple questions:
I'm going to try putting it up on google play this weekend. It'll be my first time so I'm not sure what's involved. There's also a few settings that are hard-coded that I will have to make available as preferences. Please consider this beta-level software. I welcome your comments/suggestions.
The bluetooth adapter is powered from a 5v mini-usb. There's a couple different models available. The one shown above was $48 from ebay. It's a higher-powered model that came with a gender changer, wall plug, and usb cable. There's a cheaper one (about $14) also on ebay RS232 Bluetooth Serial Adapter Communication Master-Slave Modes 5V It comes just as you see it: a bare board. I haven't tested this model yet, but I plan to.
EDIT: the exact model I got is this: Wireless Bluetooth RS232 Serial Adapter | eBay
These adapters take a bit of setup (baud rate, flow control, etc) before they'll work. I'll be glad to give advice if you get one and run into trouble.
Also, I should mention some of the limitations:
It's really only meant to work in Scan/Search mode. Other 6-line display modes might work.
You must also use display mode 3 if you want to see unit id's. If you have set up alpha tags for unit id's, they must begin with "UID:" to be recognized (the prefix is stripped before displaying on the overlay)
There are special characters on the scanner display that don't render on android (you see the "?" in a diamond). I'll have to either make my own font or replace them with images.
OK, got the adapter in the mail today. I have the Bluetooth connected and cable connections. Can you provide a writeup for the terminal programming?
Thanks!