コード例 #1
0
ファイル: disc.c プロジェクト: nephen/BluetoothLamp
void disc_init(void)
{
	// Register DISC task into kernel
    task_disc_desc_register();

    // Reset all the profile role tasks
    PRF_CLIENT_RESET(disc_envs, DISC);
}
コード例 #2
0
ファイル: tipc.c プロジェクト: charliexp/FireBLE
void tipc_init(void)
{
    // Register TIPC task into kernel
    task_tipc_desc_register();

    // Reset all the profile role tasks
    PRF_CLIENT_RESET(tipc_envs, TIPC);
}
コード例 #3
0
ファイル: scppc.c プロジェクト: charliexp/FireBLE
void scppc_init(void)
{
	// Registet SCPPC task into kernel
	task_scppc_desc_register();

    // Reset all the profile role tasks
    PRF_CLIENT_RESET(scppc_envs, SCPPC);
}
コード例 #4
0
ファイル: basc.c プロジェクト: nephen/BluetoothLamp
void basc_init(void)
{
	// Register BASC task into kernel
    task_basc_desc_register();

    // Reset all the profile role tasks
    PRF_CLIENT_RESET(basc_envs, BASC);
}
コード例 #5
0
ファイル: cscpc.c プロジェクト: GurjeetSPannu/WearWare-BTLE
void cscpc_init(void)
{
    // Register CSCPC TASK into kernel
    task_cscpc_desc_register();
    
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(cscpc_envs, CSCPC);
}
コード例 #6
0
ファイル: qppc.c プロジェクト: nephen/BluetoothLamp
void qppc_init(void)
{
    // Register QPPC task into kernel
    task_qppc_desc_register();

    // Reset all the profile role tasks
    PRF_CLIENT_RESET(qppc_envs, QPPC);
}
コード例 #7
0
ファイル: tips.c プロジェクト: FuangCao/jwaoo-toy
/*
 * FUNCTION DEFINITIONS
 ****************************************************************************************
 */
void tips_init(void)
{
    PRF_CLIENT_RESET(tips_idx_envs, TIPS);

    // Reset Environment
    memset(&tips_env, 0, sizeof(tips_env));

    // Create TIPS task
    ke_task_create(TASK_TIPS, &TASK_DESC_TIPS);

    // Go to IDLE state
    ke_state_set(TASK_TIPS, TIPS_DISABLED);
}
コード例 #8
0
ファイル: pasps.c プロジェクト: GumpYangchh/wuzhuangbo
void pasps_init(void)
{
    PRF_CLIENT_RESET(pasps_idx_envs, PASPS);

    // Reset Common Environment
    memset(&pasps_env, 0, sizeof(struct pasps_env_tag));

    // Create PASPS task
    ke_task_create(TASK_PASPS, &TASK_DESC_PASPS);

    // First instance goes to IDLE state
    ke_state_set(TASK_PASPS, PASPS_DISABLED);
}
コード例 #9
0
ファイル: anps.c プロジェクト: FuangCao/jwaoo-toy
void anps_init(void)
{
    PRF_CLIENT_RESET(anps_idx_envs, ANPS);

    // Reset Common Environment
    memset(&anps_env, 0, sizeof(anps_env));

    // Create ANPS task
    ke_task_create(TASK_ANPS, &TASK_DESC_ANPS);

    // First instance goes to IDLE state
    ke_state_set(TASK_ANPS, ANPS_DISABLED);
}
コード例 #10
0
ファイル: rscpc.c プロジェクト: GumpYangchh/wuzhuangbo
void rscpc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(rscpc_envs, RSCPC);
}
コード例 #11
0
ファイル: wptc.c プロジェクト: HerianHe/NFC
void wptc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(wptc_envs, WPTC);
}
コード例 #12
0
ファイル: basc.c プロジェクト: yangchengxcy/da14580
void basc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(basc_envs, BASC);
}
コード例 #13
0
ファイル: glpc.c プロジェクト: FuangCao/jwaoo-toy
void glpc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(glpc_envs, GLPC);
}
コード例 #14
0
ファイル: hogpbh.c プロジェクト: yangchengxcy/da14580
void hogpbh_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(hogpbh_envs, HOGPBH);
}
コード例 #15
0
ファイル: disc.c プロジェクト: GumpYangchh/wuzhuangbo
void disc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(disc_envs, DISC);
}
コード例 #16
0
ファイル: scppc.c プロジェクト: imGit/DA14580
void scppc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(scppc_envs, SCPPC);
}
コード例 #17
0
ファイル: proxm.c プロジェクト: GumpYangchh/wuzhuangbo
void proxm_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(proxm_envs, PROXM);
}
コード例 #18
0
ファイル: streamdatah.c プロジェクト: FuangCao/jwaoo-toy
void streamdatah_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(streamdatah_envs, STREAMDATAH);
}
コード例 #19
0
ファイル: htpc.c プロジェクト: GumpYangchh/wuzhuangbo
void htpc_init(void)
{
    // Reset all the profile role tasks
    PRF_CLIENT_RESET(htpc_envs, HTPC);
}