Suppose I defined services (According to nAN36 Document)
#define BASE_UUID {}
#define SERVICE1 1602 // This service send a alert message Id i.e. similar to proximity hex
#define SERVICE2 1603 // This will send a message.
// so I added two different characteristic ID ...
#define CHARC_SERVICE1 1604
#define CHARC_SERVICE2 1605
Now in the init function of each service1 file.
uint32_t service1_init_func(xxxxx)
{
// Intialized service structure.
// added base UUID
sd_ble_uuid_vs_add(x,x);
// and so on other details and chararestircs files called
}
uint32_t msg_send_char_add(xxx)
{
// Added Characetrictics_service1
}
Now I have to initialize similarly to other services, so Do I require to again add BASE UUID using sd_ble_uuid_vs_add() in SERVICE2 init function?
and similary require to define characteristics for same.