I am able to send data by creating a thread in the nRF. The reason for this is every once in a while the send() command hangs and trips the watchdog.
I have a separate timer that triggers the thread to abort, but when I attempt to create a new thread, I get the following:
.ASSERTION FAIL [z_spin_lock_valid(l)] @ WEST_TOPDIR/zephyr/include/spinlock.h:129
I believe this to happen as it is a blocking send and a spin lock is applied and valid. Is there a way to remove the spinlock before aborting the thread or to reset this behavior and create a new thread to send data?