Jump to content
ivanSKR

Easylink transmit and receive troubles

Recommended Posts

hi!!, i just start with energia and easylink library, i have some troubles and i try to understand reading the instructions of the codes.

I read the transmision could be scheduled or inmediatly, when i try with the easylinkTx example the transmition start inmediatly because the abstime is 0, but i try to use easylink_transmit( ) and i have some errors.

this is the instruction of how to use the function:

EasyLink_Status EasyLink_transmit(EasyLink_TxPacket *txPacket)

Sends a Packet with blocking call.

This function is a blocking call to send a packet. If the Tx is successfully scheduled then the function will block until the Tx is complete.

param txPacket - The descriptor for the packet to be Tx'ed.

 

Ann i have this error:

EasyLinkTx:44:39: error: expected primary-expression before '*' token

   EasyLink_transmit(EasyLink_TxPacket *txPacket);
 

i dont send mi code because i just add Easylink_transmit(txPacket) in easylinkTx example

anyone could tell me how can i use correctly easylink_transmit() and Easylink_receive, and also send me and example

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...