Welcome to %s forums

BrainModular Users Forum

Login Register

ip address from osc sender

I need help on a Patch
Post Reply
User avatar
oli_lab
Member
Posts: 1266
Location: Brittany, France
Contact:

Unread post by oli_lab » 25 Oct 2015, 21:45

Hi
I'm starting to work on Android apps to connect with Usine via osc/wifi...
What I'd like to do is a token system in Usine to take care of same app running on different android devices.

The idea is to send back a id number to each new device so the app will send osc message with this included I'd

My problem is I haven't find a way to get the ip of the device that has sent the osc message inside Usine.

Any idea ?
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 25 Oct 2015, 22:43

mm, I don't think it's possible currently

User avatar
oli_lab
Member
Posts: 1266
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 Oct 2015, 16:55

ok, I found a workaround handshake procedure by having the android device sending a unique key to Usine and having Usine to reply with the polyphony number attributed to this particular device.
:)
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 28 Oct 2015, 17:40

you're the OSC boss ! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests