IBTPBAPSERVER_ACCEPTPBACCESSREQ()
Brew Release
Brew MP 1.0.2
See Also
IBTPBAPServer_GetClientReqInfo
IBTPBAPServer_AcceptConnection
Description
Application should issue this command to accept/reject a Phonebook
access request from a PhoneBook client (PCE). Application can also
send the response data to the underlying implementation as part of this
command. If application wants to let implementation frame the response,
cAcceptType parameter should be set AEEBTPBAP_RESP_TYPE_ACCEPT_REQ
In case application wants to send the response,cAcceptType parameter should
be set to AEEBTPBAP_RESP_TYPE_APP_SERVICE_REQ and pbData, pbDataLen,
uPhoneBookSize, uMissedCalls, bFinal parameters should have valid values.
Params
_me
[in]:
pointer to the IBTPBAPServer object
cAcceptType
[in]:
Indicates if App wants to Reject/Accept/Accept and service the
client request.
bAccept
[in]:
indicates if the request to be serviced or not
pbData
[in]:
phonebook response data
pbDataLen
[in]:
length of the buffer
uPhoneBookSize
[in]:
number of entries in the phonebook.
uMissedCalls
[]:
Number of unchecked missed calls. Valid only
if requested objct was AEEBTPBAP_OBJECT_LOCAL_MCH or
AEEBTPBAP_OBJECT_SIM_MCH
bFinal
[in]:
indicates if this is the last packet.
result
[in]:
Error code to be sent as PBAP server response
Interface
Prototype
IBTPBAPServer_AcceptPBAccessReq(IBTPBAPServer* _me, AEEBTPBAPRespType cAcceptType, const uint8* pbData, int pbDataLen, uint32 uPhoneBookSize, uint32 uMissedCalls, boolean bFinal, BTResult result);
Return
- AEE_SUCCESS : the request to accept the phone book access request
was initiated.
AEE_ENOMEMORY : no memory
AEE_EBADSTATE : bad state ( No outstanding request to service )
Event(s): AEEBTPBAPSRV_EV_PB_OP_DONE is sent to application when the operation is complete.
Side Effect
- None
Comments
None
COMMENTS (0)
See Below