ANSC_STATUS CosaDeviceInfoInitialize ( ANSC_HANDLE hThisObject ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PCOSA_DATAMODEL_DEVICEINFO pMyObject = (PCOSA_DATAMODEL_DEVICEINFO)hThisObject; /* Initiation all functions */ _ansc_memset(pMyObject->ProvisioningCode, 0, 64); CosaDmlDiInit(NULL, NULL); #if 1//LNT_EMU CosaDmlDiGetXfinityWiFiEnable(&pMyObject->bxfinitywifiEnable); printf("%s : bxfinitywifiEnable value is : %d\n",__FUNCTION__,pMyObject->bxfinitywifiEnable); #endif //Get TR69CertLocation CosaDmlDiGetSyndicationTR69CertLocation( (ANSC_HANDLE)pMyObject, pMyObject->TR69CertLocation ); //Get Syndication Enable CosaDmlDiGetSyndicationEnable( (ANSC_HANDLE)pMyObject, &pMyObject->SyndicationEnable ); CosaDeriveSyndicationPartnerID(pMyObject->PartnerID); CosaDmlDiUiBrandingInit(&pMyObject->UiBrand); return returnStatus; }
ANSC_STATUS CosaDeviceInfoInitialize ( ANSC_HANDLE hThisObject ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PCOSA_DATAMODEL_DEVICEINFO pMyObject = (PCOSA_DATAMODEL_DEVICEINFO)hThisObject; /* Initiation all functions */ _ansc_memset(pMyObject->ProvisioningCode, 0, 64); CosaDmlDiInit(NULL, NULL); return returnStatus; }