Is there a way to get uart_config_t data from a started Serial?

u063096
Posts: 34
Joined: Wed Feb 13, 2019 3:27 pm

Is there a way to get uart_config_t data from a started Serial?

Postby u063096 » Thu Aug 04, 2022 9:45 am

Hi,

I am looking for a way to modify the ``uart_config_t`` data for a Serial that is given to my library by the user application. I need to adjust buffer sizes and install an ``onReceive`` callback for it.

My idea was to read the configuration data from the running Serial, stop it and start it again with a modified set-up.

The problem is, for most of the data there are get functions, but GPIO assignment, signal inversion mask or buffer sizes are not to be found.

Is there a way to achieve what I am attempting to do?

u063096
Posts: 34
Joined: Wed Feb 13, 2019 3:27 pm

Re: Is there a way to get uart_config_t data from a started Serial?

Postby u063096 » Mon Aug 08, 2022 4:43 am

no idea, someone?

Who is online

Users browsing this forum: No registered users and 51 guests