Help with Arduino 101 BLE

Hello,
I have been trying to work on a project using an Arduino 101. I want it to send a text message via Bluetooth. I don't want to use a shield when I have BLE I can use. I want to develop something that will send a text message to my phone when it is paired to Bluetooth. I want it to only send when my phone is paired to Bluetooth. I don't want to make it as complex as an app because that would take too much time. I want anyone who could help to write some sample and exportable code which I can use in another project that will send a text message.
Thanks for you help,
Aditya
P.S. Please don't suggest any idea using a shield because all I am after here is using the BLE capabilities of an Arduino 101!