Ok I see,
I think the best reference is the android application source code. You can see how interface with the BLE is implemented there.
Otherwise I have made a basic python script that will connect over BLE a while ago, it could be a starting point :
Thanks
Yves