Yup,
It wouldn't surprise me if it's a combination of me not getting the BT rfcomm
port up and the code in the program to allow for the connection to be used.
As for the BT barcode scanner uses CS1504 symbol commands to interact with it
I don't think a cat comand will work minicon would work in so far as sending a
command to the scanner and getting a response back.
from the terminal this is what happens if you try to do a cat /dev/ttyUSB0 and
use the program.
dave@main-pc:~$ cat /dev/ttyUSB0
dave@main-pc:~$ cs1504 /dev/ttyUSB0
Value in argv = /dev/ttyUSB0
{
"DeviceID": " 00 00 00 00 00 54 18 97",
"DeviceSW" : "RBBV0143",
"data": [
{"type":"Code 128", "code": "207605", "time": "11:14:15 PM 9/20/13"},
{"type":"UPCA", "code": "619659089597", "time": "08:31:37 PM 10/17/13"},
{"type":"UPCA", "code": "619659089597", "time": "08:31:38 PM 10/17/13"}
]
}
dave@main-pc:~$
Dave.
On Thu, 24 Oct 2013 12:08:03 John Carter wrote:
> On Wed, Oct 23, 2013 at 6:47 PM, dave <[email protected]> wrote:
> > OPN2002
>
> I have a suspicion you don't need a fancy program, you just need to use the
> appropriate USB or BT standard compliant tool.
>
> For example, for /dev/ttyUSB the tool is probably as simple as "cat".
>
> I suspect something similar for the BT SPP.
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users