| Moteur de recherche de fiches techniques de composants électroniques |
|
UM1811 Fiches technique(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1811 Fiches technique(HTML) 49 Page - STMicroelectronics |
|
49 / 52 page ![]() DocID026814 Rev 1 49/52 UM1811 Basic G3 operations 52 10.5 ADP layer data exchange To be able to execute an ADP command, the Node 1 and 2 working modes need to be set to the ADP mode, as explained in Figure 18 on page 30. To be able to send data at the ADP level, the macPANId and macShortAddress attributes need to be configured for both nodes as in the MAC layer scenario (Section 10.4 on page 45). The 6LoWPAN layer uses data encryption by default; so the MAC layer of the two nodes needs to be configured with the same security keys. In this scenario, the following key is used: [AF4D6DCCF14DE7C1C4235E6FEF6C151F], as show in Figure 40. To configure it, go into the MAC / MLME_IB menu (1). In the list of attributes for the set command, select the attribute macKeyTable (2). Then, enter the security key in the Text area (3), leave the Index set to 0 and click on the MLME- SET.Request button (4). Figure 41. Configure Node 1 GMK The same sequence needs to be repeated for the Node 2. Once the security key has been configured for both nodes, data can be sent at the ADP layer. The ADPD-DATA.Request command is available in the ADP root panel. No destination PANId/macShortAddress needs to be entered at the ADP level, as the message is an IPv6 packet that already contains the source and destination addresses. The IPv6 packet must be correctly formatted to perform the data exchange. As a reference, the following is a working configuration for this test scenario, shown in Figure 41: Node 1 – Short address: 002A – PANId: 781D – Key entry : AF4D6DCCF14DE7C1C4235E6FEF6C151F |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |