Skip to content

Instantly share code, notes, and snippets.

/*
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: CC0-1.0
*/
#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* PPPoS Client Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
--- idf_monitor on /dev/ttyUSB1 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Waiting for the device to reconnectEM
m
D (523) memory_layout: Available memory region 0x3fc98e88 - 0x3fca0000
V (529) memory_layout: Examining memory region 0x3fca0000 - 0x3fcb0000
D (536) memory_layout: Avaiable memory region 0x3fca0000 - 0x3fcb0000
V (543) memory_layout: Examining memory region 0x3fcb0000 - 0x3fcc0000
D (549) memory_layout: Available memory region 0x3fcb0000 - x3fcc0000
W (10436) cmux_example: sync no Success after 3 try
V (10436) command_lib: sync
V (10436) command_lib: generic_command_common
V (10436) command_lib: generic_command
D (10436) command_lib: generic_command command AT
D (10516) command_lib: Response:
*ATREADY: 1
AT
OK
I (8187) settings: preloadU16, section = CTIS, key = P_LO2, value = 10
I (8194) settings: preloadU16, section = CTIS, key = P_UP2, value = 10
I (8202) settings: preloadU16, section = CTIS, key = P_MAX2, value = 4000
I (8209) settings: preloadU16, section = CTIS, key = P_MIN2, value = 1000
I (8216) settings: preloadU16, section = CTIS, key = FIELD2, value = 1000
I (8224) settings: preloadU16, section = CTIS, key = STREET2, value = 2000
I (8232) settings: preloadString, section = CTIS, key = P_N2, value = PROFIL_3
I (8240) settings: preloadU32, section = CTIS, key = P_TM3, value = 0
I (8247) settings: preloadString, section = CTIS, key = P_ID_13, value = 000000
I (8256) settings: preloadString, section = CTIS, key = P_ID_23, value = 000000
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x28 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1684
load:0x403c9700,len:0xbe8
load:0x403cc700,len:0x2e98
entry 0x403c9904
I (25) boot: ESP-IDF v5.0-dirty 2nd stage bootloader
Brownout detector was triggered
�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x28 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1684
load:0x403c9700,len:0xbe8
load:0x403cc700,len:0x2e98
entry 0x403c9904
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6108,len:0x1994
load:0x4004c000,len:0xd90
load:0x40050000,len:0x32dc
V (29980) command_lib: sync
V (29980) command_lib: generic_command_common
V (29980) command_lib: generic_command
D (29980) command_lib: generic_command command AT
D (29990) command_lib: Response: AT
OK
D (879) cpu_start: Setting C++ exception workarounds.
V (884) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args
V (890) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E
D (898) intr_alloc: Connected src 79 to int 9 (cpu 0)
I (904) cpu_start: Starting scheduler on PRO CPU.
V (909) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args
V (909) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x402
D (909) intr_alloc: Connected src 57 to int 12 (cpu 0)
V (909) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): checking args
V (919) intr_alloc: esp_intr_alloc_intrstatus (cpu 1): Args okay. Resulting flags 0x40E