Go to the documentation of this file.
28 #if !defined(_SPANDSP_T35_H_)
29 #define _SPANDSP_T35_H_
39 #if defined(__cplusplus)
70 SPAN_DECLARE(
const char *) t35_vendor_to_str(
const uint8_t *msg,
int len);
88 SPAN_DECLARE(
int)
t35_decode(
const uint8_t *msg,
int len,
const char **country,
const char **vendor,
const char **model);
90 #if defined(__cplusplus)
void t30_set_rx_file(t30_state_t *s, const char *file, int stop_page)
Set next receive file name.
Definition: t30_api.c:614
const char * model_id
Definition: t35.c:75
t31_state_t * t31_init(t31_state_t *s, at_tx_handler_t *at_tx_handler, void *at_tx_user_data, t31_modem_control_handler_t *modem_control_handler, void *modem_control_user_data, t38_tx_packet_handler_t *tx_t38_packet_handler, void *tx_t38_packet_user_data)
Initialise a T.31 context.
Definition: t31.c:2605
@ AT_MODEM_CONTROL_ANSWER
Definition: at_interpreter.h:65
@ AT_MODEM_CONTROL_CAR
Definition: at_interpreter.h:79
@ AT_MODEM_CONTROL_RNG
Definition: at_interpreter.h:81
fax_state_t * fax_init(fax_state_t *s, int calling_party)
Initialise a FAX context.
Definition: fax.c:664
const char * vendor_id
Definition: t35.c:84
int t35_decode(const uint8_t *msg, int len, const char **country, const char **vendor, const char **model)
Decode an NSF field.
Definition: t35.c:909
int t35_real_country_code(int country_code, int country_code_extension)
Resolve a T.35 country code with bit reversal resolution.
Definition: t35.c:791
Definition: at_interpreter_tests.c:54
Definition: private/t38_core.h:32
@ AT_MODEM_CONTROL_OFFHOOK
Definition: at_interpreter.h:69
@ AT_MODEM_CONTROL_CALL
Definition: at_interpreter.h:63
const char * t30_frametype(uint8_t x)
Return a text name for a T.30 frame type.
Definition: t30_logging.c:241
int t35_real_country_code(int country_code, int country_code_extension)
Resolve a T.35 country code with bit reversal resolution.
Definition: t35.c:791
const char * model_name
Definition: t35.c:77
const char * t35_real_country_code_to_str(int country_code, int country_code_extension)
Decode a T.35 country code to a country name, with bit reversal resolution.
Definition: t35.c:843
@ AT_MODEM_CONTROL_RTS
Definition: at_interpreter.h:75
const char * t35_country_code_to_str(int country_code, int country_code_extension)
Decode a T.35 country code to a country name.
Definition: t35.c:853
const model_data_t * known_models
Definition: t35.c:92
void t38_terminal_set_tep_mode(t38_terminal_state_t *s, int use_tep)
Select whether TEP time will be allowed for.
Definition: t38_terminal.c:1405
t38_core_state_t * t38_terminal_get_t38_core_state(t38_terminal_state_t *s)
Get a pointer to the T.38 core IFP packet engine associated with a T.38 context.
Definition: t38_terminal.c:1433
const char * vendor_name
Definition: t35.c:88
Definition: private/t31.h:136
logging_state_t * t38_core_get_logging_state(t38_core_state_t *s)
Get a pointer to the logging context associated with a T.38 context.
Definition: t38_core.c:1076
@ AT_MODEM_CONTROL_DTR
Definition: at_interpreter.h:73
@ T30_SUPPORT_V29
Definition: t30.h:344
Definition: private/t38_terminal.h:110
const nsf_data_t * vendors
Definition: t35.c:101
logging_state_t * t30_get_logging_state(t30_state_t *s)
Get a pointer to the logging context associated with a T.30 context.
Definition: t30_api.c:784
@ T30_SUPPORT_V27TER
Definition: t30.h:342
const char * t35_country_code_to_str(int country_code, int country_code_extension)
Decode a T.35 country code to a country name.
Definition: t35.c:853
Definition: private/fax.h:35
t38_terminal_state_t * t38_terminal_init(t38_terminal_state_t *s, int calling_party, t38_tx_packet_handler_t *tx_packet_handler, void *tx_packet_user_data)
Initialise a termination mode T.38 context.
Definition: t38_terminal.c:1509
int span_log(logging_state_t *s, int level, const char *format,...)
Generate a log entry.
Definition: logging.c:84
int t35_decode(const uint8_t *msg, int len, const char **country, const char **vendor, const char **model)
Decode an NSF field.
Definition: t35.c:909
@ AT_MODEM_CONTROL_DSR
Definition: at_interpreter.h:83
int vendor_id_len
Definition: t35.c:86
logging_state_t logging
Error and flow logging control.
Definition: private/t38_core.h:132
void t30_set_phase_d_handler(t30_state_t *s, t30_phase_d_handler_t *handler, void *user_data)
Set a callback function for T.30 phase D handling.
Definition: t30_api.c:756
logging_state_t logging
Error and flow logging control.
Definition: private/at_interpreter.h:124
void t30_set_tx_file(t30_state_t *s, const char *file, int start_page, int stop_page)
Set next transmit file name.
Definition: t30_api.c:622
int t38_terminal_release(t38_terminal_state_t *s)
Release a T.38 context.
Definition: t38_terminal.c:1549
Definition: private/t30.h:35
@ AT_MODEM_CONTROL_HANGUP
Definition: at_interpreter.h:67
void t30_set_phase_b_handler(t30_state_t *s, t30_phase_b_handler_t *handler, void *user_data)
Set a callback function for T.30 phase B handling.
Definition: t30_api.c:749
void t38_terminal_set_config(t38_terminal_state_t *s, int config)
Set configuration options.
Definition: t38_terminal.c:1354
const char * t35_real_country_code_to_str(int country_code, int country_code_extension)
Decode a T.35 country code to a country name, with bit reversal resolution.
Definition: t35.c:843
t30_state_t * fax_get_t30_state(fax_state_t *s)
Get a pointer to the T.30 engine associated with a FAX context.
Definition: fax.c:591
void t30_set_phase_e_handler(t30_state_t *s, t30_phase_e_handler_t *handler, void *user_data)
Set a callback function for T.30 phase E handling.
Definition: t30_api.c:763
logging_state_t * t31_get_logging_state(t31_state_t *s)
Get a pointer to the logging context associated with a T.31 context.
Definition: t31.c:2560
const char * name
Definition: t35.c:99
int tx_seq_no
The sequence number for the next packet to be transmitted.
Definition: private/t38_core.h:112
t30_state_t * t38_terminal_get_t30_state(t38_terminal_state_t *s)
Get a pointer to the T.30 engine associated with a T.38 context.
Definition: t38_terminal.c:1427
int inverse_station_id_order
Definition: t35.c:90
int t30_set_supported_modems(t30_state_t *s, int supported_modems)
Specify supported modems.
Definition: t30_api.c:680
logging_state_t * fax_get_logging_state(fax_state_t *s)
Get a pointer to the logging context associated with a FAX context.
Definition: fax.c:597
@ T30_SUPPORT_V17
Definition: t30.h:346
int model_id_size
Definition: t35.c:73
Definition: private/at_interpreter.h:44
int t30_set_tx_ident(t30_state_t *s, const char *id)
Set the transmitted identifier associated with a T.30 context.
Definition: t30_api.c:90
Definition: private/logging.h:33
void t38_set_t38_version(t38_core_state_t *s, int t38_version)
Definition: t38_core.c:1034
logging_state_t * t38_terminal_get_logging_state(t38_terminal_state_t *s)
Get a pointer to the logging context associated with a T.38 context.
Definition: t38_terminal.c:1494
@ AT_MODEM_CONTROL_CTS
Definition: at_interpreter.h:77