Building Arduino Projects for the Internet of Things

(Steven Felgate) #1
CHAPTER 7 ■ IOT PATTERNS: ON-DEMAND CLIENTS

Click on + in the newly added property of App Transport Security Settings, as shown
in Figure  7-34. This will add a child property. Select the Allow Arbitrary Loads property
from the list and change its value from NO to YES.


Figure 7-34. Select the Allow Arbitrary Loads property


This completes the implementation of your iOS app.

The Final Product


To test the application, make sure your MySQL and PHP servers are up and running with
the code deployed.
Also verify and upload the Arduino code as discussed in Chapter 1. Make sure
initially there is no object in front of your proximity sensor. Once the code has been
uploaded, open the Serial Monitor window. You will start seeing log messages similar to
the ones shown in Figure  7-35.

Free download pdf