I'm developing an application in Android which requires some AT commands
to be sent to the modem.
These commands include things like extracting the IMEI number, iterating available networks and setting APN
details.
I have a Windows (c#) version of this software, so I'm familiar with the commands I need to send, but in Windows I can simply open the relevant Serial Port
and send the commands.
Edit:
I've discovered that some functions of the modem are exposed with the TelephonyManager
API
TelephonyManager telMgr = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
String SerNum= telMgr.getSimSerialNumber();
String IMEI= telMgr.getDeviceId();
String Operator= telMgr.getSimOperatorName();
Which has helped quite a bit, but there doesn't seem to be a way of setting the network operator/provider manually.. which is the main thing I need.