Electronics > Beginners
LWMESH Security
(1/6) > >>
Peili:
hello, i want to implement a security to my LwMesh.. i'm using 1.2.1 version.. how to implement the security feature to the stack?
ataradov:
If you want security that is included with the stack, then just enable NWK_ENABLE_SECURITY option in the configuration file. You also need to set security mode SYS_SECURITY_MODE.

Then your application needs to set the same encryption key on all devices using NWK_SetSecurityKey() function.

This is pretty well described in the documentation. What specific problems do you have?
Peili:

--- Quote from: ataradov on January 04, 2019, 07:28:45 am --- What specific problems do you have?


--- End quote ---
How to check the Security feature is activated ? i'm enabled the NWK_ENABLE_SECURITY,SYS_SECURITY_MODE features and NWK_SetSecurityKey().. How  to check the security?
ataradov:
One way would be to look in the sniffer. You should not see plain text data.

Anther indirect way is to set different keys on two nodes and check that they don't communicate.

And remember to request encryption in your data requests.
Peili:

--- Quote from: ataradov on January 07, 2019, 05:42:28 am ---
Anther indirect way is to set different keys on two nodes and check that they don't communicate.


--- End quote ---
i have checked with and still they are communicating... what this mean?
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod