123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- #ifndef ES_GATTS_H__
- #define ES_GATTS_H__
- #include <stdint.h>
- #include "nrf_ble_escs.h"
- ret_code_t es_gatts_init(nrf_ble_escs_t * p_ble_escs);
- void es_gatts_handle_write(nrf_ble_escs_t * p_escs,
- uint16_t uuid,
- uint16_t val_handle,
- uint8_t const * p_data,
- uint16_t length);
- void es_gatts_handle_read(nrf_ble_escs_t * p_escs, uint16_t uuid, uint16_t val_handle);
- ret_code_t es_gatts_send_reply(nrf_ble_escs_t * p_escs, ble_gatts_rw_authorize_reply_params_t * p_reply);
- ret_code_t es_gatts_send_op_not_permitted(nrf_ble_escs_t * p_escs, bool op_is_read);
- #endif
|