You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/04/05 17:02:05 UTC
[GitHub] [incubator-nuttx] v01d opened a new issue #3430: MODBUS NOT USABLE WITH USB SERIAL
v01d opened a new issue #3430:
URL: https://github.com/apache/incubator-nuttx/issues/3430
```
Description: Modbus can be used with USB serial, however, if the USB
serial connection is lost, Modbus will hang in an infinite
loop.
This is a problem in the handling of select() and read()
and could probably resolved by studying the Modbus error
handling.
A more USB-friendly solution would be to: (1) Re-connect and
(2) re-open the serial drivers. That is what is done is NSH.
When the serial USB device is removed, this terminates the
session and NSH will then try to re-open the USB device. See
the function nsh_waitusbready() in the file
apps/nshlib/nsh_usbconsole.c. When the USB serial is
reconnected the open() in the function will succeed and a new
session will be started.
Status: Open
Priority: Low. This is really an enhancement request: Modbus was never
designed to work with removable serial devices.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis commented on issue #3430: MODBUS NOT USABLE WITH USB SERIAL
Posted by GitBox <gi...@apache.org>.
acassis commented on issue #3430:
URL: https://github.com/apache/incubator-nuttx/issues/3430#issuecomment-826369635
> I think Modbus is only part of the apps repo.
> Maybe this is to be moved too?
+1 -> apps
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] fjpanag commented on issue #3430: MODBUS NOT USABLE WITH USB SERIAL
Posted by GitBox <gi...@apache.org>.
fjpanag commented on issue #3430:
URL: https://github.com/apache/incubator-nuttx/issues/3430#issuecomment-826353169
I think Modbus is only part of the apps repo.
Maybe this is to be moved too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] fjpanag commented on issue #3430: MODBUS NOT USABLE WITH USB SERIAL
Posted by GitBox <gi...@apache.org>.
fjpanag commented on issue #3430:
URL: https://github.com/apache/incubator-nuttx/issues/3430#issuecomment-826353169
I think Modbus is only part of the apps repo.
Maybe this is to be moved too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis commented on issue #3430: MODBUS NOT USABLE WITH USB SERIAL
Posted by GitBox <gi...@apache.org>.
acassis commented on issue #3430:
URL: https://github.com/apache/incubator-nuttx/issues/3430#issuecomment-826369635
> I think Modbus is only part of the apps repo.
> Maybe this is to be moved too?
+1 -> apps
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org