Removed diagnostic messages.
Latest Entries »
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.
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.
Reset the index after reading 36 bytes.
First draft of a plugin for modded Mattel Mindflex headsets that have been connected via USB.
Increased the bandwidth extracted from the data channels.
Fixed a null reference error and added a channel count.
Added a COM port form.
