AtGsmSimCom7600E/Inc/AtGsmSimComA7600_SocketSend...

29 lines
727 B
C

//
// Created by xemon on 10.05.23.
//
#ifndef ATGSMSIMCOMA7600_SOCKETSENDDATA_H
#define ATGSMSIMCOMA7600_SOCKETSENDDATA_H
#include "AtCmdCommon.h"
AtCommandResult AtGsmSimComA7600_SocketSendData(
tAtCmd *env, uint8_t linkNum, uint8_t *data, uint16_t dataLen, uint32_t timeout
);
AtCommandResult AtGsmSimComA7600_SocketSendDataUdp(
tAtCmd *env,
uint8_t linkNum,
uint8_t *data,
uint16_t dataLen,
char *srvIp,
uint8_t srvIpLen,
uint16_t srvPort,
uint32_t timeout
);
#define AtGsmSimComA7600_SocketSendDataStatic(ENV, LNK, STR, TOUT) AtGsmSimComA7600_SocketSendData(ENV,LNK,(uint8_t*)STR,sizeof(STR)-1,TOUT)
#endif //ATGSMSIMCOMA7600_SOCKETSENDDATA_H