anthill / 6brain

0 stars 3 forks source link

When sim is bloqued can the sensor reconnects ? #67

Closed vallettea closed 8 years ago

vallettea commented 8 years ago

The sim was blocked (after too much consumption) yesterday evening. This morning:

vallettea commented 8 years ago

In any case since there is a daily reboot, we should have the sensor back after at most 24h. We could implement a connectivity checker but it will consume data (heartbeat) and complixify things. What I suggest is to have a cron job restarting wvdial every hour. The main advantage is that we are not operating "always on" which is forbidden by the GSMA, the drawback is that it could interfere with an update. If we chose to a restart at round hours (8h00, 8h00...) we could take car that the updates are not made on these round hours.