Zorin Permanently change bluetooth headset name - bluetooth

So I have Zorin OS 16.1 and I am trying to permanently change the name of my bluetooth headset. I want to change it as we have several users that use the same model headset and it would help if we could change the name of the headset on their specific machine.
I tried to follow the answer from https://askubuntu.com/questions/80960/how-to-change-bluetooth-broadcast-device-name
I get it to change the name, but as soon as I disconnect it then reconnect the headset it reverts back to the original name. Is what I am looking to do possible in Zorin?
I have tried changing the name withing /etc/bluetooth and /var/lib/bluetooth. Even tried creating a file called machine-info. Could use some guidance. I am still learning Linux as a whole.

Related

I want to control a computer from another one with bluetooth

Salvation
I want to control a computer from another one without installing any application. Bluetooth seems to be a solution.
So far, I have found and tried this app which uses Bluetooth (the second computer recognizes my cell as a Bluetooth mouse and keyboard). It works perfectly.
https://play.google.com/store/apps/details?id=io.appground.blek
Does this software exist for Windows ?
Thanks

Is there a way to hide the system's main drive and show only connected devices in pyqt treeview

I'm using pyqt treview and QFileSystemModel to display my computer files and plugged in USB devices. What I want is to be able to detect when devices are connected to the computer and show only those in the treeview. For example, on windows, when I do model.setRootPath('') , it shows me the connected devices and the C: drive. I only want the connected devices to show. And if there is none, the treeview should be blank until a device connected for it to update.
After some searches, I've already written the code for detecting connected devices (for both windows and Linux). Using QTimer, the code checks every 0.5 seconds for new/removed devices. I just need a way to filter out everything else and only show the connected devices. I need this for both Linux and Windows, if possible.
Thanks in advance for every help

BLE Peripheral not displaying correctly

I am currently having some issues with connecting to my peripheral. The bluetooth module in our peripheral does not seem to be advertising a name initially. I've have found that once I connect to the peripheral for the first time it will update the name and my scanner is then able to see the correct name.
I have no understanding why this is the case. I have also tried it using the Swift app we are developing, as well as a range of Bluetooth scanners on iOS and Android so I do not believe that this is an OS or programming error on the scanner side.
Is there a specific parameter that should be set on the peripheral. As I am just the app developer I do not have very much understanding about how the module is handing the process.
Any help would be much appreciated.
Just to confirm the scanner does not see a name for the peripheral until it has connected once. After this it will start displaying the name. Once the peripherals name is changed the old name is still being displayed until I have connected to it once again.
To display the name of device you need to see in advertisementData Dictionary which contains several keys depending on your device, in callback of didDiscoverPeripheral from CentralManager.
- (void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDictionary<NSString *, id> *)advertisementData RSSI:(NSNumber *)RSSI
You can look for key CBAdvertisementDataLocalNameKey.
If you do not see the name, you can make changes in your firmware to include a name in GATT characteristic .
You can use LightBlue app to verify once. This is a good app on app-store to test your BLE device.

Send file to remote device with bluetooth without the requirement of a pin using obexftp in terminal

Hi This command in terminal
obexftp –nopath –noconn –uuid none –bluetooth <BTAddr> –channel <OPUSHChannelNo> –put <FileToPut>
Should allow a file to be sent to remote bluetooth device without the requirement of a pin on a remote device.
When i populate this with my data
obexftp –nopath –noconn –uuid none –bluetooth 64:89:9A:DE:49:FA –channel 12 –put DUN.jpg
I get the following error
Try `obexftp --help' for more information.
Nothing to do. Use --help for help.
I can get it to work with this terminal command
obexftp --nopath -noconn --uuid none --bluetooth 64:89:9A:DE:49:FA --channel 12 -put DUN.jpg
But the problem is the remote device asks the user to pair before allowing the file to be received. I need the solution to skip the pair request.
Or if anyone can suggest an alternative terminal solution where i can send a file from a raspberry pi to mobile device without the requirement to pair would be great.
Any suggestions would be gratefully appreciated. Thank you.
Even i am facing these issue. No matter how u use the obexftp with bluez, you need to use the pin to pair the device which was not acceptable by me.
Though there is one way around, use gnome-bluetooth package, you will be able to send the file using bluetooth-sento command with some parameters which i guess you will get it.
I have recently been attempting something similar using an embedded device and an Android phone. I believe what you are seeking is not possible as it would be a security risk for the Android device is you could just simply push a file to the Android device without first asking for permission/pairing. Unless you make modifications to the Android device and underlying code, I do not think you will be able to achieve your desired goal.

communication between bluetooth module and remote Human interface device

I have been using bluetooth module BC 417 of company "NOVA".
I have kept all UART setting as suggested by datasheet.
i.e. buad rate=9600, parity=none, stop bit=1
My connection is getting established with nokia 5130 bluetooth, but as soon as m going to send something from UART connection is disabled.
Whenever i go to connect this module to android phone's bluetooth, connection does not take place.
For making connection i am using this command BC:CS=<address of bluetooth>
So i have following question:-
Is there any another setting is required in hyper terminal?
Is there any firmware is available for nova comm control interface module version 1.2?
Sorry, I only have enough reputation to answer and not just comment. You might want to try making sure that hardware flow control is switched on. It's a little difficult to know for sure as details of your set-up are so sketchy. Are you connecting this to an embedded micro and then trying to connect to a phone? What are you connecting hyper terminal to? Another phone or this Nova module?

Resources