Difference between revisions of "BLEGattCentral"

From AMTech WikiDocs
Jump to: navigation, search
(BLEGattCentral)
(BLEGattCentral)
Line 7: Line 7:
 
**The '''amount of read cycles''', the smoothing logic will consider for calculating lost observations
 
**The '''amount of read cycles''', the smoothing logic will consider for calculating lost observations
 
**Service '''UUID and name'''
 
**Service '''UUID and name'''
[[File:gattProfileConfig.png|950px||thumbnail|center|BLEServicesReader GATT configuration]]
+
[[File:gattProfileConfig.png|950px||thumbnail|center|BLEGattCentral GATT configuration]]
 
**Characteristics id, name and type (can be selected for a list of supported characteristics specified at [https://www.bluetooth.com/specifications/gatt/characteristics GATT services]  
 
**Characteristics id, name and type (can be selected for a list of supported characteristics specified at [https://www.bluetooth.com/specifications/gatt/characteristics GATT services]  
[[File:charctersList.png|950px||thumbnail|center|BLEServicesReader GATT configuration]]
+
[[File:charctersList.png|950px||thumbnail|center|Characteristics configuration]]
 
**Metadata information used to parser characteristic buffer
 
**Metadata information used to parser characteristic buffer
 
***parmas
 
***parmas
 
***extra
 
***extra
[[GattFlagsAndExtra.png|950px||thumbnail|center|BLEServicesReader GATT configuration]]  
+
[[File:GattFlagsAndExtra.png|950px||thumbnail|center|Parser configuration]]  
 
**'''Smoothing criteria''' each values decoded from the characteristic value can be configure to be smoothed by
 
**'''Smoothing criteria''' each values decoded from the characteristic value can be configure to be smoothed by
[[smoothingOptionGattP.png|950px||thumbnail|center|BLEServicesReader GATT configuration]]  
+
[[File:smoothingOptionGattP.png|950px||thumbnail|center|Smoothing configuration]]  
 
*Placeholders (See [[Sensor%27s_network#Placeholders_substitution|Placeholders]])  
 
*Placeholders (See [[Sensor%27s_network#Placeholders_substitution|Placeholders]])  
 
** None
 
** None

Revision as of 20:06, 18 September 2017

BLEGattCentral

Bridge BLE GATT services and characteristics read and write to IoT DAP protocol.

  • leverages BLE GATT (Generic Attribute Profile) standard
  • services and characteristics can be configuring setting gattProfileConfig property
    • Advertised device name List of devices name to be discovered (names the manufacture uses to advertise the device)
    • Frequency to read characteristics value(s) an ISO 8601 string duration; representing how frequently getOIDs values will be collected; defaults to 1 minute iso 8601 PT1M
    • The amount of read cycles, the smoothing logic will consider for calculating lost observations
    • Service UUID and name
BLEGattCentral GATT configuration
    • Characteristics id, name and type (can be selected for a list of supported characteristics specified at GATT services
Characteristics configuration
    • Metadata information used to parser characteristic buffer
      • parmas
      • extra
Parser configuration
    • Smoothing criteria each values decoded from the characteristic value can be configure to be smoothed by
Smoothing configuration
  • Placeholders (See Placeholders)
    • None
  • Produced observations (see /amtech/linkeddata/types/composite/observation)
    • /amtech/linkeddata/types/composite/observation/bLEServicesRead
  • Commands (see /amtech/linkeddata/types/composite/observation)
    • /None