Latest Entries »

Removed diagnostic messages.

Download | View code changes

Richard “fixed the start-of-packet detection and straightened out the indexing in serialPort_DataReceived“.

The serial driver (or the mindflex, or something…) is stopping the flow of data after a few seconds of operation so I can only test a few seconds at a time until I’ve cleared that up. Disabling/enabling the com port in device manager fixes it up temporarily, which to me indicates a driver issue, rather than a problem caused by anything the mindflex is doing.

View code changes

I ran into the following error while traversing certain user’s security groups in Active Directory:

System.DirectoryServices.AccountManagement.NoMatchingPrincipalException: An error occurred while enumerating the groups. The group could not be found.

The error was thrown when calling GetAuthorizationGroups() on line 3:

PrincipalContext adServer = new PrincipalContext(ContextType.Domain, CasRolesConfig.ADServer);
UserPrincipal adUser = UserPrincipal.FindByIdentity(adServer, samAccountName );
PrincipalSearchResult<Principal> adAuthGroups = adUser.GetAuthorizationGroups();
foreach (Principal adAuthGroup in adAuthGroups)
{
    string groupName = adAuthGroup.Name;
    // [...]
}

The error occurs when the group or child group contains a ForeignSecurityPrincipal. Microsoft has confirmed it as an issue and a bug has been raised internally.

Read more

Mattel Mindflex 0.9.1

Reset the index after reading 36 bytes.

First draft of a plugin for modded Mattel Mindflex headsets that have been connected via USB.

Zeo 0.9.3

Increased the bandwidth extracted from the data channels.

Lucid Scribe 1.2.2

Ensured that the minute, hour and day graphs automatically update if they are selected, converted to Int32s and sharpened images copied and exported from the hour-overview.

Zeo 0.9.2

Fixed a null reference error and added a channel count.

Zeo 0.9.1

Added a COM port form.