This will init the list that will have all the callbacks that will register the services not part of the core. --- peripheral/gap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/peripheral/gap.c b/peripheral/gap.c index a78dc45..fe65700 100644 --- a/peripheral/gap.c +++ b/peripheral/gap.c @@ -535,6 +535,8 @@ void gap_start(void) return; } + gatt_server_init(); + if (!mgmt_send(mgmt, MGMT_OP_READ_COMMANDS, MGMT_INDEX_NONE, 0, NULL, read_commands_complete, NULL, NULL)) { -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html