Page 1
Time Information Profile – Getting Started Guide USER GUIDE Introduction This getting started guide describes the setup of Atmel ATBTLC1000 with a supported platform bringing-up an example profile supplied as part of BluSDK release. The Bluetooth Time Information Profile is an example profile application implementing BLE Time Service. The Bluetooth device when connected with a compatible iPhone device supporting Time service reads the current time, date and day information from the iPhone and displays it on the console.
Running the Demo for iOS Devices ................13 Running the Demo for Android devices ..............16 BluSDK Software Architecture ................. 20 10 ATMEL EVALUATION BOARD/KIT IMPORTANT NOTICE AND DISCLAIMER ..21 11 Revision History ......................22 Time Information Profile – Getting Started Guide [USER GUIDE]...
The Time Server is the device that provides the time related information. The Time Service is supported natively in iOS 7.0 and above. For BLE compatible Android devices, Atmel Smart Connect mobile application implements the Time Server. This document explains the details about: 1.
ATBTLC1000 Xplained Pro Extension Connected to a SAM L21 Xplained Pro SAM D21 Xplained Pro Time Information Setup Figure 4-2. ATBTLC1000 Xplained Pro Extension Connected to a SAM D21 Xplained Pro Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 6
ATBTLC1000 Xplained Pro Extension Connected to a SAM G55 Xplained Pro SAM 4S Xplained Pro Time Information Setup Figure 4-4. ATBTLC1000 Xplained Pro Extension Connected to a SAM 4S Xplained Pro Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Installation Steps 1. Atmel Studio installation [Atmel Studio 7.0 (build 594) Installer – with .NET] http://www.atmel.com/tools/atmelstudio.aspx (Note: SAM L21 Rev B/SAM D21/SAM G55/SAM 4S part pack is built-in as part of Atmel Studio 7.0) 2. Atmel USB Driver Installer from http://www.atmel.com/tools/atmelstudio.aspx.
The following procedure is explained for SAML21 application example. The same procedure is valid for the case of all the other supported platform as well. Select New Example Project Figure 5-1. Creating a New Project Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 9
1. Enter “Time Information” in search window and expand Atmel Corp Projects. The location and the name of the project can be selected in the respective fields. Click OK Figure 5-2. Selecting TIP Application from Example Projects 2. Accept the license Agreement. The studio will generate the Time Information Profile project for SAM L21.
Page 10
Android. iOS natively supports Time Server and does not require a specific mobile application. To enable devices to be displayed in the iOS BLE devices page, the service solicitation advertisement data type configuration is necessary. 4. Build the solution. Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 11
Building the TIP Application 5. Download the application via the USB to the SAML21 board using Device Programming option available in Tools as mentioned below. Figure 5-5. Select Device Programming Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
The logging interface utilizes the same EDBG port that connects to supported platform. A serial port monitor application (for example TeraTerm) shall be opened and attached to the corresponding COM port enumerated on the PC by the device. Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Display for Advertising Mode 6. On the iPhone, enable Bluetooth in the Settings page. The phone will start to scan for devices. ATMEL-TIP will be appear amongst the devices scanned. Click on ATMEL-TIP to connect to the SAM L21 or supported platform +ATBTLC1000 device.
Page 14
‘123456’ in the text box and click on ‘Pair’. Figure 7-4. Pairing Request Pop-up on iPhone 9. Once the device is connected. ATMEL-TIP will appear in the MY DEVICES section on the iPhone. Figure 7-5. Pairing Request Pop-up on iPhone Time Information Profile –...
Page 15
11. The console log on ATBTLC1000+SAML21 or supported platform will display the values for all characteristics supports by Iphone internally. Console Display – Date, Time, and Day Information Figure 7-7. Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Figure 8-1. Display for Advertising Mode On the Android device, enable Bluetooth in the Settings page. Use the Atmel Smart Connect application to scan for peripheral devices. A device with name ‘ATMEL-TIP’ will appear amongst the list of scanned devices Figure 8-2.
Page 17
On device side, a pop-up screen prompting the user to enter the pass-key will appear. Enter ‘123456’ in the text box and click on ‘OK’ Figure 8-4. Pairing Request Pop-up on Android Phone Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 18
Once the device is connected. User can see the services as shown below. Figure 8-5. Services of Time Information Profile 10. User has to click on the services to read the characteristic values. Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 19
Button for Reading Time Information 12. The console log on ATBTLC1000+SAML21 or supported platform will display the values for all characteristics supports by the device. Figure 8-7. Console Display - All Supported Characteristic Values Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
The following diagram illustrates the various layers in the BLE subsystem for the ATBTLC1000 configuration. The External host can be supported platform. The application in this example is Time Information Application. Figure 9-1. BluSDK Software Architecture Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
User indemnifies Atmel from any claim arising from user's handling or use of this evaluation board/kit. Except for the limited purpose of internal development and evaluation as specified above, no license, express or implied, by estoppel or otherwise, to any Atmel intellectual property right is granted hereunder.
Figure 4.4 is updated with SAM4S Xplained Pro Image. Section 5.1 Installation Steps are updated. Figure 3-1 is updated. 42520B 11/2015 The screenshots in Chapter 5 are updated. 42520A 09/2015 Initial document release. Time Information Profile – Getting Started Guide [USER GUIDE] Atmel-42520C-ATBTLC1000-BluSDK-Time-Information-Profile-Getting-Started-Guide_USERGUIDE_022016...
Page 23
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or i mplied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND COND ITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON -INFRINGEMENT.
Need help?
Do you have a question about the ATBTLC1000 BluSDK and is the answer not in the manual?
Questions and answers