Record and transmit high-speed samples
Hello, I would like to repeatedly record and transmit a few seconds of high-speed data. I will probably end up playing with the exact timing, but I am thinking I would like to record about 5 or 10 seconds of data at a high sampling rate. This data sample would then be transmitted and saved to a cloud drive where I will pick it up with another program for analysis and user feedback. I would like to repeat this process every 30-60 seconds to gather many short data samples. I can do this all manually through the example MetaWear app, but I would like to automate the process. I am using Swift and iOS, but would appreciate example code from any language. Can anybody point me towards examples similar to this or give advice regarding the best approach? Thank you!