Hi,
I would like to send OSC as bundle messages like
/event_id 0 /device_id 00002
I find that OSC Out DAT has asBundle option. But I am not sure it works or not, it looks nothing changes.
OSC Out CHOP send messages as bundle automatically, but I need to send strings.
I am working with TD 2023.12000, Win 11.
snaut
2
Hi @kezzardrix,
would be interesting to see the actual python you are using to send your data.
I used:
op('oscout1').sendOSC('/event_id', [0], '/device_id', ['000a2'], asBundle=False)
and when checking in wireshark saw that it send 2 messages:
0000 02 00 00 00 45 00 00 30 af ac 00 00 80 11 00 00 ....E..0........
0010 7f 00 00 01 7f 00 00 01 ee 3c 1b 58 00 1c f4 0c .........<.X....
0020 2f 65 76 65 6e 74 5f 69 64 00 00 00 2c 69 00 00 /event_id...,i..
0030 00 00 00 00 ....
0000 02 00 00 00 45 00 00 34 af ad 00 00 80 11 00 00 ....E..4........
0010 7f 00 00 01 7f 00 00 01 ee 3c 1b 58 00 20 6c 10 .........<.X. l.
0020 2f 64 65 76 69 63 65 5f 69 64 00 00 2c 73 00 00 /device_id..,s..
0030 30 30 30 61 32 00 00 00 000a2...
while when sending
op('oscout1').sendOSC('/event_id', [0], '/device_id', ['000a2'], asBundle=True)
wireshark recorded this:
0000 02 00 00 00 45 00 00 60 ad 7f 00 00 80 11 00 00 ....E..`........
0010 7f 00 00 01 7f 00 00 01 ee 3c 1b 58 00 4c 05 3d .........<.X.L.=
0020 23 62 75 6e 64 6c 65 00 00 00 00 00 00 00 00 00 #bundle.........
0030 00 00 00 14 2f 65 76 65 6e 74 5f 69 64 00 00 00 ..../event_id...
0040 2c 69 00 00 00 00 00 00 00 00 00 18 2f 64 65 76 ,i........../dev
0050 69 63 65 5f 69 64 00 00 2c 73 00 00 30 30 30 61 ice_id..,s..000a
0060 32 00 00 00 2...
cheers
Markus