Search found 2 matches

by oarcher
Thu May 09, 2024 12:15 am
Forum: ESP-IDF
Topic: Send AT commands while in PPPoS connection
Replies: 6
Views: 8072

Re: Send AT commands while in PPPoS connection

During setup, if last mode was CMUX with PPP, you can force manual command mode with

Code: Select all

dce->set_mode(esp_modem::modem_mode::CMUX_MANUAL_COMMAND)
see https://docs.espressif.com/projects/esp ... L_COMMANDE
by oarcher
Tue May 07, 2024 5:06 pm
Forum: ESP-IDF 中文讨论版
Topic: undefined reference to `app_main'
Replies: 11
Views: 55052

Re: undefined reference to `app_main'

I was also facing this issue, when trying to compile cpp files.

check that you have in your top CMakeLists.txt:


cmake_minimum_required(VERSION 3.6)
set(CMAKE_CXX_STANDARD 17)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(myproj)


And in main/myproj.cpp:


extern "C" void app_main ...

Go to advanced search