regarding ble

I want to send sensor data via bluetooth. I tried the sample code for ble both in light blue and GATT browser application but the connection has not been established.please instruct me an alternative way or else give some sugesstions to upload sensor data in cloud.