Search Results

Search: Posts Made By: nithin@embdes
5,821
Posted By nithin@embdes
I am using bash instead of sh. I tried "su"....
I am using bash instead of sh.

I tried "su". But of no use.
script:
su - embdesnithin --command hcitool -i hci0 lecc --random EA:74:48:D5:52:6B
sleep 1
su - embdesnithin --command gatttool -i...
5,821
Posted By nithin@embdes
Hi, I have tried other option also. Here...
Hi,

I have tried other option also.
Here is script
sudo hcitool -i hci0 lecc --random EA:74:48:D5:52:6B
sleep 1
sudo gatttool -i hci0 -b EA:74:48:D5:52:6B --interactive <<< connect


When...
5,821
Posted By nithin@embdes
Hi, Option --interactive is must. With out...
Hi,

Option --interactive is must. With out that option neither it would not connect to the device nor it will not accept gatttool as valid command.

So any other way?
5,821
Posted By nithin@embdes
Pass Arguments to Command from Shell Script
Hi all,

I am working on a project, in which I have to connect to Bluetooth low energy device. I am able to connect and do data transfer from command line. But I want to do from script
Here is my...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy