Connection Loss / Max range on swift
Hardware revision [0.2]
Firmware revision [1.5.0]
Model number 
Device model [iPad Pro (11 inches)]
OS version [13.4.1]
We developed a python base solution for gesture recognition on accelerometer data, thanks to a Metawear C device. We recently bought some others devices to adapt the solution on iOS, thanks to the Swift API. Unfortunately, we observed many connection losses between the iPad and the accelerometers.
We then wrote a small python code to analyze data sent by the accelerometer. This code corresponds to the python.txt file. Basically it consists of different records of the accelerometer in different situations: We start at rest on the same table than the receiver, we then move the accelerometer on the table, under the table, we bring it to an other room 5 meters far from the receiver, move in that room and come back. As a result, we saw some packages lost at long distance but the signal was mainly transmitted.
We then performed the same experiment with the Swift API. We modified the DeviceControllerView of the Template App in the iOS SDK, to include a Start and a Stop button. Please find the corresponding file, swift_test.txt, included. Please also note that the aggregated data are not written on disk, as for the python version, but printed on the terminal when the stop button is pressed.
We performed the experiment several times and observed the same pattern:
On press of the Start button, the experiment starts. Everything works well until we move more than 2 meters far from the receiver. Then the streaming stops and nothing is printed anymore in the terminal, nor new data aggregated.
Press on the stop button will eventually work, but the stream has already been broken.
Since our target users could move from their iPad a bit, we would like to know how to solve these stream losses.