Iphone device token – NSData or NSString

Ok, I found a solution. If anyone has the same problem, forget about ASCII encoding, just make the string with the following lines: NSString *deviceToken = [[webDeviceToken description] stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@”<>”]]; deviceToken = [deviceToken stringByReplacingOccurrencesOfString:@” ” withString:@””];

BSP vs Device-Drivers

I see the relationship between BSPs and devices drivers as “has-a”. Board support packages include device drivers. The differences between BSPs & kernels isn’t easy to distinguish. A kernel translates instructions to the hardware. Kernels are often written to particular families of hardware, so they’re not as portable or generic as they seem. It amounts … Read more

I/O completion port’s advantages and disadvantages

I/O completion ports are awesome. There’s no better word to describe them. If anything in Windows was done right, it’s completion ports. You can create some number of threads (does not really matter how many) and make them all block on one completion port until an event (either one you post manually, or an event … Read more

tech