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: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/mDotLoRa/LoRaInit.cpp
- Revision:
- 149:950c90425f7c
- Parent:
- 138:27c39d0e4e81
- Child:
- 151:9d47fe5ba805
--- a/src/mDotLoRa/LoRaInit.cpp Wed Sep 28 17:57:36 2016 +0000
+++ b/src/mDotLoRa/LoRaInit.cpp Fri Sep 30 12:22:20 2016 +0000
@@ -46,13 +46,13 @@
}
logInfo("setting RX Delay");
- if ((ret = dot->setRxDelay(3)) != mDot::MDOT_OK) {
+ if ((ret = dot->setRxDelay(1)) != mDot::MDOT_OK) {
logError("failed to set TX outputpower %d:%s", ret, mDot::getReturnCodeString(ret).c_str());
}
// request receive confirmation of packets from the gateway
logInfo("enabling ACKs");
- if ((ret = dot->setAck(3)) != mDot::MDOT_OK) {
+ if ((ret = dot->setAck(1)) != mDot::MDOT_OK) {
logError("failed to enable ACKs %d:%s", ret, mDot::getReturnCodeString(ret).c_str());
}
