Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: Knoxito on April 09, 2008, 10:35:16 AM
-
Good morning.
Is it possible to detect what's the phone number using the bluetooth communication between my mobile and my application? I make:
1. Create the Radio for the bluetooth.
2. Create my Device.
3. Link the radio and the device (wclClient).
Then, when my mobile receives a call, the event OnData raises, but I don't know where can I take the information about the caller.
Thanks in advance,
-
Good day!
You need to switch phone into the mode when it will report the called ID (I don't remember the AT command right now). Then the phone will send you the coller ID as an AT command.
-
Thanks, Mike.
I'm sending the supposed AT command ("AT#CID=1") in the Demo application and it returns me an "ERROR".
-
AT+CLIP=1
Phone will report something lile:
RING
+CLIP: "+375299421774",145
for incomming call
-
It works properly. Again, thanks a lot.
-
I was successful at using this command for a Samsung SGH-A707 model. However, for a Motorola RAZR 3M, it doesn't work. The phone just returns "ERROR" when I try to enter the at+clip=1 command. Is there any workaround for this, or is this just a feature that is dependent on the phone?
-
Connect to HendsFree profile, not to serial port or Dialup networking
-
If I set my phone to find the hands free profile of the device, it says no devices found. Additionally, if I set the Bluetooth Radios to Discoverable, it raises an exception and says feature not supported. Does this mean that my Bluetooth API (Bluesoliel) does not support conneting to the Handsfree profile? If this is the case, is there another Bluetooth API that would support this feature?
-
wclClient.BluetoothParams.Service = UUIDs.HandsfreeAudioGatewayServiceClass_UUID;
or
wclClient.BluetoothParams.Service = UUIDs.HandsfreeServiceClass_UUID;
-
Is it possible you could elaborate on this code snippet? I am not sure where this would fit into the demo or how to implement this. Is it possible to create a hands free profile sample? If we could demonstate this type of functionality, it would be a perfect fit for our application.
Thanks
TV
-
There is no simple way to create HandsFree profile on PC side. First at all the driver should support it. Secondly you need to have Audio server running on PC. Currently Audio servers not implemented yet
-
For our application, it is not a requirement that the user uses the PC as an audio gateway. Ideally, we simply want the PC to notify the user when there is an incoming call and what is the caller id of that call. Additionaly, we would like the PC to be able to place calls through the phone. I was able to accomplish this using the above sample on the Samsung phone. However, the Motorola phone would continually return ERROR with the exact same phone. Does this just mean that certain phones are incompatible? We would really like a solution that covers the majority of phones out there. Is there any way to accomplish this, or is it just too device specific at this point? If this is a very complex task, my company maybe willing to pay for some custom software development.
-
Good day!
I have no Motorola AT commands set and can't check which command do it for Motorola.
GSM foundation published standard fr GSM modems where AT+CLIP described. If motorola does not follow the standard (and it does not) then you need find its AT commands set and check which command to it.
-
I know this thread is old but I just got into this and foudn the answer.
I don't have a Motorola Razr But tried it on my other Motorola phane and it worked.
You need to enter AT+MODE=2 first to enable the extended at commands and then AT+CLIP=1 will work.
-
Thanks for the info. It is really very usefull!