/* Function for initializing services that will be used by the application.  */
static void services_init(void)
/* Function for initializing services that will be used by the application.  */
static void services_init(void)
{
    uint32_t       err_code;
    ble_nus_init_t nus_init;
    memset(&nus_init, 0, sizeof(nus_init));
    nus_init.data_handler = nus_data_handler;
    err_code = ble_nus_init(&m_nus, &nus_init);
    APP_ERROR_CHECK(err_code);
}