Embedded software for M2M gateways and devices based on ETSI M2M standards. Innovative solutions to connect small M2M area networks into one de-centralized cloud based M2M network. Providing universal access to various device types. State of the art, low footprint embedded software running on resource limited platforms including ARM and MIPS.