Knowledge (XXG)

ccTalk

Source 📝

158: 63: 22: 421: 534:
encryption was added to certain commands so that it could be made more resilient against attacks on the bus. Each peripheral has its own unique DES key, which it communicates to the Game Machine on a "trusted key exchange mode". Key rotation is available. The intention is that cracking one peripheral
730:
The ccTalk commands implemented in this device are the ones reported on the document "List of the commands of the ccTalk protocol for the Italian market", law 289 - comma 6", which specifies the ccTalk Italy package of commands currently in use (see "ccTalk Italy communication protocol"), but
395:, driven through an open-collector NPN transistor. The pull-up resistor at the host pulls the DATA line to +5 V, so logical 1 (and idle) is nominally +5 V, and logical 0 (and start bit) is nominally 0 V. For longer distances, CPI recommends sending ccTalk data over a balanced multi-drop 535:
does not compromise the whole system, and that a cracked one could change its keys. DES is considered insecure right from the start due to the small key size and has been further analyzed, but it does slow down fraudsters who might insert devices to tap onto the communication wire.
364:
technology, a simple-to-understand packet structure, an easily expandable command interface and no licensing requirements. The latter affords the protocol a good deal of popularity in a crowded and highly competitive field similar to open-source software.
291:
for coins and banknotes found in a diverse range of automatic payment equipment such as transportation, ticketing, payphones, amusement machines, and retail cash management use ccTalk to talk to the host controller. The ccTalk protocol is an
402:
Secure peripherals require all bytes of a message to be encrypted, except for the first two bytes—the destination address byte and the data-length byte are never encrypted to allow standard and secure peripherals to be mixed on the same bus.
731:
modified so as to make the peripheral compliant with the new security requirements established by the document "Technical Table Report 2012, 3.3, 2nd edition - Peripheric 27.02.2013", to which the reader is referred for details.
326:
and is ‘multi-drop’ i.e. peripherals can be connected to a common bus and are logically separated by a device address. Each peripheral on the ccTalk bus must have a unique address. The original protocol operated at 4800
406:
The total length of a message packet can range from a minimum of 5 bytes (data-length byte equal to 0) to 260 bytes (data-length byte equal to 255). Longer transfers require a series of message packets.
331:
with subsequent releases standardising on 9600 baud. Low cost bridge chips are now available from a number of manufacturers to allow ccTalk to run over USB at baud rates of at least 1 Mbit/s.
554:
A number of associated standards have emerged over the years from within the ccTalk specification. For example, the global tags to identify the world’s forever changing coins and notes.
315:
mainly by Engineer Andrew William Barson. The first release of the protocol was in 1996. Coin control would later be renamed Money Controls and from 2010, Crane Payment Solutions.
546:. The use of DH prevents eavesdropping of the key exchange, while AES is still unbroken – meaning an impossibly long brute-force process would be required. 584:
Bank notes follow the same pattern but 4 characters are allocated to the value and there is an associated scaling factor, usually x100, with the country.
73: 384:
Many devices have single electrical connector that carries both power (typically +12 V or +24 V) and the ccTalk data over a total of 4 wires.
318:
The protocol uses an asynchronous transfer of character frames in a similar manner to RS232. The main difference is that it uses a single
463: 259: 241: 49: 179: 172: 539: 304: 88: 629: 303:
for use in all AWP machines with serial coin acceptors. (The other is the Host Intelligent Interface protocol developed by
685: 660: 710: 436: 222: 131: 760: 194: 103: 391:
open-collector interface: both transmit and receive messages occur on the same bi-directional serial DATA line at
168: 531: 201: 110: 445: 35: 387:
To reduce cost, for short interconnection distances CPI recommends sending ccTalk data over an unbalanced
374: 322:
data line for half-duplex communication rather than separate transmit and receives lines. It operates at
319: 208: 117: 377:. The series of bytes in a message—represented above as a series of decimal numbers—is transmitted as 276: 745: 431: 567:. The issue code is assigned to different issue dates or special mint variations of the same coin. 190: 99: 335: 353:
32-bit processors. The protocol supports all standard operations for electronic devices such as
496:
This is a message from address 1 ( the host ) to peripheral address 2 to find out what it is.
288: 765: 346: 338: 538:
A much stronger encryption protocol is found in Italian NewSlot machines. This scheme uses
633: 648: 307:). It was developed at a company called Coin Controls (hence "cc") on the outskirts of 754: 293: 280: 357:
upgrading of firmware, secure transfer of data and detailed diagnostic information.
215: 124: 354: 626: 284: 157: 62: 41: 689: 664: 560:<2-letter country code><3-digit value><1-letter issue code> 388: 323: 308: 522:
The reply from address 2 back to address 1 identifies it as a coin acceptor.
334:
ccTalk protocol stacks have been implemented on a range of devices from tiny
392: 564: 543: 312: 499:
RX data = 1 13 2 0 67 111 105 110 32 65 99 99 101 112 116 111 114 22
396: 378: 342: 300: 746:
https://web.archive.org/web/20070329093914/http://www.cctalk.org/
361: 350: 328: 279:
protocol in widespread use throughout the money transaction and
414: 151: 56: 15: 627:"ccTalk Serial Communication Protocol: Generic Specification" 557:
In ccTalk a coin has a 6 character identifier of the format
661:""DES Encryption for Coin Acceptors and Bill Validators"" 84: 622: 620: 618: 616: 614: 612: 610: 492:
8 = checksum ( 2 + 0 + 1 + 245 + 8 = 256 = 0 mod 256 )
80: 489:
245 = command header ‘Request equipment category id’
518:22 = checksum ( sum of all packet bytes is zero ) 399:driver interface, also nominally +5 V and 0 V. 8: 89:introducing citations to additional sources 50:Learn how and when to remove these messages 711:"HOPPER CD ccTalk + AES Operator's Manual" 299:ccTalk is one of 2 protocols specified by 464:Learn how and when to remove this message 260:Learn how and when to remove this message 242:Learn how and when to remove this message 79:Relevant discussion may be found on the 606: 360:Advantages of ccTalk include low cost 178:Please improve this article by adding 644: 642: 7: 515:67…114 = ASCII for ‘Coin Acceptor’ 14: 31:This article has multiple issues. 419: 411:An Example ccTalk Message Packet 156: 72:relies largely or entirely on a 61: 20: 39:or discuss these issues on the 686:""DES Encryption for Hoppers"" 305:Mars Electronics International 1: 563:The country code conforms to 180:secondary or tertiary sources 540:Diffie–Hellman key exchange 439:. The specific problem is: 784: 435:to meet Knowledge (XXG)'s 594:GB0020A Great Britain £20 591:US0001A United States $ 1 373:The ccTalk protocol is a 577:GB010B Great Britain 10p 574:US025A United States 25c 503:1 = destination address 480:2 = destination address 476:TX data = 2 0 1 245 8 375:byte-oriented protocol 167:relies excessively on 320:two-way communication 550:Coin and Note Naming 446:improve this section 85:improve this article 483:0 = zero data bytes 632:2017-10-16 at the 509:2 = source address 506:13 = 13 data bytes 486:1 = source address 289:currency detectors 761:Network protocols 526:Secure extensions 474: 473: 466: 437:quality standards 428:This section may 270: 269: 262: 252: 251: 244: 226: 150: 149: 135: 54: 773: 734: 733: 727: 725: 715: 707: 701: 700: 698: 697: 688:. Archived from 682: 676: 675: 673: 672: 663:. Archived from 657: 651: 649:"Money Controls" 646: 637: 624: 512:0 = reply header 469: 462: 458: 455: 449: 441:Use hexadecimal. 423: 422: 415: 339:microcontrollers 265: 258: 247: 240: 236: 233: 227: 225: 184: 160: 152: 145: 142: 136: 134: 93: 65: 57: 46: 24: 23: 16: 783: 782: 776: 775: 774: 772: 771: 770: 751: 750: 742: 737: 723: 721: 720:. June 28, 2019 713: 709: 708: 704: 695: 693: 684: 683: 679: 670: 668: 659: 658: 654: 647: 640: 634:Wayback Machine 625: 608: 604: 597:EU0005A Euro €5 561: 552: 528: 470: 459: 453: 450: 443: 424: 420: 413: 371: 266: 255: 254: 253: 248: 237: 231: 228: 185: 183: 177: 173:primary sources 161: 146: 140: 137: 94: 92: 78: 66: 25: 21: 12: 11: 5: 781: 780: 777: 769: 768: 763: 753: 752: 749: 748: 741: 740:External links 738: 736: 735: 702: 677: 652: 638: 605: 603: 600: 599: 598: 595: 592: 582: 581: 580:EU200A Euro €2 578: 575: 559: 551: 548: 527: 524: 520: 519: 516: 513: 510: 507: 504: 494: 493: 490: 487: 484: 481: 472: 471: 427: 425: 418: 412: 409: 370: 367: 311:in north-west 268: 267: 250: 249: 164: 162: 155: 148: 147: 83:. Please help 69: 67: 60: 55: 29: 28: 26: 19: 13: 10: 9: 6: 4: 3: 2: 779: 778: 767: 764: 762: 759: 758: 756: 747: 744: 743: 739: 732: 719: 712: 706: 703: 692:on 2017-07-21 691: 687: 681: 678: 667:on 2017-08-08 666: 662: 656: 653: 650: 645: 643: 639: 635: 631: 628: 623: 621: 619: 617: 615: 613: 611: 607: 601: 596: 593: 590: 589: 588: 585: 579: 576: 573: 572: 571: 568: 566: 558: 555: 549: 547: 545: 541: 536: 533: 525: 523: 517: 514: 511: 508: 505: 502: 501: 500: 497: 491: 488: 485: 482: 479: 478: 477: 468: 465: 457: 447: 442: 438: 434: 433: 426: 417: 416: 410: 408: 404: 400: 398: 394: 390: 385: 382: 380: 376: 368: 366: 363: 358: 356: 352: 348: 344: 340: 337: 332: 330: 325: 321: 316: 314: 310: 306: 302: 297: 295: 294:open standard 290: 286: 282: 281:point-of-sale 278: 274: 264: 261: 246: 243: 235: 232:November 2020 224: 221: 217: 214: 210: 207: 203: 200: 196: 193: –  192: 188: 187:Find sources: 181: 175: 174: 170: 165:This article 163: 159: 154: 153: 144: 141:November 2020 133: 130: 126: 123: 119: 116: 112: 109: 105: 102: –  101: 97: 96:Find sources: 90: 86: 82: 76: 75: 74:single source 70:This article 68: 64: 59: 58: 53: 51: 44: 43: 38: 37: 32: 27: 18: 17: 729: 722:. Retrieved 717: 705: 694:. Retrieved 690:the original 680: 669:. Retrieved 665:the original 655: 586: 583: 569: 562: 556: 553: 537: 529: 521: 498: 495: 475: 460: 451: 444:Please help 440: 429: 405: 401: 386: 383: 372: 359: 349:to powerful 333: 324:TTL voltages 317: 298: 287:such as the 272: 271: 256: 238: 229: 219: 212: 205: 198: 186: 166: 138: 128: 121: 114: 107: 95: 71: 47: 40: 34: 33:Please help 30: 636:. Issue 4.7 448:if you can. 285:Peripherals 755:Categories 696:2017-08-08 671:2017-08-08 602:References 389:multi-drop 309:Manchester 283:industry. 202:newspapers 169:references 111:newspapers 36:improve it 530:In 2010, 393:TTL level 341:with 512 336:Microchip 81:talk page 42:talk page 718:Alberici 630:Archived 565:ISO 3166 454:May 2023 430:require 191:"CcTalk" 100:"CcTalk" 766:Vending 544:AES-256 432:cleanup 369:Details 313:England 216:scholar 125:scholar 724:13 May 397:RS-485 277:serial 273:ccTalk 218:  211:  204:  197:  189:  127:  120:  113:  106:  98:  714:(PDF) 587:e.g. 570:e.g. 379:8-N-1 355:flash 343:bytes 301:BACTA 275:is a 223:JSTOR 209:books 132:JSTOR 118:books 726:2023 542:and 362:UART 351:ARM7 329:baud 195:news 104:news 532:DES 347:ROM 345:of 171:to 87:by 757:: 728:. 716:. 641:^ 609:^ 381:. 296:. 182:. 45:. 699:. 674:. 467:) 461:( 456:) 452:( 263:) 257:( 245:) 239:( 234:) 230:( 220:· 213:· 206:· 199:· 176:. 143:) 139:( 129:· 122:· 115:· 108:· 91:. 77:. 52:) 48:(

Index

improve it
talk page
Learn how and when to remove these messages

single source
talk page
improve this article
introducing citations to additional sources
"CcTalk"
news
newspapers
books
scholar
JSTOR

references
primary sources
secondary or tertiary sources
"CcTalk"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
Learn how and when to remove this message
serial
point-of-sale
Peripherals
currency detectors

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.