SmartLoss participants were prescribed a 1,200 to 1,400 kcal/d diet and were provided with a smartphone , body weight scale , and accelerometer that wirelessly transmitted body weight and step data to a website .