Asset tracking architecture with Bluetooth Low Energy tags and ad hoc smartphone applications