cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Modification parameter "messageChunkSize" on the ThingWorx Platform

amejia1
12-Amethyst

Modification parameter "messageChunkSize" on the ThingWorx Platform

Hello,

 

Where can I change the default value of the "messageChunkSize" parameter on the server side?

 

Thanks.

2 REPLIES 2

Hi @amejia1  Look at the below article, in advanced configuration.

https://www.ptc.com/en/support/article/CS225419

Hello @Surya_Tiwari,

 

Thanks for the link,  but unless I misunderstand, I have the impression that I can't change the default value on the server side (8192 bytes).

 

Why do I want to change it?

 

Configuration for our devices:

STM32F429 with FREERTOS and communication via cellular network (3G and 4G) (see ticket :

https://community.ptc.com/t5/ThingWorx-Developers/Problems-when-using-lists-C-SDK-3-1-1/m-p/986335#M68487)

 

The maximum data length of data to be retrieved is 1500 bytes for our TELIT module.
When the device starts up, after binding, it receives a large data packet, around 6Kbytes (service "SynchronizeModelState" see :

https://support.ptc.com/help/thingworx/platform/r9.5/en/#page/ThingWorx/Help/Best_Practices_for_Developing_Applications/ConnectingDevices.html . This gives an error.

 

If I try to change the value (1200) of the “messageChunkSize” parameter on the device side, it doesn't change anything, because logically the server is still sending the large data packet.

 

Raspberry pi simulation with the same parameters as our uC STM32.

 

amejia1_0-1733825939716.png


I suppose that if I change the “messageChunkSize” value on the server side, that would solve my problem.

 

I hope I've been clear.

Thank you

Announcements


Top Tags