Skip to content

GSM3MobileServerService

詳細情報

メンバー

GSM3MobileServerService()

GSM3MobileServerService::GSM3MobileServerService(uint8_t port, bool synch=true)

引数

  • uint8_t port Port
  • bool synch True if the server acts synchronously

ready()

Get last command status

int GSM3MobileServerService::ready()

戻り値

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

begin()

Initialize server

void GSM3MobileServerService::begin()

available()

GSM3MobileClientService GSM3MobileServerService::available(bool synch=true)

引数

  • bool synch If true, the returned client is synchronous or blocking.

戻り値

GSM3MobileClientService if successful, else error

beginWrite()

Begin write in socket

void GSM3MobileServerService::beginWrite()

write()

size_t GSM3MobileServerService::write(uint8_t c)

引数

  • uint8_t c Character

戻り値

size_t size

write()

size_t GSM3MobileServerService::write(const uint8_t *buf)

引数

  • constuint8_t * buf Buffer

戻り値

size_t size

write()

size_t GSM3MobileServerService::write(const uint8_t *buf, size_t sz)

引数

  • constuint8_t * buf Buffer
  • size_t sz Buffer size

戻り値

size_t size

endWrite()

End write in socket

void GSM3MobileServerService::endWrite()

stop()

Stop server

void GSM3MobileServerService::stop()