Atmel ATSAMB11 User Manual
Hide thumbs Also See for ATSAMB11:

Advertisement

Quick Links

Introduction
The HID over GATT (HOGP) profile defined by the Bluetooth
Bluetooth Low Energy (BLE) protocol stack using Generic Attribute profile (GATT). This allows devices
like keyboard or mouse implementing HOGP to connect to a compatible HOGP/BLE host device (e.g.:
Mobile Phone, Tablet, TV, etc.)
The HOGP Mouse device application example (referred as HID Mouse device in this document) supports
the following features:
Advertisement
Pairing
Services: HID Service and Device Information Service.
Report Mode (Mouse)
The HID Mouse device application example supports the following characteristics for HID service:
Protocol Mode
Report
Boot Mouse Input Report
Report Map
HID Information
HID Control Point
For the purpose of demonstration, the example application simulates the function of a mouse. Once the
handshake and connection procedure between a mobile phone and the Atmel
mouse device example is completed, a mouse cursor will appear on the mobile device's screen. Pressing
the button on the ATSAMB11 platform simulates movement of mouse in a pre-defined pattern as
described in later in this document.
ATSAMB11 BluSDK SMART
HID Mouse Device - Getting Started Guide
®
SIG enables support of HID services over a
Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015
USER GUIDE
®
ATSAMB11 emulating a

Advertisement

Table of Contents
loading

Summary of Contents for Atmel ATSAMB11

  • Page 1 ATSAMB11 emulating a mouse device example is completed, a mouse cursor will appear on the mobile device’s screen. Pressing the button on the ATSAMB11 platform simulates movement of mouse in a pre-defined pattern as described in later in this document.
  • Page 2: Table Of Contents

    Console Display ......................6 Running the Demo ....................... 6 BluSDK SMART Software Architecture ..............11 ATMEL EVALUATION BOARD/KIT IMPORTANT NOTICE AND DISCLAIMER ..12 Revision History ......................13 ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide [USER GUIDE] Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 3: Purpose

    Purpose This getting started guide describes the setup of an Atmel ATSAMB11 Xplained board and bringing up an example profile supplied as part of BluSDK SMART release. This document explains the bring-up of HID Mouse device example application that is embedded as part of the software release package.
  • Page 4: Software Setup

    Figure 4-1. Creating a New Example Project Select “SAMB11” in device family, enter “ble-hid mouse” in the search window, and expand Atmel Corp Projects. The location and the name of the project can be selected in the respective fields. Click OK.
  • Page 5 Figure 4-3. Building the HID Device Application Download the application via the USB to the ATSAMB11 board by using the Device Programing option available in Tools as shown below. Figure 4-4. Selecting Device Programming Option Inside the device programming the user has to select the correct configuration for the device and finally program the device by using the program button.
  • Page 6: Console Display

    For the purpose of debugging, logging is made available through a serial console. The logging interface utilizes the same COM port that connects to ATSAMB11. A serial port monitor application (for example TeraTerm) shall be opened and attached to the appropriate COM port enumerated by the device on the Running the Demo Power on the ATSAMB11 by connecting the USB cable.
  • Page 7 Remote device request pairing Sending pairing response AT_BLE_CONN_PARAM_UPDATE Pairing procedure completed successfully Once the device connected to host (Phone). User can select button for simulating mouse movement. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 8 Cursor moves left Next 5 Button Press: Cursor moved up The same sequence is repeated based on user input. A snapshot of the console logs are shown below. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide [USER GUIDE] Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 9 Mouse Letf Movement Mouse Letf Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Mouse UP Movement Figure 6-8. Mouse Cursor Position on Phone ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 10 Figure 6-9. Mouse Move Simulation ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide [USER GUIDE] Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 11: Blusdk Smart Software Architecture

    BluSDK SMART Software Architecture Figure 7-1 illustrates the top level diagram for the ATSAMB11 configuration. Figure 7-1. ATSAMB11 Software Architecture ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 12: Atmel Evaluation Board/Kit Important Notice And Disclaimer

    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.
  • Page 13: Revision History

    Revision History Doc Rev. Date Comments 42603A 11/2015 Initial document release. ATSAMB11 BluSDK SMART – HID Mouse Device – Getting Started Guide USER GUIDE Atmel-42603A-ATSAMB11-BluSDK-SMART-HID-Mouse-Device-Getting-Started-Guide_UserGuide_112015...
  • Page 14 DISCLAIMER: The information in this document is provided in connection with Atmel pro ducts. No license, express or implied, 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.

Table of Contents