Close

All the troubles you'll get with the IoT

A project log for CM3 Board + Backend-Library + Bee Hive Monitor

An open solution enabling everone to build and maintain a IoT enabled sensor network. BeeStalker is the reference for you project!

johannwilhelmjohann.wilhelm 05/09/2016 at 18:060 Comments

Life seems so easy when you're shooting with cannons like pppd at those little targets like cellular internet connection. Well, there are "some" (read a whole lot of them!) pitfalls...

First of all, RTFM!!!!!!!!!! After that, carefully try to figure out which provider you are really wanna choose.

I endet up trying 5 (!) different ones since I did not.

For IoT you really want cheap prepaid sims since you WILL end up disabling the PIN-function. You just load 10€ on the sim so no big loss if somebody "borrows" your little gadget.

The next thing is, that you really want your data lasting for more than 30days... watch out for those really cheap providers cashing 10€ for some (1 to 3GB) data and this only lasts for 1...3 months... I typically get around 1MB/day ... so this load-once-a-year policies are already a problem for me.... Maybe I'll go for a real m2m sim-provider in the future.

Having that said... does anyone have a recommendation?

So, after this excursus to the real-life problems, you end up dealing with pppd... a lovely tool... got some gray hair from the chat-scripts, the detach-behaviour,... :)

Now this works but you know what? All that providers do have different timing for network logon!

So you end up with a wonderfully working system, change the sim to another provider and voila, nothing's working because of some bloody race conditions...

Well, feel free to "review" my changes to my 00-Init and my 30-Connect scripts in my repository...

73

Discussions