Re: Slip TCP connection between linux host and nrf52840


Jukka Rissanen
 

Hi Chuck,

there is nothing qemu specific in SLIP driver found in drivers/net/slip
directory. It only uses uart_pipe to transfer data. So if you manage to
configure the uart_pipe to use physical uart interface, then it should
work just fine.

Cheers,
Jukka

On Thu, 2018-10-11 at 16:01 -0700, cpmcparland@rtisys.org wrote:
Hi,

I need to get a sensor data stream flowing from a BT network into a
linux host. Have tried
to setup BT HCI interface but no luck getting hci0 interface to move
from DOWN to UP.
So, thought I would take a different approach and put a dual stack on
the nrf52 with the
ip link to the host going through a serial port.

So, I would like to set up a slip tcp/ip connection between a linux
host and a nrf52840. I know
slip can be used to connect to a qemu simulation. Has anyone used
slip to talk to a physical
uart interface? If so, can I use the nrf52840's console port or do I
need to use a seperate
uart and interface via a FTDI usb cable?

Echo_server sample code seems to be a good base to start with....Any
suggestions would help.

Regards,
Chuck McP

Join devel@lists.zephyrproject.org to automatically receive all group messages.