peek_current_bands


Description:

[ Version ( since = "1.0" ) ]
public bool peek_current_bands (out ModemBand[] bands)

Gets the list of radio frequency and technology bands the Modem is currently using when connecting to a network.

For POTS devices, only the ANY band is supported.

Parameters:

this

A Modem.

bands

Return location for the array of ModemBand values. Do not free the returned value, it is owned by this.

n_bands

Return location for the number of values in bands.

Returns:

true if bands and bands.length are set, false otherwise.