I would like to connect to a Bluetooth Low Energy (BTLE, Bluetooth Smart) device using a linux box with bluez and a bluetooth dongle.  I have Orico BTA-402 dongle with CSR chipset; Ubuntu 14.04.  I figured out how to make it the dongle appear as a device to a phone (hciconfig hci0 leadv 3). What I would like is the opposite, for the dongle/linux box to scan for devices, connect to a device, enumerate characteristics, and read/write them.  How do I do that?
Using bluez to access Bluetooth Low Energy devices?
bluetooth;bluez