Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Jaguar device name to automatically set hostname #100

Open
lutzbickhardt opened this issue Jan 13, 2022 · 0 comments
Open

Use Jaguar device name to automatically set hostname #100

lutzbickhardt opened this issue Jan 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lutzbickhardt
Copy link

when running toit on two devices I get with nmap:
...
Nmap scan report for toit.fritz.box (192.168.1.56)
...

Nmap scan report for toit.fritz.box (192.168.1.65)
...

lutz@HONOR:~/jaguar/third_party/toit$ /home/lutz/jaguar/build/jag scan
Scanning ...
Use the arrow keys to navigate: ↓ ↑ → ←
? Choose what Jaguar device you want to use:
▸ core2_WHITE (address: http://192.168.1.56:9000, 32-bit)
core_BLACK_BROKEN_EDGE (address: http://192.168.1.65:9000, 32-bit)

so how would I make , i.e. core2_WHITE to be used as hostname, as in
Nmap scan report for core2_WHITE.fritz.box (192.168.1.56)?

using the ARDUINO IDE I would set:
WiFi.setHostname("core2_WHITE");

@kasperl kasperl added enhancement New feature or request good first issue Good for newcomers labels Feb 17, 2022
@kasperl kasperl changed the title set hostname Use Jaguar device name to automatically set hostname Feb 17, 2022
@kasperl kasperl self-assigned this Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

2 participants