diff --git a/inc/MicroBitRadio.h b/inc/MicroBitRadio.h index 5f4d31f6..9244b7f9 100644 --- a/inc/MicroBitRadio.h +++ b/inc/MicroBitRadio.h @@ -69,12 +69,12 @@ namespace codal // Default configuration values #define MICROBIT_RADIO_BASE_ADDRESS 0x75626974 #define MICROBIT_RADIO_DEFAULT_GROUP 0 -#define MICROBIT_RADIO_DEFAULT_TX_POWER 7 +#define MICROBIT_RADIO_DEFAULT_TX_POWER 6 #define MICROBIT_RADIO_DEFAULT_FREQUENCY 7 #define MICROBIT_RADIO_MAX_PACKET_SIZE 32 #define MICROBIT_RADIO_HEADER_SIZE 4 #define MICROBIT_RADIO_MAXIMUM_RX_BUFFERS 4 -#define MICROBIT_RADIO_POWER_LEVELS 10 +#define MICROBIT_RADIO_POWER_LEVELS 8 // Known Protocol Numbers #define MICROBIT_RADIO_PROTOCOL_DATAGRAM 1 // A simple, single frame datagram. a little like UDP but with smaller packets. :-) diff --git a/source/MicroBitRadio.cpp b/source/MicroBitRadio.cpp index 806ced18..008984fe 100644 --- a/source/MicroBitRadio.cpp +++ b/source/MicroBitRadio.cpp @@ -32,7 +32,7 @@ DEALINGS IN THE SOFTWARE. using namespace codal; -const uint8_t MICROBIT_RADIO_POWER_LEVEL[] = {0xD8, 0xD8, 0xEC, 0xF0, 0xF4, 0xF8, 0xFC, 0x00, 0x03, 0x04}; +const uint8_t MICROBIT_RADIO_POWER_LEVEL[] = {0xD8, 0xEC, 0xF0, 0xF4, 0xF8, 0xFC, 0x00, 0x04}; /** * Provides a simple broadcast radio abstraction, built upon the raw nrf51822 RADIO module.