Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] How to get token ?

Hi,

  I'm not sure to understand which kind of check you want to do as californium should already check token is the same. This is the way CoAP do request/response matching[1].

  On the request you should be able to get the Token, but as you don't explain which API you are using, this is hard to be accurate.

Simon.

Le 12/10/2018 à 13:57, Sedat Bilgili a écrit :

Hello there

 

I am using californium as client to my servers in cooja simulator. To check if response is correct, i want to match tokens. I can see response’s token clearly, but how can i reach the client’s token just before sending a GET message ? I am not good with java, so any help will be appreciated.

 

Thank you


_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev

Back to the top