Nordic USB Ant Stick - Garmin HRM - Arduino on Mac

I’m attempting to code a program to monitor Garmin HRM in real-time using the Nordic USB ANT stick (http://www.sparkfun.com/commerce/produc … ts_id=8840). I am having a few problems coding up a solution, or compiling other’s code. I am running Mac OSX 10.6.4, Intel, with Arduino 0018. Ultimately, I am looking to code up a solution on the Mac:

I’ve also scoured the forums on SparkFun and Arduino, and attempted running/manipulating code from other users

forum: viewtopic.php?f=13&t=21214

forum: viewtopic.php?f=13&t=17017&start=0

including the ATMega168 from SparkFun: http://www.sparkfun.com/commerce/produc … ts_id=8840

After meticulously downloading appropriate libraries for the sketch, I am able to get past function errors.

example a: /…/Arduino/libraries/hrm/sys/stat.h:564: error: ‘mode_t’ has not been declared

Bad error line: -3

example b: /…/Arduino/libraries/hrm/sys/stat.h:567: error: ‘dev_t’ has not been declared

In function ‘uchar chevent(uchar, uchar)’:

In function ‘uchar revent(uchar, uchar)’:

In function ‘int main(int, char**)’:

The ANT library seems to suggest I use XCode, and even includes a project file for Mac. (http://www.thisisant.com/products/data-sheets-brochures)

I am not an XCode programmer however, and after having spent several hours with it, I’m not better then when I started.

How did you go about reading ANT+ data on a Nordic USB ANT stick without using the ANT libraries? Is there any workaround?

I’ve tried to “#include” the ANT library .h files, but Arduino throws errors.

Here is the most recent:

"24: error: antdefines.h: No such file or directory In function ‘UCHAR ProcessChannelEvent(UCHAR, UCHAR)’:

In function ‘UCHAR ProcessProtocolEvent(UCHAR, UCHAR)’:"

While I have successfully included some sys/.h files, I do not have all the sys/.h files included in my library which may be one cause of these errors. I have downloaded systematically, one at a time, from

http://www.koders.com/c/fidE790F3B837F1 … 6907E.aspx

http://www.koders.com/c/fidCF2322712253 … ?s=cdefs.h

I understand many user’s are running on Windows and most forums on ANT/Garmin are PC based.

Thanks for your time. I do appreciate it.