Errata

Make: Bluetooth

Errata for Make: Bluetooth

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
PDF
Page 37
Figure 3-11

In figure 3-11, a circuit for connecting a SPDT switch to the arduino, is shown. In the text describing the circuit it mentions that terminal A is connected to the arduino pin and also is connected to a PULL DOWN resistor, but in the figure the resistor is connected to the 5V rail and not to GND.

Anonymous  Mar 08, 2017 
Printed
Page 159
Not sure, code error

The sensortag.js example does not work on current hw/sw. I have a RPi 3 which is pre-installed with bluez, perhaps it is a version issue. In any case, when run the script connects (outputs "Connected to SensorTag") but never indicates it is notifying (never outputs "SensorTag remote is ready"). Disconnect also works, just not the Notify, which unfortunately is the point of the code.

To ensure I did not typo the code, I also downloaded it from Github, same result. To ensure my CC2541 SensorTag is working, I connected to it with LightBlue, confirmed the UUIDs (FFE0/1), selected "Listen for notifications" and verified the correct codes (0, 1, 2, 3) were sent by the SensorTag when its buttons were pushed.

Note from the Author or Editor:
For the "SensorTag Remote" chapter, any code snippets with the following need to be replaced:

var serviceUUIDs = ['FFE0'];
var characteristicUUIDs = ['FFE1'];

with

var serviceUUIDs = ['ffe0'];
var characteristicUUIDs = ['ffe1'];

Nils Steffensen  May 17, 2016