SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
param – Profile parameter ID (see Section C.2)
len – length of data to write
pValue – pointer to value to set parameter. This is dependent on the parameter ID and is cast to the appropriate data type.
SUCCESS
INVALIDPARAMETER: param was not valid
bleInvalidRange: len is invalid for the given param
param – Profile parameter ID (see Section C.2)
pValue – pointer to buffer to contain the read data
SUCCESS
INVALIDPARAMETER: param was not valid
connHandle - connection handle of link to terminate or...
0xFFFE: cancel the current link establishment request or...
0xFFFF: terminate all links
SUCCESS: termination has started
bleIncorrectMode: there is no active connection
LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE: terminate procedure already started
highDutyCycle - TRUE to high duty cycle scan, FALSE if not
whiteList - determines use of the white list
addrTypePeer - address type of the peer device:
peerAddr - peer device address
SUCCESS: link establishment has started
bleIncorrectMode: invalid profile role.
bleNotReady: a scan is in progress.
bleAlreadyInRequestedMode: cannot process now.
bleNoResources: too many links.
connHandle - connection handle
connIntervalMin - minimum connection interval in 1.25 ms units
connIntervalMax - maximum connection interval in 1.25 ms units
connLatency - number of LL latency connection events
connTimeout - connection timeout in 10 ms units
SUCCESS: parameter update has started
bleNotConnected: No connection to update.
INVALIDPARAMETER: connection parameters are invalid
LL_STATUS_ERROR_ILLEGAL_PARAM_COMBINATION: connection parameters do not meet Bluetooth Low Energy spec requirements: STO > (1 + Slave Latency) × (Connection Interval × 2)
LL_STATUS_ERROR_INACTIVE_CONNECTION: connHandle is not active
LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE: there is already a param update in process
LL_STATUS_ERROR_UNACCEPTABLE_CONN_INTERVAL: connection interval wont work because it is not a multiple or divisor of other simultaneous connection’s intervals, or the connection’s interval is not less than the allowed maximum connection interval as determined by the maximum number of connections times the number of slots per connection
mode - discovery mode
activeScan - TRUE to perform active scan
whiteList - TRUE to only scan for devices in the white list
SUCCESS: device discovery has started
bleAlreadyInRequestedMode: Device discovery already started.
bleMemAllocError: not enough memory to allocate device discovery structure.
LL_STATUS_ERROR_BAD_PARAMETER: bad parameter
LL_STATUS_ERROR_COMMAND_DISALLOWED
None
SUCCESS: cancelling of device discovery has started
bleIncorrectMode: Not in discovery mode.
connHandle - connection handle of link
period - RSSI read period in ms
SUCCESS: RSSI calculation has started
bleIncorrectMode: No active link.
bleNoResources: No resources for allocation.
connHandle - connection handle of link
SUCCESS
bleIncorrectMode: No active link.