Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies

UDP Listener For Tasker के बारे में

यूडीपी डेटाग्राम और आग प्राप्त करता है इंटेंस प्रसारण प्रसारित करता है ताकि टास्कर जवाब दे सके

Due to constant Google changes this app will not be updated.

PLEASE SEE THE APP'S HELP FILE AS THERE IS INSUFFICIENT SPACE HERE TO DESCRIBE ALL THE DETAILS.

Note: where you see "Multicast" it should be "Broadcast". Sorry.

Note: Disable battery saving to remove notification on later Android.

In trying to do some home automation stuff with Tasker, I could not find a good way to get notified of UDP events sent to the device on which Tasker is running. HTTP and TCP events, yes. Sending UDP events, yes. But none listening for UDP. So I decided to build one & this is the result.

Receipt of UDP datagrams on monitored port(s) fires Intents with event data in the Intent's EXTRAs. Tasker & other automation mechanisms that know how to receive Intents can trigger your own actions when this occurs.

Usage

Upon start up, this app displays a list of ports being monitored for UDP activity. To start monitoring all the Active entries on the list you simply press the Start Server button. If all goes well, the monitoring will be underway. About the only thing that might go wrong is that the specified port number is already in use by some other app. You should see a message if this is the case.

Initially, of course, the list of ports being monitored is empty. From the app's menu, choose Add Port to Monitor and supply the necessary information. Note that port numbers MUST be > 1024. Each port can optionally:

* service multi-cast datagrams or not

* be enabled/disabled for monitoring

* have UDP data payloads converted into a string of hexadecimal digits before sending

* suppress duplicate datagrams to a port from the same IP within a timeout period

* append the port number to its Intent action strings

If the server is currently running at the time a new entry is added to the list, you must stop & re-start the server for monitoring of the entire list to begin anew.

Ports may be modified & deleted from the list with a long press of the entry you wish to change. As with additions, you must stop & re-start the server for monitoring of the entire list to begin anew.

For many situations, it is desirable for monitoring to begin when your device boots. This can be accomplished by checking Start Server At Boot on the app's menu. While this works fine on the vast majority of devices, you must be aware that some devices do not support this. You can start & stop the server by sending these Intents:

com.whitedavidp.udplistenerfortasker.START_SERVER

com.whitedavidp.udplistenerfortasker.STOP_SERVER

Datagram Receipt Processing

Once the server is running, it waits for UDP datagrams for be delivered on each of the specified, Active ports. When a datagram is received, it is processed into an Intent that is broadcast to the system so that Tasker or other automation apps can handle the Intent's reception & do whatever you want done. You will need to know the action name on the Intent and that is always at least:

com.whitedavidp.udplistenerfortasker.UdpBroadcast

but optionally, the port number can be appended to the above.

In each Intent, the app places named extra data strings for the following datagram metadata:

* time - the time at which the datagram was processed as expressed in the number of seconds since midnight of 1/1/1970

* port - the monitored port to which the datagram was sent

* sender - the IP address of the datagram's origination

* sender_port - the port of the datagram's origination

Finally, an extra data string is sent named message. This is the datagram's data payload. It you have specified that the receiving port should convert this into a string of hexadecimal digits, this will be completed before the Intent is broadcast. This is highly recommended if the payload is binary data or if you are not sure. This app performs no processing to ensure the data is valid and has not been corrupted in transmission. The data is simply extracted from the datagram using the offset & length specified in the packet.

अनुवाद लोड हो रहा है...

अतिरिक्त ऐप जानकारी

नवीनतम संस्करण

निवेदन UDP Listener For Tasker अपडेट 1.2

द्वारा डाली गई

رضا صباح كل امل

Android ज़रूरी है

Android 6.0+

अधिक दिखाएं

नवीनतम संस्करण 1.2 में नया क्या है

Last updated on Dec 23, 2020

Added an underscore before appended port on Intent actions strings to improve readability if Append Port is enabled.
Added in-app purchase now required to support more than a single port being monitored. Earlier users who have already added more than a single port will continue to work as before until such time as they try to use the Add Port to Monitor menu item.
Added menu item to email log to developer.

अधिक दिखाएं

UDP Listener For Tasker स्क्रीनशॉट

पिछले 24 घंटों में लोकप्रिय लेख

टिप्पणी लोड हो रहा है...
भाषाओं
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलतापूर्वक सब्सक्राइब!
अब आप APKPure की सदस्यता ले रहे हैं।
APKPure की सदस्यता लें
सर्वश्रेष्ठ एंड्रॉइड गेम और ऐप्स के शुरुआती रिलीज, समाचार और गाइड तक पहुंचने वाले पहले व्यक्ति बनें।
जी नहीं, धन्यवाद
साइन अप करें
सफलता!
अब आप हमारे न्यूज़लेटर की सदस्यता ले चुके हैं।