Alexander Alashkin

Alexander Alashkin

I’m Alex and I joined Cesanta in March 2015 as a Software Engineer. Previously I worked for Dell and a number of other organisations. I happy to be a part of Cesanta, because here I can do the things that I really like to do: create truly interesting and modern software for a truly interesting and modern trend - IoT. It is a job and fun at the same time. When I’m not shaving yaks, I'm playing bass, looking for the next Lego set for my son or just wandering through Limassol.
Alexander Alashkin
Alexander Alashkin

CoAP client and CoAP server examples  [Mongoose more than an Embedded Web Server]

In this blogpost, I’m going to show how to implement a CoAP client and a CoAP server with Mongoose Embedded Web Server.

To start off, download the Mongoose source code from here.

Alexander Alashkin
Alexander Alashkin

Mongoose 6.6 - New Release

We are delighted to release Mongoose Embedded Web Server 6.6 today!

You know, Mongoose is more than an embedded web server. It’s a multi-protocol networking library. And, in this spirit, we have expanded the functionality even further. Check out the below, download Mongoose and test for yourself! 

Alexander Alashkin
Alexander Alashkin

How to add your protocol to Mongoose Embedded Web Server

Mongoose Embedded Web Server supports a lot of protocols. We think we’ve added the most popular ones like HTTP, WebSocket, MQTT and more. But, there are many protocols that aren’t supported. And there always will be.

Protocols_Mongoose.png
Alexander Alashkin
Alexander Alashkin

 Mongoose Embedded Web Server - Internal Networking Interface

All problems in computer science can be solved by another level of indirection, except of course for the problem of too many indirections.
David Wheeler

A great quote and a good intro to this blog post! We want to give you an insight into the Internal Networking Interface (INI) of Mongoose Embedded Web Server.

Internet Netowrking Interface
Alexander Alashkin
Alexander Alashkin

Big Upload Example [Mongoose more than an Embedded Web Server]

Do you want to upload files of any size simply and joyously? You definitely need Mongoose.

Here’s how you do it, step by step:

Alexander Alashkin
Alexander Alashkin

Mongoose 6.2 Embedded Web Server Release

Our commitment to you has always been continuous improvement of our software. We are kicking off 2016 with the release of Mongoose 6.2 Embedded Web Server. Here’s what’s new:

Alexander Alashkin
Alexander Alashkin

Mongoose IoT Platform - IoT Connectivity for everything

In the beginning there was V7 and Mongoose Embedded Web Server Library. And it was good.

Based on them, we developed Mongoose IoT Platform.  

But despite the fact, that both V7 and Mongoose Embedded Web Server Library were developed in POSIX OS (OS X and Linux), the first platform for Mongoose IoT Platform was ESP8266, followed by CC3200 as two of the most popular chips out there.

Alexander Alashkin
Alexander Alashkin

ESP8266, Mongoose IoT Platform and stack overflows

One of the major parts of Mongoose IoT Platform is V7 JavaScript Engine, and of course, as we ported Smartjs to ESP8266 we ported V7 as well.

Alexander Alashkin
Alexander Alashkin

ESP8266, flash and alignment

At Cesanta, we want to bring connectivity to all devices, so, we cannot ignore a popular device like ESP8266. This device has a quite big flash, and Mongoose IoT Platform offers file operations and a flash-based file system. We use spiffs as frontend and native ESP flash functions as backend.