Open Source Telephony
 help / color / mirror / Atom feed
From: Mikel Astiz <mikel.astiz@bmw-carit.de>
To: ofono@ofono.org
Subject: AT commands not being parsed correctly from Samsung Wave HFP
Date: Thu, 06 Oct 2011 19:45:18 +0200	[thread overview]
Message-ID: <4E8DE92E.30902@bmw-carit.de> (raw)

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

Hi all,

He are having some trouble with the Samsung Wave, apparently because the 
AT commands are not being parsed correctly. Here you have the log from 
oFono:

ofonod[12078]: plugins/hfp_hf.c:hfp_enable() 0x1aa8f90
ofonod[12078]: > AT+BRSF=118\r
ofonod[12078]: < \r\n+BRSF: 481\r\n
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CIND=?\r
ofonod[12078]: < \r\n+CIND: 
("call",(0,1)),("callsetup",(0-3)),("service",(0,1)),("signal",(0-5)),("roam",(0,1)),("battchg",(0-5)),("callheld",(0-2))\r\n
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CIND?\r
ofonod[12078]: < \r\n+CIND: 0,0,1,5,0,1,0\r\n
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CMER=3,0,0,1\r
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CHLD=?\r
ofonod[12078]: < \r\n+CHLD: (0,1,1x,2,2x,3,4)\r\n
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[12078]: plugins/hfp_hf.c:hfp_pre_sim() 0x1aa8f90
ofonod[12078]: drivers/hfpmodem/call-volume.c:hfp_call_volume_probe()
ofonod[12078]: drivers/hfpmodem/handsfree.c:hfp_handsfree_probe()
ofonod[12078]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[12078]: plugins/hfp_hf.c:hfp_post_sim() 0x1aa8f90
ofonod[12078]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[12078]: Service level connection established
ofonod[12078]: > AT+CMEE=1\r
ofonod[12078]: drivers/hfpmodem/call-volume.c:hfp_call_volume_register()
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CLIP=1\r
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CCWA=1\r
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: drivers/hfpmodem/voicecall.c:hfp_voicecall_initialized() 
hfp_voicecall_init: registering to notifications
ofonod[12078]: > AT+CIND?\r
ofonod[12078]: < \r\n+CIND: 0,0,1,5,0,1,0\r\n
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+VGS=7\r
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+VGM=7\r
ofonod[12078]: < \r\nOK\r\n
ofonod[12078]: > AT+CLCC\r
ofonod[12078]: < \r\n\r\nOK\r\n\r\n


It seems that, after the last line, no other AT commands are parsed 
correctly. Any ideas of what's wrong?

Cheers,

Mikel


             reply	other threads:[~2011-10-06 17:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 17:45 Mikel Astiz [this message]
2011-10-06 18:02 ` AT commands not being parsed correctly from Samsung Wave HFP Denis Kenzior
2011-10-07 10:57   ` Mikel Astiz
2011-10-07 13:33     ` Denis Kenzior

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=4E8DE92E.30902@bmw-carit.de \
    --to=mikel.astiz@bmw-carit.de \
    --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