How to decrease the time(5 secs to 1 sec) to publish data to cloud from fleetwise on goldvip

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to decrease the time(5 secs to 1 sec) to publish data to cloud from fleetwise on goldvip

跳至解决方案
1,448 次查看
sonalip94
Contributor III

Hello @Daniel-Aguirre

I am trying to reduce the time to publish the data to the cloud. By default it is 5000ms and i tried to change this by changing "publishToCloudParameters": {
"maxPublishMessageCount": 1000  / 500,
"collectionSchemeManagementCheckinIntervalMs": 5000 / 1000
}, 

in /etc/aws-iot-fleetwise/goldvip-config.json file.

But, this change is not reflected in the database and i still see the data is published every 5 secs to the cloud.

Can you guide me with how this can be achieved?

887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.EngineSpeed2023-04-11 07:25:44.7880000001600.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.Speed2023-04-11 07:25:44.78800000060.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.AmbientAirTemperature2023-04-11 07:25:44.78800000026.0-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.ThrottlePosition2023-04-11 07:25:44.78800000065.88235294117646-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.FuelLevel2023-04-11 07:25:44.78800000093.72549019607843-
887309314nxp-goldbox-innxp-goldbox-in-1681197205-campaignDTC_P01232023-04-11 07:25:49.764000000-true
889875715nxp-goldbox-innxp-goldbox-in-1681197205-campaignVehicle.OBD.EngineSpeed2023-04-11 07:25:49.8080000001700.0-
0 项奖励
回复
1 解答
1,381 次查看
sonalip94
Contributor III

Yes Mayank,

I saved the json and re-started the fleetwise agent as well but that did not help.

The Solution for this is to change the below parameters as well so that the fleetwise service requests the CAN data every one second and publishes to the cloud.

 

        "pidRequestIntervalSeconds": 1,
        "dtcRequestIntervalSeconds": 1,

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,398 次查看
MayanksPatel
NXP Employee
NXP Employee

Hi @sonalip94,

Hope you are doing well.

Are you saving the .json file after making changes to it?

Also, re-configure the AWS IoT Fleetwise agent (Step mentioned in the user Manual) and deploy it again.

 

Hope this helps you.

 

Thanks,

Mayank s Patel

0 项奖励
回复
1,382 次查看
sonalip94
Contributor III

Yes Mayank,

I saved the json and re-started the fleetwise agent as well but that did not help.

The Solution for this is to change the below parameters as well so that the fleetwise service requests the CAN data every one second and publishes to the cloud.

 

        "pidRequestIntervalSeconds": 1,
        "dtcRequestIntervalSeconds": 1,

 

0 项奖励
回复