/* Sends all pending notifications and indications. The bluetooth spec does not allow more than one concurrent indication for a single peer, so this function will hold off on sending such indications.  */
void ble_gatts_tx_notifications(void)
/* Sends all pending notifications and indications. The bluetooth spec does not allow more than one concurrent indication for a single peer, so this function will hold off on sending such indications.  */
void ble_gatts_tx_notifications(void)
{
    uint16_t chr_val_handle;
    int i;
    for (i = 0; i < ble_gatts_num_cfgable_chrs; i++) {
        chr_val_handle = ble_gatts_clt_cfgs[i].chr_val_handle;
        ble_gatts_tx_notifications_one_chr(chr_val_handle);
    }
}