drivers/nble: Update headers following new 0215 fw release
These are mostly cosmetic changes, shall work with firmwares niko-0214 and niko-0215. Change-Id: Id39c6b9cee6e759f77a05259632e453492ffe498 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
c5d2e76048
commit
123c6b8ba2
4 changed files with 12 additions and 11 deletions
|
@ -460,7 +460,7 @@ void on_nble_gatts_write_evt(const struct nble_gatt_wr_evt *evt,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_nble_gatts_get_attribute_value_rsp(const struct nble_gatts_attribute_response *par,
|
void on_nble_gatts_get_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp,
|
||||||
uint8_t *data, uint8_t length)
|
uint8_t *data, uint8_t length)
|
||||||
{
|
{
|
||||||
BT_DBG("");
|
BT_DBG("");
|
||||||
|
@ -477,7 +477,7 @@ void on_nble_gatts_send_svc_changed_rsp(const struct nble_core_response *par)
|
||||||
BT_DBG("");
|
BT_DBG("");
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_nble_gatts_set_attribute_value_rsp(const struct nble_gatts_attribute_response *par)
|
void on_nble_gatts_set_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp)
|
||||||
{
|
{
|
||||||
BT_DBG("");
|
BT_DBG("");
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,7 +228,7 @@ struct nble_gatts_get_attribute_params {
|
||||||
uint16_t value_handle; /* mandatory */
|
uint16_t value_handle; /* mandatory */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct nble_gatts_attribute_response {
|
struct nble_gatts_attribute_rsp {
|
||||||
int status; /**< Status of the operation. */
|
int status; /**< Status of the operation. */
|
||||||
uint16_t value_handle; /* mandatory */
|
uint16_t value_handle; /* mandatory */
|
||||||
void *priv;
|
void *priv;
|
||||||
|
@ -251,9 +251,9 @@ void nble_gatts_set_attribute_value_req(const struct nble_gatts_set_attribute_pa
|
||||||
/**
|
/**
|
||||||
* Response to @ref nble_gatts_send_svc_changed_req.
|
* Response to @ref nble_gatts_send_svc_changed_req.
|
||||||
*
|
*
|
||||||
* @param par Response
|
* @param rsp Response
|
||||||
*/
|
*/
|
||||||
void on_ble_gatts_set_attribute_value_rsp(const struct nble_gatts_attribute_response *par);
|
void on_ble_gatts_set_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an attribute value.
|
* Get an attribute value.
|
||||||
|
@ -270,11 +270,11 @@ void nble_gatts_get_attribute_value_req(const struct nble_gatts_get_attribute_pa
|
||||||
/**
|
/**
|
||||||
* Response to @ref nble_gatts_get_attribute_value_req.
|
* Response to @ref nble_gatts_get_attribute_value_req.
|
||||||
*
|
*
|
||||||
* @param par Response
|
* @param rsp Response
|
||||||
* @param data Attribute value
|
* @param data Attribute value
|
||||||
* @param length Length of attribute value
|
* @param length Length of attribute value
|
||||||
*/
|
*/
|
||||||
void on_ble_gatts_get_attribute_value_rsp(const struct nble_gatts_attribute_response *par,
|
void on_ble_gatts_get_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp,
|
||||||
uint8_t *data, uint8_t length);
|
uint8_t *data, uint8_t length);
|
||||||
|
|
||||||
struct nble_gatts_svc_changed_params {
|
struct nble_gatts_svc_changed_params {
|
||||||
|
@ -483,7 +483,7 @@ struct nble_gattc_write_rsp {
|
||||||
* @param priv Pointer to private data.
|
* @param priv Pointer to private data.
|
||||||
*/
|
*/
|
||||||
void nble_gattc_read_req(const struct nble_gattc_read_params *params,
|
void nble_gattc_read_req(const struct nble_gattc_read_params *params,
|
||||||
void *priv);
|
void *priv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response to @ref nble_gattc_read_req.
|
* Response to @ref nble_gattc_read_req.
|
||||||
|
@ -506,7 +506,7 @@ void on_ble_gattc_read_rsp(const struct nble_gattc_read_rsp *ev,
|
||||||
* @param priv Pointer to private data.
|
* @param priv Pointer to private data.
|
||||||
*/
|
*/
|
||||||
void nble_gattc_write_req(const struct nble_gattc_write_params *params,
|
void nble_gattc_write_req(const struct nble_gattc_write_params *params,
|
||||||
const uint8_t *buf, uint8_t len, void *priv);
|
const uint8_t *buf, uint8_t len, void *priv);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response to @ref nble_gattc_write_req.
|
* Response to @ref nble_gattc_write_req.
|
||||||
|
|
|
@ -63,7 +63,8 @@
|
||||||
|
|
||||||
#define LIST_FN_SIG_S_P \
|
#define LIST_FN_SIG_S_P \
|
||||||
FN_SIG_S_P(nble_gap_disconnect_req, \
|
FN_SIG_S_P(nble_gap_disconnect_req, \
|
||||||
const struct nble_gap_disconnect_req_params *, void *)\
|
const struct nble_gap_disconnect_req_params *, \
|
||||||
|
void *) \
|
||||||
FN_SIG_S_P(nble_gap_connect_req, \
|
FN_SIG_S_P(nble_gap_connect_req, \
|
||||||
const struct nble_gap_connect_req_params *, void *) \
|
const struct nble_gap_connect_req_params *, void *) \
|
||||||
FN_SIG_S_P(nble_gap_generic_cmd_req, \
|
FN_SIG_S_P(nble_gap_generic_cmd_req, \
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
const struct nble_gatt_wr_evt *, \
|
const struct nble_gatt_wr_evt *, \
|
||||||
const uint8_t *, uint8_t) \
|
const uint8_t *, uint8_t) \
|
||||||
FN_SIG_S_B(on_nble_gatts_get_attribute_value_rsp, \
|
FN_SIG_S_B(on_nble_gatts_get_attribute_value_rsp, \
|
||||||
const struct nble_gatts_attribute_response *,\
|
const struct nble_gatts_attribute_rsp *, \
|
||||||
uint8_t *, uint8_t) \
|
uint8_t *, uint8_t) \
|
||||||
FN_SIG_S_B(on_nble_gatt_register_rsp, \
|
FN_SIG_S_B(on_nble_gatt_register_rsp, \
|
||||||
const struct nble_gatt_register_rsp *, \
|
const struct nble_gatt_register_rsp *, \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue