-1

Does anyone have experience with porting the kaa-client SDK, which supports only ESP8266, to the newer ESP32?

I have started with adapting the TCP APIs.

4
  • has somebody experience? is this your question? Commented Feb 15, 2017 at 12:59
  • Welcome to StackOverflow. Please take a look here in order to see how to ask a good question: stackoverflow.com/help/how-to-ask Commented Feb 15, 2017 at 13:01
  • Moreover, porting an SDK is quite strange.... Commented Feb 15, 2017 at 13:10
  • Please, add "kaa" tag to such a questions. Commented Feb 15, 2017 at 13:58

1 Answer 1

2

Currently there is no full description how to port the Kaa C SDK on a specific platform, but we are working on this item. Thus I am going to describe general steps here.

Kaa C SDK doesn't need any OS. To use the Kaa C SDK on a specific platform, you must implement the following routines:

Mandatory:
Dynamic allocation.
Network communication.
Time routine.
Public key generation (it may be some hard-coded key, see the ESP8266 demo).
SHA-1 calculation (you may use a default implementation).

Optional (it means you can provide empty implementation):
File system interaction (one, two).
Debug logging.

This page describes configuration parameters for building the Kaa C SDK on various platforms.
Here are instructions how to develop applications based on the Kaa C SDK on TI СС32XX and ESP8266 platforms.
Also, you can find here the source code of demo applications for these platforms.

Second - if you are using a protocol which is not yet officially supported, you can implement a custom transport.

The alternative option is when you integrate the Kaa SDK into a gateway (we call it "actor gateway"). The actor gateway instantiates an endpoint actor per each physical device. The actor handles communication with the actual device and presents itself to the cloud as a virtual representation of the sensor, etc.

The actor gateway can be effectively used when you can’t install the Kaa SDK on your device or you need to use some sophisticated protocol for device-server connectivity.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.