Adl_ad_ret_err_not_available

Good morning,

I have a problem with DOTA, that I do not know how to resolve it is my first application using DOTA, I followed an example that was last here in the forum.

The problem is the following, when I call the function adl_adsubscribe, he returns the following error ADL_AD_RET_ERR_NOT_AVAILABLE, I was looking at the documentation that error is the explanation “ADL_AD_RET_ERR_NOT_AVAILABLE if there is no A&D space avaliable on the product” .

I used the function of the following ways:

DOTA_Cell_Handle = adl_adSubscribe (0, ADL_AD_SIZE_UNDEF);

DOTA_Cell_Handle = adl_adSubscribe (1, ADL_AD_SIZE_UNDEF);

If you can help me, thank you

Try AT+WOPEN=6 to check for available space…

See the AT Commands manual for further details

DOTA_Cell_Handle = adl_adSubscribe (0, ADL_AD_SIZE_UNDEF);

DOTA_Cell_Handle = adl_adSubscribe (1, ADL_AD_SIZE_UNDEF);

Why do you call adSubscribe for the second time with undifined cell size again? ( you should normally get ADL_RET_ERR_BAD_STATE int this time, but who knows maybe that is the problem )

Please do as awneil suggested and also check the WOPEN=6 message.

And always post firmware and OAT version!

Cheers,
tom