- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Figure 1
Figure 2
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.
Figure 4
Figure 5
Figure 6
- We can also get battery level as 1 under service Battery Service as illustrated in Figure 9 and Figure 10.
Figure 7
Figure 8
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.
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
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.
Figure 16
Figure 17
Figure 18