-
Task
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
SW:Dab4.0.0
HW:Renesas m3ulcb
CanDev:slcan0
I try to write can data with dashboard through low-can-service. but it makes dashboard's websocket close.
I do the job as follow.
1)I add the following information to dashboard's config.xml, let dashboard use low-can-service and can set permission to write.
<feature name="urn:AGL:widget:required-api">
<param name="#target" value="main"/>
<param name="low-can" value="ws"/>
</feature>
<feature name="urn:AGL:widget:required-permission">
<param name="#target" value="main"/>
<param name="urn:AGL:permission:low-can:platform:write" value="required"/>
</feature>
2)when dashboard starts, it will open the websocket to connect to the low-can-service, then send "low-can/auth" and "low-can/write" command and parameter below,
but websocket is closed when the command finished.
[ 2 ,"99999","low-can/auth"]
[ 2 ,"99999","low-can/write",
]
3)I send the following command and parameter using afb-client-demo and low-can-service application, and can data can be written successfully.
low-can auth
low-can write
Is there any problem with upper?
Could you tell me the right way to wirte can data in QT application?