25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
405 B

  1. #pragma once
  2. #include "Hardware.h"
  3. namespace network {
  4. void powerOn();
  5. void powerOff();
  6. SIM808RegistrationStatus waitForRegistered(uint32_t timeout, bool relativeToPowerOnTime = true);
  7. bool isAvailable(SIM808_NETWORK_REGISTRATION_STATE state);
  8. bool enableGprs();
  9. inline bool sendSms(const char * phoneNumber, const char * msg) {
  10. return hardware::sim808::device.sendSms(phoneNumber, msg);
  11. }
  12. }