Questions tagged [obex]

OBEX is an abbreviation of OBject EXchange, also termed IrOBEX

OBEX is an abbreviation of OBject EXchange, also termed IrOBEX, and is a communications protocol that facilitates the exchange of binary objects between devices.

83 questions
3
votes
2 answers

Sending a file with OBEX push in Python

How to send a file using OBEX push to a device, which has an open OBEX port in Python? In my case it is a Bluetooth device.
Alex
  • 43,191
  • 44
  • 96
  • 127
3
votes
1 answer

send files from pc to mobile via bluetooth in java without pairing

I'm developing a desktop application using java to send a file to devices around. It's done but I have a problem, a pairing message appears in mobile device when a send operation tries to begin.My app uses bluecove library.Bluecove has an example…
doorbash
  • 342
  • 4
  • 15
3
votes
0 answers

Android Bluetooth example & OBEX

I have a device which only support the OBEX Object Push Protocol. I want to transmit data from this device to my android device. After hours for reading, testing and frustration, I hope someone @ StackOverflow can help me out. So here it goes: What…
Tobias Moe Thorstensen
  • 8,861
  • 16
  • 75
  • 143
2
votes
1 answer

Any examples on implementing OBEX in Android app?

I need to realize an Android app that permits to make file transfers and browsing the remote device file system via Bluetooth. I think i have to implement OBEX and OPP but i have not found so many resources on the net. Can anyone help me in finding…
Mike
  • 530
  • 1
  • 7
  • 21
2
votes
0 answers

How to send SMS Via bluetooth using PyOBEX?

Am trying to send SMS through Bluetooth to my phone using PyOBEX but it returning . Here is my code port = 4 target_address = "C0:3D:03:43:E1:5A" message =…
2
votes
0 answers

Inconsistent Android Bluetooth prompt during file download

We are writing an application where a digital pen is paired with an android device, then the pen uploads a file to the Android device. We have inconsistent behaviour between different devices and would like a consistent solution. Ideally we would…
David O'Meara
  • 2,983
  • 25
  • 38
2
votes
1 answer

Read contacts using obex in c#

I'm trying to read contacts using 32feet library for c#. I'm connecting my PC to mobile device via bluetooth, and when I try to execute this code always give me bad request error LocalInfo.SetServiceState(BluetoothService.PhonebookAccessPce,…
2
votes
0 answers

Can Bluetooth OBEXD execute a script after it was transferred?

I want to transfer a shell script (or whatever format) from an adroid to a bluetooth device. I see in the OBEX help command Usage: obexd [OPTION...] Help Options: -h, --help Show help options Application Options: -d,…
Sorin Vladu
  • 1,768
  • 3
  • 21
  • 37
2
votes
1 answer

Obexd daemon not running

I am trying to run obexd as daemon during system startup but when i try to run it manually i get below problem: obexd[5139]: obexd daemon 0.44 Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS _SESSION_BUS_ADDRESS…
user2377040
  • 41
  • 1
  • 5
2
votes
1 answer

Difference between GLIBs UTF16BE and UTF-16BE and how to support UTF16BE

I am working doing OBEX push transfers to an embedded system we are building from an Android phone. The transfers work on my debian desktop but fail on the embedded system with the error "obexd[741]: disconnected: Unicode conversion failed: Could…
2
votes
2 answers

Access Android's OBEX server and read data

I was wondering if it's possible to read data (contacts, missed calls, etc.) from Android's OBEX server from windows with Bluecove. I tried the following code from windows, but it returns OBEX_HTTP_NOT_ACCEPTABLE when connecting. Device address and…
LaLeX
  • 188
  • 3
  • 13
1
vote
1 answer

how to receive image via OBEX directly into .NET CF application

I'm trying to use InTheHand.Net library on iPaq 214 to start BluetoothListener or ObexListener and receive file (photo) from mobile phone directly into my application, but the listener does not receive the file at all. It's overriden with default…
Buthrakaur
  • 1,821
  • 3
  • 23
  • 35
1
vote
0 answers

Data inconsistency when sending files from Android to ESP32 over bluetooth

I'm trying to send files (images) from an Android phone to a ESP32 board over bluetooth. I'm using the ESP32-Bluetooth-FTP library which implements the OBEX protocol. I added some lines of code in the part of the code where the file contents are…
uzumaki
  • 1,743
  • 17
  • 32
1
vote
1 answer

Bluez-obex and python opp server, how to change where files are stored?

I am creating a python-based opp obex server using bluez-obex, but I'm having trouble changing the directory. I based my code off of this and turned it into a class with a file path as it's input. I keep getting KeyError: 'object does not export any…
1
vote
1 answer

Python opp obex server using Bluez-obex and pydbus?

For my project, I need to downlink .zip files over Bluetooth. I am using python and obex for this. I have a working python opp client implemented (shout-out to ukBaz for the help), but I am still using os to start the server, so the rest of my…