Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hardware Requirement

You must have an iPhone4S, iPhone5, iPod Touch (5th generation) or iPad (3rd generation).  iPhone4, iPhone3GS, iPhone3G or iPod Touches before the 5th generation will not work.

Software Requirement

Install LightBlue App from Apple app store.

https://itunes.apple.com/cn/app/lightblue-bluetooth-low-energy/id557428110?mt=8.

Build and Download Example Application “Hello Sensor”

Follow instructions in “Session 02_Install Driver,Build and Download Application” to build and download example application “hello sensor” to WICED Smart Tag. Use make target “hello_sensor-BCM92073xTAG_Q32 download”.

Test “Hello Sensor” TAG with LightBlue

  • Keep EVB BCM92073xTAG_Q32 powered on and application running.
  • Turn on Bluetooth on iOS device.
  • Start the application LightBlue on iOS device. Ensure that ‘Central’ is selected on the bottom taskbar as illustrated in Figure 1

1.png

  Figure 1  

2.png

   Figure 2

3.png

 

     Figure 3                                                                                      

  • If the hello sensor app is working correctly, the LightBlue App shows Hello peripheral in a box as illustrated in Figure 2.
  • Click button Pair if a window prompts for Bluetooth Paring Request after Hello peripheral box is touched as illustrated in Figure 3.
  • Screen capture as illustrated by Figure 4 shows up.
  • Select service Device Information. There are three characteristics as showed in Figure 5.
  • Manufacture Name String is showed as Broadcom in Figure 6.
  • Model Number String is showed as 1234 in Figure 7.
  • System ID is showed as 0x93b863805f9f9171 in Figure 8.

4.png

   Figure 4

5.png

   Figure 5

6.png

   Figure 6

  • We can also get battery level as 1 under service Battery Service as illustrated in Figure 9 and Figure 10.

7.png

Figure 7

8.png

Figure 8

9.png

Figure 9

  • Select characteristic 0x8AC32D3F-5CB9-4D44-BEC2-EE689169F626 under service 0x1B7E8251-2877-41C3-B46E-CF057C562023 as showed in Figure 12.
  • Push the middle (application) button on the EVB (as showed in Figure 17/Figure 18) then click button Read as showed in Figure 12. The Hello X message is updated. Each time the button is pressed, the message number X increments as showed in Figure 13.
  • Click button Start Notifications or Start Indications(as showed in Figure 14 and Figure 15)to enable notification or indication and push the middle (application) button on EVB. The Hello X message is updated automatically. Each time the button is pressed, the message number X increments.

10.png

Figure 10

11.png

Figure 11                                       

12.png

Figure 12

13.png

Figure 13

14.png

Figure 14                                       

15.png

Figure 15

  • Change the value for the characteristic 0x5E9BF2A8-F93F-4481-A67E-3B2F4A07891A to 0x03 and then click Send(as showed in Figure 16) . The EVB emits an audible beep, and the LED flashes three times to acknowledge the write.
  • Push the Application button (Figure 17/Figure 18) on the WICED Smart EVB. The LED on the EVB blinks three times.

16.png

Figure 16                                        

17.png

Figure 17

18.png

Figure 18                                      

0 Replies