Return SUCCESS:EMAIL_SEND if send status ok. Write(String from, String to, String title, String message, String fromName, String toName) Write(String from, String to, String title, String message) If you want to send email over GMAIL, you can use this method for set server requirements. SetServer(String server, String port, bool useSSL)Īuth(String username, String password, bool requireAuth) You can use GSMSim and GSMSimGPRS classes methods with this class. *This class inherit from GSMSimGPRS class. PostWithSSL(String url, String data, String contentType, bool read) Same as post(String url, String data, String contentType) but it connect to SSL sites. PostWithSSL(String url, String data, String contentType) Post(String url, String data, String contentType, bool read) Only HTTP method, status code and response lenght. Post(String url, String data, String contentType) Same as get(String url, bool read ) but it connect to SSL sites. Same as get(String url) but it connect to SSL sites. If read equal to true it returns HTTP method, status code, response lenght and web page response. GprsInit(String apn, String user, String password) If you want to change this values, use gprsInit() method for this. When you call this class, it automaticly load default APN, USER and PWD values. You can use GSMSim class methods with this class. true is main channel, false is aux channel.įrequency must be between 8. Get message index number from serial raw value. If markRead equal to false, message not set to READ. If onlyUnread equal to false, method returns ALL messages. If no message found it returns NO_SMS else returns SMSIndexNo:x,y,z. "ME" (Module), "SM" (Sim), "ME_P" (Module Preferred), "SM_P" (Sim Preferred), "MT" (ME or SM, Sim Preferred). SetPreferredSMSStorage(char* mem1, char* mem2, char* mem3) If you use other methods correctly, add your code this method. Read USSD response from serial raw value. Get pressed key info from DTMF on serial raw data. SetDTMF(bool active, unsigned int interval, bool reportTime, bool soundDetect) You can use GSMSim and GSMSimCall classes methods with this class. *This class inherit from GSMSimCall class. It not fetch the raw serial data!Įnable or disable reject call automaticly. Return call status and number like STATUS:xxx|NUMBER:xxx - This only read when you give raw serial data to this function. Return codes as same as phoneStatus function In this regard, comply with the laws of your country. Changing the IMEI is prohibited by the laws of some countries. GSMSim class automaticly set echoOff on init.Ĭhange IMEI. Phone activity status 0-ready, 2-unknown, 3-ringing, 4-call in progress, 99-unkonownĮcho off AT command on execute result. If modune not connected it returns NOT_CONNECTED. 0-minimum, 1-full, 4-disableĠ-ready, 1-sim pin, 2-sim puk, 3-ph sim pin, 4-ph sim puk, 5-sim pin2, 6-sim puk2, 7-unknownĮnter pin code if module locked with pin code. Method init reset pin, led pin and led flag. All GSMSim* classes inherit from GSMSim class.* Method Name
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |