Direct Connection
LA4 and the PC are connected directly with an ethernet cable, with no router or switch in between in a point-to-point fashion.
How it works
In this configuration, LA4 does not receive an IP address from a DHCP server. Instead, it falls back to a preconfigured fixed static IP:
192.168.0.23
Your PC must be on the same subnet to reach the device. Set your PC's ethernet adapter to a static IP in the same range, for example:
| Setting | Value |
|---|---|
| IP address | 192.168.0.100 |
| Subnet mask | 255.255.255.0 |
| Gateway | (leave empty) |
In Windows select Internet Protocol Version 4 (TCP/IP) in the connection's properties and use the settings above. This is the same setup as when setting up the ethernet connection for Arago Control.
When to use it
Point-to-point is the simplest and most reliable setup. Use it when:
- You want a simple programmatic implementation (no network discovery logic required in the implementation)
- You are operating LA4 from a single dedicated PC
- You want a direct, low-latency connection with no dependency on a router
- You are working on set or in a location without an existing network
Verify LA⁴ is reachable
Once the ethernet cable is plugged in and your PC's network adapter is configured, LA4 is reachable at:
192.168.0.23
You can verify the connection by pinging the device from your terminal:
ping 192.168.0.23
A successful response confirms the device is reachable and pycom is ready to accept connections on port 5000. See Node Discovery for details on how pycom finds your application.