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.
Fork of QSL_SimplePublish by
QSL SimplePublish
SmartMesh IP QuickStart Library
- GitHub repository
- Current release used: REL-1.0.2.2
- Documentation
- Discussion
Diff: main.cpp
- Revision:
- 5:eb02ec8b90f8
- Parent:
- 4:0285bcbbc855
- Child:
- 6:bb0ffa1d5be3
diff -r 0285bcbbc855 -r eb02ec8b90f8 main.cpp
--- a/main.cpp Thu Sep 08 14:26:15 2016 +0000
+++ b/main.cpp Thu Sep 08 14:30:33 2016 +0000
@@ -6,10 +6,10 @@
#define NETID 0 // Factory default value used if zero (1229)
#define JOINKEY NULL // Factory default value used if NULL (44 55 53 54 4E 45 54 57 4F 52 4B 53 52 4F 43 4B)
-#define BANDWIDTH_MS 0//5000 // Not changed if zero (default base bandwidth given by manager is 9 s)
+#define BANDWIDTH_MS 5000 // Not changed if zero (default base bandwidth given by manager is 9 s)
#define SRC_PORT 60000 // Default port used if zero (0xf0b8)
#define DEST_PORT 0 // Default port used if zero (0xf0b8)
-#define DATA_PERIOD_MS 9000 // Should be longer than (or equal to) bandwidth
+#define DATA_PERIOD_MS 5000 // Should be longer than (or equal to) bandwidth
// We can use debug macros from dn_debug, as stdio defaults to this serial
Serial serialDebug(SERIAL_TX, SERIAL_RX);
@@ -26,6 +26,7 @@
uint8_t bytesRead;
uint8_t i;
+ // Set PC debug serial baudrate
serialDebug.baud(115200);
log_info("Initializing...");
