diff --git a/profiles/network/common.c b/profiles/network/common.c
index 34ab788..5a36170 100644
--- a/profiles/network/common.c
+++ b/profiles/network/common.c
{ NULL }
};
-uint16_t bnep_service_id(const char *svc)
-{
- int i;
- uint16_t id;
-
- /* Friendly service name */
- for (i = 0; __svc[i].name; i++)
- if (!strcasecmp(svc, __svc[i].name)) {
- return __svc[i].id;
- }
-
- /* UUID 128 string */
- for (i = 0; __svc[i].uuid128; i++)
- if (!strcasecmp(svc, __svc[i].uuid128)) {
- return __svc[i].id;
- }
-
- /* Try convert to HEX */
- id = strtol(svc, NULL, 16);
- if ((id < BNEP_SVC_PANU) || (id > BNEP_SVC_GN))
- return 0;
-
- return id;
-}
-
const char *bnep_uuid(uint16_t id)
{
int i;
diff --git a/profiles/network/common.h b/profiles/network/common.h
index 0a8c4fe..682dab6 100644
--- a/profiles/network/common.h
+++ b/profiles/network/common.h
int bnep_init(void);
int bnep_cleanup(void);
-uint16_t bnep_service_id(const char *svc);
const char *bnep_uuid(uint16_t id);
const char *bnep_name(uint16_t id);