This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F67791: DLMS\COSEM. Error while restoring frames.

Part Number: MSP430F67791


Hello, the diagram shows the "state diagram of N (S) and N (R)".

Frame I(6.7) did not reach the client "7E A0 4E 41 03 FC 67 D6 E6 E7 00 C4 02 C0 FE",
So I command the RR (6) to request a repeat of the previous frame, in response I get,
RR (7) - readiness to receive the next frame, not the previous frame.

How to fix this error?

Log:

21.07.2017 17:20:11:517 |-- Req
7E A0 13 03 41 BA D4 69 E6 E6 00 C0 02 C0 00 00 00 14 39 F2 7E
21.07.2017 17:20:11:591 |-- Res
7E A0 29 41 03 DA 96 5C E6 E7 00 C4 02 C0 00 00 00 00 15 00 13 02 04 12 00 17 11 01 09 06 00 00 16 00 00 FF 02 02 01 09 D2 63 7E
21.07.2017 17:20:11:596 |-- Req
7E A0 13 03 41 DC E4 6F E6 E6 00 C0 02 C0 00 00 00 15 B0 E3 7E
21.07.2017 17:20:12:331 |-- Res
7E A0 4E 41 03 FC 67 D6 E6 E7 00 C4 02 C0 FE
21.07.2017 17:20:17:347 |-- Req
7E A0 07 03 41 D1 4C 05 7E
21.07.2017 17:20:17:372 |-- Res
7E A0 07 41 03 F1 56 E2 7E

  • Hello Aleksej,

    Unfortunately, I don't have much experience with the DLMS/COSEM library. I'm assuming that the client here is the MSP430F67791? Is the host/server a PC or something else? Are you able to debug your code to figure out why the frame did not reach the client (assuming it's the MSP430)? I'm assuming that the client lets the host/server know that the message was received. Do you know if there are multiple clients? I'm assuming this protocol is over UART, but please correct me if I'm wrong.

    The following resources may be helpful.

    Regards,

    James

    MSP Customer Applications

  • Hello, James.

    As a client, I use my software, as a server - a stack from TI implemented in the MSP430F67791. I specially imitated the wrong frame, in order to work out the procedure for restoring frames when the connection is broken or an erroneous frame is received.

    After sending the command RR(6), I expected frame I(6,7) but in response received the command RR(7). The question is, why? Can I chat with the developers of the DLMS\COSEM stack?

  • Hello Aleksej,

    Sorry for missing out this post!

    If your issue issue is still open, pls leave your email-id here so that I get in touch with you offline. As TI is no longer providing the DLMS library in the public domain, I will not be in a position to give you online support.


    Regards,

    Chander

**Attention** This is a public forum