Functions to send and receive Bacon

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Functions to send and receive Bacon

2,212 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

1,070 次查看
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 项奖励
回复

1,070 次查看
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 项奖励
回复