Function

NM-1.0NMutils_wifi_find_next_channel

  • Utility function to find out next/previous Wi-Fi channel for a channel.

    Parameters

    • channel: number

      current channel

    • direction: number

      whether going downward (0 or less) or upward (1 or more)

    • band: string

      frequency band for wireless ("a" or "bg")

    Returns number

    the next channel in the specified direction or 0