serial-port Questions

7

Solved

I have a linux server (Red Hat 4) with one serial port connection to an embedded linux device, and another serial port connection to a power controller for that device. My current way to control th...
Nellnella asked 6/10, 2010 at 16:11

2

Solved

Is there any way to open a terminal device file in erlang ? I am on Solaris and I am trying the following:: Erlang (BEAM) emulator version 5.6 [source] [64-bit] [async-threads:0] [kernel-poll:fa...
Towe asked 23/12, 2010 at 9:26

9

Solved

I have developed an embedded application which requests status information from a device down a communications channel. My customer requires that these will be sent with a specific time period, so ...
Implacable asked 29/1, 2010 at 10:9

6

Solved

I'm debugging communications with a serial device, and I need to see all the data flowing both directions. It seems like this should be easy on Linux, where the serial port is represented by a fil...
Epiphenomenon asked 2/6, 2009 at 16:4

4

Solved

The company I work for makes hardware that communicates to the computer though a serial port. Third party companies write software that communicates with our hardware. There are times when I need...
Virelay asked 3/9, 2008 at 17:46

5

I've got two Raspberry Pi's sending data to each other using the Serial Port and a pair of XRF Radio's. Generally they work fine and the full program loops multiple times but every once in a while ...
Empathize asked 5/2, 2015 at 12:26

6

I am writing Python v2.x in Windows7 OS. When I run my code, the following error happens frequently. serial.serialutil.SerialException: could not open port 'COM4': WindowsError(5, 'Access is denie...
Viand asked 31/12, 2015 at 18:40

4

I wrote a small program on PlatformIO for an ESP32 with ESP-IDF framework. Currently this is connected to my PC with USB cable. I receive lots of data from a CAN-BUS and I print this data with pri...
Seraph asked 21/9, 2019 at 6:32

3

Solved

I am trying to plug in a device into my Macbook and connect to it to read it's serial port. I know the device connects on baudrate 115200. Currently, I run the command ioreg -p IOUSB -l -b | grep...
Variscite asked 16/1, 2018 at 23:19

5

I'm having trouble to read more than one character using my program, I can't seem to figure out what went wrong with my program. import serial ser = serial.Serial( port='COM5',\ baudrate=9600,\...
Priorate asked 18/4, 2013 at 8:22

6

Solved

FINAL UPDATE It was our firmware the whole time. Embarrassing to a degree, but I'm happy we can move forward and I can put learning Java off for another day. My answer is below. UPDATE So I have...
Negative asked 14/2, 2013 at 22:31

10

Solved

I have some code that loads the serial ports into a combo-box: List<String> tList = new List<String>(); comboBoxComPort.Items.Clear(); foreach (string s in SerialPort.GetPortName...
Cherellecheremis asked 14/5, 2010 at 22:16

9

Solved

I'm implementing a protocol over serial ports on Linux. The protocol is based on a request answer scheme so the throughput is limited by the time it takes to send a packet to a device and get an an...
Election asked 29/10, 2012 at 16:53

8

There are several ways to list serial ports under Windows but I'm not sure what is the proper way: the way that does detect all serial ports that are available. One good code example is http://www...
Ashti asked 20/4, 2010 at 9:49

6

Solved

the code: static void Main(string[] args) { Console.WriteLine("Memory mapped file reader started"); using (var file = MemoryMappedFile.OpenExisting("AIDA64_SensorValues")) { using (var reader...
Shortage asked 28/8, 2011 at 7:41

1

I have an unity/c# app which utilizes com ports to comunicate with a custom bluetooth device. The connection with serial ports works fine when using a stock/inbilt/OE bluetooth device in any comput...
Hiroshima asked 22/5, 2018 at 9:55

11

Solved

I am trying to connect minicom to a serial device that is connected via a USB-to-serial adapter. This is a PL2303 and from everything I've read no additional drivers are required. The device is rec...
Fraxinella asked 18/3, 2011 at 4:8

4

I want to develop an application whitch control the serial device over usb, on Linux Android. An Android OS is 3.1 that supports USB host. Q1: Please let me know how to get which port the serial...
Schuman asked 21/7, 2011 at 6:35

4

Solved

This question is related to a situation that occurred when using Chrome Serial API but probably could be relevant to any ReadableStream. I studied the documentation and probably missed some feature...
Picard asked 16/1, 2021 at 9:56

5

Solved

Posix requires changing RTS pin on port opening. I want a way to avoid it.
Grasshopper asked 23/2, 2011 at 11:47

3

Solved

The goal is to connect to an embedded device using serial interface. So far, I've used: stty -F /dev/ttyS2 115200 cs8 ixoff socat readline,history=/etc/socat.history /dev/ttyS2,raw,echo=0 ...
Semifinalist asked 15/10, 2014 at 1:25

2

I'm trying to wrap the SerialPort's read method in a task that can be awaited, that way I can get the benefits of using a CancellationToken and the timeout from the SerialPort object. My issue is t...
Hajj asked 8/12, 2017 at 21:24

5

Solved

I have a winform program that does some asynchronous IO on a SerialPort. However, I'm periodically running into an issue with the program freezing on the SerialPort.Close() call, seemingly at rando...
Overmodest asked 12/1, 2012 at 22:29

5

Note: I'm using Python 2.7, and pySerial for serial communications. I found this article which lists two ways: http://www.zaber.com/wiki/Software/Python#Displaying_a_list_of_available_serial_ports...

4

Solved

Occasionally some of my integration tests are failing with the above message. I'm using the code below to ready the port. for(int i = 0; i < 5; i++) { try { port.Open(); if (port.IsOpen)...
Millenary asked 8/9, 2011 at 13:10

© 2022 - 2024 — McMap. All rights reserved.