David Richardson
Mon, 13 Jul 2009 11:30:35 -0700
Thanks for letting me contribute! On Fri, Jul 10, 2009 at 8:17 AM, Mark Ellis <m...@mpellis.org.uk> wrote:
> On Tue, 2009-07-07 at 22:06 +0200, David Richardson wrote: > > Also this patch has a minor bug fix (wasn't actually responding with > > the number of bytes in the output, but just synce_tracing the value). > > > > Cool, I've now managed to disable the security on my device to test > this, and have now committed your second patch with a couple of tweaks. > I couldn't decide from the documentation whether pcbOutput was allowed > to be NULL, but since one of the tests passes in NULL I've put in a > check for it. The tests all now pass except for using a stream > obviously. > > I previously committed a patch to build the invoke test, so if you use > the source from svn you won't need your other test executable. > > As for cutting out the Visual Studio step, it may well just be sending > some config xml to the device when we change security settings. If you > want to, capture the network traffic when you 'deploy to device', and if > it just looks like some xml you can try sending it with the rapiconfig > tool. You're exactly right. For other's ease of use I've attached the necessary xml here. Note that you need SdkCerts.cab installed for rapiconfig to succeed. > > > Mark > > > > On Tue, Jul 7, 2009 at 12:53 PM, David Richardson > > <docgra...@gmail.com> wrote: > > The first step is to get it detected by ActiveSync. If you're > > using a VM like I am, you're unlikely to get RNDIS to connect, > > so disable advanced networking. Once it is detected fire up > > VS and Tools > Device Security Manager... > Connect to a > > device... > > > > Platform: Windows Mobile 5.0 Pocket PC SDK > > Devices: Windows Mobile 5.0 Pocket PC Device R2 > > > > Hit connect and be ready to hit "Yes" to about 5 dialog boxes > > on the device. Afterwards click "Security Off" and then > > "Deploy to Device". > > > > You probably need the WM SDK to do this (maybe included, > > depending on your trial). > > > > Installing SdkCerts.cab may do the trick, too. I'm also a > > Linux developer and would love to cut the Visual Studio step > > out of my development. > > > > > > > > On Tue, Jul 7, 2009 at 12:42 PM, Mark Ellis > > <m...@mpellis.org.uk> wrote: > > On Mon, 2009-06-29 at 23:02 +0200, David Richardson > > wrote: > > > I implemented reading of the output_size and > > output_buffer too. I > > > couldn't figure out how to actually run the > > CeRapiInvoke tests (my > > > automake experience is lacking) but I did create a > > separate executable > > > that does the same thing as those tests. It should > > pass > > > test_ping_result and test_ping_buffer now, but not > > the stream test > > > (will still return E_NOTIMPL). I didn't check > > test_last_error yet. > > > > > > > > > Hi David, thanks for the patch. I'd like to do some > > work on the rest of > > it, but I do linux programming, not MS :) I've got a > > trial version of > > Visual Studio around somewhere, can you explain how to > > disable the > > device's security from there ? > > > > Ta > > Mark > > > > > > > > > > >
<?xml version="1.0" encoding="utf-8" ?>
<!--
IMPORTANT NOTE: SecurityOff is not a recommended security
configuration, and it is likely that no retail device will
have this configuration.
-->
<wap-provisioningdoc>
<characteristic type="SecurityPolicy">
<!--
=============================================================
Security policies
=============================================================
-->
<!--
1-tier device -->
<parm name="4123" value="1" />
<!--
Grant Manager Role to USERAUTH and CARRIERTPS -->
<parm name="4119" value="144" />
<!--
=============================================================
Applications
=============================================================
-->
<!--
Allow unsigned CABs to install with UserAUTH permissions -->
<parm name="4101" value="16" />
<!--
Allow unsigned apps to run -->
<parm name="4102" value="1" />
<!--
Disable user prompts -->
<parm name="4122" value="1" />
<!--
=============================================================
Configuration access
=============================================================
-->
<!--
AutoRun Policy: 0 -->
<parm name="2" value="0" />
<!--
Grant User Authenticated Policy -->
<parm name="4120" value="16" />
<!--
Allow unsigned themes to install with UserUNAUTH permissions -->
<parm name="4103" value="64" />
<!--
=============================================================
Remote access
=============================================================
-->
<!--
RAPI mode : Allowed -->
<parm name="4097" value="1" />
</characteristic>
</wap-provisioningdoc>------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel