1. A method comprising: receiving, by one or more processors of a master device and from a peripheral device, information for controlling the peripheral device, the information for controlling the peripheral device including: information identifying a voice command associated with the peripheral device, and information identifying a function corresponding to the voice command; receiving, by the one or more processors and from a user, the voice command; identifying, by the one or more processors, the peripheral device based on a portion of the voice command; obtaining, by the one or more processors, the information for controlling the peripheral device based on identifying the peripheral device; and causing, by the one or more processors, the peripheral device to perform the function based on receiving the voice command and the obtained information for controlling the peripheral device.