Whatever I am doing, I have to keep an emulated GSM modem which is a VM on an Android-x86 virtual machine Unix socket Should look at the emulator as a real modem and use it to send the SMS (as the first pass of functionality).
So far, I've put something which handles AT commands and only "OK" for some commands to rest, such as "AT + CRSM", run official Android emulator and Looking at the radio log I have only one response, for others, I maintain some states and prepare the answers; Those commands include:
CPU? CPIN? CGREG? CGREG? police? CGRG = CRG = CPIN = Cops = CRSM = CSMS = CGSN CIMI CSK Android will boot and send the command to my emulate modem, which responds, although it does not appear completely Is functional For example, Android does not detect the strength of any radio signal, just showing "x" in the signal bar.
Does anyone detect a similar project, or what the AT commands are Absolutely is required to achieve some basic functionality?
Well, I will answer my other questions, this is an easy way.
I have implemented an emulator which maintains a bit of state, such as unwanted CREG and CGREG messages are enabled, network registration status & amp; Network Name Format (for COOP command), and a message reference counter for SMS
It supports the following commands:
CFUN? CPIN? CGREG? CREG? police? CGRG = CRG = CPIN = Cops = CRSM = CSMS = CMGS = CGNS CIMI CSAQ All other messages get just one "OK" response.
The stock is running in an emulator with AOP Android source "Erico Unix: / TMP / Phone" switch, I can send an SMS message and decode binary PDU in real messages. I will continue to add functionality so that SMS messages can be injected back to Android and hopefully the code will be open at some point.
Comments
Post a Comment