Reply
Thread Tools
kimmoli's Avatar
Posts: 562 | Thanked: 2,744 times | Joined on Dec 2013 @ Espoo, Finland
#11
If interested in reading NFC UID (aka TOHID) from your NFC labels, following script can do the trick.

Just place the label on the phone antenna and use something to press the microswitch, it prints the TOHID out.

Code:
dbus-monitor --system "type=signal, interface=org.freedesktop.DBus.Properties, member=PropertiesChanged" | 
while read -r line; 
do
	if echo $line | grep "TOHID" > /dev/null
	then
		read -r idline
		if echo $idline | grep "string" > /dev/null
		then
		   echo $idline | cut -d "\"" -f 2
		fi
	fi
done
This script can be redirected to a file producing ascii text file with one UID per line (TOH spec v1.1 chapter 3.1.1)
__________________
TOH ideas, concepts and creations since 2013 toholed tohuart toheink Heebo tohIRi i2ctool tohmm LeTOH FMTOH

Last edited by kimmoli; 2014-03-01 at 22:40.
 

The Following 3 Users Say Thank You to kimmoli For This Useful Post:
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#12
or from OTH PDF:

Code:
[root@localhost nemo]# /usr/lib/qt5/bin/qdbus --system  com.jolla.tohd /com/jolla/tohd
org.freedesktop.DBus.Properties.GetAll com.jolla.tohd
Docked: 1
Ready: 1
TOHID: 045b5e6a7b2b80
Actually you dont need to be root todo it:

Code:
/usr/lib/qt5/bin/qdbus --system  com.jolla.tohd /com/jolla/tohd com.jolla.tohd.TOHID
__________________
Keep safe and healthy

Last edited by mikecomputing; 2014-03-01 at 18:42.
 
kimmoli's Avatar
Posts: 562 | Thanked: 2,744 times | Joined on Dec 2013 @ Espoo, Finland
#13
Made some testing...

NFC attached to a metal surface does not work.
There needs to be something about 0.8mm insulation between the label and the conducting surface (used layers of thick paper in the test)

This have to be taken care when designing pcbs used in TOHs which use also NFC.

(e.g. toholed board is 0.4mm thick which makes it not enough just to remove gnd plane below NFC)
Attached Images
 
__________________
TOH ideas, concepts and creations since 2013 toholed tohuart toheink Heebo tohIRi i2ctool tohmm LeTOH FMTOH
 

The Following 2 Users Say Thank You to kimmoli For This Useful Post:
Posts: 1,104 | Thanked: 5,652 times | Joined on Feb 2010 @ Holland
#14
that makes sense.. quite embarrassed i did not think of this, the copper layer of the pcb will effectively form a faraday cage for the nfc.

luckily the pcb for the keyboard stays out of this area, but for future design this might be very practical info for a sticky!
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:59.