Simple
Driver JCM UBA-10-SS (ID003 Protocol)
JCM UBA-10-SS (ID003 Protocol)
Simple driver (gcc) para un billetero JCM
UBA-10-SS usando el protocolo ID003.
Las
tramas del protocolo ID003 tienen la forma:
|
SYNC | Length | CMD | Data Fields | Checksum |
▪ SYNC
(1byte): 0xFC
▪ Length
(1byte): Longitud total del string (todos los bytes)
▪ CMD
(1byte) (instrucción,
tipo de orden)
▪
Data (variable)( datos, opcional)
▪
CRC (2byte)( CRC-Kermit)
Para
mayor comprensión del CRC-Kermit probar la librería de Lammert Bies, la cual se puede compilar en gcc. Las funciones para el
crc-kermit en este driver han salido de aquí.
----------------------------------------------------------------.
crc: tst_crc.o lib_crc.o
gcc -o crc tst_crc.o lib_crc.o
lib_crc.o: lib_crc.c
gcc -Wall -c lib_crc.c
tst_crc.o: tst_crc.c
gcc -Wall -c tst_crc.c
clean:
rm tst_crc.o lib_crc.o
----------------------------------------------------------------.
----------------------------------------------------------------.
crc: tst_crc.o lib_crc.o
gcc -o crc tst_crc.o lib_crc.o
lib_crc.o: lib_crc.c
gcc -Wall -c lib_crc.c
tst_crc.o: tst_crc.c
gcc -Wall -c tst_crc.c
clean:
rm tst_crc.o lib_crc.o
----------------------------------------------------------------.
Crc kermit
Communication
settings:
▪ BaudRate:
9600 (variable)
▪ DataBits:
8 Bits
▪ StopBits:
1 Bit
▪
Paridad: EVEN
Ejemplos
de tramas ID003:
FC 05
11 27 56 (STATUS REQUEST)
FC 05
88 6F 5F (VERSION REQUEST)
FC 06
13 62 2B C9 (ESCROW)
Las
denominaciones en el id003:
0x61 =
1st
0x62 =
2nd
0x63 =
3rd
0x64 =
4th
0x65 =
5th
0x66 =
6th
uba: main.o wiringSerial.o id003.o crc_kermit.o
gcc -o uba main.o wiringSerial.o id003.o crc_kermit.o -l pthread
wiringSerial.o: wiringSerial.c
gcc -Wall -c wiringSerial.c
main.o: main.c
gcc -Wall -c main.c
id003.o: id003.c
gcc -Wall -c id003.c
crc_kermit.o: crc_kermit.c
gcc -Wall -c crc_kermit.c
clean:
rm main.o wiringSerial.o id003.o crc_kermit.o
Descargar herramienta para comprender Id003 by igrotechnics
Driver UBA (JAVA/C++ [Qt]) ID003 Protocol
Disculpen si no respondí antes, password: "sydbernard", "sydbernard1", "maniacmansion" ,"maniacmanison1". Alguno ha de servir.
______________________________________________________________
uba: main.o wiringSerial.o id003.o crc_kermit.o
gcc -o uba main.o wiringSerial.o id003.o crc_kermit.o -l pthread
wiringSerial.o: wiringSerial.c
gcc -Wall -c wiringSerial.c
main.o: main.c
gcc -Wall -c main.c
id003.o: id003.c
gcc -Wall -c id003.c
crc_kermit.o: crc_kermit.c
gcc -Wall -c crc_kermit.c
clean:
rm main.o wiringSerial.o id003.o crc_kermit.o
______________________________________________________________
Descargar Código fuente (Simple Driver JCM UBA)
Driver UBA (JAVA/C++ [Qt]) ID003 Protocol
Disculpen si no respondí antes, password: "sydbernard", "sydbernard1", "maniacmansion" ,"maniacmanison1". Alguno ha de servir.
Código fuente (Simple Driver JCM UBA)
Estimado el zip contiene clave , podrias enviarmela , de ante mano muchas gracias.
ResponderEliminarmgl.retamozo@gmail.com
Querido el archivo tiene clave, podria ayudarme y gracias anticipadas!!!
ResponderEliminarmmateo01@gmail.com
Hola, esto y
ResponderEliminarinteresado en el driver, te puedes comunicar conmigo?
I am Veera ,working with JCM UBA-10-SS with PC Ubuntu 17.04 I am using ID003 protocol for connecting it ....I am writting commands FC05112756 for status request...I am not able to read any data from the JCM machine ....connecting JCM 4 to 2 in DB9 6 to 3 in DB9 connector please help me the connection settings ...I am using above driver application its not at all initialising the JCM machine...my email id is veeranna2010@gmail.com
EliminarHi All,
EliminarI want to know the connection of JCM to Ubuntu Desktop machine for JCM-UBA-10-SS Initializations... in the programming what are the parameters need to change and driver application? ....Jcm Uba driver application is not working in ubuntu 17.04 LTS please help me out ....
password is: sydbernard1
ResponderEliminaram Veera, Working with JCM UBA-10-SS with PC Ubuntu 17.04 I am using ID003 protocol for connecting it .... I am writting commands FC05112756 request for status ... I am not able to read any data from the JCM JCM connecting machine .... 4 to 2 in DB9 6 to 3 in DB9 connector please help me the connection settings ... I am using driver application above its not at all initialising the JCM machine ... my email id is veeranna2010 @ gmail.com
EliminarMuchas Gracias!!!
ResponderEliminarhola muy buen aporte pero esta con contraseña.
ResponderEliminarse podría pasar el archivo aun pic.
ResponderEliminargracias
I am Veera, Working with JCM UBA-10-SS with PC Ubuntu 17.04 I am using ID003 protocol for connecting it .... I am writting commands FC05112756 request for status ... I am not able to read any data from the JCM JCM connecting machine .... 4 to 2 in DB9 6 to 3 in DB9 connector please help me the connection settings ... I am using driver application above its not at all initialising the JCM machine ... my email id is veeranna2010 @ gmail.com
ResponderEliminarI am Veera, Working with JCM UBA-10-SS with PC Ubuntu 17.04 I am using ID003 protocol for connecting it .... I am writting commands FC05112756 request for status ... I am not able to read any data from the JCM JCM connecting machine .... 4 to 2 in DB9 6 to 3 in DB9 connector please help me the connection settings ... I am using driver application above its not at all initialising the JCM machine ... my email id is veeranna2010 @ gmail.com
ResponderEliminarSaludo a todos si lo quiero compilar para llevarlo a un pic como lo hago
ResponderEliminarHello everyone. I am planning to use JSM ipro RC for one of my customer Project. I am developing payment Kiosk software in .NET. Does anyone have .net compatible dll or source code to communicate with JCM products?
ResponderEliminarhello everyone i want to know if i can run de program in windows
ResponderEliminarSi se puede.
EliminarBuenas
ResponderEliminar¿Como conectas el UBA-10 a la raspberry?, podrias mandarme un esquema del cableado y la electronica que usas?.
Hola QuarkBite. Finalmente pudiste conectar ? Gracias y me escribes a udesat@hotmail.com
EliminarEste comentario ha sido eliminado por el autor.
ResponderEliminarEste comentario ha sido eliminado por el autor.
ResponderEliminarbuenas tarde el software me pide contraseña podría enviármela al jodd24@hotmail.es
ResponderEliminar