11mail22 wrote:My first try to bring up the UART bridge and struggling a bit. Using lastest Release 19 (bin), Can open bridge port configured under bp with putty, switching local echo to off, but get no echo via bridge, so UART bridge seem not to work. I connected in RAW mode of putty.
As @holopaul already discovered, there seems to be bug in the current version regarding network bridging. I am going to look into it soon. Much of the code needs to be rewritten anyway due to my change from the netconn to the raw lwip interface. It probably got broken when I implemented the led pixel interface, which is quite demanding on the UART (and control code). You might want to try an older version, that does not yet have led pixel support.
11mail22 wrote:Oberservations:
1) bp was initial not set to default 23. It was 0. Could be changed and stored by cw and accessed after reset.
That is intentional. It saves frequent polling and data moving code to be run if the bridge is not used. So you need to enable it explicitly. This may not be reflected in the documentation.
11mail22 wrote:3) ct default was initial set to 90 not 0 as desribed. Setting to 0, cw, but command port closing after 90sec!
That's interesting. I was under the impression the timeout (for both) wasn't used anymore. If it's not already out, I am will probably remove it soon. The rationale is that UDP doesn't have a concept of connection and TCP does, but you can always replace an existing connnection with a new one, so it doesn't hurt if an existing connection is hogged by some runaway device.
11mail22 wrote:4) command like s, wcc, sc working. sc-task uart posted increased by two when pressing key+CR in bridge port terminal. task uart failed stuck at 643. uart updated counted frequently.
5) using uw 0 123456 but no reception on putty terminal.
That will probably the aforementioned bug.
11mail22 wrote:Maybe the new inverting function does have also wrong default and one of RX / TX is inverted? How to check or to be configured in non inverting mode?
Improbable, I tested it. Check the flags with "fs".