 |
Hi.
If I activate
connect by gprs (for board have gprs)
will stop working
Please help![[Image: readmsg?id=17518412601715379389;0;1&mode...cte=binary]](https://af12.mail.ru/cgi-bin/readmsg?id=17518412601715379389;0;1&mode=attachment&email=alex_ps70@mail.ru&ct=image%2fpng&cn=image%2807%2d07%2d06%2d34%2d18%29.png&cte=binary)
Code: I (83387) web socket: Handshake done, the new connection was opened
I (85490) main: [APP] Free memory: 93520 bytes
I (88665) SIM7600: gprs tuya online
I (90490) main: [APP] Free memory: 93520 bytes
E (93671) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14
ERROR
I (95490) main: [APP] Free memory: 93520 bytes
E (98677) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14
ERROR
I (100490) main: [APP] Free memory: 93520 bytes
E (103683) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14
ERROR
I (105490) main: [APP] Free memory: 93520 bytes
E (108689) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14
ERROR
If I connect LAN and disable " connect by gprs" - its work
![[Image: readmsg?id=17518412601715379389;0;2&mode...cte=binary]](https://af12.mail.ru/cgi-bin/readmsg?id=17518412601715379389;0;2&mode=attachment&email=alex_ps70@mail.ru&ct=image%2fpng&cn=image%2807%2d07%2d06%2d34%2d18%29%281%29.png&cte=binary)
Code: Boot log with connect by gprs (for board have gprs) deactivated and Lan connected
I (786) cpu_start: Application information:
I (791) cpu_start: Project name: kc868-a-serial
I (796) cpu_start: App version: v2.2.11-dirty
I (802) cpu_start: Compile time: Feb 6 2025 21:47:45
I (808) cpu_start: ELF file SHA256: 810cb7cb959696dd...
I (814) cpu_start: ESP-IDF: v4.4.7-dirty
I (819) cpu_start: Min chip rev: v0.0
I (824) cpu_start: Max chip rev: v3.99
I (829) cpu_start: Chip rev: v3.1
I (834) heap_init: Initializing. RAM available for dynamic allocation:
I (841) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (847) heap_init: At 3FFC72C8 len 00018D38 (99 KiB): DRAM
I (853) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (859) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (866) heap_init: At 4008F6B4 len 0001094C (66 KiB): IRAM
I (873) spi_flash: detected chip: generic
I (876) spi_flash: flash io: dio
I (881) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (896) main: [APP] Startup..
I (899) main: [APP] Free memory: 215304 bytes
I (904) main: [APP] IDF version: v4.4.7-dirty
I (1178) NVS: init nvs finish.
I (1181) system_api: Base MAC address is not set
I (1181) system_api: read default base MAC address from EFUSE
I (1203) esp_eth.netif.netif_glue: f4:65:0b:e4:14:13
I (1203) esp_eth.netif.netif_glue: ethernet attached to netif
I (2704) eth: Ethernet Started
I (2705) eth: Ethernet init
I (2705) wifi station: ESP_WIFI_INIT
I (2706) eth: Ethernet Link Up
I (2709) eth: Ethernet HW Addr f4:65:0b:e4:14:13
I (2716) wifi:wifi driver task: 3ffd44d4, prio:23, stack:6656, core=0
I (2729) wifi:wifi firmware version: 1fd20f4
I (2730) wifi:wifi certification version: v7.0
I (2730) wifi:config NVS flash: enabled
I (2732) wifi:config nano formating: disabled
I (2736) wifi:Init data frame dynamic rx buffer num: 32
I (2741) wifi:Init static rx mgmt buffer num: 5
I (2745) wifi:Init management short buffer num: 32
I (2750) wifi:Init dynamic tx buffer num: 32
I (2754) wifi:Init static rx buffer size: 1600
I (2758) wifi:Init static rx buffer num: 10
I (2762) wifi:Init dynamic rx buffer num: 32
I (2767) wifi_init: rx ba win: 6
I (2770) wifi_init: tcpip mbox: 32
I (2774) wifi_init: udp mbox: 6
I (2777) wifi_init: tcp mbox: 6
I (2781) wifi_init: tcp tx win: 5744
I (2786) wifi_init: tcp rx win: 5744
I (2790) wifi_init: tcp mss: 1440
I (2799) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (2885) wifi:mode : softAP (f4:65:0b:e4:14:11)
I (2886) wifi:Total power save buffer number: 16
I (2887) wifi:Init max length of beacon: 752/752
I (2888) wifi:Init max length of beacon: 752/752
I (2893) web_server: Starting HTTP Server on port: '80'
I (2900) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (2907) tuya: start tuya task.
I (2907) ntp: tz:UTC+0
I (2914) tuya: property topic tylink/269d6520ff81b6a74ebev3/thing/property/report .
I (2925) tuya: Other event id:7
I (2925) UDP SERVER: Socket created
E (2927) esp-tls: couldn't get hostname for :m1.tuyaeu.com: getaddrinfo() returns 202, addrinfo=0x0
I (2931) UDP SERVER: Socket bound, port 4001
E (2940) esp-tls: Failed to open new connection
E (2950) TRANSPORT_BASE: Failed to open a new connection
E (2956) MQTT_CLIENT: Error transport connect
I (2961) tuya: MQTT_EVENT_ERROR
E (2965) tuya: Last error reported from esp-tls: 0x8001
I (2971) tuya: Last errno string (Success)
I (2975) tuya: MQTT_EVENT_DISCONNECTED
E (2940) uart: uart_set_pin(689): tx_io_num error
I (2986) uart: queue free spaces: 20
I (2990) gprs: gprs init success.
I (2994) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3003) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3012) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (3022) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (3031) direct_io: direct io init.
I (3032) MQTT_CLIENT: Publishing skipped: client is not connected
I (3043) MQTT_CLIENT: Publishing skipped: client is not connected
I (3044) gpio: GPIO[33]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0
I (3058) gpio: GPIO[14]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0
I (3067) main: [APP] Free memory: 83620 bytes
I (3706) esp_netif_handlers: eth ip: 192.168.2.138, mask: 255.255.255.0, gw: 192.168.2.202
I (3707) eth: Ethernet Got IP Address
I (3709) eth: ~~~~~~~~~~~
I (3713) eth: ETHIP:192.168.2.138
I (3716) eth: ETHMASK:255.255.255.0
I (3721) eth: ETHGW:192.168.2.202
I (3724) eth: ~~~~~~~~~~~
I (3907) ifttt: start ifttt task
I (5987) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (5988) wifi:station: a8:96:09:42:ae:ec join, AID=1, bgn, 40U
I (5991) wifi station: station a8:96:09:42:ae:ec join, AID=1
I (6072) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2
I (8072) main: [APP] Free memory: 86204 bytes
I (9337) wifi:<ba-add>idx:2 (ifx:1, a8:96:09:42:ae:ec), tid:0, ssn:64, winSize:64I (9338) web_server: close() fd (52) success.
I (12617) gprs: uart rx break
I (12980) tuya: Other event id:7
I (13072) main: [APP] Free memory: 84552 bytes
I (14365) tuya: MQTT_EVENT_CONNECTED
I (14368) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/property/report_response .
I (14371) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/property/set .
I (14377) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/event/trigger_response .
I (14385) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/action/execute .
|