github.com/jingruilea/kubeedge@v1.2.0-beta.0.0.20200410162146-4bb8902b3879/mappers/bluetooth_mapper/configuration/config.yaml (about)

     1  mqtt:
     2    mode: 0       # 0 -internal mqtt broker  1 - external mqtt broker
     3    server: tcp://127.0.0.1:1883 # external mqtt broker url.
     4    internal-server: tcp://127.0.0.1:1884 # internal mqtt broker url.
     5  device-model-name: cc2650-sensortag
     6  action-manager:
     7    actions:
     8      - name: IRTemperatureConfiguration
     9        perform-immediately: true
    10        device-property-name: temperature-enable     #property-name defined in the device model
    11      - name: IRTemperatureData
    12        perform-immediately: false
    13        device-property-name: temperature            #property-name defined in the device model
    14      - name: IOConfigurationInitialize
    15        perform-immediately: true
    16        device-property-name: io-config-initialize    #property-name defined in the device model
    17      - name: IODataInitialize
    18        perform-immediately: true
    19        device-property-name: io-data-initialize      #property-name defined in the device model
    20      - name: IOConfiguration
    21        perform-immediately: true
    22        device-property-name: io-config                #property-name defined in the device model
    23      - name: IOData
    24        perform-immediately: false
    25        device-property-name: io-data                  #property-name defined in the device model
    26  scheduler:
    27    schedules:
    28      - name: temperature
    29        interval: 3000
    30        occurrence-limit: 10            # if it is 0, then the event will execute infinitely
    31        actions:
    32          - IRTemperatureData          # Action name defined in the action-manager section
    33  watcher:
    34    device-twin-attributes :
    35      - device-property-name: io-data                     # the twin attribute name defined while creating device
    36        actions:                         # list of action names, defined in the action-manager section, to be executed on the device
    37          - IOConfigurationInitialize
    38          - IODataInitialize
    39          - IOConfiguration
    40          - IOData