Send a series of bit zeros through serial port

Discussion in 'C Programming' started by jwamicha, Jul 31, 2006.

  1. jwamicha

    jwamicha Guest

    Hi,

    I'm currently running linux on an embedded POS device
    (http://www.linudix.com) which unfortunately I'm unable to recompile
    Linux for. The support is also poor and so I have been unable to obtain
    a response on the details of the serial device it is running.

    The problem is tcsendbreak() simply does not work. I need to send
    BREAK signal so I can get data off a weighing machine.

    Does anyone know a way I can send a series of bit zero streams for
    between 250ms and 500ms rather than using tcsendbreak?

    Thanks a million.
    jwamicha, Jul 31, 2006
    #1
    1. Advertising

  2. jwamicha

    Ian Collins Guest

    jwamicha wrote:
    > Hi,
    >
    > I'm currently running linux on an embedded POS device
    > (http://www.linudix.com) which unfortunately I'm unable to recompile
    > Linux for. The support is also poor and so I have been unable to obtain
    > a response on the details of the serial device it is running.
    >
    > The problem is tcsendbreak() simply does not work. I need to send
    > BREAK signal so I can get data off a weighing machine.
    >
    > Does anyone know a way I can send a series of bit zero streams for
    > between 250ms and 500ms rather than using tcsendbreak?
    >

    I'm sure someone does, but not here, try a Linux or dedicated group for
    your distro.

    --
    Ian Collins.
    Ian Collins, Jul 31, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roberto
    Replies:
    0
    Views:
    481
    Roberto
    Dec 15, 2004
  2. Pom
    Replies:
    2
    Views:
    1,619
    Bas-i
    Jan 31, 2007
  3. terry
    Replies:
    5
    Views:
    861
    Gabriel Genellina
    May 3, 2008
  4. John Nagle
    Replies:
    1
    Views:
    1,500
    Tim Golden
    Mar 31, 2011
  5. msalerno
    Replies:
    3
    Views:
    401
    Ilmari Karonen
    Jul 14, 2005
Loading...

Share This Page