SmartLoss participants were prescribed a @,@ to @,@ 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 .