mahicool / barcodeoverip

Automatically exported from code.google.com/p/barcodeoverip
0 stars 0 forks source link

Alphanumeric barcode scanning problem #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to scan an alphanumeric barcode (you can found it on HDDs for example)
2. With an EAN39 barcode scanning ther's no problem

What is the expected output? What do you see instead?
Expected: all string in focused window
Instead: only first character when I'm lucky

What version of the product are you using? On what operating system?
0.6.2 under XP
0.9.4 under Android

Please provide any additional information below.
Server log when fail:
ServerCore -- Waiting for a client ...
ServerCore -- Client accepted: 
Socket[addr=/192.168.202.3,port=42058,localport=41788]
ServerCore -- Client sent data: none||5QF4APLJ;
ServerCore -- Rec'd data from /192.168.202.3: 'none||5QF4APLJ;'
ServerCore -- Parser - Begin: 'NONE',  End: '5QF4APLJ'
ServerCore -- Parser returned a barcode for system input: 5QF4APLJ
ServerCore -- Sending keystrokes to system...
5
KeypressEmulator - Starting emulated keypress...  '5'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '5', Code: 53
Q
KeypressEmulator - Starting emulated keypress...  'Q'
ServerCore -- Barcode was inputted. Sending 'THANKS' to client.
ServerCore -- Waiting for a client ...

Server log when success:
ServerCore -- Waiting for a client ...
ServerCore -- Client accepted: 
Socket[addr=/192.168.202.3,port=46572,localport=41788]
ServerCore -- Client sent data: none||4002888660006;
ServerCore -- Rec'd data from /192.168.202.3: 'none||4002888660006;'
ServerCore -- Parser - Begin: 'NONE',  End: '4002888660006'
ServerCore -- Parser returned a barcode for system input: 4002888660006
ServerCore -- Sending keystrokes to system...
4
KeypressEmulator - Starting emulated keypress...  '4'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '4', Code: 52
0
KeypressEmulator - Starting emulated keypress...  '0'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '0', Code: 48
0
KeypressEmulator - Starting emulated keypress...  '0'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '0', Code: 48
2
KeypressEmulator - Starting emulated keypress...  '2'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '2', Code: 50
8
KeypressEmulator - Starting emulated keypress...  '8'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '8', Code: 56
8
KeypressEmulator - Starting emulated keypress...  '8'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '8', Code: 56
8
KeypressEmulator - Starting emulated keypress...  '8'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '8', Code: 56
6
KeypressEmulator - Starting emulated keypress...  '6'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '6', Code: 54
6
KeypressEmulator - Starting emulated keypress...  '6'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '6', Code: 54
0
KeypressEmulator - Starting emulated keypress...  '0'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '0', Code: 48
0
KeypressEmulator - Starting emulated keypress...  '0'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '0', Code: 48
0
KeypressEmulator - Starting emulated keypress...  '0'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '0', Code: 48
6
KeypressEmulator - Starting emulated keypress...  '6'
KeypressEmulator - Finished emulated keypress.
KeypressEmulator - Key Sent: '6', Code: 54
ServerCore -- Barcode was inputted. Sending 'THANKS' to client.
ServerCore -- Waiting for a client ...

Original issue reported on code.google.com by tetra...@gmail.com on 5 Jun 2012 at 8:31

GoogleCodeExporter commented 8 years ago
It works perfectly with CODE_39 and EAN_13 code type, but not with CODE_128.

Original comment by tetra...@gmail.com on 5 Jun 2012 at 10:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
With the new server version 0.7.1 is the same problem.
The phone sends the numeric characters well, but stops the first alpha char.
So tryes to send the code, and the first numbers come.
If the first char is an alpha, nothing happens on PC.

Original comment by red...@gmail.com on 6 Jul 2012 at 6:26

GoogleCodeExporter commented 8 years ago
Same happens here!
Just numbers, all fine.
Numbers then letters, only first numbers come.
If first char is a letter, nothing happens

Original comment by lgt.pe...@gmail.com on 22 Nov 2012 at 4:12

GoogleCodeExporter commented 8 years ago
Code 128 is working for me now, except that + characters don't get "pressed" 
correctly and come out as = characters.
OS Version: Linux
ServerCore -- Starting listener...
ServerCore -- Server started: ServerSocket[addr=/192.168.0.X,localport=41788]
ServerCore -- Waiting for a client ...
MST -- run(): Listen IP: X.X.X.X
MST -- run(): Listen Port: 41919
ServerCore -- Client accepted: 
Socket[addr=/192.168.0.X,port=36401,localport=41788]
ServerCore -- Client sent data: CHECK||NONE
ServerCore -- Rec'd data from /192.168.0.X: 'CHECK||NONE'
ServerCore -- ParseData(data) -- Begin: 'CHECK',  End: 'NONE'
ServerCore -- Server checked password sent from client, PASS: Sent 'OK' back to 
client
ServerCore -- Waiting for a client ...
ServerCore -- Client accepted: 
Socket[addr=/192.168.0.X,port=44991,localport=41788]
ServerCore -- Client sent data: NONE||BARCODE=C0eup+tYS5qFbvQ+muz0zw==
ServerCore -- Rec'd data from /192.168.0.X: 
'NONE||BARCODE=C0eup+tYS5qFbvQ+muz0zw=='
ServerCore -- ParseData(data) -- Begin: 'NONE',  End: 
'BARCODE=C0eup+tYS5qFbvQ+muz0zw=='
ServerCore -- Parser returned a barcode for system input: 
C0eup+tYS5qFbvQ+muz0zw==
ServerCore -- Sending keystrokes to system...
C0eup=tYS5qFbvQ=muz0zw==
ServerCore -- Barcode was inputted. Sending 'THANKS' to client.

Original comment by automati...@gmail.com on 16 Jan 2014 at 2:46