Skip to content
Permalink
Branch: master
Commits on May 10, 2019
  1. samples: mesh: sync the init procedure to initialise the mesh

    vikrant8051 authored and jhedberg committed May 9, 2019
    Synchronising the init procedure to initialise the mesh
    state only after the settings have been loaded.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: replaced magic numbers with values defined in stdint.h

    vikrant8051 authored and jhedberg committed May 9, 2019
    Replaced magic numbers with constant defined in stdint.h
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  3. samples: mesh: corrected implemenation of gen. move message handlers

    vikrant8051 authored and jhedberg committed May 9, 2019
    After receiving Generic Level Move set/set_unack message, generic
    level state should move towards positive or negative extreme end
    (which is depend upon sign of delta value) till it not get interruped.
    This commit has introduced this feature.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  4. samples: mesh: removed redundant code

    vikrant8051 authored and jhedberg committed May 9, 2019
    Remove redundant code from implementation.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  5. samples: mesh: removed bugs in on-off transition

    vikrant8051 authored and jhedberg committed May 9, 2019
    If Node Lightness is in downward transition & received Generic
    onoff message to set state equal to 1 then Node transaction get
    stopped in between. Ideally it should reach to default lightness
    value if it is non-zero. This commit has solved this bug.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  6. samples: mesh: single timer to handle all transitions

    vikrant8051 authored and jhedberg committed May 9, 2019
    This commit upgrade the implementation to reduce complexity in
    algorithm. Previously there was different timers for lightness
    as well as temperature transitions. But at time only single
    transition is remain activated & hence there is no need
    of multiple timer for each entiity.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Apr 17, 2019
  1. samples: mesh: enable SMP service for DFU

    vikrant8051 authored and jhedberg committed Feb 7, 2019
    This commit enable Bluetooth SMP Service which will help
    us to do Device Firmware Upgrade over thr air. By default
    it is not enable.
    
    Reference: $zephyr/samples/subsys/mgmt/mcumgr/smp_svr
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Feb 7, 2019
  1. samples: mesh: taking care of interrupted transition

    vikrant8051 authored and jhedberg committed Feb 1, 2019
    With this commit, it is now possible that if (for e.g.) lightness
    transition is interrupted by temperature transition (which could
    be instantaneous or non-instanstaneous) then as soon as temperature
    transition get over, then algorithm would achieve target value
    of lightness.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Jan 30, 2019
  1. samples: mesh: removed bug which is cause of divide by zero exception

    vikrant8051 authored and jhedberg committed Jan 21, 2019
    If Client send transition time values as 0x40 or 0x80 or 0xC0 then
    this was cause the behind divide by zero exception during calculation
    of transition->counter. This PR will solve this bug.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Jan 16, 2019
  1. samples: mesh: restriction to re-transmit publish messages

    vikrant8051 authored and jhedberg committed Jan 16, 2019
    If Server receives re-transmitted message then it will not
    transmit corresponding publish message for it.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: feature to save Lightness & Temp. Range on Flash

    vikrant8051 authored and jhedberg committed Jan 13, 2019
    With this commit, it is now possible to save Lightness &
    temperature Range values on SoC flash.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  3. samples: mesh: code improvements

    vikrant8051 authored and jhedberg committed Jan 13, 2019
    Added app_gpio.c & no_transition_work_handler.c to reduce
    burden on main.c. It will simplify & help to understand
    overall architecture.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  4. samples: mesh: revised states binding & target value calculation

    vikrant8051 authored and jhedberg committed Jan 11, 2019
    Simplified algorithm behind states binding & target values calculation.
    This has improved code readability.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  5. samples: mesh: Remove redundant code

    vikrant8051 authored and jhedberg committed Jan 11, 2019
    Removed redundant code.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Dec 13, 2018
  1. samples: mesh: enable retransmission of GET & Publish messages

    vikrant8051 authored and jhedberg committed Dec 13, 2018
    Now if Server receives re-transmitted messages from client then
    it will not get completely ignored but respective GET & Publish
    message will get release from Server side.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: follow Mesh study guide to avoid retransmitted message

    vikrant8051 authored and jhedberg committed Dec 13, 2018
    As per Mesh Model Specification,
    when a Server receives a Set message or a Set Unacknowledged message,
    it shall set the state to the target field of the message,
    unless the message has the same values for the SRC, DST, and TID
    fields as the previous message received within the last 6 seconds.
    
    This commit take care of this requirement.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Dec 12, 2018
  1. samples: mesh: nrf52: coding style improvement (Vendor Model)

    vikrant8051 authored and jhedberg committed Dec 12, 2018
    This commit's implementation update Vendor Model dummy response
    value in vnd_get() instead of vnd_set_unack().
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: nrf52: removed bug introduced by PR:9521

    vikrant8051 authored and jhedberg committed Dec 12, 2018
    Removed bug which get introduced by PR:9521. Because of it
    not able to save App's variable on SoC flash.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  3. samples: nrf52: mesh: removed unwanted lines of Code

    vikrant8051 authored and jhedberg committed Dec 12, 2018
    Removed redundant lines of code which are inappropriate
    as per latest implementation.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Dec 5, 2018
  1. samples: mesh: nrf52: improved code readability

    vikrant8051 authored and jhedberg committed Dec 5, 2018
    Improved code readability by defining some macros.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: nrf52: state binding improvements

    vikrant8051 authored and jhedberg committed Dec 5, 2018
    Corrected state binding. With this commit Light Lightness
    actual state would not cross its upper & lower limit.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  3. samples: mesh: nrf52: removed bugs in Target values calculation

    vikrant8051 authored and jhedberg committed Dec 5, 2018
    Target values should change as per min. & max. values of
    bound states. This commit handles this.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  4. samples: mesh: nrf52: improved coding style

    vikrant8051 authored and jhedberg committed Dec 4, 2018
    Improved coding style.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  5. samples: mesh: nrf52: rename some functions name

    vikrant8051 authored and jhedberg committed Dec 4, 2018
    Function names should have a verb as the last component.
    As per this standard, rename some fuunctions names.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  6. samples: mesh: nrf52: removed bug in Gen. level Move GET & Publish

    vikrant8051 authored and jhedberg committed Dec 4, 2018
    Due to recent changes some bugs had introduced in Gen. Level Move
    GET & Publish functionalities. Now separatly introduced
    gen_level_move_get() and gen_level_move_publisher() to resolved it.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Dec 1, 2018
  1. samples: mesh: nrf52: upgrade re-transmission parameters

    vikrant8051 authored and jhedberg committed Dec 1, 2018
    Upgrade NODE's transmission parameters.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: update Kconfig parameter for better performance

    vikrant8051 authored and jhedberg committed Dec 1, 2018
    Upgrade & add few Kconfig parameters to improve Bluetooth Mesh
    performance.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 28, 2018
  1. samples: mesh: nrf52: removed bug in Gen. onoff unack handler

    vikrant8051 authored and jhedberg committed Nov 28, 2018
    In Gen. OnOff Unack handler, gen_onoff_publisher(model) was
    misplaced previously & now it is set to proper location.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 24, 2018
  1. samples: mesh: nrf52: improve in execution if trnasition time is Zero

    vikrant8051 authored and jhedberg committed Nov 24, 2018
    If transition time is not equal to Zero then & then only values
    related to transition get calculated.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 23, 2018
  1. samples: mesh: nrf52: implementation as Mesh Model specs 3.1.1.1

    vikrant8051 authored and jhedberg committed Nov 23, 2018
    Now if Gen. OnOff state set by client as '1' with some
    transition time then value of Lightness will not jump to default
    or last value instantly instead it would gradually increase during
    that transition period.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: nrf52: coding style improvements

    vikrant8051 authored and jhedberg committed Nov 23, 2018
    Create independent function handlers for some Servers. This
    would not initiate state binding if current state is equal to
    Client requested state.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 21, 2018
  1. samples: mesh: nrf52: make all transition timer dependent

    vikrant8051 authored and jhedberg committed Nov 21, 2018
    This commit will take back changes made by previous commit
    i.e. fad8ff3.
    
    This is beacause k_sleep() based delay is not behaving as
    expected while testing & take more time than expected.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 20, 2018
  1. samples: mesh: nrf52: use timer in case of transition

    vikrant8051 authored and jhedberg committed Nov 20, 2018
    With this commit, if message contains transition time then
    and only then timer would get started.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  2. samples: mesh: nrf52: changes to make immediatly send GET responses

    vikrant8051 authored and jhedberg committed Nov 20, 2018
    With this commit now it is simple to understand flow of logic when
    NODE receives any message & how it proceed things one by one.
    
    Plus NODE will immediately send GET status to Client instead of
    waiting for things which has less priority.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Commits on Nov 15, 2018
  1. samples: mesh: nrf52: improvement in transition type reassignment

    vikrant8051 authored and jhedberg committed Nov 15, 2018
    Simplifies message handler for Servers & transition type reassignment.
    
    Signed-off-by: Vikrant More <vikrant8051@gmail.com>
Older
You can’t perform that action at this time.