Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W
Wiki
  • Project overview
    • Project overview
    • Details
    • Activity
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • TEC
    • P
      Public
  • FlockLab
  • Wiki
  • Wiki
    • Man
  • XmlPortingGuide

Last edited by Reto Da Forno Sep 09, 2020
Page history

XmlPortingGuide

XML Config Porting Guide

This porting guide should help you to quickly adjust an existing XML config file (from FlockLab 1) such that it is compatible with FlockLab 2.

Limitations

  • Certain elements have been removed to simplify the configuration and reduce the implementation effort. One of the resulting limitations is that services such as power profiling can only be started once per test and observer. On FlockLab 1, it was possible to have several <profConf> tags to perform power profiling at multiple points in time during a test.

Removed or changed configuration options

  • <gpioTracingConf>: <pinConf> has been replaced with a simple <pins> tag. Capture edge and mode can't be specified anymore.
  • <powerProfilingConf>: <profConf> has been removed. Instead, duration, offset and rate can be specified with the new tags <duration> [s], <offset> [s] and <samplingRate> [Hz]. Note that instead of specifying a sampling divider, you now have to specify the actual sampling rate.
  • All callback related XML elements have been removed.
  • <imageConf>: the parameter <os> has been removed.
  • <serialConf>: the parameter <mode> has been removed.
  • element <imageConf> has been renamed to <embeddedImageConf>
  • <gpioActuationConf>: type periodic has been removed and offset type is now in seconds (float value)

New configuration options

  • instead of listing all available observer IDs, you can now use the keyword ALL in the <obsIds> tags
  • <powerProfilingConf>: the tag <fileFormat> can be used to specify the file format.
  • <generalConf>: a new (optional) <custom> tag has been added.
  • <debugConf>: new service on FlockLab 2.
Clone repository
  • Man
    • CoojaPlugin
    • Description
    • Examples
    • FAQ
    • GpioAssignmentTargetAdapter
    • HowTo
    • QuickStart
    • Services
    • ServicesOld
    • SetupGuide
    • Targets
    • Tutorials
    • Tutorials
      • Tutorial1
      • Tutorial2
      • Tutorial3
View All Pages