Thanks for your help!
I solved my question using nano coap server example.
-> My method is :
Add this before main function.
-----------------------------
/* import "ifconfig" shell command, used for printing addresses */
extern int _gnrc_netif_config(int argc, char **argv);
----------------------------------
Add this where you desire to print
----------------------------------------------------
/* print network addresses */
puts("Configured network interfaces:");
_gnrc_netif_config(0, NULL);
----------------------------------------------------
Thanks.
Robin <[email protected]>, 15 Tem 2019 Pzt, 21:43 tarihinde şunu yazdı:
> Hi,
>
> > Am 15.07.2019 um 19:43 schrieb Burak Karaduman <
> [email protected]>:
> >
> > How i can prompt to ip address of my device in Riot os ? I have tried
> several ways and even looked into sdk of esp8266. but could not succeed.
>
> Assuming you are using gnrc. Have a look in the examples. There is a
> ifconfig shell command which does exactly what you want. This is driver
> independent and part of the network stack.
>
> Regards,
> Robin
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.riot-os.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/users