![]() |
Synergy Software Package User's Manual
|
Cellular NetX NSAL interface implementation header file. More...
Macros | |
| #define | SF_CELR_NSALNX_CODE_VERSION_MAJOR (2U) |
| #define | SF_CELR_NSALNX_CODE_VERSION_MINOR (0U) |
Functions | |
| void | sf_cellular_nsal_netx_driver (NX_IP_DRIVER *driver_req_ptr, sf_cellular_instance_t const *p_cellular_instance, sf_cellular_nsal_cfg_t *p_cellular_nsal_cfg) |
| NetX IP Driver entry function. More... | |
| void | sf_cellular_nsal_ppp_send_byte (UCHAR byte, sf_cellular_instance_t const *p_celr_instance) |
| PPP Send Byte Callback function call from PPP Stack. More... | |
| void | sf_cellular_nsal_invalid_packet_handler (NX_PACKET *p_packet_ptr, sf_cellular_instance_t const *p_celr_instance) |
| Cellular framework nsal invalid callback handler. More... | |
Cellular NetX NSAL interface implementation header file.
| #define SF_CELR_NSALNX_CODE_VERSION_MAJOR (2U) |
Version of code that implements the API defined in this file Major Version of code that implements the API defined in this file
| #define SF_CELR_NSALNX_CODE_VERSION_MINOR (0U) |
Minor Version of code that implements the API defined in this file
| void sf_cellular_nsal_invalid_packet_handler | ( | NX_PACKET * | p_packet_ptr, |
| sf_cellular_instance_t const * | p_celr_instance | ||
| ) |
Cellular framework nsal invalid callback handler.
| [in] | p_packet_ptr | Pointer to invalid PPP Packet received |
| [in] | p_celr_instance | Pointer to cellular framework instance |
Cellular framework nsal invalid callback handler.
| [in] | p_packet_ptr | Pointer to invalid PPP Packet received |
| [in] | p_celr_instance | Pointer to cellular framework instance |
variable to get Memory compare result
Check whether packet contains "NO CARRIER" string, we are ignoring first and last 2 bytes of packet which are Carriage Return and Line Feed.
check whether no carrier string present
Disconnect Network
Soft reset the module
Provision the Module using callback
Reestablish data connection
Restart PPP
Release the packet
| void sf_cellular_nsal_netx_driver | ( | NX_IP_DRIVER * | driver_req_ptr, |
| sf_cellular_instance_t const * | p_cellular_instance, | ||
| sf_cellular_nsal_cfg_t * | p_cellular_nsal_cfg | ||
| ) |
NetX IP Driver entry function.
| [in] | driver_req_ptr | Pointer to NetX IP Driver |
| [in] | p_cellular_instance | Pointer to cellular framework instance |
| [in] | p_cellular_nsal_cfg | Pointer to cellular nsal configuration structure |
NetX IP Driver entry function.
| [in] | driver_req_ptr | Pointer to NetX IP Driver |
| [in] | p_cellular_instance | Pointer to cellular framework instance |
| [in] | p_cellular_nsal_cfg | Pointer to cellular nsal configuration structure |
Interface link is UP. Send the packet
| void sf_cellular_nsal_ppp_send_byte | ( | UCHAR | byte, |
| sf_cellular_instance_t const * | p_celr_instance | ||
| ) |
PPP Send Byte Callback function call from PPP Stack.
NSAL PPP Send bytes callback API
| [in] | byte | Byte to send |
| [in] | p_celr_instance | Pointer to cellular framework instance |
| [in] | byte | Byte to send |
| [in] | p_celr_instance | Pointer to cellular framework instance |
Transmit byte