Sample code for Band Capabilities
//--------------------------------------------------------------------------------------------------/*** Test: Get platform band capabilities.** le_mrc_GetBandCapabilities() API test* le_mrc_GetLteBandCapabilities() API test* le_mrc_GetTdScdmaBandCapabilities() API test*///--------------------------------------------------------------------------------------------------static void Testle_mrc_GetBandCapabilities(){le_mrc_BandBitMask_t bands = 0;le_mrc_LteBandBitMask_t lteBands = 0;le_mrc_TdScdmaBandBitMask_t tdScdmaBands = 0;le_result_t res;res = le_mrc_GetBandCapabilities(&bands);// Not supported on all platformswitch(res){case LE_OK:LE_INFO("Get 2G/3G Band Capabilities bit mask: 0x%016"PRIX64, (uint64_t)bands);break;case LE_UNSUPPORTED:LE_WARN("Get 2G/3G Band Capabilities Not Supported");break;default:LE_FATAL("le_mrc_GetBandCapabilities Failed");break;}res = le_mrc_GetLteBandCapabilities(<eBands);// Not supported on all platformswitch(res){case LE_OK:LE_INFO("Get LTE Band Capabilities bit mask: 0x%016"PRIX64, (uint64_t)lteBands);break;case LE_UNSUPPORTED:LE_WARN("Get LTE Band Capabilities Not Supported");break;default:LE_FATAL("le_mrc_GetLteBandCapabilities Failed");break;}res = le_mrc_GetTdScdmaBandCapabilities(&tdScdmaBands);// Not supported on all platformswitch(res){case LE_OK:LE_INFO("Get TD-SCDMA Band Capabilities bit mask: 0x%016"PRIX64,(uint64_t)tdScdmaBands);break;case LE_UNSUPPORTED:LE_WARN("Get TD-SCDMA Band Capabilities Not Supported");break;default:LE_FATAL("le_mrc_GetTdScdmaBandCapabilities Failed");break;}}