Forming and sending OSC packets with WiShield.h

Hi everyone. I'm working on an Arduino project that uses a gyro and accelerometer, and transmits their readings through wireless UDP packets using OSC format. My problem is that I cannot find a library or a resource to help me format the packets in the OSC format. I'm new to Arduino but not to programming. I'm currently using the Arduino IDE (for want of a better term) program found on their website. I'm programming on a Mac. I tried using the liblo library (http://liblo.sourceforge.net) but it won't compile. I have succeeded getting the sensors to give me a reading but just Dont know how to go about forming these packets. All other libraries I found rely on Ethernet.h but I am using WiShield.h Any help would be hugely appreciated

I tried using the liblo library (http://liblo.sourceforge.net) but it won't compile.

So, you don't want help with this part. Fine.

All other libraries I found rely on Ethernet.h but I am using WiShield.h

That you got from where?

I would like help with liblo if you had the time... I tried ArdOSC (https://github.com/recotana/ArdOSC), but this requires Ethernet.h I'm sorry for my English, I did not mean to offend you

I would like help with liblo if you had the time…

What problems are you having?

We’ve hired a psychic, but he is not due to start until the 12th of never. Meanwhile, we need your help.

The problem I have is that I don’t know enough to be able to make liblo form OSC packets through WiShield.h instead of Ethernet.h
I am just asking if anybody has experience of forming OSC packets to transmit over WiFi.
I briefly mentioned the attempts I made and how I was not successful.
I am sorry if you find my question frustrating.
If you have experience in this area then I would love to hear what you have to say and what steps you think I should take.

I am just asking if anybody has experience of forming OSC packets to transmit over WiFi.

I think that the problem you are going to encounter is that OSC packets are sent as UDP datagrams, and the official WiFi shield does not support sending UDP datagrams.

Wow, ok. I presumed it was a matter of filling your UDP packet with formatted data, I didn't realise this was an unsuported function. How would you go about transmitting OSC data wirelessly with Arduino then? Bluetooth? Thanks for your helpful reply.

Does anybody know how to form OSC data to transmit wirelessly?

Hi everyone, Despite the lack of encouragement here, I'm happy to say that I got this project working. My two i2c sensors are being read through a single i2c bus and transmitted using the WiShield library. My code is here (http://github.com/koipolloi/WiFiShield_OSC_i2c). It wouldn't kill you guys to be a bit friendlier when noobs ask for help :roll_eyes: