Author Topic: Bluetooth  (Read 4741 times)

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Bluetooth
« on: June 05, 2005, 07:24:19 am »
Hi

i am trying to set up bluetooth connection between my slc860 and
motorola mobile and an imac.

I have managed to pair all the devices successfully.
Cannot seem to make a pan connection to the imac -
keeps saying connection refused. I have turned on sharing on the imac.

sdptool browse will see both the computer and the phones mac addresses
and services.

Trying to make a dial up connection to the phone seems to take ages trying to connect and then just quits.
I have followed instructions in the how to's but have no information of what to enter in the username,
password and phone fields in the dial-up applet.

Any help appreciated

keef


860/ motorola/imac    sharp rom  o2 phone  
socket 'E' card
« Last Edit: June 05, 2005, 07:25:16 am by keef »

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth
« Reply #1 on: June 05, 2005, 06:13:47 pm »
Don't know much about Macs so can't help with the PAN problem.

As for the phone dialup, the setup once you have your Zaurus and phone paired is no different from connecting via IR or serial. You will need to enter the correct modem init string for your phone and the username and password O2 requires, if any. It sounds like the Bluetooth connection to your phone is fine so it is simply these settings that you need to find for your phone and O2, which can usually be found with Google.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Bluetooth
« Reply #2 on: June 05, 2005, 06:22:47 pm »
thanks for the reply.
I will try and find the settings


keef

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Bluetooth
« Reply #3 on: June 11, 2005, 10:39:36 am »
OK

entered all the settings from O2 and still no joy.
If i enter my home phone number in the phone field I can get
the phone to ring this number by contacting from the Z.

Have confirmed that the data account is set up on the phone
so i dont know why it will not connect to GPRS- all the settings seem to be ok.

Any ideas appreciated



keef

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Bluetooth
« Reply #4 on: June 11, 2005, 07:44:01 pm »
You have to tell it to connect to a specific GPRS access point. The access point for internet is typically different to that used fo WAP by the phone itself. You specify this with a special number/string to dial, but the actual string differs from phone to phone.

I think you should see a log of what in going on when you dial in /tmp/qpe-ppp-log.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Bluetooth
« Reply #5 on: June 11, 2005, 08:19:05 pm »
Quote
You have to tell it to connect to a specific GPRS access point. The access point for internet is typically different to that used fo WAP by the phone itself. You specify this with a special number/string to dial, but the actual string differs from phone to phone.

I think you should see a log of what in going on when you dial in /tmp/qpe-ppp-log.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=83879\"][{POST_SNAPBACK}][/a][/div]

Hi Tumnus

here is the-log:
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (BUSY)
send (ATZ^M)
expect (OK)
ATZ^M^M
OK
 -- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
ATDT*99#^M^M
CONNECT
 -- got it

Serial connection established.
using channel 22
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb6a3b1a9> <pcomp> <accomp>]
Timeout 0x20084bc:0x203b440 in 3 seconds.
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb6a3b1a9> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x1067ce1> <pcomp> <accomp>]
lcp_reqci: returning CONFREJ.
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1067d96> <pcomp> <accomp>]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x1067d96> <pcomp> <accomp>]
Untimeout 0x20084bc:0x203b440.
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Timeout 0x20084bc:0x203b6a0 in 3 seconds.
sent [CCP ConfReq id=0x1 <bsd v1 15>]
Timeout 0x20084bc:0x203b7a0 in 3 seconds.
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Untimeout 0x20084bc:0x203b6a0.
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Timeout 0x20084bc:0x203b6a0 in 3 seconds.
rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 07 15 03 2f]
Untimeout 0x20084bc:0x203b7a0.
rcvd [LCP TermReq id=0x3 05 00 00 0a 00 00 00 00 00 00]
LCP terminated by peer (^E^@^@^J^@^@^@^@^@^@)
Untimeout 0x20084bc:0x203b6a0.
CCP: Down event in state 1!
Timeout 0x20084bc:0x203b440 in 3 seconds.
sent [LCP TermAck id=0x3]
rcvd [LCP TermAck id=0x3]
Untimeout 0x20084bc:0x203b440.
Connection terminated.

keef

marshmn

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://www.mattmarsh.net/
Bluetooth
« Reply #6 on: June 25, 2005, 05:01:11 am »
I don't know if you've already got this working, or if this helps, but here are the settings I use to connect to O2 using my Z with a Nokia 6230:

Account:
Username:    o2wap
Password:    password
Phone:    *99#

Modem:
BT device    /dev/rfcomm0
Init string:    ate0v1
Speed:    115200
Flow control:    enabled
Time out:    5 sec

Works for me at least, YMMV.

Matt
SL-C860 - Cacko 1.22a

http://www.mattmarsh.net/

keef

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Bluetooth
« Reply #7 on: June 25, 2005, 07:02:47 am »
Hi

thanks for the reply

your settings are pretty much what I am using except for the init string

i have been using ATZ which seems to connect but just as quickly disconnect.

where did you get the init string from? is this specific to the make of phone?



thanks again

i will try your settings and see what happens

tecks

  • Newbie
  • *
  • Posts: 5
    • View Profile
Bluetooth
« Reply #8 on: June 27, 2005, 11:26:35 am »
Hi keef,
for me this
http://www.trisoft.de/bluetooth.htm
link was very useful.
just changed
/dev/ttyS0  -> /dev/rfcomm0    ######or your device
and
internet.t-d1.de > internet         ######for O2-Germany with contract
and delete
remotename IRDA1062007291

And it works! Thanks to trisoft  - once again...
Ulli
« Last Edit: June 27, 2005, 11:28:57 am by tecks »