Embedded Wireless Framework
Data Structures | Variables
ewf_adapter_thales_common_tokenizer.c File Reference

The EWF Thales/Cinterion modem common adapter driver tokenizer patterns and functions. More...

#include "ewf_adapter_thales_common.h"
#include "ewf_platform.h"
#include "ewf_lib.h"

Data Structures

struct  _ewf_adapter_thales_common_message_tokenizer_pattern3_match_function_state
 
struct  _ewf_adapter_thales_common_message_tokenizer_pattern2_match_function_state
 
struct  _ewf_adapter_thales_common_message_tokenizer_pattern1_match_function_state
 

Variables

char ewf_adapter_thales_common_command_response_end_tokenizer_pattern5_str [] = "\r\n+CME ERROR: ???\r\n"
 
char ewf_adapter_thales_common_command_response_end_tokenizer_pattern4_str [] = "\r\n+CME ERROR: ??\r\n"
 
char ewf_adapter_thales_common_command_response_end_tokenizer_pattern3_str [] = "\r\n+CME ERROR: ?\r\n"
 
char ewf_adapter_thales_common_command_response_end_tokenizer_pattern2_str [] = "\r\nERROR\r\n"
 
char ewf_adapter_thales_common_command_response_end_tokenizer_pattern1_str [] = "\r\nOK\r\n"
 
char ewf_adapter_thales_common_command_response_tokenizer_pattern1_str [] = "\r\n"
 
char ewf_adapter_thales_common_urc_tokenizer_pattern1_str [] = "\r\n"
 
ewf_interface_tokenizer_patternewf_adapter_thales_common_message_tokenizer_pattern_ptr = &ewf_adapter_thales_common_message_tokenizer_pattern1
 

Detailed Description

The EWF Thales/Cinterion modem common adapter driver tokenizer patterns and functions.

Version
Preview

These custom function matching patterns are not reentrant, they can be used by only one interface at a time. If you have more than one adapter at the same time, you will need to provide separate state for each one. The code is prepared for that. Use an instance specific state structure instead of the global static here.

Variable Documentation

◆ ewf_adapter_thales_common_command_response_end_tokenizer_pattern5_str

char ewf_adapter_thales_common_command_response_end_tokenizer_pattern5_str[] = "\r\n+CME ERROR: ???\r\n"

command response end tokenizer pattern list

◆ ewf_adapter_thales_common_command_response_tokenizer_pattern1_str

char ewf_adapter_thales_common_command_response_tokenizer_pattern1_str[] = "\r\n"

command response tokenizer pattern list

◆ ewf_adapter_thales_common_urc_tokenizer_pattern1_str

char ewf_adapter_thales_common_urc_tokenizer_pattern1_str[] = "\r\n"

URC tokenizer pattern list