Problems and solutions in setting up a low-cost Bluetooth positioning system