Skip to content

Commit

Permalink
add documentation to the function
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-apple committed Jun 1, 2021
1 parent 25ea6a0 commit 9e968a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/protocols/secure_channel/CASESession.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ class DLL_EXPORT CASESession : public Messaging::ExchangeDelegate, public Pairin
CHIP_ERROR ComputeIPK(const uint16_t sessionID, uint8_t * ipk, size_t ipkLen);

void SendErrorMsg(SigmaErrorType errorCode);

// This function always returns an error. The error value corresponds to the error in the received message.
// The returned error value helps top level message receiver/dispatcher to close the exchange context
// in a more seemless manner.
CHIP_ERROR HandleErrorMsg(const System::PacketBufferHandle & msg);

void CloseExchange();
Expand Down

0 comments on commit 9e968a7

Please sign in to comment.