Windows Mobile WAP Wakeup

Can someone please give me directions or better a working example using the WAP Wakeup feature in Windows Mobile?

I am trying to follow directions from http://msdn.microsoft.com/en-us/library/aa919167.aspx . Unfortunately, they only provide the beginning of a solution.

Step 1: register the app to listen to SMS messages from a specific port.

Step 2: send SMS message to this port

Step 3: the application opens and sends a message to the application's listener class window

Step 4: receive this message and fire the event

I don't know about steps 2-4 .. are these even the correct steps?

+1


source to share


2 answers


I have not done this myself, but I have worked in the simlar area.

There are two ways to send WAP SMS message (mainly Binary Wireless Datagram Protocol , formatted binary SMS message)

  • By phone using WAP api .
  • Using an SMS gateway.

SMS gateway allows you to send sms messages from the Internet. If you are looking online for SMS gateways, you should get a lot of them. Choose the one that supports sending binary SMS messages.



As part of the WDP header, you must specify a port number, which is the port number they are on.

Before sending SMS, you need to check with your cellular provider that they support binary sms and not all cellular networks.

The rest is pretty much in line with Microsoft's example :

  • Create a registry key.
  • WDP SMS messages arrive at the WDP layer on the WDPport1 port.
  • The WDP layer checks if the application is registered in the WDP layer on the port number WDPport1. In this case, the application is not registered.
  • The application checks the registry to determine if any application is actually registered for WDP messages on the WDPport1 port. The application finds that the Chess.exe application is registered.
  • If Chess.exe is loaded, the application launches Chess.exe.
  • The chess app opens the ListenerWnd class for the listener class.
  • "ListenerWnd" receives a message with a DWORD value
  • Chess.exe recognizes this message as an indication that a WDP message is waiting on port WDPport1 and registers WDPport1 because it owns the WDP level.
  • Chess.exe receives and processes the pending WDP message.
  • Chess.exe closes.
+1


source


i sent binary sms according to all the rules, created registry settings, application ... everything is as written on the Microsoft forum about WAP Wakeup ... but when the mobile receives an SMS, it goes directly to the Inbox .... can someone can tell which aspects to make a point .. because .. 3 days on this issue .. it's not good: --(



0


source







All Articles