Home
last modified time | relevance | path

Searched refs:p_attr (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_ais.c481 static ssize_t _ais_server_read(struct bt_conn *p_conn, const struct bt_gatt_attr *p_attr, in _ais_server_read() argument
484 u16_t *value = p_attr->user_data; in _ais_server_read()
488 return bt_gatt_attr_read(p_conn, p_attr, buf, len, offset, value, sizeof(*value)); in _ais_server_read()
491 static ssize_t _ais_service_write(struct bt_conn *p_conn, const struct bt_gatt_attr *p_attr, in _ais_service_write() argument
504 static ssize_t _ais_service_write_nr(struct bt_conn *p_conn, const struct bt_gatt_attr *p_attr, in _ais_service_write_nr() argument
508 return _ais_service_write(p_conn, p_attr, p_buf, len, offset, flags); in _ais_service_write_nr()
511 static void _ais_service_ccc_cfg_changed(const struct bt_gatt_attr *p_attr, uint16_t value) in _ais_service_ccc_cfg_changed() argument

Completed in 3 milliseconds