Client1 walkthrough
Client 1 Walkthrough¶
Client 1 connects to the Server on port 30000.
It sends no PDOs, but receives them.
It is just a typical CLW4000 5GHz Wi-Fi bridge Client.
Add the following Device Variables, with the following settings (change highlighted objects as necessary):
| Object | Setting |
|---|---|
0x3000:0x01 [Wi-Fi Operating Mode] |
0x01 [Infrastructure] |
0x3000:0x10 [Enable 2.4GHz WiFi Band / Infrastructure only] |
0 Disabled |
0x3000:0x11 [Enable 5GHz WiFi Band / Infrastructure only] |
1 Enabled |
0x3008:0x03 [Bluetooth Enable] |
0 Disabled |
0x3008:0x09 [BLE Enable] |
0 Disabled |
0x3008:0x02 [WiFi Enable] |
1 Enabled |
0x3000:0x04 [WiFi Authentication Type] |
7 [WPA/WPA2 Mixed] |
0x3000:0x09 [WiFi DCHP Mode] |
1 [DHCP Client (WiFi infrastructure only)] |
0x3000:0x25 [WiFi Region] |
As Appropriate |
0x3000:0x02 [WiFi SSID] |
PDO_Server |
0x3000:0x05 [WiFi Authentication Key] |
ChocolateCake4Breakfast! |
0x3010:0x15 [Connection Direction Configuration/Server or Client 1] |
3 [Client enabled] |
0x3010:0x16 [Connect Type 1] |
1 [TCP Socket] |
0x3010:0x17 [URL Address/WiFi Client only 1] |
192.168.0.34 |
0x3010:0x18 [Socket Listen Port/WiFi only 1] |
30000 |
0x4050:0x03 [Node Id CAN 1] |
44 |
0x4050:0x04 [Node Id CAN 2] |
45 |
Program as above.