[riot-devel] Host Name
gaetan.harter at fu-berlin.de
Fri Apr 20 11:29:36 CEST 2018
in the IoT-LAB freertos port there is a dictionary for node short-id ->
There is also the script to update it in case nodes have been changed.
You could adapt it in RIOT.
The short-id used is this one:
If you are only interested in having your current node information, and
not resolve other nodes, you can also get this information from the
control node i2c link.
It is not really advertised but the code is available here:
As I wrote it back then, I could do the port for RIOT if you are interested.
On 20.04.2018 03:58, Ludwig Knüpfer wrote:
> Hello Jana,
> If you're looking for a way to distinguish nodes based on their
> hardware, this might be what you want:
> Am 19. April 2018 21:18:30 MESZ schrieb Janna Om <Janna_OM at hotmail.com>:
> Is it possible with RIOT OS to get access to the host name?
> I'm working with iot-lab m3 nodes and trying to get their ids or
> host names.
> I'm trying to make the node m3-id running my application to be
> aware that its hostname is m3-id or that its ID = id.
> Is there any possibility to achieve this goal.
> Thank You in advance!
> Kind regards,
> devel mailing list
> devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel