mirror of
https://gitlab.com/prpl-foundation/prplmesh/prplMesh.git
synced 2025-12-20 01:21:22 +08:00
Key features included:
* Optimized vendor TLV parsing to support multiple vendors efficiently.
* Refactored `common_utility.{h,cpp}` to streamline vendor message handling:
- Payload Extraction Utility: Adds a common utility function to extract relevant data from payloads.
* Introduced `airties_utils_dummy.h` for legacy build compatibility.
* Improved vendor OUI validation to accommodate new vendors easily.
* Airties-specific TLV Parsing: Supports parsing of custom TLVs used by Airties devices.
* Reboot/Reset Request Handling: Handles reboot/reset requests received on vendor-sepcific messages.
Test Cases:
* Onboarded between controller and collocated agent and external agent.
* Validated the reboot functionality, triggered the reboot request from proprietary Controller
and confirmed agent is going for reboot
* Confirmed proprietary agent is sending ack message within one sec when
it recieved the reboot request from proprietary Controller.
Note: The FactoryReset functionality has not been tested due to issues with the
Device.FactoryReset() DM in mainline 3.1 and above branches.
Addressed the review comments:
* removed the relative path from the header files.
* Airties OUI macro was hardcoded, So changes it with using macro defined in airties yaml file
* Added the beerocks_vendor_message process in the ProcessMonitor data model and in prplmesh_watchdog().
Closes PPM-3130
Signed-off-by: Sundram Patel <sundram.p@tataelxsi.co.in>