bjorn Posted October 10, 2022 at 11:07 AM Posted October 10, 2022 at 11:07 AM Is there a way to read the UID of a device without knowing the UID of the device? I can only get an answer when calling the function _get_identity AFTER i already connected to the brick using _create. And in "create" i need the UID Quote
rtrbt Posted October 11, 2022 at 08:20 AM Posted October 11, 2022 at 08:20 AM For that you can use the IP connection's enumerate callback. See here for an example: https://www.tinkerforge.com/en/doc/Software/IPConnection_C.html#enumerate This will report all connected Bricks and Bricklets with their UID and more. Quote
bjorn Posted October 25, 2022 at 06:34 AM Author Posted October 25, 2022 at 06:34 AM Am 11.10.2022 um 10:20 schrieb rtrbt: For that you can use the IP connection's enumerate callback. See here for an example: https://www.tinkerforge.com/en/doc/Software/IPConnection_C.html#enumerate This will report all connected Bricks and Bricklets with their UID and more. Thank you! I will try this later. I gotta say that tinkerforge documents isnt very helpful about this. For the most part, they just say that "the easiest way is to use brickviewer" :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.