B4X FEED Read from an already connected bluetooth barcode reader

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Read from an already connected bluetooth barcode reader است. این موضوع تا کنون 27 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Read from an already connected bluetooth barcode reader
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
27
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi All!
I have a BT barcode reader, Eyoyo-015. It is paired to my android device as an input device, works well.
If I have an edittext field, I can see in it the read data.
Sometimes I want to read QR codes also, what has more data, so it is not good to read into an edittext (doesn't need that user do see its content), I thought it would be good, if I could read directly from reader. I can see the reader in the paireddevices, but when I would connect directly:
device.Name = "Eyoyo-015"
device.Mac = "AA:FE:09:02:80:23"
then I got an error: java.io.IOException: read failed, socket might closed or timeout, read ret: -1, I think because it is connected.
Can I connect to reader somehow?

thanks in advance
Steven

 

عقب
بالا