Hi everybody,
I would like to connect my mobile with a pure data patch, my main objective is just get the strength of the signal, ie if the mobile is near the pc or far.
Exist any object in pure date in order to achieve this? I was searching and found him and comport objects, but i couldn't manage to make it work.
Thanks you!
Cheers, Sebastián
If you send a [devices( message to [comport] it will print a list of available ports in the console. If your bluetooth device is in the list you can open it using the name it has in the list.
Martin
On 2013-11-25 17:00, sebarocker@gmail.com wrote:
Hi everybody,
I would like to connect my mobile with a pure data patch, my main objective is just get the strength of the signal, ie if the mobile is near the pc or far.
Exist any object in pure date in order to achieve this? I was searching and found him and comport objects, but i couldn't manage to make it work.
Thanks you!
Cheers, Sebastián
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks for your answer Martin.
When i create comport object i receive this error:
[comport] ** ERROR ** could not get termios-structure of device /dev/ttyS0 [comport] opening serial port 0 failed!
I connected my phone using bluetooth, started transferring a file and in that moment sent the [devices] message to comport, what i got in the console was: *[comport]: available serial ports:*
Any ideas? I just need to detect the bluetooth device and get the signal strength...
Thanks you!!
2013/11/25 Martin Peach martin.peach@sympatico.ca
If you send a [devices( message to [comport] it will print a list of available ports in the console. If your bluetooth device is in the list you can open it using the name it has in the list.
Martin
On 2013-11-25 17:00, sebarocker@gmail.com wrote:
Hi everybody,
I would like to connect my mobile with a pure data patch, my main objective is just get the strength of the signal, ie if the mobile is near the pc or far.
Exist any object in pure date in order to achieve this? I was searching and found him and comport objects, but i couldn't manage to make it work.
Thanks you!
Cheers, Sebastián
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I don't know how bluetooth works on linux but on Windows and Mac you get a list of serial ports for bluetooth that exist even when no bluetooth device is associated with them. Maybe if you are not actually using the port it will show up?
Martin
On 2013-11-26 05:51, sebarocker@gmail.com wrote:
Thanks for your answer Martin.
When i create comport object i receive this error:
[comport] ** ERROR ** could not get termios-structure of device /dev/ttyS0 [comport] opening serial port 0 failed!
I connected my phone using bluetooth, started transferring a file and in that moment sent the [devices] message to comport, what i got in the console was: /[comport]: available serial ports:/
Any ideas? I just need to detect the bluetooth device and get the signal strength...
Thanks you!!
2013/11/25 Martin Peach <martin.peach@sympatico.ca mailto:martin.peach@sympatico.ca>
If you send a [devices( message to [comport] it will print a list of available ports in the console. If your bluetooth device is in the list you can open it using the name it has in the list. Martin On 2013-11-25 17:00, sebarocker@gmail.com <mailto:sebarocker@gmail.com> wrote: Hi everybody, I would like to connect my mobile with a pure data patch, my main objective is just get the strength of the signal, ie if the mobile is near the pc or far. Exist any object in pure date in order to achieve this? I was searching and found him and comport objects, but i couldn't manage to make it work. Thanks you! Cheers, Sebastián _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>