Home/Support/Support Forum/Serial Port with echo
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Serial Port with echo

0 votes
I'm using Digi Connect ME9210 and working with this module through serial interface.
My problem is that even if on my apllication I disabled the echo, I see that what I'm writing on serial port comes back from Digi serial port, how can I disable it?

Thanks
asked Feb 5, 2013 in NET+OS by mfranz New to the Community (0 points)
recategorized Sep 20, 2013 by tuxembb

Please log in or register to answer this question.

1 Answer

0 votes
Hello assuming you are running NET+OS, by defaul application is set to output dialog out to Port1, you can set this option to FALSE inside the BSP directory file bss_sys.h. This is set to true by default. Please see below:
/*ad*
* Set this to TRUE to run the dialog code during startup.
*
* @since 6.2
* @external
* @category BSP:BSP_Configuration
*
* @note when @link BSP_FAST_BOOT_OPTION is TRUE,
* this setting will be set to FALSE.
*ad*/
#ifndef BSP_ENABLE_DIALOG
#define BSP_ENABLE_DIALOG TRUE
#endif

/*
* BSP_STDIO_PORT determines which serial port stdin, stdout, and stderr should be redirected to.
* It should be set to the device name of the port or NULL.
*
* @external
* @category BSP:BSP_Configuration
* @since 7.1
*/
#define BSP_STDIO_PORT "/com/0"

/*
* BSP_DIALOG_PORT determines whether or not the initialization code will prompt for configuration
* parameters. It should be set to a string that contains the serial port to prompt with. If it
* is not set, or if it contains an invalid port, then the initialization code will not prompt for
* configuration parameters.
*
* @external
* @category BSP:BSP_Configuration
* @since 7.1
*/
#define BSP_DIALOG_PORT "/com/0"
answered Feb 11, 2013 by Campbell Veteran of the Digi Community (551 points)
...