Skip to content

GSM3MobileServerProvider

詳細情報

メンバー

minSocketAsServer()

minSocketAsServer

virtual int GSM3MobileServerProvider::minSocketAsServer()=0

戻り値

int socket

maxSocketAsServer()

maxSocketAsServer

virtual int GSM3MobileServerProvider::maxSocketAsServer()=0

戻り値

int socket

ready()

Get last command status

virtual int GSM3MobileServerProvider::ready()=0

戻り値

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

GSM3MobileServerProvider()

Constructor

GSM3MobileServerProvider::GSM3MobileServerProvider()

connectTCPServer()

virtual int GSM3MobileServerProvider::connectTCPServer(int port)=0

引数

  • int port TCP port

戻り値

int command error if exists

getNewOccupiedSocketAsServer()

Get new occupied socket as server

virtual int GSM3MobileServerProvider::getNewOccupiedSocketAsServer()=0

戻り値

int return -1 if no new socket has been occupied

getStatusSocketAsServer()

virtual bool GSM3MobileServerProvider::getStatusSocketAsServer(uint8_t socket)=0

引数

  • uint8_t socket Socket

戻り値

bool socket status (true if connected)