Chirp C SDK  3.3.1
Use Chirp to send data over sound from your C application.
chirp_sdk_errors.h
Go to the documentation of this file.
1 
17 #ifndef CHIRP_SDK_ERRORS_H
18 #define CHIRP_SDK_ERRORS_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
28 typedef enum {
35 
40 
47 
58  /*--------------------------------------------------------------------------
59  * CHIRP_SDK_INVALID_CONFIG_CHARACTER needs to be kept at the end of
60  * the credentials error code list as it deals with base64 but it is
61  * implemented in chirp-sdk.
62  *------------------------------------------------------------------------*/
64 
71 
74 
75  /*--------------------------------------------------------------------------
76  * Reserved for the high level SDKs. Don't update it but rather add an issue
77  * in the C-SDK.
78  *------------------------------------------------------------------------*/
88 
89 #include "chirp_sdk.h"
90 
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
103 #endif /* !CHIRP_SDK_ERRORS_H */
CHIRP_SDK_MISSING_CONFIG
Config information is missing.
Definition: chirp_sdk_errors.h:53
CHIRP_SDK_NETWORK_NO_NETWORK
"Couldn't reach the server, please check your network connection."
Definition: chirp_sdk_errors.h:80
CHIRP_SDK_INVALID_KEY
Invalid application key.
Definition: chirp_sdk_errors.h:48
CHIRP_SDK_MEMORY_LEAK
Some memory hasn't been freed leading to some leaks.
Definition: chirp_sdk_errors.h:33
CHIRP_SDK_PROCESSING_ERROR
An internal issue happened when processing.
Definition: chirp_sdk_errors.h:46
CHIRP_SDK_UNKNOWN_ERROR
The SDK has reported an unknown error.
Definition: chirp_sdk_errors.h:73
CHIRP_SDK_PAYLOAD_TOO_LONG
The payload's length is longer than the maximum one authorised by the config being used.
Definition: chirp_sdk_errors.h:69
chirp_sdk.h
Chirp C SDK implementation header.
CHIRP_SDK_INVALID_VERSION
This config was generated for a different version. Please visit https://developers....
Definition: chirp_sdk_errors.h:56
CHIRP_SDK_INTERNAL_ERROR
An internal error prevented the SDK from initialising correctly.
Definition: chirp_sdk_errors.h:32
CHIRP_SDK_ACCOUNT_DISABLED
"Your account has been disabled due to an unpaid license. Please contact sales@chirp....
Definition: chirp_sdk_errors.h:82
CHIRP_SDK_NETWORK_ERROR
"Network error."
Definition: chirp_sdk_errors.h:79
CHIRP_SDK_INVALID_VOLUME
Volume value is incorrect.
Definition: chirp_sdk_errors.h:72
CHIRP_SDK_INVALID_SAMPLE_RATE
The sample rate is invalid (it must respect Nyquist law).
Definition: chirp_sdk_errors.h:41
CHIRP_SDK_NULL_BUFFER
One of the parameters is a NULL buffer.
Definition: chirp_sdk_errors.h:42
CHIRP_SDK_INVALID_CONFIG_CHARACTER
Your config contains one or many unknown character(s).
Definition: chirp_sdk_errors.h:63
CHIRP_SDK_DEVICE_IS_MUTED
"The device is muted. Cannot send data."
Definition: chirp_sdk_errors.h:86
CHIRP_SDK_PAYLOAD_TOO_SHORT
The payload's length is shorter than the minimum one authorised by the config being used....
Definition: chirp_sdk_errors.h:70
CHIRP_SDK_INVALID_SIGNATURE
Signature couldn't be verified.
Definition: chirp_sdk_errors.h:52
CHIRP_SDK_EXPIRED_CONFIG
This config has expired.
Definition: chirp_sdk_errors.h:55
CHIRP_SDK_RECEIVING_NOT_ENABLED
"Receive mode hasn't been enabled."
Definition: chirp_sdk_errors.h:85
CHIRP_SDK_NOT_RUNNING
The SDK is not running.
Definition: chirp_sdk_errors.h:36
CHIRP_SDK_INVALID_CREDENTIALS
Invalid application credentials.
Definition: chirp_sdk_errors.h:50
CHIRP_SDK_INVALID_PROJECT
This config was generated for a different project.
Definition: chirp_sdk_errors.h:57
CHIRP_SDK_PAYLOAD_DECODE_FAILED
Couldn't decode the payload.
Definition: chirp_sdk_errors.h:68
CHIRP_SDK_INVALID_SECRET
Invalid application secret.
Definition: chirp_sdk_errors.h:49
CHIRP_SDK_MISSING_SIGNATURE
Signature is missing from the config.
Definition: chirp_sdk_errors.h:51
CHIRP_SDK_SENDING_NOT_ENABLED
"Send mode hasn't been enabled."
Definition: chirp_sdk_errors.h:84
CHIRP_SDK_PAYLOAD_EMPTY_MESSAGE
The payload is empty.
Definition: chirp_sdk_errors.h:65
CHIRP_SDK_AUDIO_IO_ERROR
"Audio IO error."
Definition: chirp_sdk_errors.h:83
CHIRP_SDK_ALREADY_STOPPED
The SDK has already stopped.
Definition: chirp_sdk_errors.h:38
CHIRP_SDK_INVALID_CONFIG
Config information is invalid.
Definition: chirp_sdk_errors.h:54
chirp_sdk_error_code_t
chirp_sdk_error_code_t
Definition: chirp_sdk_errors.h:28
CHIRP_SDK_OK
No error.
Definition: chirp_sdk_errors.h:29
CHIRP_SDK_NETWORK_PERMISSIONS_NOT_GRANTED
"Network permissions were not granted by the application or user. Please add network permissions to y...
Definition: chirp_sdk_errors.h:81
CHIRP_SDK_RECEIVING_NOT_AVAILABLE
Receiving mode has been disabled and is not available.
Definition: chirp_sdk_errors.h:34
chirp_sdk_error_code_to_string
const PUBLIC_SYM char * chirp_sdk_error_code_to_string(chirp_sdk_error_code_t err)
CHIRP_SDK_CHANNEL_NOT_SUPPORTED
The channel asked is bigger than the maximum one authorised by the config being used.
Definition: chirp_sdk_errors.h:44
CHIRP_SDK_INVALID_FREQUENCY_CORRECTION
Invalid frequency correction value.
Definition: chirp_sdk_errors.h:45
CHIRP_SDK_PAYLOAD_UNKNOWN_SYMBOLS
The payload contains unknown symbols.
Definition: chirp_sdk_errors.h:67
CHIRP_SDK_ALREADY_SENDING
The SDK is already sending.
Definition: chirp_sdk_errors.h:39
PUBLIC_SYM
#define PUBLIC_SYM
Definition: chirp_sdk.h:30
CHIRP_SDK_ALREADY_RUNNING
The SDK is already running.
Definition: chirp_sdk_errors.h:37
CHIRP_SDK_PAYLOAD_INVALID_MESSAGE
The payload is invalid.
Definition: chirp_sdk_errors.h:66
CHIRP_SDK_NULL_POINTER
One of the parameters is a NULL pointer.
Definition: chirp_sdk_errors.h:43
CHIRP_SDK_NOT_INITIALISED
The SDK hasn't been initialised, did you forget to set the config?
Definition: chirp_sdk_errors.h:31
CHIRP_SDK_OUT_OF_MEMORY
The SDK ran out of memory.
Definition: chirp_sdk_errors.h:30