Mantis Bugtracker

Простой вид комментарии ] расширенный вид ] история ] печать ]
Номер Категория Серьезность Воспроизводимость Создан Изменен
0000129 [obex-data-server] General нововведение иногда 2008-09-06 08:45 2008-10-25 22:09
Инициатор Jo Видимость общая  
Ответственный skirsdeda
Приоритет срочный Решение решен  
Состояние закрыт   Версия продукта 0.3.4
Суть 0000129: Application sometimes misses consecutive ODS signals.
Подробности 1. As an ODS client (session)
ODS emits the "Connected" signal right after the "SessionCreated" signal. The application sometimes doesn't catch the "Connected" signal and hangs especially when the bonding procedure is performed just before.
2. As an ODS server (server-session)
ODS emits the "TransferStarted" signal right after the "Connected" signal and the application misses the "TransferStarted" signal and hangs too.

I run the ODS and bluez on a mobile phone platform. In a normal situation when the pairing is done previously, the OPP operates well. But when there are heavy IO overheads, e.g., just after the bonding procedure, the application sometimes misses a signal from ODS.

I think if the ODS emits the second signal after getting a feedback from the application about the first signal this problem won't happen. The simple g_signal_emit functions seems not to assure the reception of the signals. In a tentative measure, I make the ODS sleep for a short period of time before sending the second signal and this works. Do you have a better suggestion or plan to handle this problem?
Дополнительные сведения
Tэги Нет прикрепленных тэгов.
Вложенные файлы

- Связи
имеет дубль 0000140закрытskirsdeda ods trunk hangs when ask accept 

-  Комментарии
skirsdeda (администратор)
2008-09-12 19:47

The first scenario was fixed by changing API and emitting SessionConnected in Manager object. This is available in SVN and will be included in 0.4 release.

Second scenario wasn't previously reported so we need to figure something out.
Jo (инициатор)
2008-09-19 09:10

When we try to send a file to a non-paired device via OPP, we first perform bonding procedure and start the transmission right after that. If the mobile device does lots of I/O related jobs, the device sometimes misses the TransferStarted signal. This doesn't happen if the pairing procedure has already performed before the OPP transfer trial has made.

I'm really anticipating the ODS 0.3.5 or 0.4 release :)
Thanks a lot!
heston_james (инициатор)
2008-09-20 13:22


Just out of interest, which mobile platform are you running this on?


Jo (инициатор)
2008-09-29 05:48
изменен: 2008-09-29 06:01

Sorry for the delayed reply.
I'm running bluez + ODS on a linux(2.6.26) based mobile platform, one of LiMo candidate. It is not perfectly stabilized yet but running well :)
I'm sorry but I can't say about our current project status in more detail.

heston_james (инициатор)
2008-09-29 11:58

Hey Jo,

No problem about the slow reply :-) Sounds interesting, I can appreciate that you've got to keep certain things quiet.

There seems to be a large amount of work on mobile based linux at the moment, its all quite exciting, it'll be interesting to see where it all goes :-)


skirsdeda (администратор)
2008-10-23 23:25

A fix is now in svn. See 0000140 for more info.

- история
Дата изменения Пользователь Поле Изменение
2008-09-06 08:45 Jo Новый вопрос
2008-09-12 19:43 skirsdeda Состояние новый => назначен
2008-09-12 19:43 skirsdeda Ответственный => skirsdeda
2008-09-12 19:47 skirsdeda Комментарий добавлен: 0000410
2008-09-12 19:48 skirsdeda Целевая версия => 0.4
2008-09-16 15:36 skirsdeda Приоритет обычный => срочный
2008-09-19 09:10 Jo Комментарий добавлен: 0000416
2008-09-20 13:22 heston_james Комментарий добавлен: 0000417
2008-09-29 05:48 Jo Комментарий добавлен: 0000425
2008-09-29 06:01 Jo Комментарий изменен: 0000425
2008-09-29 11:58 heston_james Комментарий добавлен: 0000426
2008-10-18 17:39 skirsdeda Связь добавлена имеет дубль 0000140
2008-10-23 23:25 skirsdeda Комментарий добавлен: 0000490
2008-10-23 23:47 skirsdeda Целевая версия 0.4 => 0.4.1
2008-10-25 21:48 skirsdeda Состояние назначен => отработан
2008-10-25 21:48 skirsdeda Решение открыт => решен
2008-10-25 22:09 skirsdeda Решен в версии => 0.4.1
2008-10-25 22:09 skirsdeda Состояние отработан => закрыт

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