data buffer

Reply

Join Date: Dec 2009
Posts: 3
Reputation: bhavz is an unknown quantity at this point 
Solved Threads: 0
bhavz bhavz is offline Offline
Newbie Poster

data buffer

 
0
  #1
Dec 3rd, 2009
hey all,
im new to this programing stuff
consider a buffer of size 2048bytes. the data i need to send is more than 2048 bytesof the of buffer. i have a func SendDataReq (u8* pu8_TxBuffPtr,u16 u16_NoBytes);. how do i send this data using this func
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 8,313
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 824
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess
 
1
  #2
Dec 3rd, 2009
>how do i send this data using this func
Either change the size of your buffer, or call the function multiple times. It really depends on how SendDataReq works.
In case you were wondering, yes, I do hate you.
Reply With Quote Quick reply to this message  
Join Date: Dec 2009
Posts: 3
Reputation: bhavz is an unknown quantity at this point 
Solved Threads: 0
bhavz bhavz is offline Offline
Newbie Poster
 
0
  #3
Dec 7th, 2009
Originally Posted by Narue View Post
>how do i send this data using this func
Either change the size of your buffer, or call the function multiple times. It really depends on how SendDataReq works.

hi thanks for the reply,
but the buffer remain constant. how do i call it repeatedly the same func.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 8,313
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 824
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess
 
0
  #4
Dec 7th, 2009
>how do i call it repeatedly the same func.
The documentation will tell you how to do it if that capability is supported. If it's not supported, you're SOL.
In case you were wondering, yes, I do hate you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 434 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC