Changes between Version 3 and Version 4 of Tutorials/c0WiFi/Tutorial3
- Timestamp:
- Oct 8, 2014, 6:24:04 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/c0WiFi/Tutorial3
v3 v4 236 236 Several things are happening here: 237 237 1. The group name ''AP'' references the node specified in ''property.master''. This group only consists of a single node. 238 2. ''node.addApplication'' connect the previous defined ''iperf'' application to this node with the specified arguments and values using ''setProperty''238 2. ''node.addApplication'' connects the previously defined ''iperf'' application to this node with the specified arguments and values using ''setProperty''. The iperf application is configured as a server. 239 239 3. The wireless card properties are set using with the ''node.net.w0'' parameters. Here we set ''node.net.w0.mode'' to ''master'' to configure the wireless card as an access point. Other relevant parameters are also set here as well. 240 240 … … 254 254 end 255 255 }}} 256 1. The group name ''client'' references the node(s) specified in ''property.client''. This group can have multiple nodes. 257 2. ''node.addApplication'' connects the previously defined ''iperf'' application to the node(s). ''iperf'' is configured as a client connection to the specified ip address. 258 3. The wireless card properties are set using with the ''node.net.w0'' parameters. Note that we set ''node.net.w0.mode'' to ''managed'' to configure the wireless card as client. Other relevant parameters are also set here as well. Since we can have multiple nodes we specify ''node.net.w0.ip'' with the last byte of the IP address as %index%. In this way each node will have a unique address.