I tried compiling the testobex external in the pattrsdk.pdf and found a few errors. I corrected the errors but still the example does not work correctly.
firstly, void *class_testobex was declared but then was used as testobex_class twice. so i changed it to class_testobex.
secondly, the attribute 'operand' was registered but then 'data' was used in place of 'operand' . I changed all instances of 'data' to 'operand' and it compiled fine.
When i set up a test in max however, the output value was always 0. I did put a value for operand in the object 'command line' ie
any idea on how to correct this?