Hello,
I am trying to modify the packet sent with the EasyLink and I don't know why but when i change this line(changing the value to a different number from PKTLEN's value):
txBuffer[0] = PKTLEN;
inside of the createPacket function the board only transmit 4 packets. According to what i understand, this function just put the values that you want to send in the transmission buffer, ie, the payload of the packet, is it correct?
but according to what i see when i modify this function, i think is doing something else, but I've been trying to check the forum and the web but i didn't find anything, so i decided to write this post.
Can someone tell me what is exactly doing this function in the sample code EasyLink, because i would like to modify what i am sending, but i don't know how to do it for infinite packets, it stucks in 4 packets. I know that the structure of the packet that is by default in that function is in order to receive the packet with the SmartRF studio, but due to this is not my purpose i would like to know how to modify it.
Thanks in advance.
--I'm using the Smart TrxEB with the RF Module cc1120 running the sample code EasyLink