Geeks With Blogs
Prabhu Kumar a tech twaddler..
Today I had the chance to fiddle with the cellular emulator and try a few things with it. Its a very useful tool to test out all your radio related applications (which use RIL directly or indirectly) without having the actual hardware.

Cellular emulator  is very well documented so I don't want to repeat the same things here, for more information visit the following link:
http://msdn.microsoft.com/en-us/library/bb158495.aspx

In short, you can simulate MO/MT calls, send and receive sms's and do data sessions as well.

And that is when I came across Fake RIL. Well, I had heard about fake ril before and had a fairly good idea about what it was but never truly had the chance to play with it. I dug down a little deeper today and found it amazing. Basically, as the name suggests, it is a fake ril driver which simulates the network too.  It is so well documented (it ships with AKU so I cannot shell out the docs here bacause of the NDA) and I really appreciate the idea and the brains that went behind designing it. Fake ril simulates the network and all the clients above can work as is, well, that was the whole idea in the first place (:

I had a windows mobile professional device so I thought I might try to make the device use Fake RIL instead of our customised ril which it was using. I built it into a dll and made the device load fakeril instead of the OEM ril driver that it was loading before.  When the device booted up it came up with full signal strength and that is when I noticed that there was no SIM in the device! It worked. I tried making calls and sending a few sms's and it worked perfectly. When you make a call the call is automatically answered, and there are some special numbers which simulate busy, unanswered, reject etc. If you've read the above link you know already.This is a great way for some of our sibling teams to test their applications as there is no dependency on the radio hardware, waiting for the radio code to stabilize et al. I couldn't try data session though. Will try it out next week.


Posted on Friday, June 5, 2009 10:31 AM | Back to top


Comments on this post: Tools: Cellular Emulator and Fake RIL

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
I am going to develop an IVR system that reply to calls automatically after identifying mobile keypad inputs(e.g. Press 1 for know ur balance).

I want to make calls using Emulator.

Plz suggest how can i do that.

Plz Plz. suggest can i use fake ril? what dll i should use.

can it make call to another mobile?

extrahims@gmail.com
Left by himalaya on Oct 12, 2009 6:35 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
As far as I know, I don't think using Cellular emulator and FakeRIL is a good idea for IVR systems, because they don't allow for transferring actual voice data.

If you are an OEM you will have access to FakeRIL so you can take a look at the code and try to modify it to fit your needs.

And finally, you can't use the Win Mob emulator-cellular emulator to call other phones. When you make a call from the emulator it only reaches the cellular emulator and cellular emulator then manages the call depending on the number you dialed. So there is no "other phone" that you are calling.
Left by Prabhu Kumar on Oct 13, 2009 6:21 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Hi,
Can you please elaborate the steps you executed for installing fakeril in the WM device?

Thanks,
Niraj
Left by Niraj on May 19, 2010 8:32 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Hi Niraj, like I mention in the post, FakeRIL ships with an AKU and is only available to OEM's, and the OEM's are covered under NDA from discussing stuff about Windows Mobile. So, sorry, I cannot shell out the details here.

-Prabhu
Left by Prabhu on May 19, 2010 9:51 PM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Thanks Prabhu,
I do understand that we cant discuss windows mobile in public but is there any way that two OEMs can discuss with each other?

Best Regards,
Niraj
Left by Niraj on May 20, 2010 5:52 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Hi Niraj, frankly, I am not sure if two OEM's can talk but the NDA says you can't discuss it with anyone outside of Microsoft, so, I am guessing that covers other OEM's too (: if you can shell out some details about what you are trying to achieve, I might be able to provide some clues, mail me at p.kumar999 at hotmail dot com and I'll see what I can do.
Left by Prabhu on May 21, 2010 5:00 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Hi Prabhu,
I have sent email on p.kumar999@hotmail.com but got failure response.
Can you please correct it?

Thanks,
Niraj
Left by Niraj on May 21, 2010 10:08 AM

# re: Tools: Cellular Emulator and Fake RIL
Requesting Gravatar...
Hi Niraj, try p.kumar999 at live dot com. Not sure why hotmail isn't working.
Left by Prabhu on May 21, 2010 7:37 PM

Your comment:
 (will show your gravatar)


Copyright © TechTwaddle | Powered by: GeeksWithBlogs.net