你好,请问下如何知道simplelink_Even里的各种事件是在什么情况下就会触发吗?例如:void SimpleLinkGeneralEventHandler(SlDeviceEvent_t *pDevEvent)处理一般事件的函数,在demo里有SL_DEVICE_EVENT_RESET_REQUEST,我该从哪里获取到什么情况下会触发这种事件呢?哪些文档有说明这些事件的原因?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,请问下如何知道simplelink_Even里的各种事件是在什么情况下就会触发吗?例如:void SimpleLinkGeneralEventHandler(SlDeviceEvent_t *pDevEvent)处理一般事件的函数,在demo里有SL_DEVICE_EVENT_RESET_REQUEST,我该从哪里获取到什么情况下会触发这种事件呢?哪些文档有说明这些事件的原因?
可以在CCS中直接查找
/*! \brief SimpleLinkGeneralEventHandler This handler gets called whenever a general error is reported by the NWP / Host driver. Since these errors are not fatal, application can handle them. \param pDevEvent - pointer to device error event. \return void \note For more information, please refer to: user.h in the porting folder of the host driver and the CC31xx/CC32xx NWP programmer's guide (SWRU455). */