Nano v2 send data array via BLE Charactertic


#1

I am using the BLE Nano v2, and I am trying to figure out how on Arduino I can have an array of data e.g. sensor values and then one the user connects that data is sent out via NOTIFY/INDICATE. Or what I think should be easier is that if the array is already on the device, then when the user request READ it should READ all the stored data. The array would be bigger than 20 bytes so I would expect it to read out one value at a time (the values are floats so 4 bytes). Does anyone have an idea on how I could achieve this?