This function provides abundant operations for you to add/delete/configure the device, and query device details.