Both of the are achieved through a mini USB connection from your PC to the back of the unit.