Skip to content

GSM3ShieldV1MultiServerProvider

詳細情報

メンバー

GSM3ShieldV1MultiServerProvider()

Constructor

GSM3ShieldV1MultiServerProvider::GSM3ShieldV1MultiServerProvider()

minSocketAsServer()

minSocketAsServer

int GSM3ShieldV1MultiServerProvider::minSocketAsServer()

戻り値

int 0

maxSocketAsServer()

maxSocketAsServer

int GSM3ShieldV1MultiServerProvider::maxSocketAsServer()

戻り値

int 0

getSocketAsServerModemStatus()

bool GSM3ShieldV1MultiServerProvider::getSocketAsServerModemStatus(int s)

引数

  • int s

戻り値

bool modem status (true if connected)

getNewOccupiedSocketAsServer()

Get new occupied socket as server

int GSM3ShieldV1MultiServerProvider::getNewOccupiedSocketAsServer()

戻り値

int command error if exists

connectTCPServer()

int GSM3ShieldV1MultiServerProvider::connectTCPServer(int port)

引数

  • int port TCP port

戻り値

int command error if exists

getIP()

int GSM3ShieldV1MultiServerProvider::getIP(char *LocalIP, int LocalIPlength)

引数

  • char * LocalIP Buffer for copy IP address
  • int LocalIPlength Length of buffer

戻り値

int command error if exists

ready()

Get last command status

int GSM3ShieldV1MultiServerProvider::ready()

戻り値

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

getStatusSocketAsServer()

bool GSM3ShieldV1MultiServerProvider::getStatusSocketAsServer(uint8_t socket)

引数

  • uint8_t socket Socket to get status

戻り値

bool socket status

manageResponse()

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

引数

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

recognizeUnsolicitedEvent()

bool GSM3ShieldV1MultiServerProvider::recognizeUnsolicitedEvent(byte oldTail)

引数

  • byte oldTail

戻り値

bool true if successful