Hi! I have some beginner questions and I hope you can help me...
1. ipaddr always shows 2-4 IPv6-addresses. Why and how do I know which one is right?
2. I use the commissioner example provided by STM32CubeWB. Is it correct, that a commissioner assigns the IPs to all the joiners "randomly"? Kind of DHCP like?
3. I want to send CoAP messages between the device with the commissioner role and a specific joiner device. How can this be done, if the IP is unknown? (It seems to me that CoAP needs the destination IP to send a unicast message)
btw: All of my devices have a 2-digit Pushwheel to select a unique device number in the network. I thought about choosing an IP-Address stem that is the same for all devices + adding the device number as the last 2 digits of the IP. Device number 00 will then be the one with the commissioner role and will be connected to a Raspberry Pi to connect to the internet over MQTT.
How could this be done if it should be possible to add and remove devices during runtime? Is the commissioner really/useful needed to do this?
Thanks for your help!