From d3bab6e9439b7161b7724df0cc902f4adcf1ecce Mon Sep 17 00:00:00 2001 From: henryk Date: Mon, 3 Mar 2008 09:18:19 +0000 Subject: Implement transmission Implement a 'pretender' for PoC: Since Rx is not working properly we'll just pretend to have received something based on the approximate length. Clarify length calculations in machester encoder and remove obsolete test code git-svn-id: https://svn.openpcd.org:2342/trunk@437 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/iso14443_layer2a.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openpicc/application/iso14443_layer2a.h') diff --git a/openpicc/application/iso14443_layer2a.h b/openpicc/application/iso14443_layer2a.h index cf31ec4..858af81 100644 --- a/openpicc/application/iso14443_layer2a.h +++ b/openpicc/application/iso14443_layer2a.h @@ -23,8 +23,8 @@ typedef void (*iso14443_receive_callback_t)(ssc_dma_rx_buffer_t *buffer, u_int8_ * This call will block until a frame is received or an exception happens. Obviously it must not be run * from IRQ context. * - * Warning: When you get a buffer from the function then it's state is set to PROCESSING and you must - * FREE it yourself. + * Warning: When you get a buffer from the function then its state is set to PROCESSING and you must + * FREE it yourself. However, you MUST NOT free a buffer from the callback. * * Return values: * >= 0 Frame received, return value is buffer length (yes, 0 is a valid buffer length) -- cgit v1.2.3