im thinking of making an app that sends two separate bytevalues to the app. like- lets say im using an nrf52840 sense and i want to use its thermosensor AND its microphone at the same time and want to receive both information from the arduino and store it in google drive. im familiar with storing files on google drive now but is it possiible? to save audio recording taken from the nrf? i was thinking of using multiple uuids but bluetoothle has only one charuuid input
like this
and i think if i put the other uuid like audiouuid in charuuid for registering bytes AND a different one for detecting stuff on thermosensor, it would not work. how does one overcome multiple functions being performed by bluetooth module?
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.UUID android.bluetooth.BluetoothGattCharacteristic.getUuid()' on a null object reference at edu.mit.appinventor.ble.BluetoothLEint$BLEOperation.registerPendingOperation(BluetoothLEint.java:257) at edu.mit.appinventor.ble.BluetoothLEint$BLEReadOperation.subscribe(BluetoothLEint.java:356) at edu.mit.appinventor.ble.BluetoothLEint$BLEReadOperation.run(BluetoothLEint.java:325) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:211) at android.os.Looper.loop(Looper.java:300) at android.app.ActivityThread.main(ActivityThread.java:8348) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028) Note: You will not see another error reported for 5 seconds. i am getting this error.
i am making an app that records sound with the help of my nrf52840 sense's microphone. the data is transmitted in small chunks and makes it into bytes to base64 and sends it to mit app that the, joins all of it up, and then sends it to google drive basically.