Please don’t use the card.restore or card.restart APIs as part of your product’s function. The usage of these will increase wear on flash and also cause you to consume more cellular data (since the Notecard would have to “cold boot” and reestablish a network connection).
Rather, focus on the root causes of these problems:
If you’re using Notefile Templates there is no longer a 100 Note limit, so in essence that’s all you have to do to “increase” the Note limit.
Re: the I2C errors, this is a case of double checking your wiring AND making sure other components using I2C aren’t interfering. Feel free to post an image of your wiring so we can check it.
Information not clear.
Below is the sample Notefile templates. I don’t see “increase” configuration field and how can we see existing template configuration?
…the design of the Notefile system is primarily memory based and designed to support no more than 100 Notes per Notefile.
Some applications, however, will need to track and stage bursts of data that may eclipse the 100 Note limit in a short period of time, and before a sync can occur. For these types of use cases, the Notecard supports using a flash-based storage system based on Note templates.
There is nothing you need to do to eclipse the 100 Note limit if you use templates, there is no longer a limit to worry about.
Hi Rob, I am seeing duplicate messaages when notecard failed to deliver the messages.
Could you please explain me what happening here and how to handle it?
My apllication is multitasking and each task will send messages continously when their turn up.
My concern is Why it is sending same message multiple times if it fails to deliver to the notehub, it supposed to be send same message not duplicate messages.
Hi @RobLauer I updated notecard firmware to latest version 7.4.2 but still I can see duplicate messages and am using note template. Can you please advise if there is any better solution? And also am exploring to build a rule in the notehub to filter these kind of duplicate messages.
You’re right, this definitely should not be happening. I’m curious, would you be able to paste in the full JSON for two Notes that are identical? You can find it under the JSON tab when viewing an individual event (feel free to omit the product or any other uniquely identifiable data):