How to insert new APDU into Smart Energy Template

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to insert new APDU into Smart Energy Template

497 Views
arthurpulatov
Contributor II

Im using SE tunneling cluster in my project.
I want to transfer long DLMS/COSEM frames ~512 bytes using Tunneling Cluster.
In JN-UG-3059.PDF wrote that:
"...Note that the maximum data size that can be transmitted using
eSE_TunnelTransferDataSend()should not exceed the maximum incoming data
transfer size of the recipient and should not exceed
APDU size - 5 bytes..." 

Thats why i decided  to increase Template used apduZCL to 512 bytes, but i received a stack overflow error.
After that i decided to create long apdu for Tunneling cluster only.
apdu.jpg Now i have a question? Is this right way? How can i rebuild template ESP/Meter project so it began to work with my own APDU for tunneling cluster?

Labels (1)
0 Kudos
0 Replies