Searched refs:TASK_APP (Results 1 – 9 of 9) sorted by relevance
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/profile/ |
| A D | app.c | 174 ke_task_create(TASK_APP, &TASK_DESC_APP); in appm_init() 176 ke_state_set(TASK_APP, APPM_INIT); in appm_init() 209 …E_MSG_ALLOC(GAPC_DISCONNECT_CMD,KE_BUILD_ID(TASK_GAPC, app_env.conidx), TASK_APP,gapc_disconnect_c… in appm_disconnect() 217 if (ke_state_get(TASK_APP) == APPM_READY) in appm_start_advertising() 220 …t_advertise_cmd *cmd = KE_MSG_ALLOC(GAPM_START_ADVERTISE_CMD,TASK_GAPM, TASK_APP,gapm_start_advert… in appm_start_advertising() 242 ke_state_set(TASK_APP, APPM_ADVERTISING); in appm_start_advertising() 253 if (ke_state_get(TASK_APP) == APPM_ADVERTISING) in appm_stop_advertising() 256 ke_state_set(TASK_APP, APPM_READY); in appm_stop_advertising() 258 … struct gapm_cancel_cmd *cmd = KE_MSG_ALLOC(GAPM_CANCEL_CMD,TASK_GAPM, TASK_APP,gapm_cancel_cmd); in appm_stop_advertising() 268 …KE_MSG_ALLOC(GATTC_EXC_MTU_CMD,KE_BUILD_ID(TASK_GATTC, app_env.conidx), TASK_APP,gattc_exc_mtu_cmd… in appm_set_mtu() [all …]
|
| A D | app_task.c | 111 return (uint8_t)(handler.func(msgid, param, TASK_APP, src_id)); in appm_get_handler() 173 TASK_GAPM, TASK_APP, in gapm_device_ready_ind_handler() 244 ke_state_set(TASK_APP, APPM_CREATE_DB); in appm_gapm_cmp_evt_handler() 307 TASK_GAPM, TASK_APP, gapm_get_dev_info_cmd); in appm_gapm_cmp_evt_handler() 319 ke_state_set(TASK_APP, APPM_READY); in appm_gapm_cmp_evt_handler() 477 if (ke_timer_active(APP_ADV_TIMEOUT_TIMER, TASK_APP)) in gapc_connection_req_ind_handler() 479 ke_timer_clear(APP_ADV_TIMEOUT_TIMER, TASK_APP); in gapc_connection_req_ind_handler() 484 KE_BUILD_ID(TASK_GAPC, app_env.conidx), TASK_APP, in gapc_connection_req_ind_handler() 494 ke_state_set(TASK_APP, APPM_CONNECTED); in gapc_connection_req_ind_handler() 572 KE_BUILD_ID(TASK_GAPC, app_env.conidx), TASK_APP, in appm_gapc_param_updated_req_ind_handler() [all …]
|
| A D | app_user.c | 79 ke_timer_set(GAPM_DEVICE_READY_IND, TASK_APP, 10); //10M后复位 in app_user_init() 88 …sk_add_cmd *req = KE_MSG_ALLOC_DYN(GAPM_PROFILE_TASK_ADD_CMD,TASK_GAPM, TASK_APP,gapm_profile_task… in add_users() 93 req->app_task = TASK_APP; in add_users() 116 TASK_APP, in data_notify_onePackage() 136 TASK_APP, in data_notify()
|
| A D | app_batt.c | 87 …sk_add_cmd *req = KE_MSG_ALLOC_DYN(GAPM_PROFILE_TASK_ADD_CMD,TASK_GAPM, TASK_APP,gapm_profile_task… in app_batt_add_bas() 92 req->app_task = TASK_APP; in app_batt_add_bas() 110 … * req = KE_MSG_ALLOC(BASS_ENABLE_REQ,prf_get_task_from_id(TASK_ID_BASS),TASK_APP,bass_enable_req); in app_batt_enable_prf() 126 …E_MSG_ALLOC(BASS_BATT_LEVEL_UPD_REQ, prf_get_task_from_id(TASK_ID_BASS),TASK_APP,bass_batt_level_u… in app_batt_send_lvl()
|
| A D | app_sec.c | 107 … KE_BUILD_ID(TASK_GAPC, app_env.conidx), TASK_APP, gapc_security_cmd);// Security request in app_sec_send_security_req() 133 struct gapc_bond_cfm *cfm = KE_MSG_ALLOC(GAPC_BOND_CFM,src_id, TASK_APP,gapc_bond_cfm); in gapc_bond_req_ind_handler() 318 ke_state_set(TASK_APP, APPM_ENCRYPTED);//lizhk add in gapc_bond_ind_handler() 387 struct gapc_encrypt_cfm *cfm = KE_MSG_ALLOC(GAPC_ENCRYPT_CFM,src_id, TASK_APP,gapc_encrypt_cfm); in gapc_encrypt_req_ind_handler() 439 ke_state_set(TASK_APP,APPM_ENCRYPTED); in gapc_encrypt_req_ind_handler() 471 ke_state_set(TASK_APP, APPM_ENCRYPTED); in gapc_encrypt_ind_handler()
|
| A D | user_task.c | 344 if (ke_state_get(TASK_APP)!= APPM_ENCRYPTED) in user_gattc_read_req_ind_handler()
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/ |
| A D | rwble_hl_config.h | 40 #define APP_MAIN_TASK TASK_APP
|
| A D | rwip_config.h | 651 TASK_APP, enumerator
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/ |
| A D | n32wb452_ble_api.c | 203 ble_state = ke_state_get(TASK_APP); in bt_state_get()
|
Completed in 17 milliseconds