Skip to content

GSM3ShieldV1ServerProvider

詳細情報

メンバー

GSM3ShieldV1ServerProvider()

Constructor

GSM3ShieldV1ServerProvider::GSM3ShieldV1ServerProvider()

minSocketAsServer()

minSocketAsServer

int GSM3ShieldV1ServerProvider::minSocketAsServer()

戻り値

int 0

maxSocketAsServer()

maxSocketAsServer

int GSM3ShieldV1ServerProvider::maxSocketAsServer()

戻り値

int 0

getSocketAsServerModemStatus()

bool GSM3ShieldV1ServerProvider::getSocketAsServerModemStatus(int s)

引数

  • int s Socket

戻り値

bool modem status (true if connected)

getNewOccupiedSocketAsServer()

Get new occupied socket as server

int GSM3ShieldV1ServerProvider::getNewOccupiedSocketAsServer()

戻り値

int return -1 if no new socket has been occupied

connectTCPServer()

int GSM3ShieldV1ServerProvider::connectTCPServer(int port)

引数

  • int port TCP port

戻り値

int command error if exists

ready()

Get last command status

int GSM3ShieldV1ServerProvider::ready()

戻り値

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

getStatusSocketAsServer()

bool GSM3ShieldV1ServerProvider::getStatusSocketAsServer(uint8_t socket)

引数

  • uint8_t socket Socket to get status

戻り値

bool socket status

manageResponse()

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

引数

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

recognizeUnsolicitedEvent()

bool GSM3ShieldV1ServerProvider::recognizeUnsolicitedEvent(byte oldTail)

引数

  • byte oldTail

戻り値

bool true if successful