Electronics > Beginners

LWMESH Security

<< < (5/6) > >>

Peili:

--- Quote from: ataradov on January 09, 2019, 03:20:28 am ---That is not what I was asking for. I was asking for the testing steps, like this:
1. Take the first board
2. Set this the key to this value
3. Compile application
4. Program the device
5. Take the second board
etc.

--- End quote ---
first i took one board to configure as coordinator.. enabled #define NWK_ENABLE_SECURITY and set the key as TestSecurityKey0 and #define APP_ADDR as 0x0000..
 and compile the application and program it via atmel studio...
 then change the #define APP_ADDR as 0x1002 and compile the application ..
then program the second board as a router via Atmel studio using AVR dragon....
placed the second board in level sensor and coornator in my PC and open terminal to check the communication

ataradov:
Ok, this is testing with the same key. So they should communicate.

Peili:

--- Quote from: ataradov on January 09, 2019, 03:29:02 am ---Ok, this is testing with the same key. So they should communicate.

--- End quote ---
no they are not  communicating...i tried with out enabling the #define NWK_ENABLE_SECURITY in the second board it's communicating

ataradov:
First of all, please capitalize your sentences. I'm not going to put any effort into my posts, if you don't put any effort into yours.

I'm also not going to be pulling formation from you. It is up to you to explain things as specifically as possible.


--- Quote from: Peili on January 09, 2019, 04:02:40 am ---no they are not  communicating...

--- End quote ---
Why was not this mentioned in the description of the situation?

I'm completely lost in what you are doing. Start debugging. Put a debugger in a sending node and check that the outgoing frame is encrypted. Then out a debugger in the receiving node and check why incoming frame is getting rejected.

Peili:


--- Quote from: Peili on January 09, 2019, 04:02:40 am ---no they are not  communicating...

--- End quote ---
Why was not this mentioned in the description of the situation?

--- Quote from: Peili on January 09, 2019, 03:12:20 am ---
--- Quote from: ataradov on January 07, 2019, 09:31:01 am ---The key must be 16 bytes long. Please read the documentation.

--- End quote ---
I have checked with the 16 byte key... now they are not communicating..if i enable #define NWK_ENABLE_SECURITY in Coordinator and doesn't in router, they will communicate.. but enabled in both they are not....


--- End quote ---


i mentioned it

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod