Loading...
Pages: [1]   Go Down
Author Topic: Why UDP_TX_PACKET_MAX_SIZE have 24 bytes?  (Read 500 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

this is the first post for me...
so hi all smiley

said that, why UDP_TX_PACKET_MAX_SIZE is only 24 bytes?
Can i raise it up somehow?

i simply does not get the point smiley-wink

bye
d.
Logged

Offline Offline
God Member
*****
Karma: 10
Posts: 871
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My bet is purely to save memory.... 2k sram, you're not going to be happy to find the TCP IP library uses up 1.5k of it are you? lol
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi cjdelphi,

thanks for your interest.

But if i want to use only UDP in my arduino? smiley
Why can't I decide how many sram for each protocol?
I already have a working framework, rewriting it is a pain!

so my second question is still:
Can i raise it up somehow?
smiley-grin

thanks,
d.
Logged

Offline Offline
God Member
*****
Karma: 10
Posts: 871
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

simply change the values... should be that simple (all the const variables in the ethernet files)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to be sure about it:
i have to find (after arduino installation) the library and change the value in the .cpp and .h (or whatever), correct?

If i copy the file in my library which one is used?
my local or global library?
Logged

Pages: [1]   Go Up
Print
 
Jump to: