Jump to content


Photo
- - - - -

CCtalk library, LIBCCTALK


  • Please log in to reply
10 replies to this topic

#1 khards

khards

    Member

  • New Members
  • Pip
  • 172 posts

Posted 09 December 2005 - 09:51 PM

Hi guys,

I have been working hard on a CCtalk library, it will be online over the weekend at my new website http://www.pennyfalls.com.
The website and library are not finished yet, only the object files and headers will be available to download due to a NDA with money controls, I hope this can be intergrated with mfme to enable payout and coin entry.

This will be a windows version, the linux version should follow during the next week.

#2 khards

khards

    Member

  • New Members
  • Pip
  • 172 posts

Posted 14 December 2005 - 10:07 PM

LibCCtalk version 0.1.1 is now available,m this fixes some problems in the bill validators crc recieve command.

#3 Sarky

Sarky

    Junior Member

  • New Members
  • 94 posts

Posted 15 December 2005 - 08:33 AM

Hi khards,

Fun project. :) I haven't plugged this into any hardware yet but a coupla things come to mind:

1) Add function to bnv driver to change the security key used for encryption. This will be required for JCM compatibility.

2) Hopper payout should be asynchronous so that the user can display the current payout status. User code would look something like:

if(hopper->start_payout(coins_to_pay) == true)
{
    do {
     hopper->update_payout();
     coins_paid = hopper->get_coins_paid();
     printf("coins paid so far: %dn",coins_paid);
    }
   while(hopper->finished_payout() == false);

   if(hopper->get_alarm() == false)
   {   
     // handle errors
   }
    coins_paid =  hopper->get_coins_paid();
 }

3) Please fix the spelling errors in the code. There's nothing worse than having to memorise 'alternative' spellings. :)

Good luck!

#4 khards

khards

    Member

  • New Members
  • Pip
  • 172 posts

Posted 15 December 2005 - 09:50 PM

Fair points,

I don't know what I can do about the spelling :)

I will add some commands to change the security key.

I can modify (or lose) the hopperstatus() command and implement a get_coins_paid command, this will sort out the problem of not being able to view the amount of coins left to pay.

LibCCtalk is still in early development and is a rewritten version of some non object orientated code based on another project, some some of the functionaliy like being able to view the amount of coins left to payout might be missing at the moment.

Would you be interested in a USB -> CCtalk converter / distro board ? I will bne getting some made in the new year.

#5 khards

khards

    Member

  • New Members
  • Pip
  • 172 posts

Posted 13 January 2006 - 09:08 AM

Version of LibCCtalk 0.1.2 is now available to download at

http://www.pennyfalls.com/6

I will soon be selling USB to CCtalk converter boards and looms to match.

#6 Jimbob219

Jimbob219

    Member

  • New Members
  • Pip
  • 358 posts

Posted 13 January 2006 - 01:36 PM

sorry about this, but, what is the cc in cclibtalk?

Jimbob

(edit-) sorry libcctalk.

#7 Rich69

Rich69

    Rich69

  • New Members
  • 39 posts

Posted 13 January 2006 - 02:07 PM

CoinControls?

#8 Jimbob219

Jimbob219

    Member

  • New Members
  • Pip
  • 358 posts

Posted 13 January 2006 - 02:21 PM

could be, i suppose it does fit in kind of/

Jimbob

#9 Sarky

Sarky

    Junior Member

  • New Members
  • 94 posts

Posted 14 January 2006 - 08:18 AM

could be, i suppose it does fit in kind of


It is Coin Controls after the company that created the protocol (now called Money Controls).

#10 khards

khards

    Member

  • New Members
  • Pip
  • 172 posts

Posted 15 January 2006 - 09:08 PM

Thats the guy's.

They seen to get some bad reports but I can honestly say that the products that I have use have never had any problems at all and I have never had a breakdown under warranty.

#11 Guest_skippy_*

Guest_skippy_*
  • Guests

Posted 26 March 2006 - 02:19 PM

@khards:

I'd like to download your libcctalk, but it's a bad link...




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users