Library for LoRa communication using MultiTech MDOT.
Fork of libmDot by
Diff: README.txt
- Revision:
- 3:5e805b567124
- Parent:
- 2:6385bf37bfe7
- Child:
- 9:ebf682e616d0
--- a/README.txt Wed Jun 24 17:16:30 2015 -0500
+++ b/README.txt Wed Jun 24 17:21:14 2015 -0500
@@ -68,8 +68,9 @@
// attempt to join the network
printf("joining network\r\n");
- if ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
+ while ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
log_error(dot, "failed to join network", ret);
+ wait(2);
}
// format data for sending to the gateway
