I have four uint8_t
arrays:
uint8_t arrayOne[12] = { 0x00,0x01,0x00,0x00,0x00,0x06,0xFE,0x03,0x01,0xC1,0x00,0x01 };
uint8_t arrayTwo[12] = { 0x00,0x01,0x00,0x00,0x00,0x06,0xFE,0x03,0x4E,0x2D,0x00,0x0C };
uint8_t arrayThree[12] = { 0x00,0x01,0x00,0x00,0x00,0x06,0xFE,0x03,0x01,0xF3,0x00,0x01 };
uint8_t arrayFour[12] = { 0x00,0x01,0x00,0x00,0x00,0x06,0xFE,0x03,0x20,0x04,0x00,0x01 };
I have added them to array:
uint8_t *theArray[] = { arrayOne,arrayTwo,arrayThree,arrayFour };
now I want to pass this array to a method, for example:
[self theMethod:theArray];
to:
-(void)theMethod:(uint8_t *)pointersArray[]{
...
...
}
What is the proper way to point that array to a method in -(void)theMethod... ?