-
Notifications
You must be signed in to change notification settings - Fork 4
Custom use cases: Providing API patterns: SVC mode
If an API call gets translated to a supervisor call, then all argXtract
needs to know if the corresponding svc
number. Modify the test_binary_against_vendor
function within <root>/argxtract/resources/vendor/ExampleVendor/chipset_analyser.py
to set this information within argxtract.common.objects.vendor_svc_set
. Use <root>/argxtract/resources/vendor/nordic_ant/chipset_analyser.py
as a reference.
The above is the only required step. Additionally, if there isn't an exact mapping available for the chipset and SVC set, then you might want some sort of majority vote-based method to assign the most likely SVC number. This is achieved within the method get_svc_num
within <root>/argxtract/resources/vendor/ExampleVendor/chipset_analyser.py
. Use <root>/argxtract/resources/vendor/nordic_ble/chipset_analyser.py
as a reference.