I just wrote up some examples on how to send data over a connection, so this might be some help for you: http://www.espruino.com/BLE+Communications#streaming-data
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just wrote up some examples on how to send data over a connection, so this might be some help for you: http://www.espruino.com/BLE+Communications#streaming-data