雷竞技电竞平台Dialog Semiconductor客户支持-定期发送数据 https://support.dialog-semiconductor.com/resource-keywords/periodical-tx-data app_timer_set https://support.dialog-semiconductor.com/apptimerset-0 < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >在需求方设备项目< / p > < p >步骤1:< br / >走读生const结构ke_msg_handler user_spss_process_handlers [] = < br / > {< br / > {SPS_SERVER_CREATE_DB_CFM, (ke_msg_func_t) user_sps_create_db_cfm_handler}, < br / > {SPS_SERVER_ENABLE_CFM, (ke_msg_func_t) user_sps_server_enable_cfm_handler}, < br / > {SPS_SERVER_DATA_TX_CFM, (ke_msg_func_t) user_sps_server_data_tx_cfm_handler}, < br / > {SPS_SERVER_DATA_RX_IND,(ke_msg_func_t)user_sps_server_data_rx_ind_handler},
{SPS_SERVER_TX_FLOW_CTRL_IND, (ke_msg_func_t)user_sps_server_tx_flow_ctrl_ind_handler},
{SPS_SERVER_ERROR_IND, (ke_msg_func_t)user_sps_server_data_rx_ind_handler},
{APP_SAMPLE128_TIMER,

step 2:
int sample128_timer_handler(ke_msg_id_t const msgid,
void const *param,
ke_task_id_t const dest_id,
ke_task_id_t const src_id);/ /声明< / p > < p >步骤3:< br / > int sample128_timer_handler (ke_msg_id_t const是否,< br / >空白const *参数,< br / > ke_task_id_t const dest_id, < br / > ke_task_id_t const src_id) / /定义< br / > {< / p > < p > app_timer_set (APP_SAMPLE128_TIMER TASK_APP 600); < / p > < p >返回(KE_MSG_CONSUMED); < br / >} < / p > < p >步骤4:计时器叫< / p > < p >空白user_ble_pull (bool init, bool成功)< br / > {< br / >如果(init) < br / > {< br / > app_timer_set (APP_SAMPLE128_TIMER TASK_APP 600); < br / > user_send_ble_data (p_data、长度),< br / >} < br / >其他{< br / > user_send_ble_data (p_data、长度),< br / >} < br / >} < / p > < p >问题:< br / >代码总是站在这里…/ * * hardfault_handeler * *……
if ((GetWord16(SYS_STAT_REG) &DBG_IS_UP) = = DBG_IS_UP) < br / > __asm(“BKPT # 0 \ n”);其他< br / > < br / >, (1); < / p > < p >可能是什么问题…我这样做对吗?

Device: 
2016年7月7日星期四09:39:25 +0000 prasanth.velliyangiri 4106年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/apptimerset-0#comments