Re: How to access the modem in QtMoko
On Monday, December 03, 2012 07:05:31 AM robin wrote: the AT commands are: AT%EM=2,2 Serving Cell GPRS Information AT%EM=2,3 Neighbour Cell Information but how do I pass those to the modem? or rather how do I slip those commands to qtmoko inbetween so I will still be able to receive calls? I think you could try placing them e.g. after signal quality change, so probably somewhere here: https://github.com/radekp/qtmoko/blob/master/src/libraries/qtopiaphonemodem/qmodemindicators.cpp Maybe just output the results with qDebug(), then you can use telephonyStatus value space to set the values - the you can display them on homescreen - similar to how SMSMemoryFull works. And you will also see the values in vsexplorer. Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to access the modem in QtMoko
hi radek, thanks for pointing me there. please excuse my ignorance, but I have never build/compiled libraries myself beforehand. If my guess is correct after building one would have a new library ./opt/qtmoko/lib/libqtopiaphonemodem.so.4 with the AT commands and new return values integrated. is this easy to do and if so could you or anyone on the list give me a hint eg - clone that part of the githubtree, - change the code - compile (on the phone directly I guess and if possible as I think I would run into many troubles if setting up a whole build-environment) - try it out thanks a lot robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to access the modem in QtMoko
On Monday, December 03, 2012 11:40:56 AM robin wrote: hi radek, thanks for pointing me there. please excuse my ignorance, but I have never build/compiled libraries myself beforehand. If my guess is correct after building one would have a new library ./opt/qtmoko/lib/libqtopiaphonemodem.so.4 with the AT commands and new return values integrated. exactly is this easy to do and if so could you or anyone on the list give me a hint eg - clone that part of the githubtree, - change the code - compile (on the phone directly I guess and if possible as I think I would run into many troubles if setting up a whole build-environment) - try it out There is README on github how to compile from sources. It should be quite easy. Check https://github.com/radekp/qtmoko/ Compiling on phone is possible, but it takes days, so i think cross compiling is better for you. After you are done with compiling, you can change the code and: cd build/src/libraries/qtopiaphonemodem make make install This will rebuild just the one library and you can scp the result to neo, restart QtMoko and try... Regards Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to access the modem in QtMoko
ok, I will give this a try... as Xmas is coming up there should be enough time to learn how to do this. br robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to access the modem in QtMoko
On Sunday 02 December 2012 21:17:08 Boudewijn wrote: On Sunday 02 December 2012 15:19:26 Radek Polak wrote: On Sunday, December 02, 2012 02:06:39 PM robin wrote: (...) as it has been done with fso? I'll give it a try tonight anyway (that is, enabling FSO on v50). Ok, v50 installed and ran without a hitch. Installing FSO via neotool broke the modem: afterwards I didn't have network anymore, even not after switching FSO off again. I didn't turn on any logging yet. The next few nights I won't have time for that; I'll send a reply to the list once I've got any result from logging. (first I'll reinstall v50 so at least I can make calls ;-) ) Best regards, Boudewijn signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community