Skip to content

GSM3ShieldV1DirectModemProvider

詳細情報

メンバー

GSM3ShieldV1DirectModemProvider()

GSM3ShieldV1DirectModemProvider::GSM3ShieldV1DirectModemProvider(bool trace=false)

引数

  • bool trace if true, dumps all AT dialogue to Serial

begin()

void GSM3ShieldV1DirectModemProvider::begin()

restartModem()

void GSM3ShieldV1DirectModemProvider::restartModem()

connect()

Enable the debug process.

void GSM3ShieldV1DirectModemProvider::connect()

disconnect()

Disable the debug process.

void GSM3ShieldV1DirectModemProvider::disconnect()

write()

size_t GSM3ShieldV1DirectModemProvider::write(uint8_t c)

引数

  • uint8_t c Character

戻り値

size_t size

available()

Check for incoming bytes in buffer

int GSM3ShieldV1DirectModemProvider::available()

戻り値

int

read()

Read from circular buffer

int GSM3ShieldV1DirectModemProvider::read()

戻り値

int character

peek()

Read from circular buffer, but do not delete it

int GSM3ShieldV1DirectModemProvider::peek()

戻り値

int character

flush()

Empty circular buffer

void GSM3ShieldV1DirectModemProvider::flush()

manageResponse()

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

引数

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

recognizeUnsolicitedEvent()

bool GSM3ShieldV1DirectModemProvider::recognizeUnsolicitedEvent(byte from)

引数

  • byte from

戻り値

bool true if successful

writeModemCommand()

String GSM3ShieldV1DirectModemProvider::writeModemCommand(String command, int delay)

引数

  • String command AT command
  • int delay Time to wait for response

戻り値

String response from modem