Functions to send and receive Bacon

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Functions to send and receive Bacon

2,215件の閲覧回数
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,073件の閲覧回数
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,073件の閲覧回数
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 件の賞賛
返信