API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTDEVDB_SETUSERVALUE()

Brew Release
Brew MP 1.0.2
Description
This method updates the User defined values 1- 4 for a particular device.

Params
po
[in]:
the object
pBDAddr
[in]:
BD address of remote device
modDevField
[in]:
AEEBT_MDF_VAL1_B/ AEEBT_MDF_VAL2_B/ AEEBT_MDF_VAL3_B/ AEEBT_MDF_VAL4_B
uValue
[in]:
User defined value to update for the Device.


Return
AEEBT_RESULT_SUCCESS
[]:
entry with given BD address updated
AEEBT_RESULT_BAD_PARAM
[]:
input pointers are invalid
AEEBT_RESULT_NO_RESOURCE
[]:
no resource to perform this operation
AEEBT_RESULT_ENTRY_NOT_FOUND
[]:
entry does not exist
Interface
  • IBTDEVDB
Prototype
  •    BTResult IBTDEVDB_SetUserValue(IBTDevDB* po,
                                      const BDAddress* pBDAddr,  
                                      BTModDevField modDevField,  
                                      uint16  uValue);
    
    
Side Effect
  • None
Comments
None