Skip to content

User defined

User-defined channels

A CANlink® wireless 4000 acting in an Wi-Fi Infrastructure role can be configured to connect to only specified channels.
This differs from typical Wi-Fi behavior in which the Access Point determines the channel; the Infrastructure device selects the band, and connects to any channel in that band with the correct SSID.

Note

This is an Infrastructure-only setting - the Access Point is not affected with this feature.

This behavior supports:

  • different network segments with different Infrastructure devices on different channels with the same SSID
  • faster time to reacquire the connection after a Infrastructure device reboot (because every channel need not be scanned for)

This second point exists because each channel is scanned in turn, and reducing the number to scan improves connection time.

Tip

To reduce the connection time as much as possible, disable the band not used.
These objects are: - 0x3000:0x10 [Enable 2.4GHz WiFi Band / Infrastructure only] - 0x3000:0x11 [Enable 5GHz WiFi Band / Infrastructure only]

Configuration (2.4GHz)

0x3000:0x1A [User Defined Channels 2.4 GHz]
This is a 16bit object.

bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Channel 13 12 11 10 9 8 7 6 5 4 3 2 1
  • Each bit in this bitmask enables an individual channel when set, and disables that channel when zero.
  • If the channel to be connected to is not enabled, no connection will occur.
  • Enabling all bits is equivalent to the value 0, which means the device can connect to any channels.

Default: 0 (all channels enabled)

Example

For the fastest possible connection speed:

  1. If the Access Point has enabled channel 5 in the 2.4GHz band, set 0x3000:0x1A [User Defined Channels 2.4 GHz] to 0x20 in the device configured as an Infrastructure device.
  2. Enable 0x3000:0x10 [Enable 2.4GHz WiFi Band / Infrastructure only]
  3. Disable 0x3000:0x11 [Enable 5GHz WiFi Band / Infrastructure only]

Configuration (5GHz)

Object to set: 0x3000:0x1B [User Defined WiFi 5GHz Channels]
This is a 32bit object.

bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Channel 165 161 157 153 149 48 44 40 36
  • Each bit in this bitmask enables an individual channel when set, and disables that channel when zero.
  • If the channel to be connected to is not enabled, no connection will occur.
  • Enabling all bits is equivalent to the value 0, which means the device can connect to any channels.

Default: 0 (all channels enabled)

Example

For the fastest possible connection speed:

  1. If the Access Point has enabled channel 149 in the 5GHz band, set 0x3000:0x1B [User Defined WiFi 5GHz Channels] to 0x0010 in the device configured as an Infrastructure device.
  2. Enable 0x3000:0x11 [Enable 5GHz WiFi Band / Infrastructure only]
  3. Disable 0x3000:0x10 [Enable 2.4GHz WiFi Band / Infrastructure only]