Add Stub Methods to Your Custom Stub File

Add Stub Methods to Your Custom Stub File

  1. Add headers.
  2. Determine if you would like Get/Set  or both Stub functions.
    If you only require a Get- function, then only define the Get-Function.
  3. Define the methods.
    The signature for the Get-Custom-Stub function is :
    ParameterUniqueGlobalIdentifier_cbgetstubfn(uint32_t * value)
    The signature for the Set-Custom-Stub function is :
    ParameterUniqueGlobalIdentifier_cbsetstubfn(uint32_t value)