Instead of incrementing the notificatin value via xTaskNotifyGive this will now set a specific bit in the task notification value
which will be tested before blocking a task. This will prevent a task from blocking indefinitely if the event that calls taskRelease
occurs before entering the blocked state.
Adds a config setting for the bit to set in the task notification value.
Instead of incrementing the notificatin value via
xTaskNotifyGive
this will now set a specific bit in the task notification value which will be tested before blocking a task. This will prevent a task from blocking indefinitely if the event that callstaskRelease
occurs before entering the blocked state.Refactor NimBLEClient::connect and NimBLEClient::secureConnection.
This change ensures that only the function that sets
m_pTaskData
clears it, potentially preventing a segmentation fault.Fixes #222