Bluetooth LE data processing (100 packets/s)
I want to use a BLE device as an input for a game in unity. The data is being advertised at 100 packets/s and since I am relatively new to unity I was wondering how I can reliably receive the data for further processing.
For example in Android every time a new packet is ready I would get a callback where I could then process the data further.
I am unsure on how I could achieve this within unity. The Update() method would probably be to slow, but how about fixedUpdate()? Would it be reliable if I set it to run every 10ms to match the 100 packets/s or is there a better alternative?
Your answer
Follow this Question
Related Questions
How to connect Windows and Android applications with bluetooth. 2 Answers
Unity BLE Bluetooth from BNO055 connected to Arduino 2 Answers
Bluetooth Connection for Android Multiplayer Game? 0 Answers
moving in head direction (android/cardboard/bluetooth ctrl) Please help.... 0 Answers
bluetooth AR gun with android 0 Answers