Questions tagged [iot]

QUESTIONS MUST BE PROGRAMMING RELATED.. Use a more specific tag for your question instead, e.g. [wifi], [bluetooth], [c], [arduino]

The Internet of Things (IoT) is a novel paradigm where many of the objects that surround us will be connected to the Internet, these objects can be Radio-Frequency IDentification (RFID) tags, sensors, actuators, mobile phones, etc. and through unique addressing scheme, are able to interact with each other and cooperate with their neighbors to reach common goals.

While programming questions about Internet of Things are on-topic here, other questions should be asked on the new Internet of Things Stack Exchange site.

enter image description here

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

3888 questions
15
votes
2 answers

TCP support in Azure IoT Hub

Azure IoT Hub Supports AMQP, MQTT, HTTP protocols. In order to customize these protocols we have Azure IoT protocol gateway. I can find good samples on MQTT protocol customization. I need some sample codes for TCP based protocol customization using…
arun thatham
  • 500
  • 1
  • 4
  • 13
15
votes
1 answer

How can I use Bluez5 DBUS API in C++ to pair and connect new devices?

I am writing a bluetooth driver for Intel Edison. Board software is latest available, and I am developing using the Eclipse based IDE. Bluez version number in this edison release is 5.37. I am designing a system which has to meet the following…
Pablo Stark
  • 682
  • 10
  • 34
15
votes
4 answers

Totally Disconnect a Bluetooth Low Energy Device

I connect to a BLE device with the connectGatt() method in Android. This works great. When I disconnect I use the following: private void disconnectDevice() { gatt.disconnect(); } When I receive the callback I do a close. private…
nilsi
  • 10,351
  • 10
  • 67
  • 79
15
votes
2 answers

AWS IoT MQTT over WebSocket Protocol

I've been following the AWS IoT docs trying to get started with the MQTT tutorial at http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#mqtt-ws to set up a WebSocket connection to AWS IoT in a web application. The first step is to…
Jack Carlisle
  • 1,085
  • 1
  • 9
  • 15
14
votes
1 answer

TCP-Based Client communication doesn't work in iOS 11?

I have an IoT application that uses Socket Programming to communicate with the device. All good up until iOS 11 released. It doesn't communicate in iOS 11 and above but it works in earlier versions ( Up to 10). Here is the code. Establishing Socket…
Stella
  • 1,817
  • 6
  • 30
  • 55
14
votes
5 answers

Connecting nodejs and cloud mqtt

I am doing a project based on IOT. So I need to connect cloudmqtt and nodejs server. app.js // Create a MQTT Client var mqtt = require('mqtt'); // Create a client connection to CloudMQTT for live data var client = mqtt.connect('xxxxxxxxxxx', { …
Muhsin Keloth
  • 7,855
  • 7
  • 39
  • 59
14
votes
3 answers

OPC UA protocol vs MQTT protocol

I would like to compare OPC UA vs MQTT on basis of the general characteristics of both the protocols such as Overhead (Packets), Security, Information modeling and Reliability. Where can I find some sample data for Overhead, and other…
Azaksai
  • 377
  • 2
  • 6
  • 14
13
votes
4 answers

ESP32-WROOM-32 vs ESP32-WROVER

I have numerous ESP8266 apps converted to 32 bit. These seem to run fine on the WROVER chips but on the WROOM-32 chips they load and execute, but panic after some time. I get this error: Guru Meditation Error: Core 1 panic'ed (LoadProhibited).…
Tom Lindley
  • 351
  • 1
  • 3
  • 14
13
votes
1 answer

How to fix 'SocketException: OS Error: Connection timed out, errno = 110, address = 192.168.5.10, port = 49590' error in flutter

I m trying to connect my android app to a Tcp iot server,first i connect to the tcp server using wifi then try socket connect but it is showing same error of connection timed out. print(r); }).catchError((e) { print(e); }); wifi…
Amarjot Singh
  • 206
  • 2
  • 13
13
votes
2 answers

The CA certificate does not have the basicConstraints extension as true

I am following this AWS GUIDE on creating self-signed certificates. But after creating my CA, I try to upload it to AWS IOT I get this error: Command: aws iot register-ca-certificate --ca-certificate file://CA_cert.pem --verification-cert…
Aleksander Aleksic
  • 1,282
  • 3
  • 12
  • 18
13
votes
4 answers

Oreo Wifi Connectivity

I am working on an IoT app in which there is an on boarding process where the user connects to an access point, which has not internet connectivity, configure the device and then connects to his home Wifi network. Android 8 devices have been causing…
Digital Da
  • 891
  • 1
  • 10
  • 23
13
votes
1 answer

purpose of Azure iot hub device-to-cloud partitions

When creating a new Azure IOT Hub you are asked how many device-to-cloud partitions you need. You can select between 2-32 partitions for standard tiers. I understand that the SKU and number of units determine the maximum daily quota of…
GHariz
  • 336
  • 2
  • 11
13
votes
1 answer

Connect to wifi without internet programmatically

I'm using the following code to connect to a WiFi network without internet connection, because it hosts its own web-server where I want to connect even if there is no internet connection available. WifiConfiguration wifiConfiguration = new…
ForJ9
  • 735
  • 8
  • 24
13
votes
3 answers

.NET Core on Raspbian/ARM?

We know .NET Core supports Linux x64 and x86, MacOS X, Windows... but is it ready to use in Linux for Raspberry Pi? (Raspbian, for example).
SuperJMN
  • 13,110
  • 16
  • 86
  • 185
12
votes
5 answers

CP2102 device is not listed in /dev on macOS 10.13

I have the ESP32 board with Silicon Labs CP2102 controller. When I connect it to my MacBook, I can get the details about this device using the command system_profiler SPUSBDataType, but it is not listed in /dev as a virtual serial port - so I can't…
Dominik Palo
  • 2,873
  • 4
  • 29
  • 52