Re: IPPhone provisioning in CE 6 R2



ok atlast i managed to bootstrap the device and retrieve the provisioning file.

it should be placed under FTP://<device-macaddr>.xml. The reason why provisioning.xml is not accepted here is the bootstrap app is for
managing the enterprise voip infrastructure where the admin can modify the settings for the device and place it in the FTP server from which
the device will pickup and autoupdate the config. So here every config becomes device instance specific, which can be addressed by means of
macaddr.xml

u need to add these reg entries ServerName,UserName,Password @ HKLM\System\VoIP\Bootstrap
though i tried to use the registery setting HKLM\System\VoIP\Bootstrap\ServerInfoLocation = 1 it didnt work so had to hard code choice.

and a small tweak to the code @bootstrapsample/engine.cpp::751; modify code as
// check where we should get bootstrap server info from
BOOTSTRAP_QUERY_CHOICES QueryChoice = BOOTSTRAP_GET_FROM_DHCP;
/*RegistryGetDWORD(
SN_VOIP_BOOTSTRAPSERVER_ROOT,
SN_VOIP_BOOTSTRAPSERVER_PATH,
SN_VOIP_BOOTSTRAPSERVER_INFOLOCATION,
(DWORD*)&QueryChoice
); */
// patch to always get bootstrap info from registry
QueryChoice = BOOTSTRAP_GET_FROM_REGISTRY;

now the device is able to retrieve the provision <macaddr.xml> from the FTP server.
But still the device didnt apply the settings as i think i had made something wrong in the xml file; and i was in no mood to probe further as i got it working when i
manually setup the configs.

Re shankars issue of hotkey registration i didnt probe more as that was not the prime focus; so i just commented the code @bootstrapsample/ui.cpp::352
/*HRESULT hr = PHRegisterHotKeys(
L"Bootstrap",
m_hwnd
);
if (FAILED(hr))
{
ASSERT(FALSE);
LOG_MESSAGE(_RETAIL, ZONE_BOOTSTRAP_ERROR, (L"Failed to registering the hotkey\n"));
return FALSE;
}*/

PS: Shankar, incase u still cant get the provisioning going or not interested to run a FTP server for testing stuff in emulator; but u still want the persistancy of settings,
just hardcode the line settings in fp_voip.reg which can be choosen by the device. not sure, may be it will require a small tweak.

Hope this helps for you.


-Gunasekaran Ramanujam

.



Relevant Pages

  • Re: Java problem on i386 7.0-CURRENT-200611 Again
    ... You may not have enough free space in your OUTPUTDIR. ... your bootstrap JDK is version ... accepting the Sun Community Source License, download the ... Bootstrap Settings: ...
    (freebsd-current)
  • Re: Java problem on i386 7.0-CURRENT-200611
    ... accepting the Sun Community Source License, download the ... I get this problem JAVA will not compile or takes all my resources I am out ... your bootstrap JDK is version ... Bootstrap Settings: ...
    (freebsd-current)
  • Java problem on i386 7.0-CURRENT-200611
    ... your bootstrap JDK is version ... accepting the Sun Community Source License, download the ... Bootstrap Settings: ... You may not have enough free space in your OUTPUTDIR. ...
    (freebsd-current)
  • Re: IPPhone provisioning in CE 6 R2
    ... the device will pickup and autoupdate the config. ... // check where we should get bootstrap server info from ... FTP server. ... But still the device didnt apply the settings as i think i had made ...
    (microsoft.public.windowsce.embedded)

Loading