[En-Nut-Discussion] New Nut/OS Unix Emulation Feature: Map UART to TCP/IP Socket / Running bt-cmd with BTsim
Matthias Ringwald
mringwal at inf.ethz.ch
Tue Apr 5 10:53:56 CEST 2005
Hi
I've added the possibility to use a tcp/ip socket instead of a serial
port as a uart in the unix emulation.
This is particularly handy to use the BTsim.sf.net Bluetooth Simulation
together with BTnut applications.
Short Tutorial: Running bt-cmd with BTsim on unix platform (e.g. Mac OS
X, Linux, ...)
get the current nut/os cvs version from ethernut.sf.net
get the current btnut cvs version from btnode.ethz.ch
configure btnut to compile for unix emulation (add PLATFORM += unix to
Makedefs)
compile btnut: make
get btsim from btsim.sf.net
compile and run: ant
go to btnut/app/bt-cmd/
start bt-cmd with btsim simulated bt module: ./bt-cmd.unix -u0
localhost:7007
you can start as many bt-cmds as you like...
have fun,
matthias
More information about the En-Nut-Discussion
mailing list