Hangup Cell Phone Using RIL API - Windows Mobile Development and Hacking General

hi all
is any body useto with RIL Api ? i want to hangup cell call using the RIL api. i use RIL_hangup Function to hangup. i answer a cell from the cell phone in my imate. and then i try to hangup it from using RIL.
=====
shailesh

Related

TAPI lineDrop

Hello all,
I am developing TAPI application for XDAII.
I am successfully managing a call, but I run into problem when I'm trying to drop a call. I am calling lineDrop and it finishes asynchroniously. But it takes like 1.5 seconds to terminate the call! During this time the application is not responding at all (even if lineDrop works in the background).
Have somebody run into this issue?
Thanks,
Meir

Revisited: GSM modem port

I have followed various posts regarding establishing a data connection using good old "Hayes AT Commands" over COM2 - there is a wash of great info to be found here! Only I get a bit confused when everyone starts telling me I should use the TAPI or even the RIL-API or whatever... I can't - I am just not good enough to understand these complex structures. I am just about good enough to open a COM port, issue my ATD[tel.no] and wait for the "CONNECTxxx", just like I have done for the last hundred years! I don't think I am alone - I am sure there are loads of developers who are not comfortable to leave their C# / VB world.
So, a wopsy big please: has anybody managed to encapsulate the complexity of establishing a GSM call for data in a way that can be easily consumed in C#? :?
If someone has got a commercial solution to this issue, I do not have a problem to pay a licence fee! That has to be less painful than banging my head against this brick wall!!!!
have u managed to establish the data call u wanted ??
nutitija, if you want to establish datacall...
TAPI
1)kill cprog.exe
2)initialize TAPI (lineInitializeEx)
3)find device with 9600 (lineGetDevCaps lineGetAddressCaps)
4)Open Line and set to receive datacalls(lineOpen)
5)Receive message from line in cycle (lineGetMessage)
6)For originate call - lineMakeCall
7)For Answer - lineAnswer
8)for Hangup - lineDrop
9)After connect get COM-device (lineGetID)
RIL
1)Deny to TAPI to drop datacalls (search on this forum)
2)Initialize RIL and set callbacks(RIL_Initialize)
3)For originate - RIL_Dial
4)For answer - RIL_Answer
5)For hangup - RIL_Hangup
6)After connect get COM-device (RIL_GetSerialPortHandle)
AT
1)Deny to RIL to use com ports (search on this forum for mamich posts)
2)Open COM2
3)For send and receive commands use COM2
4)After connection open COM9
5)For send and receive data use COM9
for more details use search on this form
many thanks my friend ,
I just needed validation from somebody that actually did implement before wasting hours of my time for something that cant work
cheers
When using the AT command method. I open COM2 i send my ATD command. Its succesfull my device rings. Now i would like to retrieve the information from COM9.
1) Should i close COM2 before retrieving data from COM9.
2) Should i reactivate RIL before retrieving data from COM9.
3) When using Readfile shall I implement it in a while loop to accumulate the GPS stream that will be sent to the buffer ? Or by calling readfile just once would it return all the data ?
Thanks for your helps.

voice call disconnection errors

Hi guys,
i am woking in RIL .& i am trying to get the errors that occur after the disconnection of the voice call(to find busy/unanswered).
But i failed all the times.Evenn i enabled the class notifications
can somebody help me.
:roll:
May you use TAPI?
Hi Crack
I don't know anything about RIL, but in order to establish a voice call you can use TAPI...
Kobi

Cell-ID in RIL not updated after a while

Hi,
I wrote a little application that uses the RIL api to retrieve the cell id from the GSM of my Windows Mobile device. It works but after a while the data that is returned by the gsm radio is no longer up to date. The gsm radio will keep returning old values until I turn the phone off and on again using the comm manager. After that the updated values are returned again.
Does anyone have any experience with RIL and encountered similar problems?
regards,
Erwin
Yes, I saw mentioned problem on MDA Vario.
I know only one "fix" - You must close handle to ril (Ril_Deinitialize) and then call again Ril_Initialize.
Thanks for the reply,
Re-initializing the ril did not work but maybe I'am doing it wrong. I'll check my code once more and try again. It also appears that an incoming phone call or sms will trigger the ril to return updated values again.
regards,
Erwin

614c 3G voice and data at the same time

Hello everyone,
Further to my post here http://forum.xda-developers.com/showthread.php?t=455840, I am using a now slightly old version of Yevgeny's WM6.1 ROMs on my 614c.
One of the few problems with this ROM, which is otherwise great, is that it does not allow concurrent voice and data usage on 3G. The original HP WM6.0 ROMs do allow this and it was a big plus to be able to stay online when the phone rings.
With Yevgeny's ROM v1.6 (and actually I think his newest one is v1.4 rev 1.2, don't ask me about the numbering), the data connection is dropped as soon as the voice connection is made.
I was in Moscow last year a few times and there was no 3G network (just EDGE), so I guess maybe Yevgeny has not himself noticed this problem.
Is anyone using a WM6.1 ROM that DOES allow you to keep your 3G data connection open when making or receiving a voice call?
I use last ROM from Yevg001 WM6.1 20270 rev 1.2 FIX with Manila 2D and data connection is always on (i use push to mail service). I have no probrem with dropping connection during calls.
sergiorus, this is good news. Are you certain that the data connection is remaining open? For example, do new mails arrive while you are on the phone, or you can navigate to non-cached pages in your web browser during calls?
For me, with the older ROM, the data connection is suspended as soon as a call is initiated or received.
I have just called from my home number to mobile and during this call downloaded ephemerides for GPS and updated Manila weather. All correct.
Sergorius thank you very much for testing this... it sounds like a good result. May I also ask you two other questions?
1) Are you using radio firmware 0.77 or 0.88 (notice on the blue start-up screen)?
2) Do you have the "call waiting problem", which was introduced in 0.88?
To test for the call waiting problem, without the help of another person, call yourself using your ipaq and begin to leave yourself a voice message (I usually count numbers). While you are talking to your voicemail, create a waiting call, by calling your ipaq from your home number. Continue to talk to your voicemail for a few seconds while you hear the beeps in your ear, then clear down on your home line.
When you listen to the voicemail that you left yourself, you will hear your voice at first, then notice that your voice was muted while the incoming call was waiting. This is the call waiting problem.
To work around this problem, which for me made my ipaq unusable, I downgraded my radio firmware to 0.77.
I'd be very interested in your results...
1) I use radio firmware 0.88
2) Omg, just tested, I have this problem too.
I tell about this problem to Yevg001, maybe he know how to fix it.
I work in a company wich has about 90 of this phones and , yes, all have the same problem. (call waiting)
We have FW 0.88.
Please if you find a solution, could you post it?
Thanks in advance
Dan
Dan, see my post here
http://forum.xda-developers.com/showthread.php?t=479288
There is a solution in sight.

Categories

Resources