HOW ADVERTISE A SERVICE?!?
| Sat, 2006-04-01 10:29 | |
|
Hi all, I really need help! I'm developing a BT-application that offer a service with a specific UUID.
The problem is that I don't know how to advertise this service. I have changed the function ServiceClass in this way: Code: const TUUID& CAPAServiceAdvertiser::ServiceClass() { //return UUID of APA application static const TUint32 UUIDaHH = 0x0FA1A7AC; static const TUint32 UUIDaHL = 0x16A211D7; static const TUint32 UUIDaLH = 0x854400B0; static const TUint32 UUIDaLL = 0xD03D76EC; TUUID serviceUUID(UUIDaHH,UUIDaHL,UUIDaLH,UUIDaLL); return serviceUUID; } But when I browse the device with the PC I don't see this service! Can somebody hemp me? Any hints will be greatly appreciated... |
|






Forum posts: 183
Regards,
isseyp
Forum posts: 14
Forum posts: 183
Forum posts: 14
I'm not sure... I think that obex is simple another pre-defined service and so it's not the same as to create a new service with a specific UUID...
Forum posts: 183
I have done something similar for a service I created.
Try it out and play around with the samples.
It does work.
Regards,
Isseyp
Forum posts: 14
Ok, but how I make this? I have changed the function ServiceClass() and I thinked that here was the place where to change the UUID...
but it doesn't work, and i have spent a lot of time