Skip to content
Jupiter documentation
Menu

Web interface and module API

The requests the Wi-Fi module answers, the JSON form of a test report and the serial link between the module and the tester.

Requests#

The module listens on port 80.

A client posts a command, then reads /api/state until busy is false. result then holds the tester's answer. The module answers {"ok":false,"error":"the tester did not answer"} after 30 minutes without one.

peek and poke are not accepted over the network. They stay on the USB console.

wifi.mode is sta when the module has joined a network and ap when it has opened its own.

Answers from the tester#

Each json command gets one line.

Report#

bits and read inside failure are hexadecimal strings, because they hold 40 bits.

The tester runs the same console on this link and on USB.

Files#

The page uses the Jupiter stylesheet, fonts and logo from the design system release. web/build.py downloads them at each build.

Source: belikh/RAMalyser HEAD