You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been tryingg to get SocEvents by calling run_with_callback. However, not event arrives. I've been able to debug, and in events#run_soc the error seems to be NotFound (5). I'm testing this with nrf52840 and S140.
The text was updated successfully, but these errors were encountered:
NotFound just means there are no SOC events available at that point in time. You do need to configure the softdevice to generate the events you're interested in. For example, to get USB power events you need to call:
use nrf_softdevice::raw;
raw::sd_power_usbremoved_enable(1);
raw::sd_power_usbdetected_enable(1);
raw::sd_power_usbpwrrdy_enable(1);
I've been tryingg to get SocEvents by calling run_with_callback. However, not event arrives. I've been able to debug, and in events#run_soc the error seems to be NotFound (5). I'm testing this with nrf52840 and S140.
The text was updated successfully, but these errors were encountered: