Hi,
I am developing a react native app with the iOS and Android NRF mesh lbrary. In this app I am handling connection, data receiving on characteristic and sending on write characteristic (after segmenting based on mtu).
For Android this was straight forward as it gave callbacks: getMtu(), onPduCreated(byte[] pdu), handleNotifications(byte[] pdu) and handleWriteCallbacks(byte[] pdu). This gave simple byte data to send and receive on the app side
In iOS example app though it was using GattBearer where writing to the characteristic happened inside the library itself and it required CBPeripheral object to work with.
How do I setup the iOS library to make it work similar to android. i.e. let it handle only the data and assembling the pdu. Actual BLE interaction letting the app handle it.
This is important since the ble setup is common code in the react native app and would prefer to keep it that way.