RF22 OSC

36 views
Skip to first unread message

freeka Tet

unread,
May 1, 2014, 4:23:03 AM5/1/14
to rf22-a...@googlegroups.com
Hello!

with the good help of a friend, i have been trying to use the OSC lib/protocol to send int message between my rf22.
i started from the rf22_client and rf22_server examples. a simple send from the client to the server works as expected (i attach the sketches ).
But as soon i try to do communication in both way, nothing works anymore :(
Also i found that the data were sent really slowly (just one analog in is sent maybe every 100 ms !!!!!! actually its the same with the text sent in the example)  and didn't found anything in the lib to accelerate this... and sometimes there is a crazy delay making me feel like watching a movie with subtitles out of sync :)
 am i missing something ?


thank you for your help!


ps: i use 2 teensy 3.1 and the OSC lib from teensyduino.



client.ino
server.ino

Mike McCauley

unread,
May 1, 2014, 5:26:21 AM5/1/14
to rf22-a...@googlegroups.com, freeka Tet
Hello,

I wont be able to analyse your code for you but I note a few things:

The code in server.ino is in fact a transmitter.
The code in client.ino is in fact a receiver
You are using the default modulation scheme FSK_Rb2_4Fd36 which is pretty
slow. I dont know how big an OSCMessage is but have you worked out how long
one would take to transmit (plus the overheads) at 2400 bits per second? Does
that agree with your observed throughput?
How much overhead does you BufferPrint class introduce?
--
Mike McCauley VK4AMM mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone +61 7 5598-7474 Fax +61 7 5598-7070

Reply all
Reply to author
Forward
0 new messages