Unable to add service via GATTM_ADD_SVC_REQ message
I'm using ble_examples\ble_app_peripheral project of the SDK
I treid via sending the GATTM_ADD_SVC_REQ message to add a new service, as follows :
step0 struct gattm_add_svc_req * req = KE_MSG_ALLOC(GATTM_ADD_SVC_REQ,TASK_ATTM,TASK_APP,gattm_add_svc_req); req-> task_id = TASK_APP; req-> total_size = 36; // 16 + 19 +1 req-> nb_att_uuid_16 = 2; req-> nb_att_uuid_32 = 0; req-> nb_att_uuid_128 = 1; req->start_hdl=0; ke_msg_send(req);