Author Topic: How to send AT-Codes  (Read 35046 times)

goperfect

  • Guest
How to send AT-Codes
« on: July 16, 2013, 10:38:57 AM »
I would like to read telephone-book-entries. How can i send the at-code "at+cpbr" to my connected bluetooth-device?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #1 on: July 16, 2013, 11:25:36 AM »
Hello,

Use wclClient.Write method (refer to BluetoothClient/BluetoothConnection demo)

goperfect

  • Guest
Re: How to send AT-Codes
« Reply #2 on: July 16, 2013, 02:07:37 PM »
Trying to use the demo results on my Samsung S3 with Bluesoleil 10.0.417.0 an Error 2 when i try to connect. What can i do?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #3 on: July 16, 2013, 02:40:34 PM »
Depends on what services your device supports. As far as I remember S3 does not have Serial Port Profile (and I'm not sure about DUN as well). And 100% there is no way to send any AT command to read phone book or send SMS for Android/Symbian/WinPhone/WinMobile/iPhone/BlackBerry devices.

Also it may appear if you didn't pair with your device (but even pairing does not help you to read PhoneBook through AT commands from those devices).

goperfect

  • Guest
Re: How to send AT-Codes
« Reply #4 on: July 16, 2013, 03:06:16 PM »
We would like to read out and write telephone-book-entries on android and iphone-os. if at-codes is not the possible way, on which way can we manage that together with wcl?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #5 on: July 16, 2013, 04:20:44 PM »
PhoneBook Access Profile (PBAP) on of used protocols. Also it can be SyncML.

goperfect

  • Guest
Re: How to send AT-Codes
« Reply #6 on: July 16, 2013, 04:57:48 PM »
Ok.. but how can i access PBAP when i build a connection with wcl?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #7 on: July 16, 2013, 06:52:13 PM »
Right now WCL does not support PBAP by itself. However we are working on this matter. Unfortunately I can not say when it can be ready as we do not have too many requests for this feature.

So there are 2 ways:

1. You can implement it by yourself:
1.1. Using wclClient if you use .NET or COM Edition
1.2. You can create PBAP class derived from wclCustomOBEXClient (if you use C++/VCL Edition or .NET/COM with source code)
2. Wait when we finish it.

goperfect

  • Guest
Re: How to send AT-Codes
« Reply #8 on: July 16, 2013, 10:03:45 PM »
That answer hurts.. because i already bought the COM-Developer-Edition and assume that i can access at least phonbook-entries. Unfortunately sourcecode-edition is to expensive, especially when i have to implement PBAP by myself :(

What can we do to accelerate the further development? It would be a helpfull enhancement for the wcl-library to access phonebook and maybe also sending sms. In my mind at least one of the features, a bluetooth-library should have :)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #9 on: July 16, 2013, 10:11:02 PM »
Well. If PhoneBook is more or less standart then SMS is not standart and is absolutely ipossible on Smartphones (except you write application which will run on smartphone and communicate with PC to send SMS). However, WCL supports SMS (see GSMModemClient) over AT commands what can be used with any simple phone (except Android/BlackBerry/iPhone/WinPhone/WinMobile/Symbian)

With regards PBAP. We will think what we can do with that.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: How to send AT-Codes
« Reply #10 on: July 18, 2013, 10:07:58 AM »
Hello,

As requested we have forced developing PBAP support. I think it can be ready for test in about a week or so.

 

Sitemap 1 2 3 4 5 6 7