Hi, I’m trying to use note.add request with the max argument combined with "sync":true in order to automatically trigger a sync when the number of pending notes matches the max value. However, the behavioral i’m obtaining from my NOTE-NBGL is not what i expect. Following you will find the logs i’m getting from my arduino sketch, where you can see that after the number of pending notes is 5 (the value i set tomax argument), instead of trigger a sync and queue the next note in notefile, the result i obtain is that the 6th note (corresponding to "temperature":37) is discarded because the number of notes in notefile is 5, so it is lost, as you can see in notehub events. Is that correct? …
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":32}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":32},"crc":"000C:1163B8FD"}
[INFO] {"total":1}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":33}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":33},"crc":"000D:10A1D2CA"}
[INFO] {"total":2}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":34}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":34},"crc":"000E:15EEC44F"}
[INFO] {"total":3}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":35}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":35},"crc":"000F:142CAE78"}
[INFO] {"total":4}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":36}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":36},"crc":"0010:166A1021"}
[INFO] {"total":5}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":37}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":37},"crc":"0011:17A87A16"}
[INFO] {"err":"notefile already contains 5 notes (5 max) {note-max}","crc":"0011:B84959EF"}
|···Notecard request: {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":38}}
[INFO] {"req":"note.add","file":"rak4631.qo","sync":true,"max":5,"body":{"sensor":"rak4631","temperature":38},"crc":"0012:1CF43D2B"}
[INFO] {"total":1}
