Notefile size -- with or without a template

Will using a template reduce (or increase) the size of the Notefile being written to the Notecard (vs no template)?

regards, Rich

Hi @richf,

Yes, definitely! Templated Notes are stored as fixed-length binary records vs JSON objects, so they are much smaller in size. See note.template and the low bandwidth guide for more details.

Thanks,
Rob

Hi Rob,

Thx for the quick response … can a Template include an array? For example, an array with a fixed element order of Boolean,String,Integer, Float …
[true,“10”,12,12.1]

regards, Rich …

Hi @richf,

Note templates do not provide support for a data type of array. However, as of the most recent firmware release (3.2.1), variable-length strings are now supported which may be helpful to you?

Rob