I wasn’t sure if GitHub or the forum was the right place for this, so I am cross-posting.
We have a sensor that acquires data at about 4 kB/second, and we have noticed that we cannot feed it to the Notecard fast enough to keep up with the pace of data acquisition. We looked into what the fundamental rate limitation is, and it seems like it’s ultimately driven by a maximum segment length of 250 bytes combined with an intra-segment delay of 250 ms. Assuming instantaneous i2c or serial transfer to the Notecard, that implies a maximum possible throughput to the Notecard of 1 kB/sec. Is that right? If so, is there anything that we could do to speed this up so that we can keep up with our sensor?
Could you expand a little on what you’re trying to achieve? The Notecard isn’t designed to stream data like you are suggesting and I think you’ll run into limitations with the size of available flash for notefiles, let alone burning through your API usage allowance. I’ll take a look into note-c and see if I can verify this for you; I want to make you aware of the potential issues with trying to stream data with Notecard.
I am aware of the limitations! We’re not trying to stream data 24/7 from this sensor, but we do notice that we have to buffer the data on our own MCU because the i2c/serial pipe to the Notecard seems to be the rate limiter in the system.