Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot-mbed5 ISL29011
Diff: examples/src/peer_to_peer_example.cpp
- Revision:
- 44:89b8ed62c32c
- Parent:
- 33:15ea8f985c54
diff -r 231de26f0302 -r 89b8ed62c32c examples/src/peer_to_peer_example.cpp
--- a/examples/src/peer_to_peer_example.cpp Tue Aug 25 02:48:32 2020 +0000
+++ b/examples/src/peer_to_peer_example.cpp Wed Nov 11 00:27:58 2020 +0000
@@ -19,9 +19,9 @@
// * these options must match between the two devices in //
// order for communication to be successful
/////////////////////////////////////////////////////////////
-static uint8_t network_address[] = { 0x01, 0x02, 0x03, 0x04 };
-static uint8_t network_session_key[] = { 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04 };
-static uint8_t data_session_key[] = { 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04 };
+static uint8_t network_address[] = { 0x26, 0x00, 0x24, 0x0E };
+static uint8_t network_session_key[] = { 0xB9, 0xEE, 0x4A, 0x5A, 0x0C, 0x2F, 0x4F, 0x8F, 0xFD, 0xF9, 0xCD, 0xE5, 0x3E, 0x69, 0x63, 0xA2 };
+static uint8_t data_session_key[] = { 0x0E, 0x28, 0xEE, 0x1D, 0x32, 0x23, 0x6D, 0xAF, 0x5A, 0xD5, 0xD7, 0xC5, 0x62, 0x44, 0xEA, 0x9E };
mDot* dot = NULL;
lora::ChannelPlan* plan = NULL;