I would like to know if the following use case is possible. I have done points 1-3. I am presently using WTK20 and MIDP 2.0.
1) Register a socket://<port> on a MIDlet via the Push Registry, dynamically
2) Allow the MIDlet to 'wake up' when this socket port in called by another entity.
3) Allow a ServerSocketConnection to read the bytes from the socket
4) Allow a Java AppServer to place a client call to this device, to reach socket://port, thus waking up the MIDlet
the problem then is what IP address i use to contact this MIDlet, as if the phone even has an IP address, it is dynamic and private.
It seems that there is little point in registering a serversocket or datagramconnection on a MIDlet via the Push Registry as there is no way for them to be contacted straight from an AppServer.
The WTK20 and JSR 120 talk about how to send a message via SMS or CBS. These appear to involve using a network provider's gateway, or the WTK20 utility.
So my question is: how do I wake up a MIDlet from an AppServer, that has NO dependency on any network operators' services?
Any ideas would be most appeciated!
Many thanks in advance,
Phil

Reply With Quote
.

