Here it's what I want to do.

I want to create somehow a serial connection from a Midlet App on the phone with the phone's modem, so that I can write commands directly to the modem. I have no idea what interfaces/methods should I use, but I am sure it is allowed by the phone's platform.

I think it can be done trough CommConnection, or java.io.InputStreamReader. What do you say?

The same way you can connect to the modem of the phone from the PC over Bluetooth and sent AT-commands, the same way it must be possible to do it from the midlet itself.

Have anyone tried this?