Open Source Telephony
 help / color / mirror / Atom feed
From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: Re: [PATCH_v3] huaweicdma: Create first draft for plugin huaweicdma
Date: Tue, 12 Jul 2011 14:36:09 +0200	[thread overview]
Message-ID: <4E1C3FB9.70401@linux.intel.com> (raw)
In-Reply-To: <1310472386.21109.94.camel@aeonflux>

[-- Attachment #1: Type: text/plain, Size: 1783 bytes --]

Hi Marcel,

On 12/07/2011 14:06, Marcel Holtmann wrote:
> Hi Guillaume,
>
>> 	- Remove Nokia copyright.
>> 	- Remove cdma voicecall for the moment.
>> 	- Add debug print into post_sim pre_sim.
>> 	- use GSM permissive synthax for the moment.
> the nokiacdma.c was actually the worst example to derive this one from.
> I fixed this all up for you now and applied the patch.

Sorry this was the only cdma plugin smple I had.
Thanks for fixing the issues.

>> +/*
>> + * This file is part of oFono - Open Source Telephony
> I missed this part, but all the Nokia copyright headers are wrongly
> formatted. They should have been fixed a long time ago.
>
>> +#include<stdlib.h>
>> +#include<errno.h>
>> +#include<termios.h>
>> +#include<string.h>
>> +#include<unistd.h>
>> +#include<sys/types.h>
>> +#include<sys/stat.h>
>> +#include<fcntl.h>
> This list of includes is useless. Big copy and paste around.
>

You got me :)

>> +#include<glib.h>
>> +#include<gatchat.h>
>> +#include<gattty.h>
>> +
>> +#define OFONO_API_SUBJECT_TO_CHANGE
>> +#include<ofono/plugin.h>
>> +#include<ofono/log.h>
>> +#include<ofono/modem.h>
>> +
>> +#include<drivers/atmodem/atutil.h>
>> +#include<ofono/devinfo.h>
>> +#include<ofono/cdma-connman.h>
>> +
>> +#include "common.h"
> What is this for?
>
>> +	/*
>> +	 * TODO: Will need a CDMA AT syntax parser later.
>> +	 * Using GSM permissive for now.
>> +	 */
>> +	syntax = g_at_syntax_new_gsm_permissive();
> The comment is rather pointless until we really know what is going with
> CDMA modems. So I removed it.
>
> However you have to keep in mind that you need to turn echo support off
> before you can use the permissive syntax parser.
>

Ok, thanks for the info.

Kind regards,
Guillaume

      reply	other threads:[~2011-07-12 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 11:47 [PATCH_v3] huaweicdma: Create first draft for plugin huaweicdma Guillaume Zajac
2011-07-12 12:06 ` Marcel Holtmann
2011-07-12 12:36   ` Guillaume Zajac [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E1C3FB9.70401@linux.intel.com \
    --to=guillaume.zajac@linux.intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox