I modified the inlinekeyboard example and my bot is now working with messages of type
MessageText
MessageQuery
MessageContact
As I was testing my bot I accidentally send a GIF from the client to the bot and the ESP crashed and got stuck in a bootloop. After getting the (GIF-)messages with a Pi Bot script the ESP was working again. I then testet image video and sticker messages and they are ignored by my code as expected. Only GIFs run the ESP into a bootloop.
Here is my serial output:
`Start connection to WiFi.......
WiFi connected! IP address: 192.168.0.52
Waiting for NTP time sync:
Test Telegram connection...
Start http request task on core 0
OK
Stack smashing protect failure!
abort() was called at PC 0x40158307 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x4008858c:0x3ffb1ac0 0x40088809:0x3ffb1ae0 0x40158307:0x3ffb1b00 0x400d3575:0x3ffb1b20 0x400d4a85:0x3ffb1b90 0x400d1041:0x3ffb1d80
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
Read:720
setup() running on core 1
Free heap: 277988
Start connection to WiFi.......`
I modified the inlinekeyboard example and my bot is now working with messages of type
MessageText
MessageQuery
MessageContact
As I was testing my bot I accidentally send a GIF from the client to the bot and the ESP crashed and got stuck in a bootloop. After getting the (GIF-)messages with a Pi Bot script the ESP was working again. I then testet image video and sticker messages and they are ignored by my code as expected. Only GIFs run the ESP into a bootloop.
Here is my serial output:
`Start connection to WiFi.......
WiFi connected! IP address: 192.168.0.52
Waiting for NTP time sync:
Test Telegram connection...
Start http request task on core 0
OK
Stack smashing protect failure!
abort() was called at PC 0x40158307 on core 1
ELF file SHA256: 0000000000000000
Backtrace: 0x4008858c:0x3ffb1ac0 0x40088809:0x3ffb1ae0 0x40158307:0x3ffb1b00 0x400d3575:0x3ffb1b20 0x400d4a85:0x3ffb1b90 0x400d1041:0x3ffb1d80
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
Read:720
setup() running on core 1
Free heap: 277988
Start connection to WiFi.......`