/********************************************************************
*	INTERNAL  
*	WILL BE OFFICIALLY RELEASED FOR EXTERNAL USAGE in May 2018
*	NO WARRANTY/GUARANTEE
**********************************************************************

/* -----------------------------------------------------
 * common application description:
 * --------------------------------------------------- */

The application implements a GATT based HID Profile. 
The example works on the FRDM-KW41Z development board. 
For more information, please consult the BLE Demo Applications User's Guide.



/* -----------------------------------------------------
 * HID application extension
 * --------------------------------------------------- */

 documentation: 
---------------
There are two User Manuals for extended application description: 
UM10949 and UM40950 

 overview:
-----------
This extension is related to the addition of the NTAG I2C plus chip 
for the BT pairing option via NFC technology.
Additionally, a NDEF library was added to the application 
to create BT pairing NDEF messages.

 HW setup:
-----------
There is necessary OM23221 development board for proper work.
This is the NTAG I²C plus Kit for Arduino® pinout.
The NTAG board fits the FRDM-KW41Z development board and whole HW set is ready for flashing application.

 Quick overview - application startup:
--------------------------------------
1.) Import the archive *.zip file to the MCUXpresso (the result of import procedure is that project is copied to the workspace)
2.) Debug the application -> Quickstart Panel on MCUXpresso, click on "Debug"
3.) press F8 on the keyboard or via the main menu "Run->Resume" run the application
 
 Application behavior: 
-----------------------

1.) after "Resume"  (press F8) the application quick blinking by white LED - application is in the stand-by mode

2.) press the SW4 for the first time after start-up (marked on the PCB by white letters)
    - now the red LED is blinking - > application is in the searching mode 
    - NDEF message with NTAG demo application description is automatically written to the NDTAG chip

3.) press the SW3
    - the Bluetooth Secure Simple Pairing (BTSSP) NDEF message with relevant data is written to the NTAG chip
    
    !!! now is possible perform pairing via the NTAG chip (NTAG demo board OM23221)
    
 4.) press the SW4 (again)
    - NDEF message with NTAG demo application description is written to the NDTAG chip     



















