ESP8266,Twilio不发送短信

问题描述

我一直在尝试使用Twilio,Firebase和Arduino IDE创建SMS警报。我正在使用传感器测量温度。如果温度高于指定值(ESP从Firebase实时数据库读取该值),则应使用twilio发送SMS。我还将措施存储在Firebase实时数据库中。该代码运行良好,直到我尝试将它还可以将测量值(温度)添加到Firebase Realtime Database的部分。它甚至可以串行打印它正在连接到Twilio api,但是,我从未收到该消息。

这是我的代码:

    editText.setOnTouchListener { v,event ->
        if (v.id == R.id.editText) {
            v.parent.requestDisallowInterceptTouchEvent(true)
            when (event.action and MotionEvent.ACTION_MASK) {
                MotionEvent.ACTION_UP -> v.parent.requestDisallowInterceptTouchEvent(false)
            }
        }
        false
    }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...