Limitation of emulator ?
Hello ,
I'm doing my final year project about routing in Scatternet.I need to have
lots of BT devices for this project so I decided to use "hciemu" to simulate many BT devices instead of using the real ones.
Everthing seems to be allright with that emulator but now I'm facing a big
problem. I can't simulate BT device more than 15 devices (hci0 - hci15).I use "hciemu localhost:xx" command to simulated all devices.
Moreover, when I've simulated 15 devices then pluged the USB device in ,I
can't see or use that USB device by using "hciconfig" command.
What am I doing wrong? what should I do ? or it's a limitation of the
emulator ?
Thanks for your help.
Regards,
Varat
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Varat,
Quoted 10 lines
I'm doing my final year project about routing in Scatternet.I need to have
lots of BT devices for this project so I decided to use "hciemu" to simulate many BT devices instead of using the real ones.
Everthing seems to be allright with that emulator but now I'm facing a big
problem. I can't simulate BT device more than 15 devices (hci0 - hci15).I use "hciemu localhost:xx" command to simulated all devices.
Moreover, when I've simulated 15 devices then pluged the USB device in ,I
can't see or use that USB device by using "hciconfig" command.
What am I doing wrong? what should I do ? or it's a limitation of the
emulator ?
the kernel side has no limit of attached devices, but the userspace tools like hciconfig etc. are limited to maximal 16 devices.
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Marcel
Quoted 2 lines
Hi Varat,
Quoted 1 line
I'm doing my final year project about routing in Scatternet.I need to
have
Quoted 1 line
Quoted 1 line
lots of BT devices for this project so I decided to use "hciemu" to
simulate
Quoted 2 lines
Quoted 2 lines
many BT devices instead of using the real ones.
Everthing seems to be allright with that emulator but now I'm facing a
big
Quoted 3 lines
Quoted 3 lines
problem. I can't simulate BT device more than 15 devices (hci0 - hci15).I use "hciemu localhost:xx" command to simulated all devices.
Moreover, when I've simulated 15 devices then pluged the USB device
in ,I
Quoted 10 lines
Quoted 3 lines
can't see or use that USB device by using "hciconfig" command.
What am I doing wrong? what should I do ? or it's a limitation of the
emulator ?the kernel side has no limit of attached devices, but the userspace tools like hciconfig etc. are limited to maximal 16 devices.
Regards
Marcel
I've tried to change the HCI_MAX_DEV parameter in " bluez-libs-2.4/include/hci.h " before reinstalling it as your suggestion.After that, I intalled these utilities
bluez-utils-2.3
bluez-pan-1.1
bluez-sdp-1.5
bluez-bluefw-1.0
bluez-hcidump-1.5
bluez-hciemu-1.0
first time that I changed it's max number to 8 it worked. I can simulate
only 8 device but later, when I try to change it to other value and reintall all of libraries and uitilities the way I did before ,it doesn't work !.
What am I doing wrong ? or Do I have to install libraries and utilities in
order ?
Regards,
Varat
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Varat,
Quoted 11 lines
I've tried to change the
HCI_MAX_DEVparameter in " bluez-libs-2.4/include/hci.h" before reinstalling it as your suggestion.After that, I intalled these utilitiesbluez-utils-2.3
bluez-pan-1.1
bluez-sdp-1.5
bluez-bluefw-1.0
bluez-hcidump-1.5
bluez-hciemu-1.0
Quoted 5 lines
first time that I changed it's max number to 8 it worked. I can simulate
only 8 device but later, when I try to change it to other value and reintall all of libraries and uitilities the way I did before ,it doesn't work !.
What am I doing wrong ? or Do I have to install libraries and utilities in
order ?
maybe you have to recompile everything. The install order is bluez-libs, bluez-utils and then the rest.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users