Skip to content

Commit

Permalink
increased payload for simulated cc1100
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegHahm committed Jul 27, 2013
1 parent 1911124 commit 611af06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cpu/native/cc110x_ng/cc1100-sim.c
Expand Up @@ -75,9 +75,9 @@ uint8_t status_registers[((0x3D-0x30)+1)]; /* address 0x30 - 0x3D */
uint8_t patable[8]; /* address 0x3E */
uint8_t patable_idx; /* for burst access */

uint8_t tx_fifo[64];
uint8_t tx_fifo[128];
uint8_t tx_fifo_idx;
uint8_t rx_fifo[64];
uint8_t rx_fifo[128];
uint8_t rx_fifo_idx;

int native_cc110x_gd0;
Expand Down
4 changes: 2 additions & 2 deletions drivers/cc110x_ng/include/cc110x_ng.h
Expand Up @@ -22,7 +22,7 @@
#include <stdint.h>
#include <cc110x-config.h>

#define CC1100_MAX_DATA_LENGTH (58)
#define CC1100_MAX_DATA_LENGTH (118)

#define CC1100_HEADER_LENGTH (3) ///< Header covers SRC, DST and FLAGS

Expand All @@ -37,7 +37,7 @@
#define MIN_OUTPUT_POWER (0) ///< Minimum output power value
#define MAX_OUTPUT_POWER (11) ///< Maximum output power value

#define PACKET_LENGTH (0x3E) ///< Packet length = 62 Bytes.
#define PACKET_LENGTH (0x7A) ///< Packet length = 62 Bytes.
#define CC1100_SYNC_WORD_TX_TIME (90000) // loop count (max. timeout ~ 15 ms) to wait for
// sync word to be transmitted (GDO2 from low to high)
/**
Expand Down
2 changes: 1 addition & 1 deletion sys/include/transceiver.h
Expand Up @@ -15,7 +15,7 @@
#ifdef MODULE_CC2420
#define PAYLOAD_SIZE (118)
#else
#define PAYLOAD_SIZE (58)
#define PAYLOAD_SIZE (118)
#endif
/* The maximum of threads to register */
#define TRANSCEIVER_MAX_REGISTERED (4)
Expand Down

0 comments on commit 611af06

Please sign in to comment.