This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:blox:blox-wifi-setup [2024/08/27 12:24] admin |
docs:blox:blox-wifi-setup [2024/08/27 13:14] (current) admin |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== 6.6.1.1 Wifi Initialization ===== | ===== 6.6.1.1 Wifi Initialization ===== | ||
+ | |||
+ | Use the "Setup Wifi" block to intialize a connection to your Wifi Network. | ||
+ | Make sure to use your correct SSID (Network name) and PSK (Password). | ||
+ | You can use DHCP, or static IP addresses. | ||
+ | |||
+ | ^ Using DHCP (Dynamic IP) ^ Using Static IP address ^ | ||
+ | | {{: | ||
+ | |||
+ | ===== 6.6.1.2 mDNS Hostname ===== | ||
+ | |||
+ | MDNS (Multicast DNS) allows devices on the same local network to discover each other using domain-name-like names without a centralized DNS server. In BLOX projects, setting an mDNS hostname lets you access the device using a human-readable name (e.g., blox.local or frontdoorlock.local) instead of its IP address. | ||
+ | |||
+ | Add the "Setup mDNS" block to your BLOX initialization to set up a hostname | ||
+ | |||
+ | Make sure every device has a unique name, making it easy to remember will be beneficial | ||
+ | |||
+ | {{: | ||
+ | |||
+ | When the BLOX boots up you'll see it sets a mDNS Responder to respond to mDNS requests | ||
+ | |||
+ | {{: | ||
+ | |||
+ | And then you can find your BLOX device on the network (by pinging for example) by name (without needing to know its IP): | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||