Hi,
I have some questions from my customer for SNP API usage.
Customer refers to “CC26x0 Simple Network Processor API Guide.pdf” in SDK.
They want to write data(Long Attribute Values) from smartphone(client) to CC2650(server) using “ATT_PREPARE_WRITE” and “ATT_EXECUTE_WRITE”.
API Guide section 9.6.8, Additional Notes, it says;
“Once a remote GATT client starts to write a characteristic value with offset 0, this means it will write the entire value (see the BT Spec [1] 4.9.4, Part G, Vol3). If the remote GATT Client starts to write with an offset different than 0, this means it is a partial write.”
Q1: What does “starts to write a characteristic value with offset 0” exactly mean?
Is this “ATT_EXECUTE_WRITE_REQ”?
Q2: Does “write with an offset different than 0” mean “ATT_PREPARE_WRITE with offset different than 0”?
Q3: Is there any way to inform the smartphone that SNP receives “SNP Characteristic Write Confirmation (0x88)”?
Q4: Customer understands the sequence for “write characteristics value” or “write long characteristics values” as attached(page#1).
Are they correct?
Sequence.pptx
Q5: Customer understands the sequence for “read characteristics value” or “read long characteristics values” as attached(page#2).
Are they correct?
Q6: API guide section 5.3 Limitation says;
“the SNP will only be configured as a GATT server; it cannot be a GATT client. The standard use case is for the SNP (peripheral GATT client) to connect to a central GATT server such as a smartphone.”
So customer understood SNP is GATT server. But “the standard use case” seems SNP is “peripheral GATT client”. What does this “the standard use case” mean here? It is confusing.
Thanks and regards,
Koichiro Tashiro