tau_initEcspCtrl publishes Ecsp ctrl packet with data size 0 and NULL data.
When trying to add data with tau_setEcspCtrl the call to tlp_put will fail to TRDP_PARAM err.
This is due to trdp_pdPut check that fails when data size is different than published data size.
tau_setEcspCtrl should tlp_republish instead of tlpPut
Patched to republish and allow removing data with NULL data parameter.
Still needs input if it is better to use tlp_put if we change data, but not data size.
There is the feature that allows to initialise the publishing of PD without sending it already. This was partly connected to dataSize == 0. The correct behaviour is, that tlp_publish gets the correct data size but in case sending shall not start yet pData == NULL. With the update also tlp_publish, tlp_put and trdp_pdPut are supporting correctly this feature.