Each of the places in buffer are chars, so they're limited to 256. So you need to split your int into two chars and put one in txBuffer and one in txBuffer. CorB has used a struct to manage his packet structure, which is more flexible than just a char buffer.
Hi. Sorry if I read this too quickly and didn't catch the right question, but I wonder:
... if you are setting P1.0 as an output and driving it high, I think it will drive the P1.0-LED to light, but you might be fighting for the voltage with the RF-module. So it might be dependent on how your RF-modules GDO2 is set up, and it's conceivable that you may burn the RF-module???
... P1.6 is probably used by the MISO-signal, so using this to drive a LED output will probably not work. You'd have to make sure the P1.6 wasn't being used as MISO (done in TI_CC_SPISetup() ), but then your radio won't work properly.
So, you may need to use other pins as LED-pins. Some of the free ones. I think you can reuse the LEDs for another output, if you instead of the header connect another MCU output pin to the lower pin on the header (closest to the LED). But don't shoot me if it doesn't work, since I*ve never tried.