This made a long time I've been on this forum becasue people here helped a lot to learn... But for a project I though simple I must admit I have some problems understanding.
Well, I need a "simple" Bluetooth serial port.
On my right USD BT adapter dongle on a PC with a terminal software
On my left N82 device.
I need to establish a port connexion when I open the matching serialport on terminal (obviously after setting SPP in BT PC manager)
Ok... Let's discover a SPP service on phone... Ooops only DUN (AT? Ok fun but not what I need)
So I guess I have to declare a port on the phone prior to establish a connexion (I guess), so I try the simple BTCOMM wiki example to connect to server and then check again if there is a SPP service declared -> Nope
I maybe made a mistake but the little snippet looked sexy to me...
Try PMP example using sockets (I confess I never used them). Freaky bunch of code! Well no matter let's see if it works:
-It asks for BT to switch on example start: ok good point
-test slave mode, nothing new on PC BT manager
-test master mode, check for devices: PC found! great, not the way i would connect the phone but a good start
-search for services: 0 found... What am I doing wrong?
Do you people have a simple working snippet or could you explain what shameful mistakes I do.
Best regards and thanks for your attention
Edit: some rusted english syntax errors