Author Topic: Dialing a bluetooth mobile phone  (Read 2380 times)

Offline Tiago

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Dialing a bluetooth mobile phone
« on: July 31, 2008, 10:36:08 PM »
Hello,

I want to integrate bluetooth mobile phone dialing in my CRM app.
Currently doing it with TAPI and an analogical modem is working right, but need the same with a bluetooth mobile connection. BluetoothPCDialer(http://www.bluetoothshareware.com/bluetooth_pc_dialer.asp) works  fine in my computer, just need the piece of code to do the job. Working with Delphi 6 - 2007. Can your VCL do it? if can, what's the minimal version I need?

Thanks.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: Dialing a bluetooth mobile phone
« Reply #1 on: August 01, 2008, 01:54:26 AM »
Good day!

It is possible with any WCL version with using TwclClient component by connecting to SPP profile or DUN profile and executing ATDT command. Also here on forum how to detect caller ID was descussed.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline Tiago

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Dialing a bluetooth mobile phone
« Reply #2 on: August 01, 2008, 09:06:12 AM »
Thanks, Mike:

I'll download your demo and try. But, a silly question: Using Hyperterminal I see phone, send ATZ, recevie Ok, but sending ATDT<number> receive ERROR. Would mean this  connecting to SPP/DUN profile and sending ATDT will also fail?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: Dialing a bluetooth mobile phone
« Reply #3 on: August 01, 2008, 11:38:58 AM »
Good day!

It may happens. Try to connct to HandsFree profile (impossible with HyperTerminal)
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline LaStick

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Dialing a bluetooth mobile phone
« Reply #4 on: February 10, 2010, 11:05:58 AM »
It may happens. Try to connct to HandsFree profile (impossible with HyperTerminal)
How I can connect to HandsFree profile?
I find nothing in manual of WCL about it.  :(

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2467
  • Karma: 1000
    • Wireless Communication Library
Re: Dialing a bluetooth mobile phone
« Reply #5 on: February 10, 2010, 11:57:09 AM »
Hi,

Please, refer to BluetoothClient (BluetoothConnection) demo app. In that app you can find how to set the servic's UUID to connect to. Change service's UUID to HandsFreeService UUID (all UUIDs are delcared in wclUUIDs)
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline LaStick

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Dialing a bluetooth mobile phone
« Reply #6 on: February 12, 2010, 12:07:29 AM »
Hi, Mike.
I try to change service UUID to HandsfreeServiceClass_UUID. Connection was ok, but any AT-command broke connection.
May be my phone (Philips) wrong or I must enter some sequence AT-command for normal job?
Nokia was connect and dial ok, but show letter "D" before called phone-number and ... thats all.
I can not call to another phone now :(

Offline LaStick

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Dialing a bluetooth mobile phone
« Reply #7 on: February 12, 2010, 12:26:11 AM »
Mike, sorry.
At last I find topic http://forum.btframework.com/index.php/topic,613.0.html which content solution for my problem.
Oh God! I can! I can! Evrika blin! :)