Samstag, 5. Februar 2011

Git repository for the patched gammu client

In my post Nokia 1110i power up and power down via FBUS I used a modified version of gammu
which has the possibility to change the phones operation mode from I call it communication enabled mode to either test, local or normal mode. This is done by command-line:

gammu --nokiasetmode 1

I do know the following modes:
  • Normal mode -> 1 (0x01)
  • Test mode -> 4 (0x04)
  • Local mode -> 5 (0x05)
  • Shut-down mode -> 2 (0x02) I am not sure about this, but it caused a power of on my
    1110i and on my 6230. But try this with care
You can check out my git repository with the following command line:

git clone https://github.com/ka23/gammu.git

But keep in mind that these commands may damage your phone.

The modified version also logs out all the communication to console. Like the output in my video

4 Ways to Power Up a nokia phone by not touching the power button

The following information was posted here.

I have dyed my comments in green.

nokia service manual tells that powering up is possible by:
  • Connecting a charger to the phone. The CCONT recognizes the charger from the VCHAR voltage and starts the power up procedure. Sometimes the phone is not powering up in full "normal mode" but in communication enable mode. The Nokia 1110i I have for testing is in communication mode with charger plugged in. See how to power up here.
  • Pressing the power key, that generates PWRONX signal from the power key to the CCONT, this starts the power up procedure. This is really boring and does not fit into the headline!!!
  • A RTC interrupt. If the real time clock is set to alarm and the pghone is switched off, the RTC generates an interrupt signal, when the alarm is gone off. The RTC interrupt signal is connected to the PURX line to give a power on signal to the CCONT just like the power key. Okay boring as well but maybe a fall-back for extreme hard cases you can setup a wakeup one minute, hour or day in future and poll if something have to be transmitted or someone have to be called. After this the phone should be shut down again.
  • IBI-pulse. When a short (10ms) voltage pulse is applied to the BTEMP pin, the CONT wakes up and starts the power on procedure. This is used by the HDa12 Service tools.
    This sounds interesting but for this case the soldering iron have to be warmed up, because I do not know any Phone where this pin is lead out to the data connector.
Another promising sounding approach is to simulate a nokia car-kit there are some logs in the gammu documentation. Have a look at this.

If there are any other ways to wake up a phone, please drop me a comment.

Nokia 1110i power up and power down via FBUS

After days of nescience and searching I finally managed to power up the Nokia 1110i by FBUS.
To demonstrate my success I have recorded a video. (My first youtube video;-))



On the video you can see a modified version of gammu, a great source of information during my long way through the darkness of FBUS communication.

An other great source is embedtronics (Nokia F-Bus Protocol).

Yes I know there are cheap GSM-Modules around for about 80 € but my intend during this learning curve was to learn something about bus systems and how to communicate with mobile phones. The intent is to access the phone by a micro-controller like the arduino , another great open source project.