Lines Matching refs:offset
51 void *buf, uint16_t len, uint16_t offset) in read_vnd() argument
55 return bt_gatt_attr_read(conn, attr, buf, len, offset, value, in read_vnd()
60 const void *buf, uint16_t len, uint16_t offset, in write_vnd() argument
65 if (offset + len > VND_MAX_LEN) { in write_vnd()
69 memcpy(value + offset, buf, len); in write_vnd()
70 value[offset + len] = 0; in write_vnd()
108 uint16_t len, uint16_t offset, uint8_t flags) in write_long_vnd() argument
116 if (offset + len > VND_LONG_MAX_LEN) { in write_long_vnd()
120 memcpy(value + offset, buf, len); in write_long_vnd()
121 value[offset + len] = 0; in write_long_vnd()
136 void *buf, uint16_t len, uint16_t offset) in read_signed() argument
140 return bt_gatt_attr_read(conn, attr, buf, len, offset, value, in read_signed()
145 const void *buf, uint16_t len, uint16_t offset, in write_signed() argument
150 if (offset + len > sizeof(signed_value)) { in write_signed()
154 memcpy(value + offset, buf, len); in write_signed()
167 const void *buf, uint16_t len, uint16_t offset, in write_without_rsp_vnd() argument
179 if (offset + len > VND_MAX_LEN) { in write_without_rsp_vnd()
183 memcpy(value + offset, buf, len); in write_without_rsp_vnd()
184 value[offset + len] = 0; in write_without_rsp_vnd()