iot

Maximum number of BLE sensors that could be connected to a BLE gateway at a given instant?

拜拜、爱过 提交于 2019-12-11 06:15:31
问题 I have this doubt. For example, I have a Smart Wrist Band (measures pulse, body temp), a Smart Gear/Watch (to display text alerts, control calls) and a Bluetooth headset. I need all the three to communicate with my mobile phone at the same given instant. Is it possible to achieve the same ? What are the challenges involved if I need to develop an application on my own if I had to achieve the above possibilities ? Your help is highly appreciated. Note: - BLE has star-based network topology and

How to invoke an OpenWhisk action from IoT Platform in Bluemix

我的未来我决定 提交于 2019-12-11 04:43:12
问题 We would like to know how to invoke an OpenWhisk action from IoT Platform in Bluemix. What we want to accomplish is: Send an event data from a device to IoT Platform Subscribe the event Call an OpenWhisk action. We are assuming the event data is JSON format. We know we can develop an application that subscribes to an event on the IoT Platform like: https://console.bluemix.net/docs/services/IoT/applications/libraries/java.html#java. However, we believe that there must be a more simpler way. If

How to properly use TLS 1.3 cipher suites in HiveMQ? (Getting a SSL exception: closing inbound before receiving peer's close_notify)

為{幸葍}努か 提交于 2019-12-11 04:28:20
问题 I want to use TLS 1.3 for my secure communication with HiveMQ. I've configured the HiveMQ community edition server config.xml file to specify to use TLS 1.3 cipher suites and I pointed it to the keystore containing a key pair for a 256-bit Elliptic curve key (EC NOT DSA) using the curve: secp256r1 (which is one of the few curves supported by TLS 1.3). The 256-bit key pair is for this TLS 1.3 cipher suite I want to use: TLS_AES_128_GCM_SHA256 . I'm also generated a 384-bit elliptic curve key

How do I set the IP Address of a device using Windows Universal App?

落爺英雄遲暮 提交于 2019-12-11 04:02:30
问题 I have a Raspberry Pi 2 with Windows 10 ioT installed. How do I set the IP Address statically in code? 回答1: You can do this by connecting remotely to your device via Powershell and running "netsh". You can perform a variety of tasks using the Netsh command-line utility, including configuring the IP addresses of network adapters in Windows. Here’s how to configure a static IP address: netsh interface ip set address "connection name" static 192.168.0.101 255.255.255.0 192.168.0.1 NOTE: The

KURA: how to change the MQTT messages format

人盡茶涼 提交于 2019-12-11 02:58:00
问题 The KURA MQTT cloud client publishes messages respecting the following formula (more details): #account-name/#client-id/#API-ID/topic I want to send MQTT messages with my own format, I dont want to send the account name and the client id in the MQTT message. How can I do that? I already tried to change the configuration in the KURA web interface -> MQTTData transport and I have deleted the content of "lwt.topic" but without success. 回答1: Use the DataService directly. Ask OSGi to inject the

RPMs for IDAS IoTAgents GE, from Fiware

旧街凉风 提交于 2019-12-11 02:35:54
问题 I'm trying to get an IDAS intance going in a CentOS_7.1 VM in my computer. I'm interested in using UL2.0 via http, so https://github.com/telefonicaid/fiware-IoTAgent-Cplusplus/ should be the place to go. There I find RPMs are an option under Deployment/Using RPMs, but I can't find the RPMs, only the instructions on how to build them. Aren't there RPMs available for IDAS? Only building from source? Perhaps each OS instance needs its own build. Thank you 回答1: I found the RPMs. It's in the IDAS

Publishing commands to device in IBM IoT using MQTT in Java

你说的曾经没有我的故事 提交于 2019-12-11 02:15:10
问题 I am currently trying to publish a command to a specific topic in the IBM IoT Foundation MQTT Broker using a Java web application. My application is already able to listen to device events and act on them, however publishing commands to the device is a problem. I know for sure that my device is listening to the proper topic for commands, so what could be the problem? More specifically, here is the command I call to publish to the topic (from my Java app): publish("iot-2/cmd/" + MQTTUtil

ImportError: cannot import name Pubnub

≡放荡痞女 提交于 2019-12-11 00:49:29
问题 I am trying to control an LED on my Raspberry Pi with the Pubnub platform. I just started and I tried this tutorial: https://www.pubnub.com/blog/2015-05-27-internet-of-things-101-getting-started-w-raspberry-pi/ However, when I want to execute a Python file that imports the Pubnub library with the following line: from pubnub import Pubnub I get this error message: ImportError: cannot import name Pubnub I did everything exactly as told in the tutorial. I even copied the .py classes from their

Why use MQTT Node.JS library?

天大地大妈咪最大 提交于 2019-12-10 15:34:29
问题 I am currently building a web app using the Paho MQTT Javascript library, and I was wondering in what case should I use the MQTT.JS library ? Could you give me examples when I cannot use the Javascript library and need to use the MQTT.js library (which I think is made for Node.js) ? (I know the two things are completely different but still, they both concern web applications!) Thank you ! 回答1: The Paho JavaScript client is specifically targeted for use in client side (in the browser) and uses

Is it possible (and does it make sense) to have a bluetooth iOT device in peripheral mode listening to both, BLE and Bluetooth Classic connections

夙愿已清 提交于 2019-12-10 11:40:45
问题 We are currently building a device that needs to be compatible with newer smartphones that run BLE but also be backwards compatible with Bluetooth 2.1. We are using a Mediatek Linkit ONE board for our prototype which can operate in dual mode. They have Bluetooth classes available, however it seems that I would have to pick between either running 1) Bluetooth Classic 2.1 OR 2) BLE The classes and docs are here: http://labs.mediatek.com/site/znch/developer_tools/mediatek_linkit/api_references