你好,请问下如何知道simplelink_Even里的各种事件是在什么情况下就会触发吗?例如:void SimpleLinkGeneralEventHandler(SlDeviceEvent_t *pDevEvent)处理一般事件的函数,在demo里有SL_DEVICE_EVENT_RESET_REQUEST,我该从哪里获取到什么情况下会触发这种事件呢?哪些文档有说明这些事件的原因?
Kevin Qiu1:
可以在CCS中直接查找/*!\briefSimpleLinkGeneralEventHandlerThis handler gets called whenever a general error is reportedby the NWP / Host driver. Since these errors are not fatal,application can handle them.\parampDevEvent-pointer to device error event.\returnvoid\noteFor more information, please refer to:user.h in the portingfolder of the host driver and theCC31xx/CC32xx NWP programmer'sguide (SWRU455).*/