aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/att.c
diff options
context:
space:
mode:
Diffstat (limited to 'attrib/att.c')
-rw-r--r--attrib/att.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/attrib/att.c b/attrib/att.c
index 47926488..14dd274c 100644
--- a/attrib/att.c
+++ b/attrib/att.c
@@ -85,7 +85,7 @@ void att_data_list_free(struct att_data_list *list)
free(list);
}
-uint16_t att_read_by_grp_type_encode(uint16_t start, uint16_t end, uuid_t *uuid,
+uint16_t enc_read_by_grp_req(uint16_t start, uint16_t end, uuid_t *uuid,
uint8_t *pdu, int len)
{
uint16_t *p16;
@@ -112,7 +112,7 @@ uint16_t att_read_by_grp_type_encode(uint16_t start, uint16_t end, uuid_t *uuid,
return 7;
}
-struct att_data_list *att_read_by_grp_type_decode(const uint8_t *pdu, int len)
+struct att_data_list *dec_read_by_grp_resp(const uint8_t *pdu, int len)
{
struct att_data_list *list;
const uint8_t *ptr;
@@ -137,13 +137,13 @@ struct att_data_list *att_read_by_grp_type_decode(const uint8_t *pdu, int len)
return list;
}
-uint16_t att_find_by_type_encode(uint16_t start, uint16_t end, uuid_t *uuid,
+uint16_t enc_find_by_type_req(uint16_t start, uint16_t end, uuid_t *uuid,
uint8_t *pdu, int len)
{
return 0;
}
-uint16_t att_read_by_type_encode(uint16_t start, uint16_t end, uuid_t *uuid,
+uint16_t enc_read_by_type_req(uint16_t start, uint16_t end, uuid_t *uuid,
uint8_t *pdu, int len)
{
uint16_t *p16;
@@ -170,7 +170,7 @@ uint16_t att_read_by_type_encode(uint16_t start, uint16_t end, uuid_t *uuid,
return 7;
}
-struct att_data_list *add_read_by_type_decode(const uint8_t *pdu, int len)
+struct att_data_list *dec_read_by_type_resp(const uint8_t *pdu, int len)
{
struct att_data_list *list;
const uint8_t *ptr;