Command: SEND

USAGE /send [-r|--raw][nad=NAD][-t|--timeout num] apdu [pattern..]
DESCRIPTION Send an APDU unconditional, bypassing the plugin(s), using negotiated protocol/channel or raw.
PARAMETER
NameDescriptionRequired
  +-- -r -----+ 
--+           +->
  +-- --raw --+          
Data is sent in raw mode (not encapsulated in any protocol) No
nad=NAD APDU is sent to this node address (T=1) NAD --> node address (high nibble=DAD, low=SAD) No
--+- -t --------+-- num -->
  !             !  
  +- --timeout -+  
Maximum time to wait for response data in raw mode (unit is device-dependent) No
apdu The APDU data to send. Data syntax: HEX[|CHARS[|HEX...]] (see also Data Considerations) Yes
pattern.. Description of expected responses.
Each argument is a pattern describing response as sequence of hexdigits with embedded wild cards (*,?,[..]).
A leading ! char means NOT.
Arguments '&' and '|' are interpreted as the respective logical operators.
The response is ok if it matches the pattern and the logical expression.
No
EXAMPLE
/send 0102|ab|03 04|cd"    ==> 01 02 61 62 03 04 63 64

/send 01#(|ab|#{FE FF})"   ==> 01 05 61 62 02 FE FF
  		
CONDITIONS A connection to a card or simulation exists (> or cm> ).