Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10439

Mesh stack delay work API is limited to a maximum delay of uint32 maximum value (42,949,672 milliseconds)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-3383
    • BLE Stack BLE5-2.2.2 RC8
    • BLE Stack BLE5-2.2.9

      Description

      Mesh stack delay work API is limited to a maximum delay of 42949672 milliseconds. (uint32).

       

      Details

      When using mesh stack API _k_delayed_work_submit_ to schedule a delayed work,

      the timeout time is limited by the following value: 42949672 milliseconds (maximum value of uint32),
      due to a limitation of the TIRTOS Timer API that uses UINT32 value.

      This has some implications on the mesh stack behavior.

      An example would be of the following scenario:

      When a node (other device) subscribes to receive a periodic heartbeat message from our device, it may configure the period value to be at a range of 0 - 65536 seconds. 

      Due to the given limitation, any period value in the range of 42949 - 65536 seconds, will be converted to 42949 seconds.

      This limitation is driven by the internal timers API.

       

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: