you only tried 3 different versions of encoding SDP attributes - but none of them is correct :)
the attribute ID is stored as a DE_UINT, the attribute values can be a single value or a data element sequence.
Try:
de_add_number(service, DE_UINT, DE_SIZE_16, SDP_ServiceClassIDList);
attribute = de_push_sequence(service);
{
de_add_number(service, DE_UUID, DE_SIZE_16, 0x112d);
de_add_number(service, DE_UUID, DE_SIZE_16, 0x1204);
}
de_pop_sequence(service, attribute);
> then why both sdp_record_matches_service_search_pattern
> telling me that services found?
that's because it's the specified behaviour. The service search pattern matches ANY UUID in the record, independent of any semantics.
> A didn`t saw in function
> sdp_handle_service_attribute_request code that is returning requested
> attributes by SERVICE_ATTRIBUTE_REQUEST it returning only bytes count,
that might be related to the incorrect record. Please try again with a correctly formatted one.
In general, the SDP implementation should be 100% for correct records, but it's not helping/verifying yours at the moment.
Best
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
>
thanks for the YouTube link, but can you tell us a bit more?
The SDP record said you're implementing Remote SIM Access Protocol with BTstack. I even made a wiki page as people started to ask for that: http://code.google.com/p/btstack/wiki/RemoteSimAccessProtocol
Does it run on the iPhone? How does one talk to the SIM card there - is this done using AT commands?
What's your plans for your project (open source it, free closed, or commerical)?
Best
Matthias