Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Soapbox
  4. Half-assed COM server soon sent to the trash

Half-assed COM server soon sent to the trash

Scheduled Pinned Locked Moved The Soapbox
csscomsysadminjsonlounge
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #1

    I was complaining about a half-assed COM server a while ago. It's an API for a brand of credit card PIN-terminals. The COM server behaves like a bag'o'crap (random crashes, protocol against clients is a moving target, randomly misbehaves, poorly designed, etc). I got a hold of the PIN terminal vendor, and they sent me the protocol specifications. Woohoo! I'm also not out of scope of the PA DSS self assessments for EMV by talking with the PIN-terminal directly, so double Woohoo! My suspicions that the protocol is HDLC protocol was wrong. Turns out they don't use HDLC anymore (they moved out of the 80's in the 90's!). They use simple ASN.1 BER (Basic Encoding Rules) over both TCP/IP and RS-232, so it's not very hard to program. I think I'll even throw in support for RS-232 (something which the COM server really couldn't handle!) I will probably spend a little less than 3 weeks on this, but I'm sure my life will be 10 years longer by not having to support the COM server. I'm happy! (Despite the fact that I will have to do this PIN-terminal integration twice!)

    -- Kein Mitleid Für Die Mehrheit

    T L 2 Replies Last reply
    0
    • J Jorgen Sigvardsson

      I was complaining about a half-assed COM server a while ago. It's an API for a brand of credit card PIN-terminals. The COM server behaves like a bag'o'crap (random crashes, protocol against clients is a moving target, randomly misbehaves, poorly designed, etc). I got a hold of the PIN terminal vendor, and they sent me the protocol specifications. Woohoo! I'm also not out of scope of the PA DSS self assessments for EMV by talking with the PIN-terminal directly, so double Woohoo! My suspicions that the protocol is HDLC protocol was wrong. Turns out they don't use HDLC anymore (they moved out of the 80's in the 90's!). They use simple ASN.1 BER (Basic Encoding Rules) over both TCP/IP and RS-232, so it's not very hard to program. I think I'll even throw in support for RS-232 (something which the COM server really couldn't handle!) I will probably spend a little less than 3 weeks on this, but I'm sure my life will be 10 years longer by not having to support the COM server. I'm happy! (Despite the fact that I will have to do this PIN-terminal integration twice!)

      -- Kein Mitleid Für Die Mehrheit

      T Offline
      T Offline
      TheGreatAndPowerfulOz
      wrote on last edited by
      #2

      Happy Days, man! Good on ya to go around the COM pile-o-shiite!

      If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
      You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

      J 1 Reply Last reply
      0
      • T TheGreatAndPowerfulOz

        Happy Days, man! Good on ya to go around the COM pile-o-shiite!

        If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
        You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #3

        Hell yeah!

        -- Kein Mitleid Für Die Mehrheit

        1 Reply Last reply
        0
        • J Jorgen Sigvardsson

          I was complaining about a half-assed COM server a while ago. It's an API for a brand of credit card PIN-terminals. The COM server behaves like a bag'o'crap (random crashes, protocol against clients is a moving target, randomly misbehaves, poorly designed, etc). I got a hold of the PIN terminal vendor, and they sent me the protocol specifications. Woohoo! I'm also not out of scope of the PA DSS self assessments for EMV by talking with the PIN-terminal directly, so double Woohoo! My suspicions that the protocol is HDLC protocol was wrong. Turns out they don't use HDLC anymore (they moved out of the 80's in the 90's!). They use simple ASN.1 BER (Basic Encoding Rules) over both TCP/IP and RS-232, so it's not very hard to program. I think I'll even throw in support for RS-232 (something which the COM server really couldn't handle!) I will probably spend a little less than 3 weeks on this, but I'm sure my life will be 10 years longer by not having to support the COM server. I'm happy! (Despite the fact that I will have to do this PIN-terminal integration twice!)

          -- Kein Mitleid Für Die Mehrheit

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Ha, told you so! Get hold of the protocol and do it direct over TCP, piece of cake! :)

          ============================== Nothing to say.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups