Skip to content
Permalink
Branch: 19.10-release
Commits on Aug 29, 2019
  1. Fix minor build issue on HL78 MCU

    mghicho committed Aug 29, 2019
    Fix signed unsigned comparison build issue on hl78 MCU.
    
    Resolves: LE-13041
    Change-Id: I6c3ec885e0d01f3a996bf394a4c2ee92b1f6ec5d
Commits on Aug 2, 2019
  1. Changes to support Data Hub on ALT1250 MCU

    Andrew MacIsaac
    Andrew MacIsaac committed Jun 3, 2019
     * Fix various GCC warnings.
     * Transition to static memory pools and configurable memory allocation
       behaviour.
     * Conditionally compile Linux and file system features.
     * Conditionally disable the admin tool.
    
    Resolves: LE-12588 LE-13030
    Change-Id: I09a5f0a68d8179cc5aef9f4f098ad6e4e6025ee3
Commits on Jul 10, 2019
  1. Bring Legato project up to date with latest Data Hub (2)

    CoRfr committed Jul 10, 2019
    I had missed one change when importing the PR:
    37a911c Fix placeholder interfering with I/O creation
    
    Resolves: LE-13114 #3
    Change-Id: I80296abe76311c2a054a89da1f2cc80fc40ae52d
Commits on Jul 6, 2019
  1. Merge pull request #2 from mangOH/ioCreateRaceFix

    jtchitty committed Jul 6, 2019
    Fix placeholder interfering with I/O creation
  2. Fix placeholder interfering with I/O creation

    jtchitty committed Jul 6, 2019
    When a placeholder exists before an Input or Output is created,
    the data type and units of the placeholder were getting copied
    over the data type and units of the Input or Output.
Commits on Jun 27, 2019
  1. Bring Legato project up to date with latest Data Hub

    jtchitty authored and CoRfr committed Jun 24, 2019
    These are all non-breaking changes. That is, all existing clients should continue to work after a re-build.
    
    - The resource naming conventions in the io.api were out of date wrt what people are actually doing. Updated that.
    - psensor component was using malloc() and free(). Converted to a memory pool.
    - Added a psensor_CreateJSON() that takes a JSON example string instead of a data type, but otherwise functions in exactly the same way as the generic psensor_Create() function.
    - Made it possible to have all the resources of a periodic sensor appear directly under the app name in the data hub.
    - Trigger a first sample immediately upon enabling when a period is configured, rather than waiting until the first timer expiry before triggering the first sample.
    - Moved the observation buffer backup directory on embedded targets from /data to /home/root to make this feature work again on newer Sierra Wireless WP modules.
    - Added a second pool for smaller string data samples so we don't have to allocate 50KB for every little string.
    
    Resolves: LE-13114
    Change-Id: Ic63ddd7b657594d114844e92fa7346f185f072e9
Commits on Jun 24, 2019
  1. Address review comments

    jtchitty committed Jun 24, 2019
    - Change calculation of object sizes to be more readable and maintainable.
    - Use strnlen() instead of custom string length check.
    - Add comment.
Commits on Jun 22, 2019
  1. Created small string data sample pool

    jtchitty committed Jun 22, 2019
    Reduce internal memory fragmentation by allocating smaller strings
    from a different pool with smaller block sizes.
Commits on Jun 21, 2019
Commits on Jun 15, 2019
Commits on Jun 14, 2019
  1. Periodic sensor component improvements

    jtchitty committed Jun 13, 2019
    - Convert to using a memory pool instead of malloc() and free().
    - Add more documentation.
    - Add psensor_CreateJson().
    - Allow resources to appear directly under the app name.
    - Trigger an immediate sample at start of periodic polling.
  2. Merge pull request #1 from legatoproject/master

    jtchitty committed Jun 14, 2019
    Syncing up with legatoproject work.
Commits on May 6, 2019
  1. Fix io_Get function to return timestamp

    ppalanicha committed May 6, 2019
    Timestamo in the io_Getxx() functions are not initialized.
    The fix samples the timestamp.
    
    Resolves: LE-12471
    Change-Id: Idcf910f5f863e26bd799da535d835235b6142b81
Commits on Apr 24, 2019
  1. Add provides/headerDir in periodicSensor CDEF

    dpfrey authored and CoRfr committed Mar 14, 2019
    Resolves: #2 LE-12703
    Change-Id: I188bc824d2a39c55d0d81c8d909044d623804201
    Signed-off-by: Bertrand Roussel <broussel@sierrawireless.com>
Commits on Feb 8, 2019
  1. Fix uninit variables

    CoRfr committed Feb 5, 2019
    Resolves: LE-12216
    Change-Id: I78a908138b54c364f08a23e18fcd4b0d99fe3c9c
Commits on Feb 1, 2019
  1. Merge remote-tracking branch 'datahub/master' into merge-brooklyn

    jbacksierrawireless committed Jan 31, 2019
    BROOKLYN-276 - DataHub supports Functions inside Observations
    BROOKLYN-532 - IO Connector - AIN periodic sensor ignoring the enable…
    Increase string buffer (50K), mayber revisit this, or make configurable.
    Add destructor to periodic sensor
    Increase string buffer
    Callbacks for changes in the Resource Tree
    
    Resolves: LE-12171
    Change-Id: Ic76fd711dda64c255fa93d730f14ac1d6383294e
Commits on Jan 8, 2019
  1. Add c99 cflags

    air-gh authored and CoRfr committed Nov 20, 2018
    tool.c uses c99 style for loop declaration.
    To avoid compile errors with a strict check option,
    c99 option should be used.
    
    Resolves: #1 LE-11791
    Change-Id: Ie8ab99c03f059fc4dbc6d12362f9c951d4aecf71
    Signed-off-by: Bertrand Roussel <broussel@sierrawireless.com>
Commits on Dec 5, 2018
  1. Add context parameter to psensor_Create

    dpfrey committed Nov 28, 2018
    The signature of the sample function is modified to take a callback
    parameter which is passed by the client at the time that the periodic
    sensor scaffolding is created.
    
    Change-Id: I387e8833f3d1fd2e39b38f0915ccd20131e49fa8
    Resolves: LE-11761
Commits on Nov 23, 2018
Commits on Oct 9, 2018
  1. BROOKLYN-532 - IO Connector - AIN periodic sensor ignoring the enable…

    Ian Morrison
    Ian Morrison committed Oct 9, 2018
    … flag for Carmanah
Commits on Sep 19, 2018
  1. Merge "Fix for the "dead band" filter in dataHub"

    stan-podin authored and Gerrit Legato committed Sep 19, 2018
Commits on Sep 14, 2018
  1. Fix for the "dead band" filter in dataHub

    stan-podin committed Sep 14, 2018
    If the user sets lower limit greater than the higher limit,
    the filter works in the "dead band" mode, suppressing the
    values that are within the range and propagating if they are
    out of range.
    This filter is not working correctly due to the error in the
    comparison logic
    
    Resolves: LE-10721
    Change-Id: I0179fbdf495f4c7ec9e9008f0cb4205b0f07e311
Commits on Aug 30, 2018
  1. Increase string buffer

    Matt Morten
    Matt Morten committed Aug 30, 2018
  2. Add destructor to periodic sensor

    Matt Morten
    Matt Morten committed Aug 30, 2018
  3. Callbacks for changes in the Resource Tree

    Matt Morten
    Matt Morten committed Aug 16, 2018
    Client apps can now register for callbacks, through the Admin API, for when Resources are added or removed from the Resource Tree.
    
    Resolves: LE-10760
    Change-Id: Id80ee63051c98a341964a38d81652db22c7dc10d
Commits on Aug 20, 2018
  1. Callbacks for changes in the Resource Tree

    Matt Morten
    Matt Morten committed Aug 16, 2018
    Client apps can now register for callbacks, through the Admin API, for when Resources are added or removed from the Resource Tree.
    
    Resolves: LE-10760
    Change-Id: Id80ee63051c98a341964a38d81652db22c7dc10d
Commits on Jun 8, 2018
  1. Made JSON parsing a shared component

    jtchitty committed Jun 8, 2018
    Factor out the JSON parsing code into a separate component that
    can be used by code outside of the Data Hub repository to parse
    JSON.
    
    Make 'dhub push' auto-detect valid JSON.
    
    Add a warning when an observation drops non-JSON data because it
    is configured to extract JSON.
Commits on Jun 7, 2018
  1. Improved error handling in dhub CLI tool.

    jtchitty committed Jun 7, 2018
    Added a couple of missing newlines in error messages.
    
    Added a check for a non-existent resource when listing a
    specific path.
  2. Add missing initializers

    jtchitty committed Jun 7, 2018
    The isConfigChanging flag wasn't being initialized in the
    Resource object constructor.  It is now.  Also a couple of
    others that didn't really need initializing are now being
    initialized for completeness.
  3. Add query_ReadBufferSampleX() functions

    jtchitty committed Jun 7, 2018
    Add the following functions to the Data Hub Query API:
    - query_ReadBufferSampleTimestamp()
    - query_ReadBufferSampleBoolean()
    - query_ReadBufferSampleNumeric()
    - query_ReadBufferSampleString()
    - query_ReadBufferSampleJson()
    
    Fix crash when reading a buffer of size 0.
    
    Defend against timestamps that go backward so we don't
    allow the order of timestamps in a buffer to ever go back
    in time, because that could cause infinite loops when
    reading the buffer.
Commits on May 30, 2018
  1. Implement statistical queries on Observations

    jtchitty committed May 30, 2018
    - Implement query_GetMin(), query_GetMax(), query_GetMean(), and
      query_GetStdDev().
    - Add fetching of min, max, mean, and stddev using 'dhub get'.
    - Changed 'dhub read' to accept start time as positional parameter
      instead of --start= option.
    - Fix typo in Query API docs.
  2. Tune obs buffer backup log messages

    jtchitty committed May 30, 2018
    - Remove critical error when backup directory missing.
    - Quiet an INFO message (made it DEBUG).
    - Add more info to an INFO message.
    - Add more info to a comment.
Commits on May 24, 2018
Commits on May 23, 2018
Older
You can’t perform that action at this time.