devSetLabel function

Sets the label of a device