<commit_before>/*
 * Copyright 2017, Helium Systems, Inc.
 * All Rights Reserved. See LICENCE.txt for license information
 */

#ifndef HELIUM_ERROR_H
#define HELIUM_ERROR_H

enum helium_status
{
    helium_status_OK,
    helium_status_OK_NO_DATA,
    helium_status_ERR_COMMUNICATION,
    helium_status_ERR_NOT_CONNECTED,
    helium_status_ERR_TIMEOUT,
    helium_status_ERR_DROPPED,
    helium_status_ERR_KEEP_AWAKE,
    helium_status_ERR_NOT_FOUND,
};

enum helium_info_status
{
    helium_info_OK                = helium_status_OK,
    helium_info_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_connected_status
{
    helium_connected_CONNECTED         = helium_status_OK,
    helium_connected_NOT_CONNECTED     = helium_status_ERR_NOT_CONNECTED,
    helium_connected_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_connect_status
{
    helium_connect_CONNECTED         = helium_status_OK,
    helium_connect_NOT_CONNECTED     = helium_status_ERR_NOT_CONNECTED,
    helium_connect_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_sleep_status
{
    helium_sleep_OK                = helium_status_OK,
    helium_sleep_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_sleep_ERR_KEEP_AWAKE    = helium_status_ERR_KEEP_AWAKE,
    helium_sleep_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_poll_status
{
    helium_poll_OK_DATA           = helium_status_OK,
    helium_poll_OK_NO_DATA        = helium_status_OK_NO_DATA,
    helium_poll_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_channel_create_status
{
    helium_channel_create_OK                = helium_status_OK,
    helium_channel_create_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_channel_create_ERR_DROPPED       = helium_status_ERR_DROPPED,
    helium_channel_create_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_channel_send_status
{
    helium_channel_send_OK                = helium_status_OK,
    helium_channel_send_ERR_NOT_FOUND     = helium_status_ERR_NOT_FOUND,
    helium_channel_send_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_channel_send_ERR_DROPPED       = helium_status_ERR_DROPPED,
    helium_channel_send_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};



#endif<commit_msg>remove unused status codes<commit_after>/*
 * Copyright 2017, Helium Systems, Inc.
 * All Rights Reserved. See LICENCE.txt for license information
 */

#ifndef HELIUM_ERROR_H
#define HELIUM_ERROR_H

enum helium_status
{
    helium_status_OK,
    helium_status_OK_NO_DATA,
    helium_status_ERR_COMMUNICATION,
    helium_status_ERR_NOT_CONNECTED,
    helium_status_ERR_DROPPED,
    helium_status_ERR_KEEP_AWAKE,
};

enum helium_info_status
{
    helium_info_OK                = helium_status_OK,
    helium_info_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_connected_status
{
    helium_connected_CONNECTED         = helium_status_OK,
    helium_connected_NOT_CONNECTED     = helium_status_ERR_NOT_CONNECTED,
    helium_connected_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_connect_status
{
    helium_connect_CONNECTED         = helium_status_OK,
    helium_connect_NOT_CONNECTED     = helium_status_ERR_NOT_CONNECTED,
    helium_connect_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_sleep_status
{
    helium_sleep_OK                = helium_status_OK,
    helium_sleep_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_sleep_ERR_KEEP_AWAKE    = helium_status_ERR_KEEP_AWAKE,
    helium_sleep_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_poll_status
{
    helium_poll_OK_DATA           = helium_status_OK,
    helium_poll_OK_NO_DATA        = helium_status_OK_NO_DATA,
    helium_poll_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_channel_create_status
{
    helium_channel_create_OK                = helium_status_OK,
    helium_channel_create_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_channel_create_ERR_DROPPED       = helium_status_ERR_DROPPED,
    helium_channel_create_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};

enum helium_channel_send_status
{
    helium_channel_send_OK                = helium_status_OK,
    helium_channel_send_ERR_NOT_CONNECTED = helium_status_ERR_NOT_CONNECTED,
    helium_channel_send_ERR_DROPPED       = helium_status_ERR_DROPPED,
    helium_channel_send_ERR_COMMUNICATION = helium_status_ERR_COMMUNICATION,
};



#endif
{'fraction_non_alphanumeric': 0.04163014899211218, 'fraction_numerical': 0.0017528483786152498, 'mean_word_length': 4.8152866242038215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4700106', 'n_tokens_mistral': 1790, 'n_tokens_neox': 1595, 'n_words': 180}