Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot easily delete aldb record from PLM #211

Open
rpdrewes opened this issue Dec 22, 2019 · 2 comments
Open

cannot easily delete aldb record from PLM #211

rpdrewes opened this issue Dec 22, 2019 · 2 comments
Labels

Comments

@rpdrewes
Copy link

The del_aldb command works to delete records from non-PLM devices, by setting inuse flag to 0, but it seems to have no effect on the PLM. The records still stay inuse 1 when deleted.

I have seen references in other Issues that the aldb on the PLM is different than the aldbs on the non-PLM devices, but I'm at a loss as to how to delete records from the PLM without using button-unlinking or a full factory reset of the PLM (followed by relinking the desired devices).

Am I missing something?
Thanks

@teharris1
Copy link
Collaborator

The method for doing his is to use the PLM manage_aldb_record method. There is no way to directly manage an ALDB record in the modem. What this method requires is to set the control_code which determines the action to take on a link (not a record directly). Have a look at the doc string at the top of the method :

Control Code values:

@teharris1
Copy link
Collaborator

@rpdrewes hopefully this answers your question. Let me know if it does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants