0

Brightscript - Can I discover a list of IP's for devices on the same network?

I need to connect a Brightsign unit to another Android device via UDP. It all works except I have to tell the Brightsign unit which IP address the Android device is on.

 

Is there any way to get a list of IP's for all other devices on the local network? If so I could send a UDP message to each one and as long as the Android device is monitoring that port (which it is) and it replies (which it would) I'll know it's IP address.

 

If not possible is there a way in bright script to get the IP address of the unit?

1 comment

  • 0
    Avatar
    Brandon

    The player's Network Neighborhood in the Diagnostic Web Server uses LLDP, and it advertises itself via mDNS/Bonjour.

    Unless the Android device also advertises in some manner, it wouldn't be easy to find short of doing a brute-force scan like you describe.

    You can definitely get the IP address of the player itself - as a System variable in BrightAuthor or directly via BrightScript.

    See http://docs.brightsign.biz/display/DOC/roNetworkConfiguration

Please sign in to leave a comment.