running 2 rfcomm modules simultaneously
Is it possiable to have two rfcomm modules loaded at the same time, each one with a different PSM values? What I was attempting to do was to modify rfcomm/core.c and recompile it into a new module, but it seems it is not as simple as that as can be seen by this kernel Oops while unloading the module.
Sep 1 01:16:12 warped l2cap_sock_kill: sk deec6380 state 9 Sep 1 01:16:12 warped l2cap_sock_destruct: sk deec6380 Sep 1 01:16:12 warped Unable to handle kernel NULL pointer dereference at virtual address 00000004 Sep 1 01:16:12 warped printing eip: Sep 1 01:16:12 warped c020496e Sep 1 01:16:12 warped *pde = 00000000 Sep 1 01:16:12 warped Oops: 0002 [#1] Sep 1 01:16:12 warped PREEMPT
Has anyone done something like this before?
Thanks,
Dave
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi David,
Quoted 16 lines
Is it possiable to have two rfcomm modules loaded at the same time, each one with a different PSM values? What I was attempting to do was to modify
rfcomm/core.cand recompile it into a new module, but it seems it is not as simple as that as can be seen by this kernel Oops while unloading the module.Sep 1 01:16:12 warped l2cap_sock_kill: sk deec6380 state 9 Sep 1 01:16:12 warped l2cap_sock_destruct: sk deec6380 Sep 1 01:16:12 warped Unable to handle kernel NULL pointer dereference at virtual address 00000004 Sep 1 01:16:12 warped printing eip: Sep 1 01:16:12 warped c020496e Sep 1 01:16:12 warped *pde = 00000000 Sep 1 01:16:12 warped Oops: 0002 [#1] Sep 1 01:16:12 warped PREEMPT
Quoted 1 line
Has anyone done something like this before?
this is not possible this way. It needs more changes to provide such a functionality and you must keep it inside the RFCOMM module. Why do you need it?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 5 lines · Marcel Holtmann
Quoted 1 line
Has anyone done something like this before?
this is not possible this way. It needs more changes to provide such a functionality and you must keep it inside the RFCOMM module. Why do you need it?
I had hoped to be able to "pick-up" data sent to the 2nd RFCOMM Module (using a new PCM value to differentiate it from the "Original") and pass it to another program to transport it across the network to another PC where it would be "injected" into a modified module there. At the moment, I am only loading the modified module, and it not absolutely necessary that both be loaded at a time, but would be interesting to do.
-dave
Signature · 15 lines
David Mackie MSc Student - Computer Science - Rhodes University email: [email protected] web: http://www.cs.ru.ac.za/research/students/g99m0302/ ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi David,
Quoted 10 lines
Quoted 3 lines
this is not possible this way. It needs more changes to provide such a functionality and you must keep it inside the RFCOMM module. Why do you need it?
I had hoped to be able to "pick-up" data sent to the 2nd RFCOMM Module (using a new PCM value to differentiate it from the "Original") and pass it to another program to transport it across the network to another PC where it would be "injected" into a modified module there. At the moment, I am only loading the modified module, and it not absolutely necessary that both be loaded at a time, but would be interesting to do.
I don't really understand what you are trying to achieve, but I think you should try it without putting RFCOMM on another PSM.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users