Function

NM-1.0NMutils_wifi_freq_to_channel

  • Utility function to translate a Wi-Fi frequency to its corresponding channel.

    Parameters

    • freq: number

      frequency

    Returns number

    the channel represented by the frequency or 0