Macnica Americas Inc. ODSY001 Manual De Usuario

Descargar
Página de 72
Odyssey MAX 10 FPGA and BLE Sensor Kit 
42
 
    User Guide    Odyssey MAX 10 FPGA and BLE Sensor Kit 
 
©  Mpression  by  Macnica  Group 
Profile, is defined and used for transferring commands and data between the Smartphone and the 
Odyssey  device.    The  actual  GATT  database  is  hosted  by  the  BLE  device  as  defined  by 
specification.    See section 7.2.2 below for details on the Odyssey Profile. 
7.1.3 
Personality control 
A  Personality  is  defined  as  a unique  interaction  with  the  Profile  that  sets  up  control of  selected 
sensors,  collects  data  from  selected  sensors  and  provides  basic  processing  of  the  collected  data.   
The personality control is presented graphically to the user via a Smartphone app that is built up of 
buttons, data entry and data return fields.     
 
As part of the flexibility designed into the Mpression Odyssey MAX 10 FPGA and BLE Sensor Kit, 
the user can define a custom personality; A Smartphone app AND the unique method by which to 
interact with the Odyssey Profile.    This is done by using an Internet cloud based Web Utility called 
the  Smartphone  App  Configurator.    This  Web Utility  creates  all the  necessary  Smartphone  App 
code as well as defining the Profile interactions without the user having to write a single line of 
code or needing to know how to manipulate the Bluetooth SMART protocol stack. 
 
Once  the  Bluetooth  LE  communications  link  is  established  between  the  Smartphone  and  the 
Odyssey kit, the Smartphone app will query the Personalities programmed into the device flash.   
It  will  then  access  the  user’s  cloud  based  Personality  database  to  create  the  Smartphone 
application GUI used to interact with the selected Personality. 
7.2  The Bluetooth Low Energy Device 
The Broadcom Bluetooth Low Energy device on the BLE sensor board is responsible for many base 
level interactions with the Smartphone, the EFM32 microcontroller and several sensors. 
7.2.1 
Communications link 
As  mentioned  above,  the  main  link  between  the  Smartphone  and  the  Odyssey  device  is  the 
Bluetooth  Low  Energy  wireless  radios.    All  Odyssey  control  and  data  is  transferred  via  this 
unencrypted link. 
7.2.2 
Odyssey Profile – The GATT Database 
The Profile that is defined for the BLE device of the Odyssey system is comprised of the following 
10 services and characteristics. 
 
Table 9 Odyssey Profile 
Service Name 
Type 
Number of 
Characteristics 
GATT   
SIG Required 
GAP   
SIG Required 
Device Info   
SIG Defined 
Battery 
SIG Defined 
Profile Info   
Custom 
Personality 
Custom 
Button   
Custom