Attention is currently required from: jolly, laforge, neels, osmith.
View Change
5 comments:
File include/osmocom/core/soft_uart.h:
File src/core/soft_uart.c:
Patch Set #2, Line 398: if (active) /* assert the given line */
re: if assert and de-assert is terminology from the matching spec, then of course keep using those t […]
@andreas@eversberg.eu just to confirm, am I using the terminology correctly in this patch? As we agreed in Jabber, in the example case of the RI (Ring Indicator), the modem asserts this line when it's ringing and de-asserts it when it's no more ringing.
File src/core/soft_uart.c:
Patch Set #3, Line 214: OSMO_SUART_STATUS_F_RTS_RTR
RX must continue. […]
Done
Patch Set #3, Line 324: OSMO_SUART_STATUS_F_CTS
The current character needs to be finished before the transmitter can stop transmitting.
Ack. Implemented in the new patchset, verified by unit tests.
Patch Set #3, Line 399: else
If you de-assert DTR, you should reset the transmitter state. […]
What you suggest looks as follows to me:
- "If you de-assert DTR, you should reset the transmitter state" - if we can no longer receive, we de-assert the DTR (Data Terminal Ready) and for some reason reset the transmitter state (`suart->tx.flow_state`)?
- "If you de-assert DSR, you should reset the receiver state" - if we can no longer transmit, we de-assert the DSR (Data Set Ready) and for some reason reset the receiver state (`suart->rx.flow_state`)?
Could you elaborate on this please? I am trying to understand the idea here.
To view, visit change 35172. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I26b93ce76f2f6b6fbf017f2684312007db3c6d48
Gerrit-Change-Number: 35172
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-CC: jolly <andreas@eversberg.eu>
Gerrit-CC: neels <nhofmeyr@sysmocom.de>
Gerrit-Attention: osmith <osmith@sysmocom.de>
Gerrit-Attention: jolly <andreas@eversberg.eu>
Gerrit-Attention: neels <nhofmeyr@sysmocom.de>
Gerrit-Attention: laforge <laforge@osmocom.org>
Gerrit-Comment-Date: Sun, 03 Dec 2023 21:39:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith@sysmocom.de>
Comment-In-Reply-To: jolly <andreas@eversberg.eu>
Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: comment