Difference between revisions of "Bluetooth Strain Gauge"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
Look for the MAC-ADDRESS and copy it into the following <MAC> | Look for the MAC-ADDRESS and copy it into the following <MAC> | ||
+ | This will bind the device to the name /dev/rfcomm1: | ||
+ | |||
(sudo) rfcomm bind /dev/rfcomm1 <MAC> | (sudo) rfcomm bind /dev/rfcomm1 <MAC> | ||
− | + | Afterwards, check if it has been bound: | |
+ | rfcomm -a | ||
+ | |||
+ | To remove the binding: | ||
+ | rfcomm release /dev/rfcomm1 |
Revision as of 13:26, 30 October 2017
Notes for setting up the Bluetooth strain gauge (RN42-0452) with e.g. MATLAB:
In terminal (you may have to manually switch on your bluetooth connection)
- Scan for devices:
hcitool scan
Look for the MAC-ADDRESS and copy it into the following <MAC> This will bind the device to the name /dev/rfcomm1:
(sudo) rfcomm bind /dev/rfcomm1 <MAC>
Afterwards, check if it has been bound:
rfcomm -a
To remove the binding:
rfcomm release /dev/rfcomm1