Active Topics

 


Reply
Thread Tools
Posts: 25 | Thanked: 30 times | Joined on Dec 2007 @ Helsinki, Finland
#1
Weeks back I asked GSM communication API from Nokia, but nothing has happened ever since?

I am still after documentation how to access GSM communication parts of this wonderful device? I just cannot get it, when Nokia brings this device to development community without capabilities to access these essential parts of it's power.

Would it be useful to deliver something more than coin toss application to Ovi store, Nokia?
 
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#2
I can't help, but I can sympathise. I am also struggling for documentation.

Bumpitty bump
 
Posts: 25 | Thanked: 30 times | Joined on Dec 2007 @ Helsinki, Finland
#3
We just had meeting with a customer today (running projects around mobiles) and wondered that what is feedback channel back to Nokia to communicate these issues. Nokia tends to keep seminars to deliver message out from Nokia to community, but it would be very nice to have such a things in reverse. I bet there would be interesting message back to Nokia, if they arrange such open channel from community.

I definitely would like to give 15 minute vision speech, how technology should be deployed in these cases.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#4
About GSM API in linked post:

I don't really know anything about this since I have not actually tried: AFAIRecall the phonet device is the AT-interface to the GSM modem, the low-low-level GSM stuff is not accessible to anything but the GSM chip firmware AFAIK (due to regulatory reasons I would suppose).

I would suppose the AT-interface offers all the standard GSM spec commands. Or are you looking for higher-level APIs ?

About SMS:

For telephony/sms stuff telepathy is the recommended way but there are direct DBUS APIs as well (and I guess one could talk with the modem directly but that would be counterproductive)

http://wiki.maemo.org/Documentation/..._in_Freemantle

In general:

I agree that the documentation is dispersed and in some cases a bit difficult to find but if you have a specific question then probably there are people here who can help.

The specific question should also probably be in form of "what is the best way to achieve X" rather than "how to do Y" (Y in this case is a way to achieve X but it might not be immediately obvious from the question you don't actually want to do Y but achieve X).

As an example for sending SMS, one can use telepathy APIs, use the "direct" DBUS APIs (telepathy basically operates on DBUS as well) or talk directly to the modem.

Asking just "how do I talk to the GSM modem" (since you already know how to send an SMS using AT-commands) is not really productive for your desired end-result since there are much better ways available.
 
Posts: 25 | Thanked: 30 times | Joined on Dec 2007 @ Helsinki, Finland
#5
1. I want to send SMS from my application (GTK, C) - how it's done?

2. I also want to parse incoming SMS's and check are they targeted to my application. How it's done?

3. How do I create voice call from my application? Or recognize incoming call number to decide if application should pick call up?

EDIT; Just read python examples, they are just what I need. I assume that dbus is accessible from my C application as well. Where is complete documentation of dbus usage ?

Last edited by ppafin; 2010-02-01 at 19:26. Reason: Noticed nice examples
 
Posts: 87 | Thanked: 47 times | Joined on Sep 2009 @ Sorocaba, Brasil
#6
Originally Posted by ppafin View Post
Where is complete documentation of dbus usage ?
http://www.freedesktop.org/wiki/IntroductionToDBus
http://library.gnome.org/devel/dbus-glib/unstable/

Please, remember that Maemo is based on opensource technologies, so many documentation is reachable by means of a simple google search. You will find lots of examples as well.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#7
Originally Posted by ppafin View Post
EDIT; Just read python examples, they are just what I need. I assume that dbus is accessible from my C application as well. Where is complete documentation of dbus usage ?
Don't know about "complete" (there is more than one way to do it), there's plenty of Maemo coding examples in C in the developer guide and a just about everything in Maemo is somehow accessible over DBUS (in some cases in on different levels on abstraction via different interfaces).

For example one exteme end the low-level DBUS C API: http://dbus.freedesktop.org/doc/api/html/index.html (which is not intended for mere mortals). And then there libosso http://wiki.maemo.org/Documentation/...ibOSSO_library which offers abstraction on top of the glib dbus api (http://dbus.freedesktop.org/doc/api/..._DBusGLib.html).

I would guess http://wiki.maemo.org/Documentation/...us/DBus_Basics is a good place to start.

NOTE: I code in python but a lot of the API documentation is very C centric (see for example http://maemo.org/api_refs/5.0/beta/i...dbus__api.html), I don't really know the "best" way to use DBUS from C. I have never read the developer guide as a whole, just the bits and pieces I get via Google searches.

I find this stuff usually by googling for "maemo xx dbus" or "maemo xx dbus api" where xx is either a good keyword or if I know the path/name of the interface (/com/nokia/icd2 -> icd2) then that.

edit: just to emphasize I'm not a super-guru by any means, libosso was just the only "special" keyword I knew to search for to get the link there (and I knew it offer some extra abstraction for many maemo specific dbus things in C, this is because I read about it back when I was doing stuff on N770/N8x0)

Last edited by rambo; 2010-02-01 at 19:57.
 

The Following 2 Users Say Thank You to rambo For This Useful Post:
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#8
For The One Ring I am working on an auto-accept call system and a check for voicemails on rejected / missed calls based on telepathy. I'm not done and I've been forgetting to add it to my git repo but check back there soon for at least some code in that direction.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog
 
Posts: 1 | Thanked: 0 times | Joined on Feb 2010
#9
I, too, am surprised by the lack of developer support. C/C++ are officially-supported languages for Maemo development, so there must be some communications API for SMS.

With so steep a learning curve (relatively to other mobile platforms), I don't see developers flocking to this device, even with a contest (PUSH) to encourage them.

EDIT: Okay, I see that the problem is that the tools/libs and whatnot are highly decentralized, so examples as well as documentation are at the sites of those who maintain the tools/libs respectively.

Last edited by slimbian; 2010-02-01 at 20:35.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#10
Originally Posted by slimbian View Post
I, too, am surprised by the lack of developer support. C/C++ are officially-supported languages for Maemo development, so there must be some communications API for SMS.
As stated above, several in fact, depending on the level of abstraction you need.

Begin rant:

No offense, but I really wonder if people complaining about missing documentation X have read the developer guide to start with ? (I know I haven't, but I'm not the one complaining) To me googling for X has usually given some hits to the developer guide (with it's C examples isn't always directly useful to my python endeavors) from which I have found links or other pointers on how to find out what I was looking for.

End rant.


Edit: Also AFAIUnderstand Forum Nokia is the right place to go if you want "real" developer support, probably also faster way to reach some Nokia person who can officially comment on something.

Last edited by rambo; 2010-02-01 at 21:02.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:12.