| Reply | « Previous Thread | Next Thread » |
|
I am running BluetoothPMP example on two SDKs in NCF.
In BluetoothPMP example, all security is turned off: <code> secSettings.SetAuthentication(EFalse); secSettings.SetAuthorisation(EFalse); secSettings.SetEncryption(EFalse); </code> Even though there is no security, I still get the pop-up window asking me if I want to accept a connection when I try to connect to one device from the other in NCF... Why is that? And how do I disable this pop-up window?! ed p.s. If you are not familiar with BluetoothPMP, I believe the same thing happens in Bluetooth point to point example.
Last edited by entell : 2005-03-17 at 05:48.
|
|
It turns out in the Bluetooth point to point example, Authentication was set to ETrue. Setting this to EFalse stops the pop-up window...
|
|
hi entell,
i'm also trying to rewrite the pmp example and i haven't been able to find the corresponding SDK help, all the other example applications have help files but not pmp. do you konw if it exists? thanx Gus |
|
Except for the readme.txt that comes with the BluetoothPMP.zip file when you download it from Nokia's website, there is no specific help for the PMP example, but the PMP example is very very similar to the PointToPoint example. The only difference AFAIK is that when you are done looking for devices, PMP tries to connect to all of the found devices. PointToPoint example connects to a single device and sends a message. If you are planning to run the code and if you are not comfortable with everything about bluetooth and Symbian programming, I would recommend staying away from the PMP example as it has quite a few bugs. Until you are proficient with Bluetooth and symbian C++, just stick to the PointToPoint example. |
|
hi,
thanks for the advice, and yes you are probably right, i schould stay away frem the pmp example. but i would like to make something similar to to the p2p-example but without using the RNotifier plugin, called by RNotifier::StartNotifierAndGetResponse as they do in the p2p example instead i would like to use the RHostResolver as they do in the pmp example. and i thought that i could use parts from the DeviceDiscoverer class in that example. so at least for now i'm gonna stay with that example ![]() if you have any sugestions or good advice, plz let me know. regards Gus |
|
i'm writing here too, not knowing where my post will be read first.
sorry if i'm spamming someone ![]() entell, i've been poking around a bit with the pmp example rebuilding the base but keeping the classes; listener, devicediscovery, serviceadvertiser and service discoverer. but now i've run inte a problem. i get a panic KERN EXEC 3, whenever i enter the servceDiscovery class, KERN EXEC 3 = "This panic is raised when an unhandled exception occurs. Exceptions have many causes, but the most common are access violations caused, for example, by dreferencing NULL. Among other possible causes are: general protection faults, executing an invalid instruction, alignment checks, etc.= have you seen anything similar? or do you knw where it comes from? i've also not been able to use ahy sort of debugger in NCF, i'm using visual C++, if you have some help on that one too i would appreciate it. regards gus |
|
guess i post my own reply here too...
hi agian, i solved the part about the panic, i had just missed to initialice the serviceDiscoverer on ConstructL()... // init service discoverer iServiceDiscoverer = CServiceDiscoverer::NewL(this); but i still would very much know if there is any way to use the debugger in NCF. Gus |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|