onConnection callback for BLEDevice

31 May 2015

I am currently looking into using BLE with mbed. (I'm new to BLE in general) The Getting started guide and the documentation are great but I might have found something that's missing.

On https://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/docs/ca6b956b33d1/classBLEDevice.html, there is a function called onDisconnection that allows to set a custom callback function to be called as a disconnection occurs.

When I look at the code, there seem to be also a onConnection() function. Is there any reason to why this one is not documented ?

Regards