.NET platform mobile phone management software development
(1) Introduction
After studying all aspects of knowledge in a few months, the Winter I have finally written the Siemens Support Tool with VB.NET - Siemens Support Tool. Although I didn't end all the designs of this software, the core function has been completed, and the interface is basically in place, and my learning is to achieve. in
2
month
12
day
After officially stopped development, I think of a summary of the hardship of winter holidays for a few days. It plays a certain role in the future, and provides some help and inspiration for the majority of programming enthusiasts. The author is shallow, and the programming is also self-studying, so there is a defect and fallacy. Please have an ax.
(2) Why is it designed? aim of design?
It has known Siemens mobile phones to do better in human design, but let the author disappointed the official software SDS used in the computer side. The disadvantage is that the operation is inconvenient, the speed is slow, and the humanized design is not In place. Later, the official introduced Mobile Phone Manager for the 65 series, the interface is very nice, but the capacity greater than 120MB after installation and its slower speed makes people fall.
GHOSTMOBILE (GM) is a better one in the domestic non-official software I have, but often waiting for transmission. It is estimated that the author does not time out. In addition, the GM file transmission speed is very slow, and SMS management is inconvenient. Later, since the author uses new mobile phones, GM is given away. Later, I found some Siemens Mobile Control, referred to as SIMOCO, is an unofficial software of foreign countries. More than 800 KB body and its speed, feature exceeds official and GM, making it a look, once become my favorite software. But after use, some problems are found, the software is too professional, the option is too much, and the support for Chinese is not good.
So the ultimate goal is to do software that can realize file transfer, SMS, note, tasks, and important notes management.
(3) Preparing for work
I have already made a part of 2004, achieving basic document transfer and SMS functions, at the time, called M55 File Transfer Tool. Later, in the Northeast mobile phone online, there were some mobile phones that GM could not connect to my software can be connected, so so some netizens are still using my software. However, due to the insufficient knowledge, it is not very ideal, often there is a problem.
The SMS part is the official website downloaded ATC_COMMAND_SET_FOR_L55_PLATFORM, detail the AT instruction set on the 55 platform. In fact, the AT directive of the SMS part is common, and it is basically a collection of instructions. But found that file transfer is Obex is not that simple.
The official does not have any development documentation that what protocol is used by data transmission, I use the Serial Monitor to monitor the process of data transfer, all HEX code, I don't know what it means. Time to time fall into the confused state, I don't know how to start. Later, I sent some posts in the 9CBS for help, but there is no clear explanation. There is a message from a netizen to some clues, he said that it may be part of the Bluetooth protocol.
This clue gave me a great encouragement, because later, Shun Yi fell to the infrared transmission protocol, accidentally discovered the IROBEX's description protocol actually and the structure of the monitored HEX code. Subsequently, the discovery is discovered by the OBEX protocol, which can be used as an upper protocol in the infrared protocol, Bluetooth protocol, etc. This process has experienced more than 2 months. It is actually that this problem is simple, and the serial number of the mobile phone plant mode will display the current use of the protocol. When the data transfer begins, it will automatically change from GIPSY to OBEX. But then I know? After the obstacle of the Obex protocol, I wrote an Obex-Multithread class, written very garbage, convert hexadecimal into a string, and then transfer it back to send. The String is used in the middle, and the speed is very slow, and the test can only exceed the transmission speed of the GM after the test.
Later, by the SERIAL MONITOR monitoring GM read the principle of mobile phone communication, it was found that the communication is inside the / Telecom / PB directory, but this directory is hidden in the phone and cannot be accessed directly. Since it is very bad to write the Obex library, only file transfer can be transmitted, and the files in this special folder cannot be operated. After the modification, the effect was not good, and Obex-Multithread was abandoned.
Due to the reasons for learning, they have only stopped to prepare for the final exam and six levels. Study on the VCARD, VNOTE, VCALC format in IRMC, basically how to synchronize the newsletter, and the calendar.
2005
year
1
month
14
day
After the holiday go home, I officially started to start, and all things are rewriting. For me, this is a huge challenge.
(4) Introduction to the AT instruction
The AT command plays an important role in contemporary mobile phone communications, and many behaviors of the phone can be controlled through the AT command, including the call number, button control, fax, GPRS, etc. Siemens M55 mobile phone provides me with a lot of AT instructions, there are a lot of information on the AT directive on the Internet, and I will have some important way to explain here. Other mobile phones are basically universal, more detailed information, please refer to the information of mobile phone manufacturers.
To use the AT command, you can install Microsoft's super terminal program, and you can use it normally after selecting the port connection.
AT instruction usage
1. Test command (TEST Command) adds "=?" To constitute a test command after the AT command. For example, "AT CSCS =?" Will list all supported character sets.
2. Read command ("?", "?", ""? ", Constituting the read command. For example, "AT CSCS?" Will list the current settings.
3. Execute Command Generally add "=" and command parameters after the AT command. Some commands, such as the AT CMGR command, without parameters, can be executed directly.
Note: Not all AT instructions support 1 and 2.
Common basic AT command
command
effect
The AT test connection is correct. ATE0 is turned off. The program initialization The AT portion first turns off back. ATE1 opens back. Open when using a hyper terminal test command. AT CGMI gets the manufacturer information AT CGMR to get the mobile phone version number AT CGSN to get the mobile phone serial number (IMEI) AT CIMI to get the mobile phone IMSI number AT CSCS, set the mobile phone current character set. It can be set to GSM or UCS2 AT CBC to get the mobile phone power AT CCLK to get the set mobile phone clock AT CNUM body number. Divided into line one and line two AT CSQ Current Signal AT COPS Network Operator AT CSCA SMS Center Number
These instructions are used to initialize when connecting to the phone. The mobile phone IMEI and IMSI can give the program to support more mobile phone connections and keep the data independent.
SMS section
command
effect
AT CPMS Select SMS Storage Location. You can select a ME (SIM card) and MT (body) AT cmgl listing the short message of the specified state, the AT CMGR lists the short message PDU code at CMGS sends SMS AT CMGD to delete the specified SMS. AT CMGF SMS format. Divided into TEXT mode and PDU mode AT CNMI Set new short message notification computer-side AT CSCA SMS center or more command is the most frequently used commands. Specific entries and use methods will be explained later. to be continued. . .