Linux bluetooth development
 help / color / mirror / Atom feed
From: Michael McConnell <soruk@eridani.co.uk>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] emulating a GPRS modem with a linux PC
Date: Mon, 20 Nov 2006 11:08:02 +0000	[thread overview]
Message-ID: <45618C92.3070000@eridani.co.uk> (raw)
In-Reply-To: <456187FC.1020606@det.uvigo.es>

scostas wrote:
> Michael McConnell escribi=F3:
> =

> Hi Michael:
> =

> =

>>>So I had the idea of emulating a BlueTooth GPRS modem with the PC. This =

>>>is: the PDA will think that my PC has a GPRS modem and will use it to =

>>>connect to the internet.
> =

> =

>>You may need to set up some kind of "chat" script to emulate the AT =

>>interface of the mobile phone, this will take some trial and error since =

>>everything seems to want to send different commands :-/  The important =

>>one would be the ATD<whatever> command, in that case send "CONNECT" =

>>(chat will add the \r\n) then start PPP.
> =

> =

> The problem is that I didn't receive AT commands. I'm not sure that I =

> have configured the RFCOMM port fine. That's my first question: how do I =

> have to set up it?
> =

> I tried with
> =

> 	rfcomm connect 0 XX:XX:XX:XX:XX:XX
> =

> then I launched a cat /dev/rfcomm0 and tried to connect from the PDA, =

> but I didn't receive AT commands.

It's been a while since I had to play with inbound BT connections, but =

IIRC rather than making a connection back to the PDA like what you've =

done above, the PDA is trying to open a new session so you need =

something listening for the inbound BT RFCOMM connection. But I'll be =

damned if I can remember exactly what you need :(

-- =

-- Michael "Soruk" McConnell
   Eridani Star System

   MailStripper - http://www.MailStripper.eu/ - SMTP spam filter
   Mail Me Anywhere - http://www.MailMeAnywhere.com/ - Mobile email

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-11-20 11:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 10:02 [Bluez-users] emulating a GPRS modem with a linux PC scostas
2006-11-20 10:34 ` Michael McConnell
2006-11-20 10:48   ` scostas
2006-11-20 11:08     ` Michael McConnell [this message]
2006-11-20 12:44       ` scostas
2006-11-20 13:07         ` Michael McConnell
2006-11-20 13:59         ` Stefan Seyfried
  -- strict thread matches above, loose matches on Subject: below --
2006-11-20 14:19 Philip Barnes

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=45618C92.3070000@eridani.co.uk \
    --to=soruk@eridani.co.uk \
    --cc=bluez-users@lists.sourceforge.net \
    /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