Your Digital Media Has Never Looked So Good

 
loisbidepan
Topic Author
Posts: 3
Joined: Sun Jan 15, 2012 10:28 am

UDP problem with HD210

Sun Jan 15, 2012 10:47 am

Hi, all,

Thank you for visiting this topic.
I have been having hard time to use UDP to control a HD210.
I have tried both the recommended Brightscript and Brightauthor and non of them works.

Here is the situation using brightauthor:
I am now sending UDP signals from computer to HD210 and I connected them with ethernet cable, which means it is just a local network.
I have set the UDP receiving port and sending port on HD210 through Brightauthor.
I have set the UDP receiving port and sending port on my computer terminal program.
On my computer, I use Unity3d, which can do C# programming.
I use a very basic C# UDP program for the communication, and that program works for computer communications.
For the IP address, I just use "255.255.255.255" to broadcast.

I checked my logs on the brightsign:
It shows "UDP Event play", which I suppose it certainly gets my commands.
At first, I thought it might be transmittion problem or extra characters, but I change a small part of the script to log the end point of the message and it shows the message is totally pure without any unreasonable characters.
The log also shows the exact words I sent.

So, briefly, the log shows the message I sent by UDP, but just no response on brightsign. And of course, the response should be transition to another video, which is just from the starting kit.

After trying for several times, I still can't figure out why.
Please help~

Thank you very much.
 
loisbidepan
Topic Author
Posts: 3
Joined: Sun Jan 15, 2012 10:28 am

Re: UDP problem with HD210

Sun Jan 15, 2012 2:57 pm

Okay, problem is solved as magic, but I am still wondering why.
If anybody can tell, that will be great.

I used the v2.8 or 2.9 udp control script at last.
I am still not sure if Brightauthor works, but as long as brightscript works for me, it is fine.

I have done 2 things, and I am not sure which one is crucial:
1. I changed the default setting to manual IP
2.
For this part:
settings.Attract$ = "attract.ts" 'video loops when nothing else plays
Originally I don't have the file "attract.ts" and it is just black screen at first.
Now I change that to
settings.Attract$ = "myvideo.mpg" 'video loops when nothing else plays
to have myvideo.mpg loop instead of just the black screen.

After these, it works as magic.
And then, I want to see if the broadcast works, so I changed the manual IP back to default settings.
And try again, it still works.

So, it seems that it will work with or without manual IP settings.
However, I still doubt it is the manual IP "activate" the network somehow (not sure though),
because changing
settings.Attract$ = "attract.ts" 'video loops when nothing else plays
for it to actually playing something to make it work doesn't make sense for me.

Anyway, if anybody can tell why, I'll appreciate that.
If not, hopefully this can help other people.
 
RokuLyndon

Re: UDP problem with HD210

Sat Jan 21, 2012 8:53 am

Unfortunately, I can't tell from your description, but both the script and brightauthor work with udp...

Most of the time, when communcication doesn't work, it's because you're sending to the wrong port, the wrong ip or broadcast address, or the unit has problem network settings.

Who is online

Users browsing this forum: No registered users and 1 guest