Difference between revisions of "BLEGattCentral"

From AMTech WikiDocs
Jump to: navigation, search
(BLEGattCentral)
Line 2: Line 2:
 
Bridge BLE GATT services and characteristics read and write to IoT DAP protocol.
 
Bridge BLE GATT services and characteristics read and write to IoT DAP protocol.
 
*leverages BLE GATT ([https://www.safaribooksonline.com/library/view/getting-started-with/9781491900550/ch04.html Generic Attribute Profile]) standard
 
*leverages BLE GATT ([https://www.safaribooksonline.com/library/view/getting-started-with/9781491900550/ch04.html Generic Attribute Profile]) standard
*services and characteristics can be configuring setting gattProfileConfig property
+
*services and characteristics can be configured setting gattProfileConfig property
 
**'''Advertised device name''' List of devices name to be discovered (names the manufacture uses to advertise the device)  
 
**'''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 [https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601] string duration; representing how frequently characterictics values will be collected; defaults to 1 minute iso 8601 PT1M  
 
**'''Frequency to read characteristics value(s)''' an [https://www.iso.org/iso-8601-date-and-time-format.html ISO 8601] string duration; representing how frequently characterictics values will be collected; defaults to 1 minute iso 8601 PT1M  

Revision as of 11:01, 19 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 configured 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 characterictics 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 UUID and name(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
      • never
      • always
      • percentage changed
      • value changed
      • less than
      • greater than
      • range
Smoothing configuration
  • Placeholders (See Placeholders)
    • None
  • Produced observations (see /amtech/linkeddata/types/composite/observation)
    • /amtech/linkeddata/types/composite/observation/bleGattCharacteristic
  • Commands (see /amtech/linkeddata/types/composite/observation)
    • /amtech/linkeddata/types/composite/observation/bleGattCharacteristic