scorp77 / libcctalk

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

Any progress on this? Documentation? #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm not sure how to best contact you. I hope this gets your attention.

I'm looking for a cctalk library, preferably in C#, so this is an excellent 
project for my needs. It seems a bit pre-alpha though (no offence ;-)

I'm willing to further develop this, but I'm a bit stuck at how to use this 
library. Could you be so kind to try and explain your current design, so I 
could then try to further complete this.

Looking forward for your reply.

fretje

you can contact me at fretje at gmail dot com

Original issue reported on code.google.com by fre...@gmail.com on 15 Apr 2010 at 7:42

GoogleCodeExporter commented 8 years ago
Ciao, sono in procinto di realizzare un applicazione c# che controlla device 
(coin 
droppers) col protocollo ccTalk. Ho dato un occhiata alla tua implementazione e 
sembra promettente, hai intenzione di svilupparla oltre o e' un progetto 
abbandonato?

grazie,

umbiomar

Original comment by umbio...@gmail.com on 19 May 2010 at 4:54

GoogleCodeExporter commented 8 years ago
Hello umbiomar,

I don't really speak Italian. Thanks to google translate I can more or less
understand you though ;-)

As you can see, this library is indeed kind of abandoned. I tried to contact the
owner to explain me his design, as I don't really get the thing to work here. I 
am
trying to communicate with a coin acceptor.

Please let me know if you get anything out of it.

Thanks!

fretje

Original comment by fre...@gmail.com on 19 May 2010 at 6:13

GoogleCodeExporter commented 8 years ago
Hello guys,
I am in a similar situation here. I try to build a coin operated kiosk based on 
Linux, but couldnt find any kiosk application accepting ccTalk. Maybe one of us 
has more luck and is willing to share it.

:-) Roland

Original comment by RDotsc...@gmail.com on 19 Jun 2010 at 6:30

GoogleCodeExporter commented 8 years ago
Hello fretje, you guessed my needs a basic implementation of this lib to build 
a game machine accepting coins. i plan to purchase a ccTalk device and test 
basic command to evaluate this code, but need a deep knowledge of ccTalk 
protocol before.

i'll post my results when available and modified code if needed. 
To everyone reading this post please do the same.

Original comment by umbio...@gmail.com on 6 Jul 2010 at 8:49

GoogleCodeExporter commented 8 years ago
Hi guys, now i got a full knowledge of ccTalk protocol and reviewed this lib. 
What i have found is that, although well designed with a good object oriented 
approach, it misses of command response parsing routine. Supported commands are 
only a subset of the minimun set for a real device. Many commands have error in 
request length. Some functionality like "command container" and "device" are 
only outlined. 
Anyway that code can be used to assemble a working library. 
Finally, i fixed errors, completed the serial communication between host and 
slave, enhanced communication routine to support variable length  response and 
rearranged some oo design. As part of test procedure I wrote a ccTalk slave 
device emulator.
My goal is to build a working library supporting a mimimal set of command to 
drive a coin reader and dispenser.

For code, comments and suggestion drop me a line.

Original comment by umbio...@gmail.com on 27 Jul 2010 at 4:44

Attachments:

GoogleCodeExporter commented 8 years ago
Hello guys,
how's libCcTalk doing? Have you got any progress? Umbiomar, could you please 
post your working solution somewhere?

Thx, 
Marcel

Original comment by marcellu...@gmail.com on 4 Aug 2010 at 2:36

GoogleCodeExporter commented 8 years ago
I am also interested in the code. Putting it up here on Google code would be 
nice!

Original comment by fre...@gmail.com on 4 Aug 2010 at 6:14

GoogleCodeExporter commented 8 years ago
Hi,  umbiomar,

I saw that you added some extra code to the existing library. As I am new to 
programing I am having difficulties working with this alpha library without any 
documentation as the app-test is not finalized to understand how to work with 
all the functions. Is is posible to help me with some advices on this. I am 
trying to integrate a coin acceptor, 2 hoppers, 1 bill aceptor. 

Thanks,
Ioan 
ioan.davidescu@gmail.com 

Original comment by ioan.dav...@gmail.com on 7 Aug 2010 at 4:16

GoogleCodeExporter commented 8 years ago
Hello guys, as already said i started from this library code and, following 
ccTalk protocol specification, i searched for working functionality, fixed the 
wrong and add a test application. 
Although it is still a work in progress it can be used to drive a real device 
(a coin acceptor) or extend it.
Below the functionalities i haven't tested/implemented:
crc checksum (not tested);
MDCES request (not implemented);
long request (not implemented);

Beside i dont have a real device to work with so let me know if you success or 
not.

regards,
umbiomar

