You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Accessing internal modem with AT commands - 2008-07-01, 09:40

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Does the internal modem "expose" some sort of a viurtual com port we can connect to, to send it standard at commands?!?

It would be very useful!
Reply With Quote

#2 Old Re: Accessing internal modem with AT commands - 2008-07-02, 05:40

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
Does the internal modem "expose" some sort of a viurtual com port we can connect to, to send it standard at commands?!?

It would be very useful!
Do you wish to implement this using Pys60?

Best Regards,
Croozeus
Reply With Quote

#3 Old Re: Accessing internal modem with AT commands - 2008-07-02, 08:31

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Quote:
Originally Posted by croozeus View Post
Do you wish to implement this using Pys60?

Best Regards,
Croozeus
"implement"?
I was asking if the modem is accessible through virtual com port.
If it is, it should be accessible by python (I think it supports com port access... or not?)
Reply With Quote

#4 Old Smile Re: Accessing internal modem with AT commands - 2008-07-02, 08:48

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
"implement"?
Yes, Implementing standard AT commands !

Quote:
Originally Posted by cassioli View Post
I was asking if the modem is accessible through virtual com port.
May be but I am not sure.
However the phone can be used as a modem, once you can connect it to the PC using the Bluetooth module or the pys60usb

Best Regards,
Croozeus
Last edited by croozeus : 2008-07-02 at 13:56. Reason: Fixed URL !
Reply With Quote

#5 Old Re: Accessing internal modem with AT commands - 2008-07-02, 12:09

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Quote:
Originally Posted by croozeus View Post
Yes, Implementing standard AT commands !


May be but I am not sure.
However the phone can be used as a modem, once you can connect it to the PC using the Bluetooth module or the pys60usb

Best Regards,
Croozeus
I think I am not able to explain my thought...

I don't want to implement anything, and I don't want to use phone as a modem from PC.
I want to use the phone itself to send AT commands to its own modem, as AT commands can be used to retrieve a lot of informations, maybe not accessibile with standard methods.
Reply With Quote

#6 Old Re: Accessing internal modem with AT commands - 2008-07-02, 12:17

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
I think I am not able to explain my thought...

I don't want to implement anything, and I don't want to use phone as a modem from PC.
I want to use the phone itself to send AT commands to its own modem, as AT commands can be used to retrieve a lot of informations, maybe not accessibile with standard methods.
Right cassioli, now I do understand what you want to do !

I don't think you can access the modem with standard python extension. May be work on a native extension on C++ may help.

Best Regards,
Crozeus
Reply With Quote

#7 Old Re: Accessing internal modem with AT commands - 2008-07-02, 12:57

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by croozeus View Post
I don't think you can access the modem with standard python extension. May be work on a native extension on C++ may help.
AT commands are not possible in C++ either. From Symbian OS v9.3 documentation:

Quote:
Scope

CTelephony is an API that everyone can use.

CTelephony is the simplest way to access Symbian OS's telephony system but it provides limited services. Some users such as phone manufacturers require Symbian OS's advanced telephony services. To prevent malicious use of the telephony system, advanced telephony services are not available to everyone.

Typically, only Symbian's licensees have access to the advanced telephony services. Everybody else, including third-party developers and Independant Software Vendors (ISVs) have to use CTelephony.
See the CTelephony documentation for information on what is available to third-party developers.
Reply With Quote

#8 Old Re: Accessing internal modem with AT commands - 2008-07-02, 13:48

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi jethro.fn
i am really sorry but i some months ago read an article on using AT commands in mobile but i am not able to find it now may be we can do it in j2me.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#9 Old Re: Accessing internal modem with AT commands - 2008-07-02, 13:52

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
Quote:
Originally Posted by gaba88 View Post
hi jethro.fn
i am really sorry but i some months ago read an article on using AT commands in mobile but i am not able to find it now may be we can do it in j2me.
maybe it was about using AT commands by connecting a cellphone to a PC?
Reply With Quote

#10 Old Re: Accessing internal modem with AT commands - 2008-07-02, 13:53

Join Date: Jun 2005
Posts: 382
y.a.k
Offline
Regular Contributor
Slight off-topic. The pys60usb link posted earlier by croozeus is broken. Here's a working one:
http://jtoivola.googlepages.com/pyth...ian%3Apys60usb
Reply With Quote

#11 Old Re: Accessing internal modem with AT commands - 2008-07-02, 13:57

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
Thanks y.a.k, Fixed it!

*New browser hassels
Reply With Quote

#12 Old Re: Accessing internal modem with AT commands - 2008-07-02, 13:59

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
maybe it was about using AT commands by connecting a cellphone to a PC?
ha may be it was that one


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#13 Old Re: Accessing internal modem with AT commands - 2008-07-02, 20:16

Join Date: Mar 2003
Posts: 564
cassioli's Avatar
cassioli
Offline
Super Contributor
In my Javaphone UIQ cellphone (Motorola a1000) I can see a list of available internal ports using a jython (Python over java) program:

http://jumpjack.wordpress.com/2007/0...javaphone-api/

I also remember I obtained a similar list of "strange devices" doing same attempt in OPL language, which does not use javaphone APIs at all.

How can we get list of available internal com ports in python?
Reply With Quote

#14 Old Re: Accessing internal modem with AT commands - 2008-07-02, 20:20

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by cassioli View Post
How can we get list of available internal com ports in python?
I don't think there's a way, but I'd be happy to be proven wrong.

EDIT: Class RCommServ is responsible for telling what serial ports there are available. It is not certain that an AT command interface is one of those. In any case, I haven't seen any Python modules for accessing that Class.
Last edited by jethro.fn : 2008-07-02 at 20:36.
Reply With Quote

#15 Old Re: Accessing internal modem with AT commands - 2008-07-03, 04:42

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi cassioli
i think jethro.fn is absolutely correct that in PyS60 we dont have any extension who can have a access to internal com ports so may be somebody come with that type of extension which will be helpful for us.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing 9500's internal modem richardt007 General Symbian C++ 0 2005-06-24 14:08
Fired AT Commands using Hyperterminal and IRDA modem connectivity rsajithali Symbian Networking & Messaging 1 2003-05-08 12:16
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46
7650 Bluetooth Modem with Toshiba Tecra 9000 Windows XP - RESOLVED Now! d0lph1n Bluetooth Technology 5 2003-02-07 12:25
accessing the 8310 modem thru USB InfraRed connection Gwr PC Suite API and PC Connectivity SDK 0 1970-01-01 02:00

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia