uwb_core: add unit test for FiraAppConfigParams
This CL adds a test case that successfully builds a
FiraAppConfigParams from the FiraAppConfigParamsBuilder. Then verify
the TLV generated from the params instance.
Besides, this CL has some minor changes:
- Move the default value of each field to constants
- Rename the struct "RangingDeviceRole" to "DeviceRole" for consistency
- Make the builder's setter method accepts T instead of Option<T>
Bug: 228136039
Test: none
Change-Id: I7d7f20ccc5dbb298e69bd56e61697d63b7262431
1 file changed