Skip to content

Instantly share code, notes, and snippets.

@franz-ms-muc
franz-ms-muc / simple_cmux_client_main.cpp
Created November 26, 2022 13:15
simple_cmux_client_main.cpp
/*
* 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
@franz-ms-muc
franz-ms-muc / simple_cmux_client_main.cpp
Created November 26, 2022 13:49
simple_cmux_client_main.cpp
/*
* 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
@franz-ms-muc
franz-ms-muc / simple_cmux_client_main.cpp
Created December 6, 2022 14:53
simple_cmux_client_main.cpp
/*
* 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
D (9172) command_lib: generic_command command AT
W (9772) cmux_example: sync no Success after 2 try
V (9772) command_lib: sync
V (9772) command_lib: generic_command_common
V (9772) command_lib: generic_command
D (9772) command_lib: generic_command command AT
D (10302) command_lib: Response:
+CPIN: READY
static int AppPoolSettings(const ISOVT_EVENT_DATA_T* psEvData)
{
static iso_u8* pu8PoolData = 0; // Pointer to the pool data ( Attention: )
static iso_u32 u32PoolSize = 0UL;
static uint16_t poolCrc = 0;
u32PoolSize = LoadPoolFromFile("/data/DefaultPool.iop", &pu8PoolData);
--- idf_monitor on /dev/ttyUSB1 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:7504
�[0;33m--- idf_monitor on \\.\COM8 115200 ---�[0m
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1684
load:0x403c9700,len:0xbe8
load:0x403cc700,len:0x2e98
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.02.07 23:21:51 =~=~=~=~=~=~=~=~=~=~=~=
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (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
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.02.07 23:23:55 =~=~=~=~=~=~=~=~=~=~=~=
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2f (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
=========================== USB Port3 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 1-3
Properties : 0x01
IsUserConnectable : yes
PortIsDebugCapable : no
PortHasMultiCompanions : no
PortConnectorIsTypeC : no