Original comment by umbio...@gmail.com on 8 Aug 2010 at 1:26

Attachments:

GoogleCodeExporter commented 8 years ago
Has connected a CCtalk Coin Acceptor and has the following problem. The data 
like SRNr are not properly selected only once and then any more. He appears 
thus as would come with the parseResponse wrong dates. Does one of you have the 
immediately problem? greet Carlo

Original comment by karl-b...@inode.at on 6 Dec 2010 at 5:11

GoogleCodeExporter commented 8 years ago
Hi Carlo, please explain better so we can help. Did you use my library? the 
library successfully connect to the device?
did you get some debug output we can invastigate over? what you mean for SRN? 
Paste some screenshot(exception in code?) and the manufacturer/model of your 
device (often devices support only a subset of the full list of command codes).

regards,
umbiomar

Original comment by umbio...@gmail.com on 8 Dec 2010 at 7:13

GoogleCodeExporter commented 8 years ago
Hi umbiomar

have a Coin Acceptor of the brand NRI G-13 (USB CCTalk). The programme behaves 
in such a way. The SerNr, manufacturer id, device category can be selected only 
once.
                System. Console. WriteLine ("Size: {0}", bytes);
Size = 8 
lenris: 0
reallen: 255
OK!!!!!

Then always wrong data become with the function (serialPort1. Read (this.read, 
lenris, bytes)) read.
Size: 13
lenris: 0
reallen: 255
read Array ([0] = 2, ([1] = 0, ([2] = 1, [3] = 242
If a test programme has shouted without Checksum sends only the order (242). If 
another Coin Acceptor has also tried this delivers immediately with restraint.

The best thanks
Greetings

Carlo

Original comment by karl-b...@inode.at on 9 Dec 2010 at 10:18

Attachments:

GoogleCodeExporter commented 8 years ago
Hi umbiomar

SRN = serial number

Greetings

Carlo

Original comment by karl-b...@inode.at on 9 Dec 2010 at 10:21

GoogleCodeExporter commented 8 years ago
Hi umbiomar

my Skype Name = carlovanducci

Greetings

Carlo

Original comment by karl-b...@inode.at on 9 Dec 2010 at 10:25

GoogleCodeExporter commented 8 years ago
Hi,

any chance that this lib can be built on linux?

Thanks,
Ivan

Original comment by susa...@gmail.com on 9 Dec 2010 at 12:47

GoogleCodeExporter commented 8 years ago
Hi Ivan, this, unfortunately, not!

greets
Carlo

Original comment by karl-b...@inode.at on 9 Dec 2010 at 12:53

GoogleCodeExporter commented 8 years ago
Very strange, as ccTalk is open protocol, i thought it will be relative simple 
to find something already working for linux. i was sooo wrong :(

Anyway, thank you!

Original comment by susa...@gmail.com on 9 Dec 2010 at 1:07

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi Ivan, this is a .NET library. I suppose you may build it on linux provided 
your project is based on Mono 
http://en.wikipedia.org/wiki/Mono_(software)

Aniway ccTalk is a very simple protocol to code in plain C, and if you dont 
need to support all the headers is also an efficient way.
A simple C function prototype talking ccTalk can be found at page 37 of ccTalk 
specification part 1.

Regards,
umbiomar

Original comment by umbio...@gmail.com on 9 Dec 2010 at 1:39

GoogleCodeExporter commented 8 years ago
Thank you for your help!

Original comment by susa...@gmail.com on 9 Dec 2010 at 3:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm working with cctalk in linux with mono (MONO develop as the IDE).
I'm using a SERIAL to USB adapter, and everything is working fine. The 
complicated part is to make the windows more responsive but i solved with 
threads and everything is fine.
I use the Object Oriented Programming, and in every device I included a 
function called execute (ejecutar in spanish, i'm from México), and it returns 
an int, to know the state of the device (i use an instance variable to know the 
current device state).
If any device needs polling (coin acceptors need polling) is as simple as 
calling the execute function and depending on the current state (controlled by 
the instance variable an some switch or if) the device do the polling or just 
stays idle.

Original comment by dextermi...@gmail.com on 26 May 2011 at 3:24

GoogleCodeExporter commented 8 years ago
can anybody post a sample code in plain C. I am trying to access the coin 
acceptor and its been a week now..but no progress....The coin acceptor is 
money-controls SR3 type.

Original comment by bi...@nepways.com on 25 Jul 2011 at 7:22

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,
I’m trying to use this library to manage a PayPrint F40 Bill Acceptor

I sent various message code (reset, route bill, request serial number and so 
on), but I receive no response or ... I had no error, but I received nothing 
from Bill Acceptor ...

Someone of you are still working with this code ?

Michele

Original comment by brago...@gmail.com on 18 Nov 2011 at 4:53

GoogleCodeExporter commented 8 years ago
@brago

Hi,
So which programming language are you using. One library running is written in 
python but I hope you can port it to other language as well. Currently I am on 
Windows. If you want the link please drop the comments. :)

Original comment by bi...@nepways.com on 21 Nov 2011 at 4:37

GoogleCodeExporter commented 8 years ago
Hi,
I am also trying trying to use this library to try and access a ccTalk coin 
acceptor but I'm not being very successfull.
I have an RM5CCTALK device plug into an usb port and my device manager tells me 
its on com6.
I ran this project and got no reaction but no errors so decided I needed to 
start sending it some requests. So i did the following:

            con.Open(set);
            Command_229 cmd = new Command_229();
            con.Write(cmd);
            string s = con.Read();
            Console.WriteLine(s);
            con.Close();

I get an error saying that the "destinatario" attribute from the command_229 
object is null. How can I find what values it expects. Thanks

Original comment by at...@netcabo.pt on 6 Dec 2011 at 1:58

GoogleCodeExporter commented 8 years ago
Hi, I found some bugs in the code project, so i fixed some of them. See comment 
#9 above. 

Unfortunately I don't have a real device to try.

Regards,
umbiomar

Original comment by umbio...@gmail.com on 9 Dec 2011 at 8:52

GoogleCodeExporter commented 8 years ago
Hello, did any one have the Device-Simulator (ccTalk Slave) available?

If yes - can i have a copy please? bplagens@googlemail.com

Best regards
Bernd

Original comment by bplag...@gmail.com on 6 Jul 2012 at 6:28

GoogleCodeExporter commented 8 years ago
I am very interested in this project, as I like to develop an application to 
control a coin acceptor Comestero RM5-hd and if possible also a bill acceptor 
to introduce money both ways at once.
Any of you have any examples that could guide me to know the value of the 
currency has been introduced?
Thank you.,

Original comment by sat...@gmail.com on 23 Nov 2012 at 7:29

GoogleCodeExporter commented 8 years ago
Can this code be implemented into Python to work in Raspberry Pi GPIO?

Original comment by alphaze...@gmail.com on 11 Dec 2012 at 3:43

GoogleCodeExporter commented 8 years ago
Hi guys

I see that this project is not really alive, but some comments were added quite 
recently.
Since I am also starting to develop an app utilizing cctalk I would be really 
great full if someone working on this could share some thoughts, 
Device-Simulator or just point out a site were some code samples could be 
downloaded.

The download section of this project is empty so I really don't know where to 
start from except to start from scratch which could be really a pain in the ... 
:)

Any help would be highly appreciated :)

Thanks in advance

Original comment by leona...@securitybulgaria.com on 15 Dec 2012 at 11:48

GoogleCodeExporter commented 8 years ago
@ leonardo@securitybulgaria.com

I had high hopes that this package was what I was looking for but that 
seems to be not the case. It would really be great if this was jump started.

Further search down the road, I found this bucket of codes @ 
https://bitbucket.org/schryer/cctalk/overview is authored by 
David Schryer for a coin validator mech that didnt had any
firmware, so he made one. 

Its a python-cctalk library which uses python-serial. 

I'm currently using it on a work-in-progress project.

Original comment by alphaze...@gmail.com on 16 Dec 2012 at 1:04

GoogleCodeExporter commented 8 years ago

thanks alot, I'll have a look at the python-cctalk lib

Original comment by leona...@securitybulgaria.com on 16 Dec 2012 at 1:50

GoogleCodeExporter commented 8 years ago
you're welcome. keeps us posted. let me know if i can extend any further help

Original comment by alphaze...@gmail.com on 18 Dec 2012 at 9:09

GoogleCodeExporter commented 8 years ago
Anyone managed to find ccTalk software based on Linux* ?

Original comment by pravi.dz...@gmail.com on 2 Dec 2013 at 8:47

GoogleCodeExporter commented 8 years ago
Am making a full Cctalk library for cross platform. Its written in pure C and 
its indipendent from the OS

Original comment by indrit.z...@gmail.com on 6 Feb 2015 at 6:31

GoogleCodeExporter commented 8 years ago
dear indrit, hope you do well with the library, will be waiting for it because 
ccTalk si getting me really confused......

Original comment by john.dem...@gmail.com on 10 Feb 2015 at 2:50

GoogleCodeExporter commented 8 years ago
Any Progess Indrit ?  I am very curious of the state of your library ... :)

Original comment by William....@gmail.com on 27 May 2015 at 10:21