/* XXX: We should technically be able to change the new alert and unread alert catagories when we have no active connections.  */
void ble_svc_ans_init(void)
/* XXX: We should technically be able to change the new alert and unread alert catagories when we have no active connections.  */
void ble_svc_ans_init(void)
{
    int rc;
    SYSINIT_ASSERT_ACTIVE();
    rc = ble_gatts_count_cfg(ble_svc_ans_defs);
    SYSINIT_PANIC_ASSERT(rc == 0);
    rc = ble_gatts_add_svcs(ble_svc_ans_defs);
    SYSINIT_PANIC_ASSERT(rc == 0);
    ble_svc_ans_new_alert_cat = MYNEWT_VAL(BLE_SVC_ANS_NEW_ALERT_CAT);
    ble_svc_ans_unr_alert_cat = MYNEWT_VAL(BLE_SVC_ANS_UNR_ALERT_CAT);
}