Mantis Bugtracker

Простой вид комментарии ] расширенный вид ] история ] печать ]
Номер Категория Серьезность Воспроизводимость Создан Изменен
0000122 [obex-data-server] General нововведение неприменима 2008-08-19 14:42 2008-10-17 19:59
Инициатор Jo Видимость общая  
Ответственный skirsdeda
Приоритет обычный Решение решен  
Состояние закрыт   Версия продукта 0.3.4
Суть 0000122: ODS server is unable to suspend the file transmission from client.
Подробности In some commercial phones I've tested if a client tries to send a file via bluetooth, the server pops up a window asking the user whether to accept the incoming transaction or not.
In an ODS system, however, the server cannot suspend or reject the incoming file transmission if the device is already bonded.

The ODS server-session methods "accept and reject" and setting "auto_accept" as false are only available for the outgoing file transmission from the server.

In order to give the server user some time to determine whether to accept the transaction or not, ODS shoud be able to suspend the transmission from client.
The ODS dbus interface does not provide necessary methods and signals for the upper layer applications for that operation.
Дополнительные сведения As the API document says, I initiated the ODS server using the CreateBluetoothServer method with auto_accept set "false". When the client connects to the server and sends a file, the transmission always starts even though I do not send "Accept".

If I've mis-understood the code, please guide me the way to suspend the server from accepting incoming file transmission :)
Tэги Нет прикрепленных тэгов.
Вложенные файлы

- Связи

-  Комментарии
skirsdeda (администратор)
2008-08-23 21:59

This only works with patched openobex (ods version 0.3.4). Since it is very problematic to get new openobex release, I decided to workaround on this issue the other way.
The newest ods from svn works correctly without patched openobex. This fix will be available in obex-data-server 0.3.5.

- история
Дата изменения Пользователь Поле Изменение
2008-08-19 14:42 Jo Новый вопрос
2008-08-23 21:55 skirsdeda Состояние новый => назначен
2008-08-23 21:55 skirsdeda Ответственный => skirsdeda
2008-08-23 21:58 skirsdeda Целевая версия => 0.3.5
2008-08-23 21:59 skirsdeda Состояние назначен => отработан
2008-08-23 21:59 skirsdeda Решен в версии => 0.3.5
2008-08-23 21:59 skirsdeda Решение открыт => решен
2008-08-23 21:59 skirsdeda Комментарий добавлен: 0000402
2008-10-17 19:58 skirsdeda Целевая версия 0.3.5 => 0.4
2008-10-17 19:59 skirsdeda Решен в версии 0.3.5 => 0.4
2008-10-17 19:59 skirsdeda Состояние отработан => закрыт

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker