Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
20 votes

When to use Wi-Fi over Bluetooth or vice versa in an IoT system?

Wireless and Bluetooth are very close technologies. But, when to choose between one of them you have to consider many things. Speed: Bluetooth 4.0 offers 25 Mbps while WiFi Direct can offer you 250 ...
user avatar
  • 814
13 votes

How do I secure communication between app and IoT device?

If you can have end-to-end TCP, then use end-to-end TLS (e.g. with HTTPS). Don't reinvent the wheel, especially when it comes to cryptography — most people get it wrong. Unless the device is too ...
user avatar
13 votes
Accepted

How do I secure communication between app and IoT device?

To ensure that your device is secure enough, I have several tips: Add some encryption to the Bluetooth communication. I'd recommend keeping the encryption keys off air. For example, you might ask the ...
user avatar
  • 431
10 votes

When to use Wi-Fi over Bluetooth or vice versa in an IoT system?

Bluetooth Classic: If line power is available, and the application is a data intensive application such as audio streaming Bluetooth Low Energy: If the data rate is low and device is powered by ...
user avatar
8 votes
Accepted

Does CoAP depend on IEEE 802.15.4?

No, CoAP is an application layer protocol it's not dependent Basically that's the beauty behind the OSI layers. If correctly implemented you can mostly stack them however you want. As with every ...
user avatar
  • 8,045
8 votes

Is Bluetooth 3.0 suitable for a single-master multiple-slave network?

From the perspective of power usage, Bluetooth 3.0 does not seem like a viable choice, given your constraints. Let us assume that you want to transmit data for 2 seconds every minute, and then sleep ...
user avatar
7 votes

When to use Wi-Fi over Bluetooth or vice versa in an IoT system?

Another factor to consider is radio packet size, which is much smaller for Bluetooth than for WiFi. This means that the collision risk is lower for Bluetooth than for WiFi, and a Bluetooth ...
user avatar
7 votes

When to use Wi-Fi over Bluetooth or vice versa in an IoT system?

Basically, you trade off bandwidth, range and cost. If one of the choices does not meet your requirements for bandwidth or range, then your choice is clear. If both meet those requirements, then it ...
user avatar
7 votes

Device for a motion tracker with BLE/Wi-Fi

Building your own device for this use case really is the wrong approach. The industrial design to build something that will survive day to day use and be comfortable to wear with a useable battery ...
user avatar
  • 11.9k
6 votes

Protocol for over 300 metres and minimum of 20 kbytes datarate?

I would recommend some sort of mesh network, as obviously plain old WiFi or BT won't cover those distances. Zigbee is as good a candidate as any. For hardware, AdaFruit does some good wearables, ...
user avatar
6 votes

Setting a device clock with BLE

Have you looked at Web Bluetooth? This can be used to write to the the device without needing a native client app just to set the time. There is support in Chrome on most platforms and other browsers ...
user avatar
  • 11.9k
6 votes

Setting a device clock with BLE

Since you don't intend to further communicate with the partner device I guess the precision of the set time is okay for you in a precision range of a few seconds. If you want to get more precise you'...
user avatar
  • 8,045
6 votes

Read and Send Orientation Sensor Values from Android to Arduino

I'm not sure why you're checking for z's and so on but your first else if clause ensures that none of the clauses in the rest of the block is ever executed. else if (state != 'z' && state!=0)...
user avatar
6 votes
Accepted

How do the AirPods communicate with the phone?

Apple is keeping the technology it uses for AirPods under wraps, hence my answer is best attempt based on the information in public domain. Do both Airpods use Bluetooth technology? Yes, because ...
user avatar
  • 2,560
6 votes

Is Bluetooth 3.0 suitable for a single-master multiple-slave network?

I have document some aspect of BLE low power aspects as a response to What is the difference between Bluetooth Low Energy and Bluetooth BR/EDR in Park mode?. Here are is a suggestion. Looks like a ...
user avatar
6 votes

Does an Internet of Things device need to directly connect to the Internet, or can they use alternative protocols like Bluetooth or ZigBee?

Summary The actual protocol used doesn't matter—many smart devices connect to the Internet of Things using ZigBee, Z-Wave, Bluetooth or another protocol via a gateway which then connects the devices ...
user avatar
6 votes

Scanning for Device

Assuming it is Bluetooth (a fair guess as this is the only other radio that is regularly available in mobile phones/tablets), then it will be Bluetooth 4 which will be advertising a BLE Service that ...
user avatar
  • 11.9k
5 votes
Accepted

When to use Wi-Fi over Bluetooth or vice versa in an IoT system?

I have reached a conclusion that the Bluetooth will be a better choice with its upcoming new release of Bluetooth 5. Reference. Kirkland, Washington – June 16, 2016 – The Bluetooth Special Interest ...
user avatar
5 votes
Accepted

Is Bluetooth 3.0 suitable for a single-master multiple-slave network?

Alternatively it might be worth to consider wireless Hart (Highway Addressable Remote Transducer). This is a 2.4GHz ( license free frequency band) Smart mesh networking technology that uses 802.15.4 ...
user avatar
5 votes
Accepted

How do I disable phone ringing from my Tile?

For iOS users, an option to disable "Find Your Phone" was added in Tile v2.28.1. Open the Tile device list Press ... on a tile and select Edit Tile Details Under Actions, unselect the ...
user avatar
5 votes

Ultra Low Energy point-to-point protocol choice

As is often the case, it depends. There are many factors to consider, and a lot of options available to cover the many different use cases around. Range DigiKey suggest that you can expect the ...
user avatar
5 votes

Is there an IoT device which has Bluetooth, GPS, a USB port and which can support a module for an alarm?

SIMCOM SIM808 module seems to meet the requirements for your device. Bluetooth: compliant with 3.0+EDR Specification for GPS Receiver type 22 tracking /66 acquisition -channel ...
user avatar
  • 2,560
5 votes

Why does echo dot audio play through my laptop after bluetooth pairing?

My guess is that you paired the device to the computer, instead of vice versa. Did you: Go into the Alexa app. Go to Settings. Go into Device Settings. Select which echo (if more than one) Click on ...
user avatar
  • 383
4 votes
Accepted

IoT Setup: Bluetooth Sensor -> IoT Gateway -> IoT Platform

There a million ways to skin this cat. Best for you at this stage to just try to get something working. Beyond that you can worry about "right" and "suitable" ways. Your setup is feasible and makes ...
user avatar
4 votes
Accepted

How to secure a Samsung Smart Refrigerator against BlueBorne?

That is one of the many problems with IoT devices: The operating systems are proprietary, and you do not have root access to them. Furthermore, disabling kernel modules is generally too complex for ...
user avatar
  • 246
4 votes

Motion sensor to monitor the movement of people

I would recommend you look at building your own custom device and log locally to it, either in a CSV format or something higher grade with better compressibility such as FIT. Then do file transfers ...
user avatar
  • 269
4 votes
Accepted

Bluetooth chipset high voltage

AFAIK you cannot do that. Thinking of Bluetooth as a quite complex protocol of approximately 1k pages of documentation the power electronics to build such circuit would be overly sized. Think of ...
user avatar
  • 4,301
4 votes

Bluetooth chipset high voltage

The short answer is yes. Power line voltage of 110-220 VAC needs to be step down to a lower DC voltage such as 5VDC or 3.3VDC depending to overall device power requirement. Most Bluetooth module ...
user avatar
4 votes
Accepted

Stream real time data from smart band/watch to computer via Bluetooth

It looks like a pretty standard Bluetooth Low Energy (BLE) device so assuming the manufacturer hasn't done something strange (e.g. like fitbit) then you should be able to use any language that has BLE ...
user avatar
  • 11.9k
3 votes

Programming of change of keys on full numbering of CSR bluecore chips

It seems that there is no direct access to the necessary memory, that is, there is no function to write to the global index, but I found a way to change the device name. You can use this function ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible