Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: hosted serial #2312

Merged
merged 4 commits into from Apr 22, 2021
Merged

Feature: hosted serial #2312

merged 4 commits into from Apr 22, 2021

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Apr 20, 2021

Adds easier way on Linux and Windows to connect to a real serial port and communicate with the device over it.

@slaff slaff added this to the 4.3.1 milestone Apr 20, 2021
@slaff slaff removed the 3 - Review label Apr 22, 2021
@slaff slaff merged commit 8d65611 into SmingHub:develop Apr 22, 2021
@slaff
Copy link
Contributor Author

slaff commented May 4, 2021

@mikee47 Sometimes I am testing applications that have to communicate with another microcontroller via serial. It would be great if the Sming Host Emulator can be instructed to use serialib (part of this PR) for UART0 communication instead of the Telnet server that is created. UART1 till N should continue to use the Telnet server. An example compilation can be

make SMING_ARCH=Host UART0_PORT=/dev/ttyUSB0 UART0_SPEED=9600  

Is that doable?

@mikee47
Copy link
Contributor

mikee47 commented May 4, 2021

Is that doable?

Of course :-)

@mikee47
Copy link
Contributor

mikee47 commented May 4, 2021

@slaff See if #2326 does what you're after...

@slaff slaff mentioned this pull request May 5, 2021
5 tasks
slaff added a commit that referenced this pull request Sep 27, 2021
* Adds easier way on Linux and Windows to connect to a real serial port and communicate with the device over it.

* Added control over the DTS and RTS serial lines (pins).

* Updated the documentation.
@slaff slaff deleted the feature/hosted-serial branch February 1, 2022 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants