Jump to content
C4 Forums | Control4

C4:GetDiscoveryInfo


ILoveControl

Recommended Posts

Hi all, 

Just want to check my sequence on something.

I have a connection on my driver (network) on ID 6001. I have set the port and I have checked that the port is open (device on) and that the port type is Unpn. On a default Unpn app I can see the URN displayed and on that port i.e. urn:manufacture:SomeSetOfInfo

I am trying to get the Unpn table (as the return from  C4:GetDiscoveryInfo) so:

  1. I create the connection C4:CreateNetworkConnection - using the device IP etc and using protocol TCP (nmap says that its on TCP)
  2. I check the devices MAC just to see I can see it and test connectivity - All good
  3. I then try C4:GetDiscoveryInfo(idBinding) and try and print(info["uuid"]) - I check for nil, now it always returns nil .....
  4. I have tried C4:GetDiscoveryInfo(idBinding) OnConnectionStatusChanged (checking to see we Online) - same result

 

Any idea what or how I am going wrong?

Link to comment
Share on other sites

  • 1 year later...

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.