BjarneBitscrambler / OrientationSensorFusion-ESP

Files for performing orientation sensor fusion using NXP version 7 algorithm, ported to Espressif platforms.
BSD 3-Clause "New" or "Revised" License
23 stars 12 forks source link

Wireless data streaming is desirable #3

Closed BjarneBitscrambler closed 3 years ago

BjarneBitscrambler commented 3 years ago

Currently the code streams data via serial UART to the outside world. This is inconvenient for testing: the USB cable objects to being twisted into a pretzel while manipulating the sensor. Adding wireless streaming, e.g. via TCP socket over WiFi, would be handy.

BjarneBitscrambler commented 3 years ago

Updated the code (mainly changes to main.cpp and control.cpp) to configure the ESP device as a WiFi AP on startup. Connecting to the ESP on TCP port 23 causes the data to stream out on that port too (it continues to stream on the serial UART, regardless of the WiFi connection).