Giter Site home page Giter Site logo

esp32_awho's Introduction

esp32_awho

Esp32 arp-ping to see who is connected to the wifi router.

nc 192.168.1.144 23

Press return to see all connected devices

How

Developped with qemu, this is how i tested.

To start qemu

xtensa-softmmu/qemu-system-xtensa -d guest_errors,unimp   -cpu esp32 -M esp32 -m 4M -net nic,model=vlan0 -net user,id=simnet,ipver4=on,net=192.168.1.0/24,host=192.168.1.40,hostfwd=tcp::10023-192.168.1.3:23  -net dump,file=/tmp/vm0.pcap  -s  > io.txt



xtensa-softmmu/qemu-system-xtensa -d guest_errors,unimp  -cpu esp32 -M esp32 -m 4M -smp 2  -net nic,model=vlan0 -net user,id=simnet,ipver4=on,net=192.168.1.0/24,host=192.168.1.40,hostfwd=tcp::10023-192.168.1.3:23  -net dump,file=/tmp/vm0.pcap    -s  -S > io.txt

nc 127.0.0.1 10023

To test echo

xtensa-softmmu/qemu-system-xtensa  -d guest_errors   -cpu esp32 -M esp32 -m 4M -net nic,model=vlan0 -net user,id=simnet,ipver4=on,net=192.168.1.0/24,host=192.168.1.40,hostfwd=tcp::10007-192.168.1.3:7  -net dump,file=/tmp/vm0.pcap   -s  > io.txt

gdb

Run from within code ide which uses .vscode/launch.json or xtensa-esp32-elf-gdb build/awho.elf -ex 'target remote:1234'

$HOME/.gdbinit

To get rom adresses resolved add to your ~/.gdbinit add-auto-load-safe-path /home/olas/esp/esp32_awho/.gdbinit

#In this directory/.gdbinit add-symbol-file rom.elf 0x40000000

nc 127.0.0.1 10023

esp32_awho's People

Contributors

ebiroll avatar sunnet-si avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

esp32_awho's Issues

Unable to run echo test

Hello I tried following the directions at the README.md but could not get any reply from the echo server with nc at either port 10023 or 10007. I slightly adapted the qemu command:
xtensa-softmmu/qemu-system-xtensa -d guest_errors -cpu esp32 -M esp32 -m 4M -net nic,model=vlan0 -net user,id=simnet,ipver4=on,net=192.168.122.0/24,host=192.168.122.1,hostfwd=tcp::10007-192.168.122.3:7 -net dump,file=/tmp/vm0.pcap -kernel ~/esp/esp32_awho/build/awho.elf -s > io.txt

I managed to get the https://github.com/Ebiroll/qemu_esp32/examples/06_1306_interactive running, but from what I am seeing you are able to connect the qemu instance to a network.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.