Hi,
I have read the FAQ and I learned that it's possible to pass incoming messages to a program. I would like to know if:
1. it's possible to pass unread messages if the phone was not connected when the message was received. it will be read by MPE during sync and will be listed in the UI but will OnIncomingMessage be triggered for messages received while it's not connected to the PC?
2. is it possible to delete a message or messages via command line?
Thanks!
sms automation
1. the eventhandler OnIncomingMessages will trigger only when a message arrives on the phone while it is connected to the phone
2. Theoretically yes, in practise its difficult. You can send throught the commandline all AT-Commands (its the underlying protocol for communication with the phone) so you can also delete messages with this command:
The problem: The OnIncomingMessage trigger will not tell you the ID of the message. You can find out the ID by tracking the logfile of MyPhoneExplorer in your script or app, this would be the easiest way to deal with it.
2. Theoretically yes, in practise its difficult. You can send throught the commandline all AT-Commands (its the underlying protocol for communication with the phone) so you can also delete messages with this command:
action=directcommand command=AT+CMGD=<id of the message>
The problem: The OnIncomingMessage trigger will not tell you the ID of the message. You can find out the ID by tracking the logfile of MyPhoneExplorer in your script or app, this would be the easiest way to deal with it.
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.
Bitte benutzt auch die Forum-Suche bzw. die FAQ
Bitte benutzt auch die Forum-Suche bzw. die FAQ
-
rationalboss
- Beiträge: 6
- Registriert: Mi 22. Feb 2012, 16:55
thanks!
is there a way to read the unread messages when the phone is connected probably something similar to how the message is deleted?
we intend to use it in our office which is open from 8am-5pm. since after office hours, we have to shut down computers, there might be unread messages that will come on 8am the following day.
is there a way to read the unread messages when the phone is connected probably something similar to how the message is deleted?
we intend to use it in our office which is open from 8am-5pm. since after office hours, we have to shut down computers, there might be unread messages that will come on 8am the following day.
Yes, with tracking the logfile you can be aware of the sms refresh process. The messages are listed like this:
Where 247 would be the ID of the message and 0 says that its an unread message
23:32:02.53 [RX]: +CMGL: 247,0,TXT,...
Where 247 would be the ID of the message and 0 says that its an unread message
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.
Bitte benutzt auch die Forum-Suche bzw. die FAQ
Bitte benutzt auch die Forum-Suche bzw. die FAQ
This issue is caused directly from the phone. You should wait some time after you deleted many messages. For 200 messages the phone needs internally much longer to delete them
Ich bitte um Verständnis daß ich aufgrund des hohen Aufkommens im Forum und meines zeitlichen Rahmens nichtmehr jeden Thread im Forum persönlich lesen bzw. beantworten kann.
Bitte benutzt auch die Forum-Suche bzw. die FAQ
Bitte benutzt auch die Forum-Suche bzw. die FAQ
