Reading Serial Data From C (OSX /dev/tty)

后端 未结 4 1148
南方客
南方客 2021-01-22 21:46

I am trying to read data from a bluetooth barcode scanner (KDC300) using C. Here is the code I have so far, and the program successfully establishes a bluetooth connection to th

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-22 21:46

    Here is the best info I've found.

    The C program on there using termios worked just by adding

    #include
    

    And changing the baudrate to match my needs.

提交回复
热议问题