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

Developer

API Reference

IBTDEVDB_SETNICKNAME()

Brew Release
Brew MP 1.0.2
See Also
Description
This method updates the NickName for a particular device.
Params
po
[in]:
the object
pBDAddr
[in]:
BD address of remote device
szName
[in]:
Nickname in UTF-8 format, whose length should not exceed AEEBT_MAX_LEN_NICK_NAME


Return
AEEBT_RESULT_SUCCESS
[]:
entry with given BD addr 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_SetNickName(IBTDevDB* p,
                                     const BDAddress* pBDAddr,  
                                     const uint8* szName);
    
    
Side Effect
  • None
Comments
None