Unable to register / delete device