Home
last modified time | relevance | path

Searched refs:RfPacket (Results 1 – 7 of 7) sorted by relevance

/system/nfc/tools/casimir/scripts/
Drf_packets.py134 class RfPacket(Packet): class
196 return RfPacket(**fields), span
219 class PollCommand(RfPacket):
233 return RfPacket.serialize(self, payload = bytes(_span))
240 class NfcAPollResponse(RfPacket):
280 return RfPacket.serialize(self, payload = bytes(_span))
287 class T4ATSelectCommand(RfPacket):
311 return RfPacket.serialize(self, payload = bytes(_span))
318 class T4ATSelectResponse(RfPacket):
344 return RfPacket.serialize(self, payload = bytes(_span))
[all …]
Dt4at.py40 async def _read(self) -> rf.RfPacket:
45 packet = rf.RfPacket.parse_all(packet_bytes)
49 def _write(self, packet: rf.RfPacket): argument
/system/nfc/tools/casimir/src/
Drf_packets.pdl67 packet RfPacket {
82 packet PollCommand : RfPacket (packet_type = POLL_COMMAND) {
88 packet NfcAPollResponse : RfPacket (technology = NFC_A, packet_type = POLL_RESPONSE) {
117 packet T4ATSelectCommand : RfPacket (technology = NFC_A, protocol = ISO_DEP, packet_type = SELECT_C…
125 packet T4ATSelectResponse : RfPacket (technology = NFC_A, protocol = ISO_DEP, packet_type = SELECT_…
136 packet NfcDepSelectCommand : RfPacket (protocol = NFC_DEP, packet_type = SELECT_COMMAND) {
145 packet NfcDepSelectResponse : RfPacket (protocol = NFC_DEP, packet_type = SELECT_RESPONSE) {
161 packet SelectCommand : RfPacket (packet_type = SELECT_COMMAND) {
189 packet DeactivateNotification : RfPacket (packet_type = DEACTIVATE_NOTIFICATION) {
197 packet Data : RfPacket (packet_type = DATA) {
Dnci_packets.pdl473 packet RfPacket : ControlPacket (gid = RF_MANAGEMENT) {
492 packet RfDiscoverMapCommand : RfPacket (mt = COMMAND, oid = DISCOVER_MAP) {
497 packet RfDiscoverMapResponse : RfPacket (mt = RESPONSE, oid = DISCOVER_MAP) {
519 packet RfSetListenModeRoutingCommand : RfPacket (mt = COMMAND, oid = SET_LISTEN_MODE_ROUTING) {
525 packet RfSetListenModeRoutingResponse : RfPacket (mt = RESPONSE, oid = SET_LISTEN_MODE_ROUTING) {
529 packet RfGetListenModeRoutingCommand : RfPacket (mt = COMMAND, oid = GET_LISTEN_MODE_ROUTING) {
532 packet RfGetListenModeRoutingResponse : RfPacket (mt = RESPONSE, oid = GET_LISTEN_MODE_ROUTING) {
558 packet RfDiscoverCommand : RfPacket (mt = COMMAND, oid = DISCOVER) {
563 packet RfDiscoverResponse : RfPacket (mt = RESPONSE, oid = DISCOVER) {
573 packet RfDiscoverNotification : RfPacket (mt = NOTIFICATION, oid = DISCOVER) {
[all …]
Dmain.rs109 rf_tx: mpsc::UnboundedSender<rf::RfPacket>,
116 controller_rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in nci() argument
139 controller_rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in rf() argument
162 let packet = rf::RfPacket::parse(&packet_bytes)?; in rf()
248 fn send(&self, packet: &rf::RfPacket) -> Result<()> { in send()
Dmain-grpc.rs124 rf_tx: mpsc::UnboundedSender<rf::RfPacket>,
131 controller_rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in nci() argument
154 controller_rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in rf() argument
177 let packet = rf::RfPacket::parse(&packet_bytes)?; in rf()
265 fn send(&self, packet: &rf::RfPacket) -> Result<()> { in send()
Dcontroller.rs236 rf_rx: mpsc::UnboundedReceiver<rf::RfPacket>,
237 rf_tx: mpsc::UnboundedSender<rf::RfPacket>,
714 rf_rx: mpsc::UnboundedReceiver<rf::RfPacket>, in new() argument
715 rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in new() argument
746 async fn send_rf(&self, packet: impl Into<rf::RfPacket>) -> Result<()> { in send_rf()
1394 RfPacket(packet) => match packet.specialize() { in receive_command()
1918 async fn receive_rf(&mut self, packet: rf::RfPacket) -> Result<()> { in receive_rf()
2136 rf_rx: mpsc::UnboundedReceiver<rf::RfPacket>, in run() argument
2137 rf_tx: mpsc::UnboundedSender<rf::RfPacket>, in run() argument