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 SX1276PingPongFHSS by
Revision 1:41b10c760ff2, committed 2014-09-23
- Comitter:
- GregCr
- Date:
- Tue Sep 23 14:25:25 2014 +0000
- Parent:
- 0:db48addeabda
- Child:
- 2:b03bdfedfafa
- Commit message:
- Functional
Changed in this revision
--- a/SX1276Lib.lib Fri Sep 19 15:25:35 2014 +0000 +++ b/SX1276Lib.lib Tue Sep 23 14:25:25 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/GregCr/code/SX1276Lib/#2b555111463f +http://mbed.org/users/GregCr/code/SX1276Lib/#0fe3e0e8007b
--- a/main.cpp Fri Sep 19 15:25:35 2014 +0000
+++ b/main.cpp Tue Sep 23 14:25:25 2014 +0000
@@ -1,6 +1,6 @@
#include "mbed.h"
+#include "sx1276-hal.h"
#include "main.h"
-#include "sx1276-hal.h"
#include "mbed_debug.h"
/* Set this flag to '1' to display debug messages on the console */
@@ -47,7 +47,7 @@
#error "Please define a modem in the compiler options."
#endif
-#define RX_TIMEOUT_VALUE 3000000 // in us
+#define RX_TIMEOUT_VALUE 4000000 // in us
#define BUFFER_SIZE 32 // Define the payload size here
#if( defined ( TARGET_KL25Z ) )
@@ -361,5 +361,5 @@
void OnFhssChangeChannel( uint8_t channelIndex )
{
Radio.SetChannel( HoppingFrequencies[channelIndex] );
- debug_if( DEBUG_MESSAGE, "-"/*"%d"*/, channelIndex);
+ debug_if( DEBUG_MESSAGE, "F%d-", channelIndex);
}
--- a/main.h Fri Sep 19 15:25:35 2014 +0000
+++ b/main.h Tue Sep 23 14:25:25 2014 +0000
@@ -4,9 +4,9 @@
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
- �2013 Semtech
+ ( C )2014 Semtech
-Description: SX1276 FSK modem registers and bits definitions
+Description: Contains the callbacks for the IRQs and any application related details
License: Revised BSD License, see LICENSE.TXT file include in the project
@@ -19,7 +19,7 @@
/*!
* Frequency hopping frequencies table
*/
-const int32_t HoppingFrequencies[] =
+const uint32_t HoppingFrequencies[] =
{
916500000,
923500000,
@@ -71,7 +71,7 @@
910000000,
926500000,
925500000,
- 911000000,
+ 911000000
};
/*
