美文网首页
android nci architecture

android nci architecture

作者: 413x | 来源:发表于2018-10-01 11:30 被阅读0次

android nci architecture

abbreviation and packages

full name abbreviation
Message Type (MT)
Packet Boundary Flag (PBF)
Group Identifier (GID)
Opcode Identifier (OID)
Payload Length (L)
control_packet_structure.png data_packets.png

method nfc_ncif_process_event get message type, packet boundary flag,group id,opcode id, payload length:

bool nfc_ncif_process_event(NFC_HDR* p_msg) {
...
  p = (uint8_t*)(p_msg + 1) + p_msg->offset;
  pp = p;
  NCI_MSG_PRS_HDR0(pp, mt, pbf, gid);
  oid = ((*pp) & NCI_OID_MASK);
...

it's called by nfc_task, here is nfc_task control flow

nfc_task.png

rf architecture

rf_interface_architecture.png

相关文章

网友评论

      本文标题:android nci architecture

      本文链接:https://www.haomeiwen.com/subject/moqnoftx.html