kaa

The bug that can't send and receive event in Kaa cluster

我与影子孤独终老i 提交于 2019-12-13 12:50:53
问题 I asked a question two weeks ago. I deployed 3 Kaa clusters follow the kaa Cluster setup guide document.The databases are MongoDB and MariaDB. When I run C Client(I make a code change that every client can login in three kaa servers in random) firstly, it can login in kaa server and send or receive event. But after I stop the Client and start it secondly, it can not send or receive event. Then I try to do it again and again. But almost it is bad.Now I am sure it is a bug.Since then, I've done

Basic Kaa mobile application with android sdk

拜拜、爱过 提交于 2019-12-12 05:59:38
问题 Trying to connect to Kaa Server with Android SDK : Added downloaded android sdk jar as library in application. Code public class MainActivity extends AppCompatActivity { private Context mContext; private KaaClient mClient; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mContext = getApplicationContext(); mClient = Kaa.newClient(new AndroidKaaPlatformContext(mContext), new SimpleKaaClientStateListener()

Can't create new tenant admin in kaa 0.10.0

牧云@^-^@ 提交于 2019-12-12 04:26:55
问题 I am trying the new version of Kaa 0.10.0 and I am trying to create a new admin user to the tenant I have created, so I set the outgoing email settings and then go to add tenant admin user but I never got email to the specified email although I use the exact same configurations in kaa 0.9.0 and it's working fine?? is this a bug? 回答1: Try below configurations. If this doesn't work, check System LOG and post error message. SMTP Protocol: SMTP SMTP Host:smtp.gmail.com SMTP Port: 587 TLS : (check

Control the endpoint using Kaa

笑着哭i 提交于 2019-12-12 03:52:53
问题 I am trying to build a simple scenario so that I can control an endpoint "on/off" using Kaa, but I need to know how can I auth the endpoint ? I mean how can I manage that some specific end point that is being controlled ? Also is there any way so that I can identify a point and then allow/deny the connection from the EP to Kaa ? Thanks 回答1: For details of endpoint authentication please refer to the Endpoint provisioning and registration documentation. You can use internal credentials service

kaa example too big to fit esp8266

╄→尐↘猪︶ㄣ 提交于 2019-12-12 03:35:37
问题 I'm experimenting with the kaa IoT platform on an ESP8266 and have followed this guide. I've set up a new build environment in an Lubuntu virtual box and the build appears to run ok however it complains of a lack of code space (see below). It seems that the ESP8266 can't handle encryption so I made sure that was turned off in the cmake file using "-DWITH_ENCRYPTION=OFF" but that does not help. Weirdly, the build still seems to mention encryption so perhaps I've not disabled it properly. I don

How to create devuser on a Kaa single Linux node

我的梦境 提交于 2019-12-11 09:57:40
问题 Description: I try with Kaa components on a single Linux node instead of Kaa sandbox; and I want to create a devuser with devuser role ; but on a single Linux node not a default devuser role for create developer user and or tenant admin. What command should I use for create developer user and tenant admin in terminal? Hint: Environment: Ubuntu 14.04 LTS Desktop 64-bit 回答1: The user types in Kaa are plit by the scope and roles they have access to and manage. Thus: Kaa administrator is the

Actor Gateway for Kaa Server - Java based

好久不见. 提交于 2019-12-08 08:57:01
问题 I am using KAA iOT server to connect my hardware with cloud. I have implemeted MQTT protocol in hardware and need to implement Actor Gateway or some other solution to enable communication between hardware and cloud. I am unable to find any guide on how to implement actor gateway. Any help please. 回答1: Currently KAA only support HTTP/HTTPS, it does not support MQTT protocol. Actor gateway(Like Raspberry Pi, Cloudgate etc) will have the Kaa's SDK which will be bundled with application running

Kaa Java SDK not syncing with KAA Sandbox MongoDB on AWS

天涯浪子 提交于 2019-12-07 14:37:39
问题 I have Kaa Sandbox installed on AWS using default values 'localhost' and port as '27017' in log appender. Is this correct? Now running the Java SDK for "My first kaa app" is giving the following error on macOS. error message: INFO org.kaaproject.kaa.client.channel.impl.channels.DefaultOperationTcpChannel - Can't sync. Channel [default_operation_tcp_channel] is waiting for CONNACK message + KAASYNC message Is this a problem with the IP address/port mentioned in log appender or is this a

Actor Gateway for Kaa Server - Java based

别说谁变了你拦得住时间么 提交于 2019-12-06 15:11:50
I am using KAA iOT server to connect my hardware with cloud. I have implemeted MQTT protocol in hardware and need to implement Actor Gateway or some other solution to enable communication between hardware and cloud. I am unable to find any guide on how to implement actor gateway. Any help please. Currently KAA only support HTTP/HTTPS, it does not support MQTT protocol. Actor gateway(Like Raspberry Pi, Cloudgate etc) will have the Kaa's SDK which will be bundled with application running on Actor gateway. The application running on Actor gateway should MQTT implementation. Your device will talk

Building Java based Kaa actor gateway

自作多情 提交于 2019-12-06 13:38:43
I would like to build a kaa actor gateway using java SDK. The actuator should handle data from different endpoints (temperature sensor - humidity sensor - ...), and log their data to the kaa platform. How can be this done what sachems I should define from Admin console and what are the API I should use from the generated SDK? I can't find any example for this in the kaa sandbox sample projects You can find more details about kaa actor gateway here . Also, there is a ticket with detailed description to create actor gateway demo application. I hope that this information will be helpful. 来源: