I’m new to Ionic (and JS) and I’m developing an app that read data from bluetooth devices. I have an history page where I need to show the history data of each device selected from a list. The data that I need to store/show are:
An uint8array buffer with 225 elements (the main history data)
one pointer (number)
one date (string) dd/mm/yy hh:mm:ss
My idea is to use Ionic Storage, taking the bluetooth address like key, but I’m not sure how to store all data to value. I was reading that I can save a JSON object but I’m not sure if I can use it in my case. My first idea is store all data like concatenated strings but maybe exists a better solution (and transparent) to save all the data without converting anything.
Any guidance or help?