cellular_network_event_get_mnc()

Get the Mobile Country Code (MNC) change from a CELLULAR_NETWORK_ID_INFO event.

Synopsis:

#include <bps/cellularnetwork.h>
 
BPS_API const char* cellular_network_event_get_mnc(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The ROAMING_INFO event to extract the MCC change from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The cellular_network_event_get_mnc() function extracts the Mobile Network Code (MNC) change from the specified CELLULAR_NETWORK_ID_INFO event. This function returns the Mobile Network Code of the network that the device is currently camped on.

Returns:

The MNC change in string. If MNC is not available, this function returns NULL with errno set to ENOTSUP. For example, NULL is returned if the device is correctly connected to a CDMA/EVDO network.