Hello Nordic Forum, I am working on a project involving data transmission from an nRF52840 board to an Android application, and I would appreciate guidance and insights from the community.
Project Objective: I aim to modify an existing Java application in Android Studio to seamlessly receive, process, and store sensor data from the nRF52840 board. The focus is on efficient data handling and reliable storage on the Android device.
Project Details: Hardware: I am utilizing the nRF52840 board for its BLE and wireless connectivity capabilities. Software: The existing Java application in Android Studio needs modification to accommodate data reception and processing. Communication: Two-way communication between the board and Android device is established using Bluetooth (or USB). Data Transmission: Sensor Data: The nRF52840 board collects sensor data, which can include integers, floats, and possibly other data types.
The specific format needs to be determined. Frequency: I need to transmit and store 12 data points per second continuously for 5 minutes, resulting in a total data size of 216 kilobytes.
Requested Assistance: Data Handling and Storage: I welcome suggestions for Android libraries or APIs that can streamline data handling, processing, and storage. Examples or references to specific libraries that integrate well with Java applications would be highly valuable. Data Verification and Toast Message:
Additionally, I want to implement a feature where the app verifies if the sensor data on the nRF52840 board has been modified or is empty. If changes are detected, the app should initiate a download of the newest data. A toast message should notify the user when a download is in progress or completed. Guidance on implementing this feature is much appreciated.
Thank you in advance for your help. I look forward to any insights and recommendations the community can offer to tackle these challenges effectively.
Best regards,
Edam CHAABEN