If you've got an example of an existing function which runs a command
similar to the one you want, and you know the new command to the GSM
device that you want to add, then you need to copy and rename and
adjust everything related to the original function to produce the new
one.
You will need to be deploying a new system image to do this (or
hacking around on a rooted phone) - it's unfortunately not a level of
customization intended to be installable by the end user of a carrier-
marketed device. If you don't already have a build you are working
on, you might want to start with one of the community provided android
builds that try to make AOSP usable on consumer devices.
Try to test and verify the GSM command actually exists on your device
before you invest too much work in making it available to apps.
On Apr 30, 7:26 am, felixad <
felix.adamc...@gmail.com> wrote:
> Hello
>
> I want to write a system call in die android source code to export the
> transmission power of the GSM/3G module. My aim is to get a method
> like the "getGsmSignalStrength()" but not for the received but for the
> transmitted power.
>
> I looked in the source code, but found no way. Has anybody an idea?
>
> I know that the command "+CSQ" provides the rssi-signal strengt (from
> die 3GPP standart). But there is now command in the standard to get
> the transmission power.
> Here I copied content from the data sheet:
http://www2.ifh.ee.ethz.ch/~fieldcom/pps-smartphone/moin.fcgi/Links%2...
>
> Thanks!
>
> Felix