Skip to content

nickdurante/bipSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BipSIM graphics simulator

Screenshot The Layers Demo app in this screenshot is here: repo link

Introduction

This is a collection of utilities to view and debug BipOS applications on a PC.

Usage

Place your *.c application in app and the associated *.h in include. The application needs to include the correct headers and flags, as per this template.

C libraries:

  1. cJSON
  2. wsServer

Both are precompiled in the static library libws.a, to compile:

cd c_stuff/src
make all

To run:

cd c_stuff/src/
./bipsim

Run webapp:

Open locally webapp/index.html and check that the websocket server is running on localhost:6789

Debug

Run python ws server

cd python_ws_test/
python3 server.py

Send a message to ws

cd python_ws_test/
python3 send_message.py '{"type": "message", "content": "rocknroll"}'

About

HTTP simulator of the Bip interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published