Re: [PATCH] Re: problem with cinterion TC63i rs232 modem
- From: Aleksander Morgado <aleksander lanedo com>
- To: Dan Williams <dcbw redhat com>
- Cc: Networkmanager List <networkmanager-list gnome org>
- Subject: Re: [PATCH] Re: problem with cinterion TC63i rs232 modem
- Date: Fri, 14 Oct 2011 17:24:05 +0200
> > So the real problem here is that the Cinterion modem sends a NUL byte
> > before the CONNECT response:
> >
> > > [mm-at-serial-port.c:298] debug_log(): (ttyS1): --> 'ATD*99***1#<CR>'
> > > modem-manager[2621]: <debug> [1317807408.548825]
> > > [mm-at-serial-port.c:298] debug_log(): (ttyS1): <-- '\0'
> > > modem-manager[2621]: <debug> [1317807410.433152]
> > > [mm-at-serial-port.c:298] debug_log(): (ttyS1): <--
> > > '<CR><LF>CONNECT<CR><LF>'
> >
> > It only does that during the first reply to ATD, not in the next tries,
> > that is why you were able to connect successfully after the first try.
> >
> > Attached is a patch that solves the issue. It modifies the common serial
> > parser, so not something Cinterion-specific, but the change is quite
> > small and shouldn't affect other plugins.
>
> Looks good to me.
>
Pushed to git master then.
Cheers!
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]