Struggling with this for two full days now, so I'm finally crying for help...
What I want to do is to send a byte array from my MIT AI2 app to a BLE beacon that I have connected to.
Everything works fine. I'm connected successfully, I can read data from various characteristics (ReadBytes and ReadStrings), etc. Now I need to send a byte array in order to UNLOCK the beacon so I can make some changes to the configuration of the beacon.
In nRF Connect, I simply send 0x30303030303030303030303030303030 (hex for 0000000000000000) to the correct characteristic UUID, and violá, the beacon is unlocked. Now I am trying to do the same in my MIT AI2 app.
I have tried every variation of WriteBytes, WriteStrings, WriteInts, etc. etc. that I have found in the forums, but nothing works...here's are just a few examples of the many approaches that I have tried:
Any suggestions would be greatly appreciated!