SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
param – Profile parameter ID (see Section B.2)
len – length of data to write
pValue – pointer to value to set parameter. This pointer depends on the parameter ID and will be cast to the appropriate data type.
SUCCESS
INVALIDPARAMETER: param was not valid.
bleInvalidRange: len is not valid for the given param.
blePending: previous param update has not been completed
bleIncorrectMode: cannot start connectable advertising because nonconnectable advertising is enabled
param – Profile parameter ID (Section B.2)
pValue – pointer to location to get parameter. This is dependent on the parameter ID and will be cast to the appropriate data type.
SUCCESS
INVALIDPARAMETER: param was not valid
pAppCallbacks – pointer to application callbacks (Section B.3)
SUCCESS
bleAlreadyInRequestedMode: device was already initialized
SUCCESS: connection termination process has started.
bleIncorrectMode: there is no active connection.
LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE: disconnect is in progress.
ConnInterval – the new connection interval
latency – the new slave latency
connTimeout – the new time-out value
handleFailure – what to do if the update does not occur
Available actions:
SUCCESS: parameter update process has started
BleNotConnected: there is no connection so cannot update parameters