Skip to content

GSM3ShieldV1

詳細情報

メンバー

GSM3ShieldV1()

Constructor

GSM3ShieldV1::GSM3ShieldV1(bool debug=false)

引数

  • bool debug

manageResponse()

void GSM3ShieldV1::manageResponse(byte from, byte to)

引数

  • byte from Initial byte of buffer
  • byte to Final byte of buffer

ready()

Get last command status

int GSM3ShieldV1::ready()

戻り値

int returns 0 if last command is still executing, 1 success, >1 error

genericParse_rsp2()

bool GSM3ShieldV1::genericParse_rsp2(bool &rsp, char *string1, char *string2)

引数

  • bool& rsp Returns true if expected response exists
  • char * string1 Substring expected in response
  • char * string2 Second substring expected in response

戻り値

bool true if parsed successful

recognizeUnsolicitedEvent()

bool GSM3ShieldV1::recognizeUnsolicitedEvent(byte oldTail)

引数

  • byte oldTail

戻り値

bool true if successful

answerReceived()

Receive answer

bool GSM3ShieldV1::answerReceived()

戻り値

bool true if successful

socketReceived()

bool GSM3ShieldV1::socketReceived(int id_socket)

引数

  • int id_socket Socket ID

戻り値

bool true if successful

update_activeIDsockets()

void GSM3ShieldV1::update_activeIDsockets(bool active, int ID)

引数

  • bool active Active sockets
  • int ID Id for update

assignIDsocket()

bool GSM3ShieldV1::assignIDsocket(int &ID)

引数

  • int & ID Id to assign to socket

戻り値

bool true if successful

closedDataSocket()

Close data socket

bool GSM3ShieldV1::closedDataSocket()

戻り値

bool true if successful