I am a student finishing my degree, attempting to finish my last project which is designing a wireless motion sensing device that works with an android application. I am using Nicla Sense ME board that connects via BLE to my Galaxy s6 host device Bluetooth version 7.0 Android 7.0 for phone, Bluetooth info for Arduino attatched via picture below. My application starts up, connects to my Arduino (Arduino LED red IF not connected and App label change to "Connected" indicate a connection), but then never receives the data that my Arduino is sending.
I have tested my Arduino sketch/board using serial monitor and LightBlue BLE Development application. I am receiving BLE data on LightBlue and Serial monitor prints various strings throughout entire program so It seems to be doing its part. I attatched my code.
I am not worried about getting everything to work right now, I know there is work I have to do still. I want to get to where the "set Label 1 ( OR 4 ) test to "data found" shows up on my application, then I can work through making sure the comparison operations and other things are working.
I am currently attempting to send data as strings and shorts, I have tried other data types with no change in problem. Any advice would be greatly appreciated
ProjectCode.ino (6.2 KB)