I am writing an app to test the advertiser and discovery interfaces in the bluetooth API
At the moment I am not trying to advertise a real service so I am trying to add attributes to the service record with attribute ids starting at 0x1000 so that they wont correspond to any real world attribute ids.
I want to add an attribute of each of the standard types and then see if I can discover then on the bluetooth link.
This works OK for the usual types like UInt, DES and UUID but....
1) Attempting to discover the services on a phone where the Nil and DEA type attributes have been added to my test service cause the discovery app to report the error "ServerRejectedRequest" in the NextRecordRequestComplete() callback