False ADL_RET_ERR_ALREADY_SUBSCRIBED

Hi.
I’m using OAT 3.02 OS 6.51
This problem manisfests on RTE and Target mode.

When I try to subscribe to a Cell I get the error [color=darkred]ADL_RET_ERR_ALREADY_SUBSCRIBED, but I’m not doing a previous subscription. When I use [color=blue]wm_lstGetCount I get cero so I don’t know where is the supposed cell. I can’t unsubscribe or delete the cell because I never susbcribed to and I don’t have any handler for it. I tried erasing the modules’ memory and the RTE directory that holds the sync. data on RTE mode, it keeps happening. When I try to subscribe to other Cell ID I get ([color=darkred]-22) wich is in [color=blue]adl_ad.h as [color=darkred]ADL_AD_RET_ERROR. This started happening suddenly, every subscription was working fine, not sure what I did.

Thanks in advance for any comment.

Hi Juanc,
It seems that there is some problem with the A&D storage memory in your case. Please use adl_adFormat () API in your application and before subscribing to the cell and then see if the problem occurs.

Please note that you should not use adl_adFormat () API every time your application starts because it will clear all the data that is stored in A&D storage. I advise you to use this API in order to solve the problem of ADL_RET_ERR_ALREADY_SUBSCRIBED when the cell has not been already subscribed.

Best Regards,
Open AT Fan.