setCallback

abstract fun setCallback(callback: BlePeripheralHal.Callback)

Registers the Callback receiver for asynchronous BLE peripheral events.