How to quickly develop SMS applications

zhaozj2021-02-16  62

I. Introduction to SMS Secondary Development Platform

In order to reduce the development cycle of SMS applications, reduce development work, improve system stability and reliability,

Reduce your development work, improve the reliability of application software, we specialize in this set of secondary development platform.

Using Flying SMS Secondary Development Platform, you can make OEM and Secondary development in simple and fast, and fully integrate SMS system and enterprise information management system. Widely used in key links such as enterprise MIS systems, dispatch notification systems, ERP applications, OA office networks, customer service centers, etc., combining short message services with information management systems for different industries, according to different customers, different needs, Efficiently provide more personalized services, products and information.

Second, Features of the Flying SMS Secondary Development Platform 1. SMSCLIENT.DLL provides a range of control libraries that implement SMS's transceiver feature by calling these API functions by calling themselves. Suitable for mainstream development platforms (VB, Delphi, VC, VFP, etc.) to help your application quickly integrate SMS functions.

2. Based on this platform, many clients in the same LAN can share a SMS server for SMS to send and receive, which achieves sharing and efficient use of resources, but also facilitates the management, monitoring and statistics of enterprises.

3. Based on this platform, you can quickly develop network SMS applications. You don't have to understand complex GSM communication control protocols, just simply call several API functions, you can quickly integrate SMS functions.

4. Low-cost implementation, using the GSM module to access ordinary computers, with this cover software, no need to access text messages, easy to use and maintain, and effectively protect the interests of enterprises.

Third, API function description

INT INITCONNECT (Char * Hostname); Function: Initializing the connection parameter of the SMS client and SMS service: Hostname - Refers to the network name of the computer running the SMS service program Returns: -1 - Failure 0 - Success

Int Sendmsg (Char * SCA, CHAR * DA, CHAR * UD); Function: Send a short message (actually submit a message to the SMS service program, send out by the SMS service) Parameter description: SCA - Short Message Center Number (such as Chengdu Mobile is: "13800280500") DA - Receiver mobile phone number (such as "13980711226") UD-- message content (such as "Hello!"); Return: -1: Submit to the SMS gateway service program failed 0: Submit to the SMS service program

INT Querymsg (); function: Query SMS reception parameter description: None return: -1-- Query failed, the SMS gateway service program is not responding. 0 - The query is successful, the SMS service program is not received. N (1, 2, ...) - the query is successful, the SMS service program has N-collected messages.

Char * readmsg (); Function: Read a message Parameter Description: None return: "" - Read failed, the SMS service is not responding "EMPTY" - read success, but there is no message received in the SMS service program . "OA: ..." - Read success, and the SMS service program has received messages. Specific format "OA: Send Number Time: Time UD: Message Content" receiving the message

4. In addition to the database interface, our gateway platform provides database interfaces to make integrated methods more flexible. Just access the SMS_TOREAD table and the SMS_TOSEND table. Supports various databases, including Access, MS SQL Server, Oracle, etc.

转载请注明原文地址:https://www.9cbs.com/read-22328.html

New Post(0)