摘要 |
Disclosed are a service discovery method based on a logical link control protocol (LLCP) and an NFC controller. The method comprises: an NFCC judges, after receiving an LLC PDU, whether the LLC PDU is a target LLC PDU according to a type identifier in a packet header of the LLC PDU, wherein the target LLC PDU comprises a DH or a CONNECT PDU sent by a second NFC device, an SNL PDU sent by the second NFC device or an AGF PDU sent by the second NFC device; the NFCC judges, when the LLC PDU is the target LLC PDU, whether a service discovery procedure needs to be executed; and if so, the NFCC executes the service discovery procedure. It is thus evident that implementing embodiments of the present invention enables an NFCC to execute a service discovery procedure, reduces interaction between the NFCC and a DH, saves resource overheads, and improves the communication efficiency. |