Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: Mesh: Move dfu mbt models into their own elements #81531

Commits on Nov 28, 2024

  1. Bluetooth: Mesh: Check that required models exists on the same element

    Referring to MshDFU_v1.0 Sections 6.1.1, 6.2.1 and  7.1.1 model
    descriptions: DFU/DFD server/clients extend BLOB Transfer root models
    and DFD server requires Firmware Update Client on the same element. For
    this reason we need to make sure that those main models or root models
    exist on the same element. And also firmware update client can not be
    forced to be in the first element.
    
    For all model extention call return the error code in case of an error.
    
    Signed-off-by: alperen sener <[email protected]>
    m-alperen-sener committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    1044698 View commit details
    Browse the repository at this point in the history
  2. Tests: Bluetooth: Tester: Mesh DFUM and BLOB should have own elements

    Moving the blob client, dfd server and dfu server to their own
    elements and increasing the CONFIG_BT_MESH_TX_SEG_MAX to 8 to fit
    new composition data into composition data page status message.
    
    Standalone mesh blob client and DFU distributor/update server models
    requires one element and those elements only contain the main models
    and the models they extend to.
    
    Referring to MshMBT_v1.0 Section 6.1:
    The BLOB Transfer Client model defines the messages listed in Table 6.1
    , and requires one element: the BLOB Transfer Client Main element. The
    BLOB Transfer Client Main element contains the BLOB Transfer Client
    main model.
    
    And referring to MshDFU_v1.0 Sections 6.1.1 and 6.2.1:
    6.1.1
    The Firmware Update Server model adds the state instances listed in
    Table 6.1 and Table 6.2 and the messages listed in Table 6.3 to the
    model it extends, and requires one element: the Firmware Update Main
    element. The Firmware Update Main element contains the Firmware Update
    Server main model and all the models that the main model extends.
    6.2.1
    The Firmware Distribution Server model adds the state instances listed
    in Table 6.7 and Table 6.8 and the messages listed in Table 6.9 to the
    model it extends, and requires one element: the Firmware Distribution
    Main element. The Firmware Distribution Main element contains the
    Firmware Distribution Server main model and all the models that the
    main model extends.
    
    Signed-off-by: alperen sener <[email protected]>
    m-alperen-sener committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    ae56d8b View commit details
    Browse the repository at this point in the history