Skip to content

display mqtt raw message data ,present messy code!!!!!!!!! (IDFGH-14089) #19

@learnerzcz

Description

@learnerzcz

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

only display the receive message

Actual behavior (suspected bug)

i use mqtt client to subscribe a topic ,and when i receicve the publish message, i will print the message raw data.

Error logs or terminal output

I (627) wifi:config nano formating: disabled
I (627) wifi:Init data frame dynamic rx buffer num: 32
I (627) wifi:Init static rx mgmt buffer num: 5
I (637) wifi:Init management short buffer num: 32
I (637) wifi:Init dynamic tx buffer num: 32
I (647) wifi:Init static rx buffer size: 1600
I (647) wifi:Init static rx buffer num: 10
I (647) wifi:Init dynamic rx buffer num: 32
I (657) wifi_init: rx ba win: 6
I (657) wifi_init: tcpip mbox: 32
I (667) wifi_init: udp mbox: 6
I (667) wifi_init: tcp mbox: 6
I (667) wifi_init: tcp tx win: 5760
I (677) wifi_init: tcp rx win: 5760
I (677) wifi_init: tcp mss: 1440
I (687) wifi_init: WiFi IRAM OP enabled
I (687) wifi_init: WiFi RX IRAM OP enabled
I (697) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (787) wifi:mode : sta (ec:64:c9:90:8c:40)
I (787) wifi:enable tsf
wifi event id =28wifi event id =2wifi start
I (877) wifi:new:<13,0>, old:<1,0>, ap:<255,255>, sta:<13,0>, prof:1
I (877) wifi:state: init -> auth (b0)
wifi event id =28I (927) wifi:state: auth -> assoc (0)
I (1927) wifi:state: assoc -> init (2700)
I (1937) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1
wifi event id =5wifi event id =5I (8447) wifi:new:<13,0>, old:<13,0>, ap:<255,255>, sta:<13,0>, prof:1
I (8447) wifi:state: init -> auth (b0)
I (8487) wifi:state: auth -> assoc (0)
I (8507) wifi:state: assoc -> run (10)
I (8537) wifi:connected with 小学生, aid = 1, channel 13, BW20, bssid = ae:2d:44:71:18:7f
I (8547) wifi:security: WPA2-PSK, phy: bgn, rssi: -34
I (8547) wifi:pm start, type: 1

I (8547) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (8557) wifi:dp: 2, bi: 102400, li: 4, scale listen interval from 307200 us to 409600 us
I (8567) wifi:AP's beacon interval = 102400 us, DTIM period = 2
wifi event id =4WIFI_EVENT_STA_CONNECTED OK
I (9577) esp_netif_handlers: sta ip: 192.168.13.117, mask: 255.255.255.0, gw: 192.168.13.23
ip event id =0got ip ok
I (9577) main_task: Returned from app_main()
I (9607) wifi:<ba-add>idx:0 (ifx:0, ae:2d:44:71:18:7f), tid:0, ssn:4, winSize:64
I (10907) wifi:<ba-add>idx:1 (ifx:0, ae:2d:44:71:18:7f), tid:6, ssn:4, winSize:64
I (10957) MQTT: mqtt connected

I (11347) MQTT: mqtt subscribed ack

test
data->topic=/TEST/SUB11E        ��= q4Z�I��w�/��mdc����V����ò��ğ�C�ߚ�_���Dy��;�O���gp7E>="a^T���VXu��f��ǟ76m!�
                                                                                                              �������x#KOZ�ɽ���!s�d�����ӹ��r�w4�N�Ӑb�5V��m�- |�}�6e���
▒▒|��V�����B��H*7��
�|���0-��B!/Ts���/�6�|�:���&M���9���h_1=�Մ�jۜ����w^tx����+��Riv��g?HƝ)D�w�q.<#��@��ȹ��▒▒�t��q^.�QʁE

Steps to reproduce the behavior

only flash the firmware

Project release version

idf version v5.2-dirty , espidf monitor ver 1.5.0

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

ubuntu 20.04

Shell

CMD

Additional context

no

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions