Functions to send and receive Bacon

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Functions to send and receive Bacon

2,223 Views
Nicom
Contributor I

I made this program :

Code:

for(;;)                {    UINT8 MLMESetChannelRequest(UINT8 u3Channel);    UINT8 MCPSDataRequest(tTxPacket *psTxPacket);    UINT8 MLMESetChannelRequest(UINT8 u12Channel);  UINT8 MLMERXEnableRequest(tRxPacket *psRxPacket, UINT32 u32Timeout);}


 

I want to receive and send data, but with this function, nothing sent and received

How use this functions to send datas (bacon)?

Thanks

Nico

Labels (1)
0 Kudos
Reply
2 Replies

1,081 Views
CompilerGuru
NXP Employee
NXP Employee
can you provided the complete code and not just a snippet?
In your code, you are only declaring the functions, you dont actually call them, is this the problem?
It't a bit uncommon to have some function declarations inside of a for loop, but its legal in C.

Daniel
0 Kudos
Reply

1,081 Views
Nicom
Contributor I
Yes it's this the problem
I don't know how use the function to make a program to always
send and receive data
Can you help me?
I'm new bee in C and codewarrior
Thanks Nico
0 Kudos
Reply