ssdp-client | Java client for SSDP | REST library
kandi X-RAY | ssdp-client Summary
kandi X-RAY | ssdp-client Summary
Java client for SSDP (Simple Service Discovery Protocol)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Discover one device
- Instantiate a device response from a SDP response
- Discover any UPNP device using the given timeout
- Compares two devices
- Returns a hash code of this instance
ssdp-client Key Features
ssdp-client Examples and Code Snippets
Community Discussions
Trending Discussions on ssdp-client
QUESTION
I am working on raspberry pi and android application in which everytime application is get opned it search for raspberry pi in network and if raspberry pi is found then do further operation else give aknwolegement to the user. I just need IP address of raspberry pi to do further process.
Solution purposed -
Making raspberry pi IP address static - Not applicable because application distributed from play store and dont have access to router.
Searching for the raspberry pi in network - Working on this.
What i tried is used SSDP, DLNA, UPNP protocol to create a server on raspberry pi and everytime app comes online search for the raspberry pi in network.
Used resourcee
- https://github.com/resourcepool/ssdp-client
- https://gist.github.com/ismaelgaudioso/4cff466459646e022332
- https://gist.githubusercontent.com/ismaelgaudioso/4cff466459646e022332/raw/2f9fb030790102c31bc656a960307028c28bad51/server.py
- https://www.javatips.net/api/serket-master/serket-ssdp/src/main/java/org/saintandreas/serket/ssdp/SSDPServer.java
Here is what i have done
...ANSWER
Answered 2019-Sep-18 at 06:59Now eventually i figured out the solution i will share my answer step by step. I am using ssdp protocol to find out the Pi on network where the Pi have dynamic Ip address. So i created the server in python and using android as a client. lets start with server first -
Also you can find the server script https://github.com/ZeWaren/python-upnp-ssdp-example
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssdp-client
You can use ssdp-client like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the ssdp-client component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page