ble_gattc_write_reliable

int
ble_gattc_write_reliable(
                     uint16_t  conn_handle,
         struct ble_gatt_attr *attrs,
                          int  num_attrs,
    ble_gatt_reliable_attr_fn *cb,
                         void *cb_arg
)

Description

Initiates GATT procedure: Reliable Writes. This function consumes the supplied mbufs regardless of the outcome.

Parameters

ParameterDescription
conn_handleThe connection over which to execute the procedure.
attrsAn array of attribute descriptors; specifies which characteristics to write to and what data to write to them. The mbuf pointer in each attribute is set to NULL by this function.
num_attrsThe number of characteristics to write; equal to the number of elements in the ‘attrs’ array.
cbThe function to call to report procedure status updates; null for no callback.
cb_argThe optional argument to pass to the callback function.

Returned values

None