Analyzing Fitbit Flex's protocol