actually attenuationModifier is not a pointer, nor an int (we don't want 4 bytes), its a single char: char attenuationModifier[] = {255};

Im getting an invalid assignment between unsigned char* (currentPacketPtr) and char [1] (attenuationModifier), I'd have to make a pointer to an unsigned char cast of attenuationModifier.