Exemple #1
0
void prf_init_func(void)
{
#if (BLE_ACCEL)
    accel_init();
#endif // (BLE_ACCEL)

#if (BLE_HT_THERMOM)
    htpt_init();
#endif // (BLE_HT_THERMOM)

#if (BLE_HT_COLLECTOR)
    htpc_init();
#endif // (BLE_HT_COLLECTOR)

#if (BLE_DIS_SERVER)
    diss_init();
#endif // (BLE_DIS_SERVER)

#if (BLE_DIS_CLIENT)
    disc_init();
#endif // (BLE_DIS_CLIENT)

#if (BLE_BP_SENSOR)
    blps_init();
#endif // (BLE_BP_SENSOR)

#if (BLE_BP_COLLECTOR)
    blpc_init();
#endif // (BLE_BP_COLLECTOR)

#if (BLE_TIP_SERVER)
    tips_init();
#endif // (BLE_TIP_SERVER)

#if (BLE_TIP_CLIENT)
    tipc_init();
#endif // (BLE_TIP_CLIENT)

#if (BLE_HR_SENSOR)
    hrps_init();
#endif // (BLE_HR_SENSOR)

#if (BLE_HR_COLLECTOR)
    hrpc_init();
#endif // (BLE_HR_COLLECTOR)

#if (BLE_FINDME_LOCATOR)
    findl_init();
#endif // (BLE_FINDME_LOCATOR)

#if (BLE_FINDME_TARGET)
    findt_init();
#endif // (BLE_FINDME_TARGET)

#if (BLE_PROX_MONITOR)
    proxm_init();
#endif // (BLE_PROX_MONITOR)

#if (BLE_PROX_REPORTER)
    proxr_init();
#endif // (BLE_PROX_REPORTER)
#if (BLE_STREAMDATA_HOST)
    streamdatah_init();
#endif // (BLE_STREAMDATA_HOST)
#if (BLE_STREAMDATA_DEVICE)
    streamdatad_init();
#endif // (BLE_STREAMDATA_DEVICE)

#if (BLE_SPOTA_RECEIVER)
    spotar_init();
#endif // (BLE_SPOTA_RECEIVER)
#if (BLE_SP_SERVER)
    scpps_init();
#endif // (BLE_SP_SERVER)

#if (BLE_SP_CLIENT)
    scppc_init();
#endif // (BLE_SP_CLIENT)

#if (BLE_BATT_SERVER)
    bass_init();
#endif // (BLE_BATT_SERVER)

#if (BLE_BATT_CLIENT)
    basc_init();
#endif // (BLE_BATT_CLIENT)

#if (BLE_HID_DEVICE)
    hogpd_init();
#endif // (BLE_HID_DEVICE)

#if (BLE_HID_BOOT_HOST)
    hogpbh_init();
#endif // (BLE_HID_BOOT_HOST)

#if (BLE_HID_REPORT_HOST)
    hogprh_init();
#endif // (BLE_HID_REPORT_HOST)

#if (BLE_GL_COLLECTOR)
    glpc_init();
#endif // (BLE_GL_COLLECTOR)

#if (BLE_GL_SENSOR)
    glps_init();
#endif // (BLE_GL_SENSOR)

#if (BLE_NEB_CLIENT)
    nbpc_init();
#endif // (BLE_NEB_CLIENT)

#if (BLE_NEB_SERVER)
    nbps_init();
#endif // (BLE_NEB_SERVER)

#if (BLE_RSC_COLLECTOR)
    rscpc_init();
#endif // (BLE_RSC_COLLECTOR)

#if (BLE_RSC_SENSOR)
    rscps_init();
#endif // (BLE_RSC_SENSOR)

#if (BLE_CSC_COLLECTOR)
    cscpc_init();
#endif // (BLE_CSC_COLLECTOR)

#if (BLE_CSC_SENSOR)
    cscps_init();
#endif // (BLE_CSC_SENSOR)

#if (BLE_AN_CLIENT)
    anpc_init();
#endif // (BLE_AN_CLIENT)

#if (BLE_AN_SERVER)
    anps_init();
#endif // (BLE_AN_SERVER)

#if (BLE_PAS_CLIENT)
    paspc_init();
#endif // (BLE_PAS_CLIENT)

#if (BLE_PAS_SERVER)
    pasps_init();
#endif // (BLE_PAS_SERVER)

#if (BLE_SAMPLE128)
    sample128_init();
#endif // (BLE_SAMPLE128)
}
Exemple #2
0
void prf_init_func(void)
{
    #if (BLE_ACCEL)
    accel_init();
    #endif // (BLE_ACCEL)

    #if (BLE_HT_THERMOM)
    htpt_init();
    #endif // (BLE_HT_THERMOM)

    #if (BLE_HT_COLLECTOR)
    htpc_init();
    #endif // (BLE_HT_COLLECTOR)

    #if (BLE_DIS_SERVER)
    diss_init();
    #endif // (BLE_DIS_SERVER)

    #if (BLE_DIS_CLIENT)
    disc_init();
    #endif // (BLE_DIS_CLIENT)

    #if (BLE_BP_SENSOR)
    blps_init();
    #endif // (BLE_BP_SENSOR)

    #if (BLE_BP_COLLECTOR)
    blpc_init();
    #endif // (BLE_BP_COLLECTOR)

    #if (BLE_TIP_SERVER)
    tips_init();
    #endif // (BLE_TIP_SERVER)

    #if (BLE_TIP_CLIENT)
    tipc_init();
    #endif // (BLE_TIP_CLIENT)

    #if (BLE_HR_SENSOR)
    hrps_init();
    #endif // (BLE_HR_SENSOR)

    #if (BLE_HR_COLLECTOR)
    hrpc_init();
    #endif // (BLE_HR_COLLECTOR)

    #if (BLE_FINDME_LOCATOR)
    findl_init();
    #endif // (BLE_FINDME_LOCATOR)

    #if (BLE_FINDME_TARGET)
    findt_init();
    #endif // (BLE_FINDME_TARGET)

    #if (BLE_PROX_MONITOR)
    proxm_init();
    #endif // (BLE_PROX_MONITOR)

    #if (BLE_PROX_REPORTER)
    proxr_init();
    #endif // (BLE_PROX_REPORTER)
    #if (BLE_STREAMDATA_HOST)
    streamdatah_init();
    #endif // (BLE_STREAMDATA_HOST)
    #if (BLE_STREAMDATA_DEVICE)
    streamdatad_init();
    #endif // (BLE_STREAMDATA_DEVICE)

    #if (BLE_SPOTA_RECEIVER)
    spotar_init();
    #endif // (BLE_SPOTA_RECEIVER)
    
    #if (BLE_SPS_CLIENT)
    sps_client_init();
    #endif // (BLE_SPS_CLIENT)
    #if (BLE_SPS_SERVER)
    sps_server_init();
    #endif // (BLE_SPS_SERVER)
    
    #if (BLE_SP_SERVER)
    scpps_init();
    #endif // (BLE_SP_SERVER)

    #if (BLE_SP_CLIENT)
    scppc_init();
    #endif // (BLE_SP_CLIENT)

    #if (BLE_BATT_SERVER)
    bass_init();
    #endif // (BLE_BATT_SERVER)

    #if (BLE_BATT_CLIENT)
    basc_init();
    #endif // (BLE_BATT_CLIENT)

    #if (BLE_HID_DEVICE)
    hogpd_init();
    #endif // (BLE_HID_DEVICE)

    #if (BLE_HID_BOOT_HOST)
    hogpbh_init();
    #endif // (BLE_HID_BOOT_HOST)

    #if (BLE_HID_REPORT_HOST)
    hogprh_init();
    #endif // (BLE_HID_REPORT_HOST)

    #if (BLE_GL_COLLECTOR)
    glpc_init();
    #endif // (BLE_GL_COLLECTOR)

    #if (BLE_GL_SENSOR)
    glps_init();
    #endif // (BLE_GL_SENSOR)

    #if (BLE_NEB_CLIENT)
    nbpc_init();
    #endif // (BLE_NEB_CLIENT)

    #if (BLE_NEB_SERVER)
    nbps_init();
    #endif // (BLE_NEB_SERVER)

    #if (BLE_RSC_COLLECTOR)
    rscpc_init();
    #endif // (BLE_RSC_COLLECTOR)

    #if (BLE_RSC_SENSOR)
    rscps_init();
    #endif // (BLE_RSC_SENSOR)

    #if (BLE_CSC_COLLECTOR)
    cscpc_init();
    #endif // (BLE_CSC_COLLECTOR)

    #if (BLE_CSC_SENSOR)
    cscps_init();
    #endif // (BLE_CSC_SENSOR)

		#if (BLE_CP_COLLECTOR)
		cppc_init();
		#endif // (BLE_CP_COLLECTOR)

		#if (BLE_CP_SENSOR)
		cpps_init();
		#endif // (BLE_CP_SENSOR)

    #if (BLE_LN_COLLECTOR)
    lanc_init();
    #endif // (BLE_LN_COLLECTOR)

    #if (BLE_LN_SENSOR)
    lans_init();
    #endif // (BLE_LN_SENSOR)

    #if (BLE_AN_CLIENT)
    anpc_init();
    #endif // (BLE_AN_CLIENT)

    #if (BLE_AN_SERVER)
    anps_init();
    #endif // (BLE_AN_SERVER)

    #if (BLE_ANC_CLIENT)
    ancc_init();
    #endif // (BLE_ANC_CLIENT)
    
    #if (BLE_PAS_CLIENT)
    paspc_init();
    #endif // (BLE_PAS_CLIENT)

    #if (BLE_PAS_SERVER)
    pasps_init();
    #endif // (BLE_PAS_SERVER)
    
    #if (BLE_SAMPLE128)
    sample128_init();
    #endif // (BLE_SAMPLE128)
    
		#if (BLE_WPT_CLIENT)
    wptc_init();
    #endif // WPT_CLIENT
    
    #if (BLE_WPTS)
    wpts_init();
    #endif // BLE_WPTS
	
    #if (BLE_IEU)  
    ieu_init();
    #endif // (BLE_IEU)

    #if (BLE_MPU)   
    mpu_init();
    #endif // (BLE_MPU)
	
    #if (BLE_UDS_SERVER)
    udss_init();
    #endif // (BLE_UDS_SERVER)

    #if (BLE_WSS_SERVER)
    wsss_init();
    #endif // (BLE_WSS_SERVER)
		
		// aiwesky 20151004 wechat 
		#if (BLE_WECHAT)
		wechat_init();
		#endif // (BLE_WECHAT)
		

}