Support Multicast NTF V1/V2 packet formats.
Fira 1.x had defined the SESSION_UPDATE_CONTROLLER_MULTICAST_LIST_NTF to
have a StatusList[] with 3 fields (MacAddress, SubSessionId, Status -
size of 7 bytes).
Fira 2.0 changed the definition of StatusList[] with 2 fields
(MacAddress, Status - size of 3 bytes).
This CL does the packet conversions with an additional UCI version
parameter given to the try_into() conversion methods (as a tuple).
Test: make com.android.uwb
Test: atest libuwb_uci_jni_rust_tests libuwb_core_tests libuwb_uci_packet_tests
Test: https://paste.googleplex.com/6207883791826944
Bug: 322549007
Change-Id: I6b406c5b157a3a7b639ba492e4e5bcb3b643946d
7 files changed