Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the TED Support Forum!
Home
Help
Search
Calendar
Login
Register
The Energy Detective Forums
»
General Category
»
Developer Support
»
UDP auto discover for TED5000
« previous
next »
Print
Pages: [
1
]
Author
Topic: UDP auto discover for TED5000 (Read 4963 times)
ricoued
Newbie
Posts: 3
Karma: +0/-0
UDP auto discover for TED5000
«
on:
November 15, 2011, 09:43:02 AM »
Hi all,
Is there a way to auto-discover a TED5000 on the local network? I'm thinking UDP broadcast?
Thanks,
Eric
Logged
TedDev
TED Software Developent
Full Member
Posts: 158
Karma: +0/-0
Re: UDP auto discover for TED5000
«
Reply #1 on:
November 15, 2011, 08:27:24 PM »
The TED5000 sends out a UDP multicast every minute. Set up a listener on Port 30303 and you will receive a string from the TED that contains the IP address, etc.
Logged
TedDev
TED Software Developent
Full Member
Posts: 158
Karma: +0/-0
Re: UDP auto discover for TED5000
«
Reply #2 on:
November 15, 2011, 11:16:59 PM »
I've attached a sample Jave code snippet on how to listen and parse the packets (much like we are doing w/ the installer). Its older code so you probably want to drop the StringTokenizer and just use .split when parsing everything out.
Logged
ricoued
Newbie
Posts: 3
Karma: +0/-0
Re: UDP auto discover for TED5000
«
Reply #3 on:
November 16, 2011, 06:28:08 AM »
Great! Thx much.
Logged
Print
Pages: [
1
]
« previous
next »
The Energy Detective Forums
»
General Category
»
Developer Support
»
UDP auto discover for TED5000