[feature] added prototype of the the first mqtt example
[fix][build] made the examples to build depending on the api ver settings