Re: Change MTU for gprs connection
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Fri, 15 Dec 2006 09:10:08 -0700
It doesn't matter where in the file, as long as you don't put it inside an
IF..ENDIF that might not be included. Put it right at the top, as the first
line, or at the end, as the last.
When you say it didn't work, I'm suspicious that you haven't done the
necessary things to include it into the build. Just changing platform.reg
in its master location with the BSP and then doing MakeImg won't do it. At
the very least you need to copy it to the flat release directory before
calling MakeImg.
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D4AA626-7BA7-4977-9EE6-AE877C9CD208@xxxxxxxxxxxxxxxx
I already know what value it should be. So I'd like to set it in
project.reg. But I don't know where. I tried to add a entry at
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms] but it didn't work. Maybe you can
tell
me where to add the entry and how it looks like.
Thanks
Andreas
"Paul G. Tobey [eMVP]" wrote:
While you can change it at run-time from whatever programming language
you
want, you have to assume that the entry is going to be read by the device
driver when it's loaded, not every time an application changes it. If
you
know what value you want when you build the OS, set it in project.reg
with
the others. Why don't you know what to do? It's the same as setting any
other registry setting there. If you're worried about duplicating the
entry
found in common.reg, don't be. The last item found when processing the
registry files will be the one that ends up in the final registry.
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DBCB3F75-F9DF-40BD-875E-D55BBC55AA83@xxxxxxxxxxxxxxxx
Ok, the OS is WinCE 4.2 with C# .NET compact framework. I use the EXM32
board
(MSC) with wavecom Q2501 gprs module. In platform builder I added the
gprs
modem on com8. This works fine. But I have same connection problems so
I
got
a list of parameters to change. Most of them are already inserted in
project.reg. But I don't know how to change the MTU for the gprs
connection.
Can I change it by C# code or only in platform builder?
Thanks
Andi
"Paul G. Tobey [eMVP]" wrote:
You do realize that you haven't told us *anything* about the device,
the
OS,
or anything that might help us answer the question, right? This is a
PC? A device that you built? What OS version?
Have you entered "MTU" in the Search pane for the Platform Builder
help
and
read the resulting pages? In CE5, there are only 34 of them...
Paul T.
"Andreas" <Andreas@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DEA10036-AA0A-4597-A842-9B9D041F4135@xxxxxxxxxxxxxxxx
Hi,
i'd like to change the MTU for a gprs connection to a fixed value.
How
can
I
do this?
Thank you for helping me!
regards
Andreas
.
- Follow-Ups:
- Re: Change MTU for gprs connection
- From: Andreas
- Re: Change MTU for gprs connection
- From: Bruce Eitman [eMVP]
- Re: Change MTU for gprs connection
- References:
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- From: Paul G. Tobey [eMVP]
- Re: Change MTU for gprs connection
- From: Andreas
- Re: Change MTU for gprs connection
- Prev by Date: Re: SOS!!Boot Loader StartUp Function !!
- Next by Date: Re: Can i use FFUART as Debug and Application serial port?
- Previous by thread: Re: Change MTU for gprs connection
- Next by thread: Re: Change MTU for gprs connection
- Index(es):